Click here to Skip to main content
15,907,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,
Problem when we use vb6.0 dll in asp.net c#.

The error is shown given below:
Quote:
Retrieving the COM class factory for component with CLSID {58D9CC04-DCA3-4A25-9E05-8A122419D0B2} failed due to the following error: 80040154.

Please solve this problem and explain me step by step with examples.

Thanks,
T.Ramesh Kumar
Posted
Updated 6-Jun-14 19:34pm
v2
Comments
Are you using COM library in your code?
T. Ramesh Kumar 7-Jun-14 2:40am    
Yes
What exactly you are doing?
T. Ramesh Kumar 7-Jun-14 4:09am    
I am working on project to conduct online exam .In this project VB 6.0 DLL is use to display a questions.I am just Copy the DLL file in a project folder drive, then add the reference to our project using the Browse button in the Add Reference dialog.



1 solution

In Visual studio go to project properties and select the Build tab. set the platform target =X86
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900