I am seeing something very odd and thought I would ask the Stackoverflow community if they knew the answer.
I have an asp.net project that runs fine in one environment, but couldn't figure out what happened to the styles in another environment.
In the first environment (Windows 2008 Server), the following link worked fine:
<link href="/Styles/09/style.css" rel="stylesheet" type="text/css" />
but in the other environment (it's a Windows 7), I had to change it to work:
<link href="../Styles/09/style.css" rel="stylesheet" type="text/css" />
Notice that the directories seemed to shift ahead one directory in the Win7, what's going on? It's like the "running" directory seems now be the \bin directory instead of the home!
Which environment is configured correctly? How do I determine execution directory level? My concern going forward is pushing to a prod environment and guessing which configuration is correct.
Any insight would be appreciated!