大虾帮忙看看 为什么我用 vs 2010做的 ASP.NET 网站 在本地机上测试没有问题 上传到服务器上
大虾帮忙看看为什么我用vs2010做的ASP.NET网站在本地机上测试没有问题上传到服务器上首页可以打开只要登录就报错错误信息是:ServerErrorin'/'Appl...
大虾帮忙看看 为什么我用 vs 2010做的 ASP.NET 网站 在本地机上测试没有问题 上传到服务器上 首页可以打开 只要登录就报错 错误信息是:Server Error in '/' Application.Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询