I currently published my site and done all the necessary things to host my project on the server.
The issue is that when I am running my project on the server, I am getting the below Configuration error
Could not load file or assembly 'System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I am getting these error at line no 52 of which the code is mentioned below.
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultCSRConnection" applicationName="/" />
Do let me know what necessary things I have to do to resolve this. Please suggest.!
设置Copy Local = true并确保使用相同版本的.net框架。
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.