Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old March 29th, 2006, 06:04 AM
.: Wayne :. .: Wayne :. is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 3 .: Wayne :. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 39 sec
Reputation Power: 0
Server object error 'ASP 0177 : 800401f3'

Hi, I am struggling with an error trying to create a file using asp on IIS 5.1 (XP Pro workstation). I get the following error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

writetofile.asp, line 19

Invalid class string

...on this command:

set oFs = server.createobject("Scripting.FileSystemObject")

I have searched al day for an answer but can't find any useful. The only advice seems to be to register SCRRUN.DLL which I have checked is registered and IUSR has full permissions.

I have run this script on another server and it works. I have also checked permissions and given IUSR every possbile permission on every folder in IIS but I suspect that has nothing to do with anyway as it fails on creating the object.

Scripting is enabled for the website in IIS.

I would really appreciate some help on this if anyone knows the answer. BTW, I recently installed IIS on my workstation for testing and this is first time I have tried opening a file.

Wayne

Reply With Quote
  #2  
Old March 29th, 2006, 08:29 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
If it's your development computer, you could temporarily add the IUSR_ account to the administrators group, restart, and see if your problem goes away.

Did you run regsvr32 on scrrun.dll? The error message certainly implies that the script engine isn't registered. If you're desperate the ms scripting engine is available as a download, but it's part of IE among other things and really should be available on an XP Pro box.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old March 30th, 2006, 04:45 AM
.: Wayne :. .: Wayne :. is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 3 .: Wayne :. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 39 sec
Reputation Power: 0
Yes I did register it. No Luck, also gave ISUR access to all directories related to asp & web but still not luck.

I am running XP pro workstation. How do I add IUSR to the admin group?


Quote:
Originally Posted by Doug G
If it's your development computer, you could temporarily add the IUSR_ account to the administrators group, restart, and see if your problem goes away.

Did you run regsvr32 on scrrun.dll? The error message certainly implies that the script engine isn't registered. If you're desperate the ms scripting engine is available as a download, but it's part of IE among other things and really should be available on an XP Pro box.

Reply With Quote
  #4  
Old March 30th, 2006, 06:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
control panel - administrative tools - computer management - local users and groups

Reply With Quote
  #5  
Old March 30th, 2006, 07:15 PM
.: Wayne :. .: Wayne :. is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 3 .: Wayne :. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 39 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
control panel - administrative tools - computer management - local users and groups

D'oh!! Of course....

Now found that SCRRUN is no longer registered and fails if I try to register it. Will download and try again....

TFTH.

Reply With Quote
  #6  
Old March 30th, 2006, 11:49 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
You might search around, there have been a lot of ms KB articles about scrrun, and I seem to recall one about failure to register. But I could easily be "misremembering"

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Server object error 'ASP 0177 : 800401f3'


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 3 hosted by Hostway
Stay green...Green IT