CreateDirectory Permission Issue

H

hypomite

i have been developing a web application (VB.Net) locally for about a month.
Everything was going great so i uploaded the project to my web hosting
companies server. I was able to build the project with no errors... but i
had a major problem at runtime. In one section of my application i
programmatically create directories using the Directory.CreateDirectory
function. This section worked fine on my local machine, but on their servers
i got nothing but errors (directorynotfound or something). It was obvious
after a little messing around that the problem had nothing to do with the
path i was passing into the function--- so i contacted the hosting company.
According to them the .NET framework will only allow folders to be
programmatically created or deleted if the ASPNET user account is given
MODIFY permissions on the root of the webservers hard drive!? Is this a
joke. Is this really the case? I don't think i have developed a web
application in the last two years where i didn't need to dynamically create
directories! -obviously no hosting company in the world is going to set
their root permission like that. Someone please tell me the hosting company
is wrong or that there is an acceptable work around to problem.

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top