没有名为“ASP.NET 4.6.81.0”事件日志源。该模块需要.NET Framework 2.0的 [英] There is no EventLog source named 'ASP.NET 4.6.81.0'. This module requires .NET Framework 2.0

查看:866
本文介绍了没有名为“ASP.NET 4.6.81.0”事件日志源。该模块需要.NET Framework 2.0的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚安装了VS 2015年社区并在试图访问IIS(使用ASP.NET v4.0的应用程序池)主办的ASP.NET应用程序,我得到迎接与该错误消息。

I just installed VS 2015 Community and upon trying to access an ASP.NET application hosted in IIS (using ASP.NET v4.0 app pool), I get greeted with that error message.

我刚刚下载的.NET框架4.6离线安装,并认识到安装,给我修复或删除它的选项。我选择修复安装,但它并没有解决任何事情。

I just downloaded the .NET Framework 4.6 offline installer and it recognized the installation and gave me the option to repair or remove it. I opted to repair the installation and but it didn't fix anything.

是否有可用的任何其他的选择我?

Are there any other options available to me?

推荐答案

试试这个如下:

导航到你的web.config找到此块:

Navigate to your web.config and find this block:

<httpModules>
        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add type="WebMonitor.UnhandledExceptionModule" name="UnhandledExceptionModule"/>
    </httpModules>

以上更改为以下:

Change the above to the following:

<httpModules>
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>

这篇关于没有名为“ASP.NET 4.6.81.0”事件日志源。该模块需要.NET Framework 2.0的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆