Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Server object, ASP 0177 (0x800401F3) Invalid class string

Status
Not open for further replies.

Albano

Instructor
Dec 11, 2000
221
PT
Hi,

I'm calling a VB 6.0 Activex Com, from asp and keep geting this error, can someane help:

Server object, ASP 0177 (0x800401F3) Invalid class string

I have already register the DLL and have all the permissions.

Thanks;

Albano de Sá
 
This error usually occurs when you have a typo in the object creation...for example...

if you typed something like this...

Server.CreateObject("ADOB.Recordset")

it will throw the error you mentioned...

it should be ADODB

so make sure you have everything correct...

please post some relevant code...

-DNG
 
This error also occurs, if you have not registered the concerned COM object(incase of a DLL) in your machine. So, the ASP is unable to find the class you are looking for and yes the typo factor is also there.
 
He already mentioned that he registered the DLL...thats the reason i was wondering if there was any typo...

-DNG
 
I already cheked this typo thing, i have the name correct, but still I get this error.

That's the asp code:

<%
set obj = Server.CreateObject("xmlExecuteProj.xmlExecute")
obj.cmdExecuteSoap_Click
set obj = Nothing
%>

Albano
 
In your dll code, go to project properties and check the project name you have given, and see if it is the same as the one which you have called in ASP and also the class name. If possible, try changing the name to another project name and call the dll with that name.
 
Thanks, i change the names in the project properties and work fine.

Albano
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top