这是什么意思,我该如何修复这个错误。是 asp 新手
事件代码:3008
事件消息:发生了配置错误。
活动时间:2017 年 3 月 31 日上午 6:23:48
事件时间(UTC):2017 年 3 月 31 日上午 6:23:48
事件 ID:362c9267d2b14cf0a545d969c99eb044
事件序列:4
事件发生次数:1
事件详细信息代码:0
应用信息:
Application domain: /LM/W3SVC/1458729462/ROOT-1-131354150275920924
Trust level: Full
Application Virtual Path: /
Application Path: D:\home\site\wwwroot\
Machine name: RD00155D320B3A
处理信息:
Process ID: 6124
Process name: w3wp.exe
Account name: IIS APPPOOL\luckprize
异常信息:
Exception type: ConfigurationErrorsException
Exception message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (D:\home\site\wwwroot\luckprize\web.config line 5)
请求信息:
Request URL: http://luckprize.azurewebsites.net/luckprize/default.aspx
Request path: /luckprize/default.aspx
User host address: 85.191.220.103
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\luckprize
主题信息:
Thread ID: 6
Thread account name: IIS APPPOOL\luckprize
Is impersonating: False
Stack trace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
在 System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord、SectionRecord sectionRecord、Object parentResult、Boolean getLkg、Boolean getRuntimeObject、Object& result、Object& resultRuntimeObject) 在 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey、Boolean getLkg、Boolean checkPermission、Boolean getRuntimeObject、Boolean requestIsHere、Object& result、Object& resultRuntimeObject) 在 System.Configuration.BaseConfigurationRecord.GetSection(String configKey、Boolean getLkg、Boolean checkPermission) 在 System.Configuration.BaseConfigurationRecord.GetSection(String configKey) 在 System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName) 在 System.Web.Configuration.RuntimeConfig.GetSection(String sectionName、Type type、ResultsIndex index) 在System.Web.Configuration.RuntimeConfig.get_Compilation() 在 System.Web.Compilation.CompilationUtil.IsBatchingEnabled(String configPath) 在 System.Web.Compilation.BuildManager.IsBatchEnabledForDirectory(VirtualPath virtualDir) 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&completeSynchronously)
自定义事件详细信息:
答案1
首先,在每个人获取您的直接站点名称、用户名和密码之前,您应该清理您的错误和配置。
在您处理完该问题后,此链接看起来就相关了。