views:

20

answers:

1

When we try to pass to the Save function a path beginning with 2 slashes (eg. "//servername/folder1/..."), the thread gets stuck, we're thrown out of session, and it doesn't save the file

A: 

Why not Use Server.MapPath?

Shoban
are allready using it,but then we get the path:"//servername/folder1/...".if we write local path as "D://folder1/folder2/.." it works fine.we thought it happens because of the 2 slashes in the begining "\\" we tried to solve it by adding 2 more and it didn't help.
Lea Cohen
Did you adding a try catch and see why it throws you out?
Shoban
We added a "@" before the path that MapPath returns, and now there's no exception, but still the file doesn't get saved. Do you think that that fact that we're not in an ASPX page, but a .cs page, is somehow related to the problem? Thanks a lot!
Lea Cohen