Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Invalid class string
Hi all,

I am having error on my XP machine while on 2003 it works


Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/index.asp, line 19

@ Line 19

set Session("items") = server.CreateObject("scripting.dictionary")


Can any one help please. Which dll to register.

Regards,



Report this thread to moderator Post Follow-up to this message
Old Post
shyPotter
04-11-08 11:57 PM


Re: Invalid class string
"shyPotter" <someone@noone.com> wrote in message
news:%23wQtwN9mIHA.4292@TK2MSFTNGP04.phx.gbl...
> Hi all,
>
> I am having error on my XP machine while on 2003 it works
>
>
> Error Type:
> Server object, ASP 0177 (0x800401F3)
> Invalid class string
> /index.asp, line 19
>
> @ Line 19
>
> set Session("items") = server.CreateObject("scripting.dictionary")
>
>
> Can any one help please. Which dll to register.
>

First open notepad and paste this into it:-

Set o = CreateObject("Scripting.Dictionary")
MsgBox "Seems to work here"

Save to desktop as Test.vbs.

Double click the Test.vbs file.

If you get the same error search your windows/system32 folder for scrrun.dll
and register it.  Try again.  If that fails then its possible that an over
protective Anti-virus app is blocking it.

If it all works fine from the VBS but you ASP page still fails then in IIS
manager find your page and open its properties.  On the file security tab
turn of anonymous access and turn on Windows integrated.

In IE make sure IE recognises your site as being in the intranet zone (this
would normally be true if you using your machine name or "localhost" as the
server name in the url).

Does it work now?


--
Anthony Jones - MVP ASP/ASP.NET



Report this thread to moderator Post Follow-up to this message
Old Post
Anthony Jones
04-11-08 11:57 PM


Re: Invalid class string
Thanks Anthony ,

I tried all these .VBS works but no solution, I tried what you said in this.
I searched on net as well found few soloution but non still helpfull. dll is
registred I changed registry values from Aprtment to Both and Both to
Aprtment and each time I restarted the machine.

I am running Windows Live OneCare I have stopped that as well but still no
luck.

Regards,




"Anthony Jones" <Ant@yadayadayada.com> wrote in message
news:eu7YHM%23mIHA.2268@TK2MSFTNGP02.phx.gbl...
> "shyPotter" <someone@noone.com> wrote in message
> news:%23wQtwN9mIHA.4292@TK2MSFTNGP04.phx.gbl... 
>
> First open notepad and paste this into it:-
>
> Set o = CreateObject("Scripting.Dictionary")
> MsgBox "Seems to work here"
>
> Save to desktop as Test.vbs.
>
> Double click the Test.vbs file.
>
> If you get the same error search your windows/system32 folder for
> scrrun.dll
> and register it.  Try again.  If that fails then its possible that an over
> protective Anti-virus app is blocking it.
>
> If it all works fine from the VBS but you ASP page still fails then in IIS
> manager find your page and open its properties.  On the file security tab
> turn of anonymous access and turn on Windows integrated.
>
> In IE make sure IE recognises your site as being in the intranet zone
> (this
> would normally be true if you using your machine name or "localhost" as
> the
> server name in the url).
>
> Does it work now?
>
>
> --
> Anthony Jones - MVP ASP/ASP.NET
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
shyPotter
04-11-08 11:57 PM


Re: Invalid class string
"shyPotter" <someone@noone.com> wrote in message
news:OGGV1m$mIHA.5080@TK2MSFTNGP02.phx.gbl...
> Thanks Anthony ,
>
> I tried all these .VBS works but no solution, I tried what you said in
this.
> I searched on net as well found few soloution but non still helpfull. dll
is
> registred I changed registry values from Aprtment to Both and Both to
> Aprtment and each time I restarted the machine.
>
> I am running Windows Live OneCare I have stopped that as well but still no
> luck.
>


You tried turning off anonymous access for the page?

Try a different DLL for example try  CreateObject("ADODB.Recordset")  does
that fail?



--
Anthony Jones - MVP ASP/ASP.NET



Report this thread to moderator Post Follow-up to this message
Old Post
Anthony Jones
04-12-08 12:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:51 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.