I am working on an asp.net mvc3 application

I want to use some javascript library in a view. I include it this way

```
<script type="text/javascript" language="javascript" src="../../Scripts/UserScript.js" ></script>

```

Locally it works.
However when I deploy on the server the script file cannot be found.

I did some researches and found out that it is using the url as: `Root/Scripts/UserScript.js` while it should use `Root/MyApplicationName/Scripts/UserScript.js`

How can I make it use the correct path? Logically it should work since ../../ gives us the relative path. Why is it starting from the root?

I also checked the build on the server and it has the same architecture as the one locally (same folders tree).

Btw this is the same for any file (all the pictures, scripts and css that start with ../../)

Any help is greatly appreciated