Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Resource files show empty content

Resource files show empty content

Scheduled Pinned Locked Moved ASP.NET
htmlcsshelplearning
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ali Al Omairi Abu AlHassan
    wrote on last edited by
    #1

    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.

    S 1 Reply Last reply
    0
    • A Ali Al Omairi Abu AlHassan

      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.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • S Sandeep Mewara

        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

        A Offline
        A Offline
        Ali Al Omairi Abu AlHassan
        wrote on last edited by
        #3

        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.

        S 1 Reply Last reply
        0
        • A Ali Al Omairi Abu AlHassan

          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.

          S Offline
          S Offline
          Sandeep Mewara
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups