开发者

IIS7 with MVC2 cannot load static resources

my situation is:

  • windows7
  • visual studio 2010 (with mvc2)
  • mvc2 web application compiled with .NET 3.5

I install IIS7 with StaticModule but when I try to load a css or an image I receive a blank page. Only html is loaded开发者_开发知识库.

Help me please.

Thanks


did you open the page in firebug and is the file path, check if the file exists, and if your application does not ingore the path. if you are using areas than you need to get full path to the files or create mapping. or provide please more info..

oh yes , other problem is path in css file to image is not corect... should solve

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜