troubleshooting Question

"Relative" path doesnt work on the webserver

Avatar of Camillia
CamilliaFlag for United States of America asked on
C#ASP.NET
21 Comments1 Solution380 ViewsLast Modified:
Not sure why this doesnt work and i'm new to the project. This works on my laptop.
The project on my laptop is setup like this:
c:\
  Projects
      Express
          Balance
               Web
                   Sites
                        MySite
                             aspx and folders here
*** We moved the code to our websever and created a WEBSITE. The directory for it is like this:
   c:
      Projects
            MySite
              aspx and other folders here  

---*** This is what happens:
1. on my laptop, I see this when i click on a menu item:
http:/.../Mysite/en-Us/Kids/shoes    **** note MySite is there

2. On the webserver, I see  http://www.../en-US/Kids/Shoes and **** the page is not found. That path is not correct. The IIS folder points to C:\Projects\MySite

so howcome this isnt working?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 21 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 21 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros