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

Converting the type library to a .NET assembly failed. (COM in vs2003)

Status
Not open for further replies.

Wholsea

Programmer
Jun 16, 2004
138
US
Trying to add a reference to a com object, created in VB6. I can add this reference on my development machine with no issues, but when I try to add it as a reference on our build box, I receive the following error:

A reference to "library name" could not be added. Converting the type library to a .NET assembly failed. Error loading the type library/DLL.

I've tried un-registering and re-registering the library, copied it back from another working environment. Rebooted several times to no avail.

Any ides?

ASP, VB, VBS, Cold Fusion, SQL, DTS, T-SQL, PL-SQL, IBM-MQ, Crystal Reports, Crystal Enterprise
 
Hi,

I need to develop a search engine functionality in c# that locates a martial arts schools near by .
I need to develop two types of search.

1. ZipCode + distance with in miles
2. Address , City and State.

I have a table in the sql database which has city, state, zipcode, lat , long values.

By using this information I was able to calculate a location of the schools by zip + distance.
I don't have any idea on how to search a store which is near to your address. All we have is that
data. Can anyone help me on this issue?
What type of information is needed (that means what data , columns needed in the database)
And also how to search ?

This is kind of very urgent.
I appreciate your help.

 
You may want to re-post this in the forum as it's own thread. More people will see it and you may get a response faster...

On a different note, I figured out what my issue was.

I was trying to add a reference to a COM library, that referenced another COM library, which I didn't have on that machine. I brought in the extra library, re-registered everything and was able to add it in with no issues.

FYI, I used the RedGate Reflector to see what the libraries dependancies are so I could locate the requirements and find what was missing.

ASP, VB, VBS, Cold Fusion, SQL, DTS, T-SQL, PL-SQL, IBM-MQ, Crystal Reports, Crystal Enterprise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top