Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Kentico MVC Issues View modes: 
User avatar
Member
Member
F Khan - 6/27/2012 7:35:19 AM
   
Kentico MVC Issues

Hi there,
I am working on MVC application with Kentico v6.0.37 first of all it is not supporting MVC 3 at all I always get 404 error which is I already mentioned in another post.

Secondly even if I view /NewsMVC/List or /NewsMVC/Detail/{id} views I can see the pages in the browser but I checked the event log in CMS Desk at the same time it always says page not found even though I can view page and there is no error apparently but still its creating error log which can be seen below.

Event type: Warning
Event code: PAGENOTFOUND
Event URL: /MySite/newsmvc/list
URL referrer:

Note URL referrer is blank here.

Now back to main problem which I am having trouble with I am trying to generate Image using MVC architecture for instance user enter text into a text box then it will calls the controller to generate image. So it means that my controller will return ActionResult which contains image. For this I already have a custom image result which returns bytes of the image with content type as "image/jpeg". Trouble is I can’t view the image just a blank view.
I have already setup the URL properties of my page to my controller and action as it was mentioned in tutorial.
Note: This project is fully working in Asp.Net MVC I have tested with version 2-4. So there is no issue about version or something.
Even though I can debug my code only trouble is its not showing image at all.

Hope I have made some sense.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/10/2012 12:51:44 AM
   
RE:Kentico MVC Issues
Hi,

I am sorry for the delay. Please follow this thread.

Best regards,
Juraj Ondrus