简体   繁体   English

IIS无法解析图像网址

[英]IIS unable to resolve Image url

I have saved my website in the wwwroot folder. 我已经将网站保存在wwwroot文件夹中。 when i am running it through Visaul Studio 2008 it s running absolutely fine with path 当我通过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). 但是通过IIS,它无法解析图像URL,甚至无法解析到其他页面的链接(解析器错误)。 The path is 路径是

          http://bhukrk106154d/GettingUserId/default.aspx

I am using IIS 5.0. 我正在使用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设置,我只复制了C:\\ Inetpub \\ wwwroot文件夹内的同一网站文件夹

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. 如果您可以发布错误消息,它也将很有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM