我安装了DotNetOpenAuth SDK-3.4.5.10201。vsix,我不能让它工作。它在本地工作(当我作为localhost运行时),但当我尝试发布它不工作。

我得到的IIS错误消息是:

错误总结 HTTP错误500.22 -内部服务器错误 一个ASP。检测到在集成管理管道模式中不适用的NET设置。

and:

模块ConfigurationValidationModule 通知BeginRequest 处理程序StaticFile 错误码0x80070032

下面就如何解决这个问题给出一些建议:

Things you can try: Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS. If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false. Alternatively, switch the application to a Classic mode application pool - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application. (Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)

问题是我没有访问ISS服务器的权限,因为我不是它的所有者。有办法解决这个问题吗?


当前回答

在我的情况下,我在bin文件夹中丢失了dll,在web中引用。配置文件。 检查一下你是否使用了web中的任何设置。配置,但实际上没有dll。

谢谢

其他回答

以下步骤解决了我的问题:

使用管理员权限打开CMD提示符。

执行命令iisreset。

希望这能有所帮助。

第二个选项是你想要的。

在你的网里。配置,确保这些键存在:

<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>
</configuration>

我花了几个小时来解决这个问题,因为我在这里找到的关于这个错误的所有设置都是一样的,但它仍然不工作。 问题是我在我的web服务中有一个文件夹,文件应该从这个文件夹发送到WinCE设备,在将该文件夹转换为经典应用程序后。netappool开始工作了。

local的方法是错误的

检查您的IIS身份验证是否有冲突。即启用匿名认证和ASP。NET模拟也可能导致错误。