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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Com Interop not working

Status
Not open for further replies.

asmith555

Programmer
Oct 7, 2002
97
US
I have created a Com Interop Projecting in VB.Net that is being used by asp. I have moved to another machine and reregistered the component but when I run the asp app I get this 500 error on the "Server.CreateObject" Line:

Error Type:
(0x80070002)
/app1000/index.asp, line 4

Any Idea Whats going on.
 
Would help if we knew what the code on line 4 is, and some of the surrounding code.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Rather, I rebuilt the comonent. Not reregistered it.
 
You could test to see if it is registered by making a little .VBS script to run on the other machine...

Something like:[tt]
on error resume next
Set ob = CreateObject("lib.class")
If ob Is Nothing Then
msgbox "Failed to create object"
Else
msgbox "Object created OK"
Set ob = Nothing
End if
[/tt]

Just put that into a new text file, save it, rename with .vbs extension and double-click to get your answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top