Add Reference COM references missing?
Using VS 2005 (latest, greatest)
Need to add SQLDMO as an interop and I read this needs to be done through the COM add reference tab.
I click ADD REFERENCE either through right-clicking the project, or from the toolbar menu.
Unfortunately, the COM tab has no listings - and I do not know the name of the object needed for SQLDMO so I cannot browse and select.
How do I get the COM listings to show? and/or could you tell me which component exposes the SQLDMO object?
Thanks a million
E
[532 byte] By [
Eric66] at [2007-12-28]
<bump>
Eric
I just installed VS 2005 had the same experience, and I can't find the solution to this problem anywhere, my com tab is empty... In the last year, did you ever find a solution?
I found what was going on in my case.
Under the HKEY_CLASSES_ROOT\TypeLib directory of my registry, there were a few registry keys that all belonged to nvsketch70. They had space characters around what should have been the hex name of the COM reference... {bf20b576-2117-4ada-bb28-f7c08ae135dc} so one was { bf20b576-2117-4ada-bb28-f7c08ae135dc } and other was {bf20b576 - 2117 - 4ada - bb28 - f7c08ae135dc}.... in this case it was nvsketch70's fault, but anyone with improper registry entries in the TypeLib folder could cause this.
I had to use OLEVIEW.exe to find unnamed typelib entries, the head back to the registry to remove those invaild listings, then everything worked.