I keep getting
Line 43: public override void Execute() {
Line 44: WriteLiteral("\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" +
Line 45: "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
Line 46:
Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\ef576117\c80eec5d\App_Web_index.cshtml.a8d08dba.hua2yaob.0.cs Line: 44
Error message.
Can someone please help? I've done all the following items below:
If IIS was installed after .NET 4.0 on the server you need to run aspnet_regiis.exe to register it with IIS The application pool is set to run in integrated mode In your web.config you have the set You are accessing your site with http://server/home/index (change the controller and action names to match yours). You have a route that will match the {controller}/{action} url in your Global.asax. The corresponding view exists in ~/Views/Home/Index.cshtml.
This website with same binaries runs in local machine but not on another server. The other server has MVC3 installed too
The binaries were missing when I deployed website to another server. It was not that the code was incomplete or contained odd number of "/". Recompiling and publishing recompiled DLLS worked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.