My application runs just fine in the Visual Studio 2010 web server.
After deploying to a production server, pages that have AJAX calls appear as BLANK pages.
I checked the \bin directory and it looks like all the necessary DLLs are there, including System.Web.MVC
Its been a real nightmare.. On one server, the app runs just fine under IIS , but on another no dice. There are no error messages as well anywhere. I would love to enable errors, but don't know how.
on the server where it doesn't work, did you deploy the application to a virtual directory? These types of errors typically happen when the path for the ajax call does not match the actual action url.
boggyboy
Member
42 Points
40 Posts
Problems running MVC 3 application in IIS
May 02, 2012 10:21 PM|LINK
My application runs just fine in the Visual Studio 2010 web server.
After deploying to a production server, pages that have AJAX calls appear as BLANK pages.
I checked the \bin directory and it looks like all the necessary DLLs are there, including System.Web.MVC
Its been a real nightmare.. On one server, the app runs just fine under IIS , but on another no dice. There are no error messages as well anywhere. I would love to enable errors, but don't know how.
Help much appreciated!
ignatandrei
All-Star
134947 Points
21626 Posts
Moderator
MVP
Re: Problems running MVC 3 application in IIS
May 02, 2012 10:54 PM|LINK
Please see http://bit.ly/mvc_ajax_jquery for how intercept errors
a) communication client server
b) server
Please tell us what errors do you have and show sample (minimal) code.
CodeHobo
All-Star
18647 Points
2647 Posts
Re: Problems running MVC 3 application in IIS
May 02, 2012 11:08 PM|LINK
on the server where it doesn't work, did you deploy the application to a virtual directory? These types of errors typically happen when the path for the ajax call does not match the actual action url.
Blog | Twitter : @Hattan