PDA

View Full Version : add key for path in web.config files


akber
10-26-2006, 06:32 PM
I have some code on two servers
On one of them I am unable to upload documents from the webapp

Production server (Does not work)
On the server that does not work, I get the message:
Could not find a part of the path "D:\\Inetpub\\admin\\DocUpload"

The Web.config has a lines:
<add key="DocUpload" value="admin/DocUpload" />
<add key="DocVirtualUpload" value="D:\\Inetpub\\admin\\DocUpload"/>

Can someone shed some light to the difference between the two add key lines? Why is one the path with "/" seperating the folders and the other one with the complete path with "\\" seperating the folders

any suggestions would be welcome

Thanks

oracleguy
10-28-2006, 02:48 AM
This topic has been cross-posted. You can see the thread here: http://www.codingforums.com/showthread.php?t=99299