【发布时间】:2015-09-01 00:19:42
【问题描述】:
我正在使用 ASP.Net Web 应用程序,我想创建一个会员用户,因此我必须访问 ASP.NET 的 Web 配置工具。我已经在 Prompt 中运行了 IISExpress 命令,它工作正常,但是每当我在浏览器中运行 http://localhost:5376/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\Users\user\Documents\Visual%20Studio%202013\Projects\MyWebsite&applicationUrl=/ 时,我都会收到此错误!
错误信息:
“/asp.netwebadminfiles”应用程序中的服务器错误。
编译错误
描述:编译资源时出错 需要为该请求提供服务。请查看以下具体内容 错误详情并适当修改您的源代码。
编译器错误消息:CS0122:“System.Configuration.StringUtil”是 由于其保护级别而无法访问
来源错误:
第 987 行:
第 988 行:// 将一些唯一的应用程序 ID 放在一起
第 989 行:字符串 appId =StringUtil.GetNonRandomizedHashCode(String.Concat(appPath,appPhysPath)).ToString("x", CultureInfo.InvariantCulture);
第 990 行:
第 991 行:
源文件: c:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles\App_Code\WebAdminPage.cs 线路:989
【问题讨论】:
标签: asp.net error-handling asp.net-membership configuration-files iis-express