G
Guest
When trying to use the function CreateDirectory on my local machine
everything works fine but when I upload the page to my webhost I get an issue
that it can't find path on D:\, though D:\ is what my website is found on.
This is an H-SPHERE web cluster host.
From my research I found that this issue is due to ASPNET account not having
read previdgeles on the root of the drive.
My question is what is the correct approach to solve this issue. Should the
ISP grant read access to the root and all uplevel folders that my application
is under?
Should I have to use PInvoke to call an unmanaged CreateDirectory from
Kernel32? If so what if ISP does not allow calling unmanaged code?
I cannot believe this was overlooked when the framework was being developed
or that there is no known fix.
A related post can be found at:
http://msdn.microsoft.com/newsgroup...n-us&mid=f84e99c8-b8f0-4e22-812d-f880995ed65f
Thanks,
Dan
everything works fine but when I upload the page to my webhost I get an issue
that it can't find path on D:\, though D:\ is what my website is found on.
This is an H-SPHERE web cluster host.
From my research I found that this issue is due to ASPNET account not having
read previdgeles on the root of the drive.
My question is what is the correct approach to solve this issue. Should the
ISP grant read access to the root and all uplevel folders that my application
is under?
Should I have to use PInvoke to call an unmanaged CreateDirectory from
Kernel32? If so what if ISP does not allow calling unmanaged code?
I cannot believe this was overlooked when the framework was being developed
or that there is no known fix.
A related post can be found at:
http://msdn.microsoft.com/newsgroup...n-us&mid=f84e99c8-b8f0-4e22-812d-f880995ed65f
Thanks,
Dan