我想部署一个大部分是空的asp.net web表单应用程序(在web.config中指定一个自定义的HttpModule)到Azure和得到以下错误:Azure网站配置错误
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Access to the path 'D:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\xqhbvcov.tmp' is denied.
Source Error:
[No relevant source lines]
Source File: D:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
Line: 0Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.276
任何想法?我不确定哪些其他信息可能是相关的,所以如果我错过了一些至关重要的东西,请问,我会提供。
整个web.config中
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<!--<httpModules>
<add name="AbcdModule" type="org.abcd.abcdHttpModule"/>
</httpModules>-->
</system.web>
<system.webServer>
<modules>
<add name="AbcdModule" type="org.abcd.abcdHttpModule"/>
</modules>
</system.webServer>
</configuration>
你可以发布你的web.config(或其中的一部分,特别是与自定义HttpModule部分)。 –
@SandrinoDiMattia发表。 – Dzejms