Suntower
Posts: 225
|
| Posted: 09/06/2006, 8:17 AM |
|
I've had several cases where Server.CreateObject works one day, then fails the next. And then, of course, works the following day. This has been with the CDO.Message And ScriptingFileDictionary classes.
I can't think of a thing that would change from day to day on my test machine. Is there something I can do to track this down?
Each time, the page puts out something like:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/Ollie2/Email_events.asp, line 29
...I'll check to see if the proper DLL is registered---and each time it's happened it -is-. Rebooting doesn't help. Sometimes it will start working again in the middle of the day for no apparent reason.
As I troll through various forums I see this ASP 0177 as a common problem---with common frustration in trying to troubleshoot.
Anyone here have some insights? It's disquieting.
---JC
_________________
---On a campaign for more examples and better docs! |
 |
 |
Benjamin Krajmalnik
|
| Posted: 09/07/2006, 8:30 PM |
|
You may want to reinstall the scripting objects of IIS.
Also, there is always the possibility that something such as your AV may be
affecting it.
"Suntower" <Suntower@forum.codecharge> wrote in message
news:644fee69d911fa@news.codecharge.com...
> I've had several cases where Server.CreateObject works one day, then fails
> the
> next. And then, of course, works the following day. This has been with the
> CDO.Message And ScriptingFileDictionary classes.
>
> I can't think of a thing that would change from day to day on my test
> machine.
> Is there something I can do to track this down?
>
> Each time, the page puts out something like:
>
> Error Type:
> Server object, ASP 0177 (0x800401F3)
> Invalid class string
> /Ollie2/Email_events.asp, line 29
>
>
> ..I'll check to see if the proper DLL is registered---and each time it's
> happened it -is-. Rebooting doesn't help. Sometimes it will start working
> again
> in the middle of the day for no apparent reason.
>
> As I troll through various forums I see this ASP 0177 as a common
> problem---with common frustration in trying to troubleshoot.
>
> Anyone here have some insights? It's disquieting.
>
> ---JC
> _________________
> ---On a campaign for more examples and better docs!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Carlos Sierra
|
| Posted: 09/08/2006, 4:38 PM |
|
It often has to do with NTFS security settings and impersonation; depending on what are you exactly doing with FSO for example, may return access denied errors, the problem is that the brilliant MS error and debugging information returning is VERY POOR
My advise: try to run your scripts within a VB6 COM in debug mode, for this to work you must set the folder security settings in IIS to anything different to IUSR_ , try windows integrated security and IIS App Isolation to LOW, then start your VB COM with full compile and a break mode in the function called from your VBS, within the COM function you should do all the thinsg your actual script does, and if it runs smoothly then the issues has to do with PERMISSIONS.
Hope you find this helpful
cHUCk
|
|
|
 |
|