0
Answer

MVC1 deployement issue in 2012 server

shivesh  Jha

shivesh Jha

10y
1.1k
1
Hi Every One.
 
I am facing one problem in deploying one MVC 1 app in IIS 8. in windows server 2012, i have created one setup file and deployed that to my local machine having IIS 7 windows 2007. and its working fine but currently i'm facing issue in 2012 server following is the error
 
 
 The view 'Default' or its master could not be found. The following locations were searched:

~/Views/MyApp/Default.aspx
~/Views/
MyApp/Default.ascx

~/Views/Shared/Default.aspx

~/Views/Shared/Default.ascx

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: The view 'Default' or its master could not be found. The following locations were searched:
~/Views/AutoPilot/Default.aspx
~/Views/AutoPilot/Default.ascx
~/Views/Shared/Default.aspx
~/Views/Shared/Default.ascx
These files are available physically in server ... Any idea??
Thanks
 Shivesh