TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Luis Carro
NA
2
5.3k
C#, VS2008, VB6 and web service
Jan 8 2009 11:33 AM
Hello Group.
I have a little problem about instantiate a library (DLL) developed in C # (vs2008, frameweork 2.0) from a system developed in VB6 in a terminal with Windows 2000. The library will consume a Web Service.
The error I get is
"-2146232062: Automation Error."
in VB6 run. the few posts that I found about this refers to the file "Machine.config" of the framework.
But what baffles me most is that only one terminal do not works. This terminal is, incidentally, the only one to use the program. This library will not install on another.
I've tried everything (I think):
- Regedit.
- Regcleaner.
- Ccleaner.
- Create a project to deploy with vs2008.
- Regenerate the solution, re-deploy.
- Uninstall.
- Installation as an administrator.
- Give the user administrator rights and install.
- Reboot at each uninstallation/installation.
- Manual registration.
- Manual unregistracion.
- Finding guids and names, manual cleaning of the register.
- Clear all temporary files.
- Comparison of Machine.config files of both terminals.
I know some of these steps are unnecessary, but i do not know to do.
Obviously there is something (in the registry, in a file, in some part of the operating system) that prevents the proper registration of the library, that this problem is VB6 can not instantiate the object.
I appeal to your help: if anyone has anything to give.
It also appreciates the attention to in reading this post, and excuse me my poor english.
Greetings.
Cacho.
Reply
Answers (
1
)
how to create a COM wrapper around the C# class
COM Interop in CF 2.0