Trouble when loading a webpage in my site at server level.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kiseitai2
    New Member
    • Jul 2007
    • 93

    Trouble when loading a webpage in my site at server level.

    Hi everyone,
    I'm sure the above title is highly vague. Hence, I'm going to start by saying that I'm using Visual Web Developer 2008 Express Edition and that I tested my pages in my computer without any problems before uploading to my web site. Also, the pages uploaded where the ones to be used as my custom error pages. However, for some strange reason the page loads but without importing the css styles, which some of the elements depend on for correct positioning and desired aesthetics. I forced the loading of the 404 error page I created by using a url in my browser that lead nowhere in the site and in both Chrome and Internet Explorer the same problem occured. I'm thinking that the server might be blocking the page from reading the styles from my css/main.css file. I tried to use both the link method and the @import method simultaneously to see if it would fix it but it didn't. Yet, is interesting that if I access it directly it is displayed correctly. I do not own the web server so my only way to configured somethings is through Helm. Thanks in advance.
  • sanjib65
    New Member
    • Nov 2009
    • 102

    #2
    CSS problem

    Please Check out the virtual path. A single mistake could be fatal. Even a "dot" can mess everything.

    Comment

    • kiseitai2
      New Member
      • Jul 2007
      • 93

      #3
      hmm. Let me check that. I'll post back as soon as possible with an update to the thread.

      Comment

      • kiseitai2
        New Member
        • Jul 2007
        • 93

        #4
        Unfortunately, if I was making a mistake in the virtual folder configuration I could not tell. However, I moved the pages to the root directory and it worked. Is it because I had a web.config file in the previous folder, which I did not copy to the root? At any rate, thanks anyways for the help.

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          I'm glad you solved your problem.

          These types of problems are almost always caused by resources not existing where they are expected to exist.

          -Frinny

          Comment

          Working...