Resource files show empty content
-
Guys; I have published a website to a remote sever. The get requests to page returns the correct HTML response, but request to javasript and and css files returns a blank response.
Help people,so poeple can help you.
-
Guys; I have published a website to a remote sever. The get requests to page returns the correct HTML response, but request to javasript and and css files returns a blank response.
Help people,so poeple can help you.
With what you mention, I will start looking if the files are present at the path they should be. Relative paths as per deployment can be different then development environment. Using
ResolveUrl
helps.Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Latest Article(s)]: How to extend a WPF Textbox to Custom Picker Server side Delimiters in ASP.NET
-
With what you mention, I will start looking if the files are present at the path they should be. Relative paths as per deployment can be different then development environment. Using
ResolveUrl
helps.Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Latest Article(s)]: How to extend a WPF Textbox to Custom Picker Server side Delimiters in ASP.NET
No, Sir. It was because the static content module wasn't installed. Now, the question is; why isn't this feature checked by default when installing IIS7? I mean what is the use of a web server that doesn't support static content requests?
Help people,so poeple can help you.
-
No, Sir. It was because the static content module wasn't installed. Now, the question is; why isn't this feature checked by default when installing IIS7? I mean what is the use of a web server that doesn't support static content requests?
Help people,so poeple can help you.
Ali Al Omairi(Abu AlHassan) wrote:
It was because the static content module wasn't installed.
Now, the question is; why isn't this feature checked by default when installing IIS7?Interesting. Thanks for sharing the same.
Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Latest Article(s)]: How to extend a WPF Textbox to Custom Picker Server side Delimiters in ASP.NET