I am trying to create a directory and then write it through the asmx web service. It works fine on my computer, but when I publish the service on the server, I always get denied access to errors. I went to IIS and made sure that the service has write permissions. I also gave write access to all users, but still getting the same error. Any suggestions?
Additional Information Well, I solved the problem. When i called
Directory.CreateDirectory(directoryName);
It worked fine on my development box, but exploded on the server. I needed to use
Directory.CreateDirectory(Server.MapPath(directoryName));
which worked great on both.
web-services asmx
Kevin
source share