Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# IIS无法解析图像url_C#_Asp.net_Iis - Fatal编程技术网

C# IIS无法解析图像url

C# IIS无法解析图像url,c#,asp.net,iis,C#,Asp.net,Iis,我已将我的网站保存在wwwroot文件夹中。当我在Visaul Studio 2008中运行它时,它与path一起运行完全正常 http://localhost:3840/GettingUserId/default.aspx 但通过IIS它无法解析图像URL,甚至连指向其他页面的链接都无法解析。路径是 http://bhukrk106154d/GettingUserId/default.aspx 我正在使用IIS 5.0。 是否有我遗漏的任何IIS设置

我已将我的网站保存在wwwroot文件夹中。当我在Visaul Studio 2008中运行它时,它与path一起运行完全正常

          http://localhost:3840/GettingUserId/default.aspx
但通过IIS它无法解析图像URL,甚至连指向其他页面的链接都无法解析。路径是

          http://bhukrk106154d/GettingUserId/default.aspx
我正在使用IIS 5.0。
是否有我遗漏的任何IIS设置。我只是在C:\Inetpub\wwwroot文件夹中复制了相同的网站文件夹

我看到了解析器错误,因为该网站正在尝试使用旧的框架版本

转到inetmgr中的默认网站属性->转到asp.net选项卡->确保选择了asp.net 2.0版


如果您可以发布错误消息,它也会很有用。

一些代码片段怎么样?