After deploying website on IIS, I am getting error. I have one main directory and then one inside of it and trying to access second one which is using .NET Framework Version 3.5, parent one using .NET Framework 4.0.
Please help
added following references
dd the following references to the project:
Microsoft.Web.Infrastructure
System.Web.Razor
System.Web.WebPages.Razor
System.Web.WebPages.Deployment
Set the property Copy Local to True for the following references:
System.Web.Helpers
System.Web.MVC
System.Web.WebPages
Microsoft.Web.Infrastructure
System.Web.Razor
System.Web.WebPages.Razor
System.Web.WebPages.Deployment
Some web servers (such as certain cloud or virtual servers) don't include all the components of the ASP/.NET framework. You therefore need to set Copy Local = True for all your references so that these are copied across when you publish/deploy
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.