|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
objFSO.CreateFolder(folder) - endlessly hanging
I put this code in an asp page -
<HTML> <HEAD> </HEAD> <BODY> <% dim lastname, objFSO lastname = "Tom" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") folder = Server.mapPath("images") & "/" & lastname objFSO.CreateFolder(folder) Set objFSO = Nothing %> </BODY> </HTML> When I was testing it locally on my laptop using IIS, the page just hangs endlessly. BUT, I uploaded it to a server and wouldn't you know it, it worked instantly. Can anyone shed some light?
__________________
Today the world, tomorrow the universe... |
|
#2
|
|||
|
|||
|
More than likely you are running norton script blocking or some other antivirus software that interferes with local script execution. Disable script blocking for testing, this should tell you if the av is the problem.
Possibly there is some firewall issue as another guess.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Problem Fixed - Sort of ???
Doug, I got to thinking after my post and your reply that maybe if I went to Explorer, and R-Clicked on the C directory, I could set the security permissions on that drive. When I opened up the dialog for this process, there seemed to be several different options in a box, these appeared to be users perhaps? Anyway, one by one, I went through and checked "Full Control" for all of them. It took a while for it to process, but when it did, it seemed to do the trick as I could not create a folder in my desired location (inetpub/wwwroot). Yes, I also have Norton on my system, both Anti-Virus and Norton Internet Security Professional. I tried shutting off script-blocking, auto-protect, and disabling the fire wall, but none of these seemed to affect my ability to create a directory, regardless of if they were on or off. Now, two interesting things are going on. First, everytime I boot, I get an alert which is Titled "Norton Protetion: Attention!" and reads Access Denied, Drive C. Also, it seems that sometimes I can create the folder, then after a reboot, I can't. This is not always the case, but it seems to be sporadic. Any feedback would be appreciated.
Tom |
|
#4
|
|||
|
|||
|
There is a permissions wizard in the IIS service manager you could try running. Navigate to your website in the IIS mgr and right-click.
I think there are some other tools for resetting IIS permissions, perhaps a google search will turn something up. |
|
#5
|
|||
|
|||
|
CreateFolder method
Do have any idea what causes this hang ?
I use similar simple code and it was working for about 2 weeks, then suddenly stopped working for no obvious reason. I havent been able to get it working since. Its driving me nuts. Any ideas ? An e-mail reply woul dbe appreciated Peter Darvas peterd@tibor.com Quote:
|
|
#6
|
|||
|
|||
|
Folder permissions
I am trying to create a folder on a different drive than the web server.
So 1st I used IIS to create a virtual directory to that location and set the permissions using IIS. That didn't work Then I used Explorer to allow Web sharing for that drive. This seems to have similar permissions as IIS but actually does something different. Different but I don't know why/how If you use FP Server extensions program & query the properties for the directory. 2 completely differing properties are reported depending on whether the permissions were set using IIS or Explorer I then Used Control panel => Folder options and unchecked the simple security box. This allows all sorts of security settings to be made for the folder when using Explorer I made sure the Internet user accound was added to the permissions & checked alll possible permissions. Still no luck ![]() |
|
#7
|
|||
|
|||
|
Why don't you guys ask your questions in your own topics instead of tacking on the end of a different question?
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > objFSO.CreateFolder(folder) - endlessly hanging |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|