Server.MapPath Method[
^]
There is this
Caution on the above page:
Quote:
For security reasons, the AspEnableParentPaths property has a default value set to FALSE. Scripts will not have access to the physical directory structure unless AspEnableParentPaths is set to TRUE.
Without the specific error information, it is hard to say what is happening. At a guess, I would say that you're trying to access a path outside the scope of the app's security settings.