I have saved my website in the wwwroot folder. when i am running it through Visaul Studio 2008 it s running absolutely fine with path
我已将我的网站保存在wwwroot文件夹中。当我通过Visaul Studio 2008运行时,它的路径运行得非常好
http://localhost:3840/GettingUserId/default.aspx
but through IIS it is unable to resolve the images URL , not even the links to other pages r working (Parser Error). The path is
但是通过IIS它无法解析图像URL,甚至无法解析其他页面的链接(Parser Error)。路径是
http://bhukrk106154d/GettingUserId/default.aspx
I am using IIS 5.0. Is there any IIS setting that I am missing out.I have simply copied the same website folder inside the C:\Inetpub\wwwroot folder
我正在使用IIS 5.0。是否有任何我错过的IIS设置。我只是在C:\ Inetpub \ wwwroot文件夹中复制了相同的网站文件夹
1 个解决方案
#1
I have seen parser errors becasue the website is trying to use an old framework version.
我见过解析器错误,因为该网站正在尝试使用旧的框架版本。
Go to the default website properties in inetmgr -> go to asp.net tab -> make sure that asp.net version 2.0 is selected.
转到inetmgr中的默认网站属性 - >转到asp.net选项卡 - >确保选择了asp.net 2.0版。
If you can post the error message it will be usefull too.
如果您可以发布错误消息,它也将是有用的。
#1
I have seen parser errors becasue the website is trying to use an old framework version.
我见过解析器错误,因为该网站正在尝试使用旧的框架版本。
Go to the default website properties in inetmgr -> go to asp.net tab -> make sure that asp.net version 2.0 is selected.
转到inetmgr中的默认网站属性 - >转到asp.net选项卡 - >确保选择了asp.net 2.0版。
If you can post the error message it will be usefull too.
如果您可以发布错误消息,它也将是有用的。