COM Class DLL in Virtual Directory

5 pts.
Tags:
COM
DLL
VB
VB.NET
Virtual directory
Hi all, I created a COM Class DLL and was able to run my application on local. However, when I shifted everything to the virtual directory, it started giving problem. Particularly problems like, "Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80070002", and "Cannot create ActiveX component". However, due to trial an error, these errors might not be the error we are looking for. I guess the problem is that the COM is not register in the virtual directory or something. I'm not certain. Would be extremely grateful if you guys would be able to give me a hand on this, thank you! The DLL is "SPB231.dll" and it runs normally on local when I call for it via CreateObject("SPB231.SPB231"). A portion of the responsible codes will be given: Dim dllCaller As New Object Dim dllName As String dllCaller = Microsoft.VisualBasic.CreateObject(dllName & "." & dllName) dllCaller.cmdVar(clicked) buildXML(dllCaller.theForm(), dllCaller.theScreen(), dllCaller.theURl())

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following