473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Re: Invalid class string

"shyPotter" <so*****@noone.comwrote in message
news:%2****************@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
Jun 27 '08 #1
2 2428
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" <An*@yadayadayada.comwrote in message
news:eu****************@TK2MSFTNGP02.phx.gbl...
"shyPotter" <so*****@noone.comwrote in message
news:%2****************@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


Jun 27 '08 #2
"shyPotter" <so*****@noone.comwrote in message
news:OG**************@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
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: verb13 | last post by:
In an asp page in localhost I have this: Set x = Server.CreateObject("Scripting.Dictionary") And I get this error: Invalid class string If I omit Server like this: Set x =...
3
by: Giulio Santorini | last post by:
Hi, I've got a little problem with my C# WinForms test application. I would like to have a ComboBox showing a a visual value and some hidden values. So I build a class able to store thoose...
0
by: William Stacey [MVP] | last post by:
Had a method that got some string info from mp3 tags in N files and serializes this class and deserializes at other side. Works ok except sometimes get chars that choke the XmlSerializer. After...
9
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating...
10
by: Chet Cromer | last post by:
I am creating a set of base classes and sub classes to use throughout a program I'm developing. The base class represents a generic "lookup table" from my database that contains lists of things...
9
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its...
1
by: Timbo | last post by:
Hi all, This is my first message here so i'll try and include all the information that will help you help me out, if possible. Basically I am using C# in ASP.NET 2.0 and have a Repeater...
3
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
1
by: samarthkumar84 | last post by:
Hi I had used following code for sending e-mail but facing this problem. I want to send this e-mail in ASP.NET using VB.NET code. I am attaching both code an output. CODE Imports...
2
by: sree reddy | last post by:
..cs using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.