IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 1st, 2004, 08:28 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,371 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 9 h 27 m 40 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
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...

Reply With Quote
  #2  
Old March 1st, 2004, 12:25 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
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

Reply With Quote
  #3  
Old March 2nd, 2004, 05:55 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,371 thall89553 User rank is Private First Class (20 - 50 Reputation Level)thall89553 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 9 h 27 m 40 sec
Reputation Power: 6
Send a message via Yahoo to thall89553
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

Reply With Quote
  #4  
Old March 2nd, 2004, 11:34 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
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.

Reply With Quote
  #5  
Old November 6th, 2004, 08:42 AM
peterdarvas peterdarvas is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 peterdarvas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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:
Originally Posted by thall89553
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?

Reply With Quote
  #6  
Old November 6th, 2004, 08:51 AM
peterdarvas peterdarvas is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 peterdarvas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #7  
Old November 6th, 2004, 04:28 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
Why don't you guys ask your questions in your own topics instead of tacking on the end of a different question?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > objFSO.CreateFolder(folder) - endlessly hanging


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway