Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Absolute vs Relative Path Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00697815
Message ID:
00700406
Vues:
21
Hi Jayesh,

In the end the best solution for me was to create a virtual folder in IIS and use that in the file path. This got me around pathing problems caused by configuration differences between my development and production machines.

Thanks for your help on this.


Todd


>You can share the folder in which all pic files are located and use the network path. For example,

\\WebServer\sharedfolder\mypic.bmp

You just need to replace c:\ with \\WebServer\ in your code.
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform