相关疑难解决方法(0)

子应用程序是否从其父web.config继承?

我从现有的应用程序中设置了IIS应用程序.

父母web.config是继承还是我必须明确设置的东西?

asp.net iis-7 web-config

9
推荐指数
1
解决办法
7995
查看次数

我可以在asp.net 4.0站点中托管.net 2.0虚拟目录吗?

我们在2.0网站上运行.NET 4.0虚拟目录没有任何问题,但相反的方式是给我们一些问题.这是可以理解的,但是有办法解决这个问题吗?它们运行在不同的应用程序池中...我们可以让虚拟目录跳过网站的web.config并直接转到machine.config吗?

我们收到以下错误:

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error: 

Line 22:   </appSettings>
Line 23:   <system.web>
Line 24:     <compilation debug="true" targetFramework="4.0" />
Line 25:     <customErrors defaultRedirect="url" mode="RemoteOnly">
Line 26:       <error statusCode="404" redirect="~/404.aspx"/>
Run Code Online (Sandbox Code Playgroud)

asp.net .net-4.0

7
推荐指数
2
解决办法
3975
查看次数

标签 统计

asp.net ×2

.net-4.0 ×1

iis-7 ×1

web-config ×1