Server.CreateObject Failed [resolved]
This is my first time trying to put an asp site onto a server. This one is working smoothly from my virtual directory, so I am confused by this error message:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/honeyanded/guestbook.asp, line 20
Invalid ProgID
Line 20 that it refers to is as follows:
Set fileObject = Server.CreateObject( _
"Scripting.FileSystemObject" )
Can anyone tell me what I have done wrong?
Re: Server.CreateObject Failed
Quote:
Originally Posted by CandyCanuck
This is my first time trying to put an asp site onto a server. This one is working smoothly from my virtual directory, so I am confused by this error message:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/honeyanded/guestbook.asp, line 20
Invalid ProgID
Line 20 that it refers to is as follows:
Set fileObject = Server.CreateObject( _
"Scripting.FileSystemObject" )
Can anyone tell me what I have done wrong?
Forgive me if its too ovbious, but does your host allows the usage of FSO? Some host have restriction on FSO, but most paid host allow it as far as I know. Check your Host's FAQ or as them.
Re: Server.CreateObject Failed
you got that one right on. I figured if it supported asp, it supported everything.
So is there a way to get around this or should I be redesigning my page entirely? perhaps using a database?
The page is a guestbook, reading the data entries from a flat file. The same error of course occurs when trying to add entries.
Re: Server.CreateObject Failed
Quote:
Originally Posted by CandyCanuck
you got that one right on. I figured if it supported asp, it supported everything.
So is there a way to get around this or should I be redesigning my page entirely? perhaps using a database?
The page is a guestbook, reading the data entries from a flat file. The same error of course occurs when trying to add entries.
I personally use Database since all of my site is DB driven. And elso its easier to maintain in the long run if you are using DB. Does your Host support DB access? Its not a free host by any chance, is it?
Re: Server.CreateObject Failed
yes it is a free site.
yes, it supports databases.
yes, the rest of my site uses databases.
Not a problem to redesign, just time consuming to start over.
Re: Server.CreateObject Failed
Quote:
Originally Posted by CandyCanuck
yes it is a free site.
yes, it supports databases.
yes, the rest of my site uses databases.
Not a problem to redesign, just time consuming to start over.
Well most of the free host does not allow FSO for security risk they pose along with usage of email components.
Yes it will involve slightly extra work but like I said before but it will be benificial in the long run.
Good Luck
Happy Learning :wave:
Re: Server.CreateObject Failed [resolved]
Thanks
Now onto database problems.. but starting a new thread for that :)