473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Manually generating Interop assembly failing......

I am trying to generate a strong name assembly from the unmanaged DLL for
the COM + 1.0 Admin Type Library located in the
C:\WINDOWS\system32\Com\comadmin.dll, but when I run the following command
it fails....

C:\work\BillAnalyser\Bin>tlbimp.exe comadmin.dll /delaysign
/publickey:C:\work\key\billanalyser.snk /out:Fb.Interop.ComAdmin.dll
It fails saying 'TlbImp error: System.Runtime.InteropServices.COMException -
StrongName APIs could not locate a matching CSP.'

Anyone got any ideas why as this is driving me crazy....

Cheers in advance

Ollie
Nov 16 '05 #1
2 3913
Ollie,

Is there a need to delay sign the interop assembly? Can you just sign
it outright?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ollie" <ol**********@hotmail.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
I am trying to generate a strong name assembly from the unmanaged DLL for
the COM + 1.0 Admin Type Library located in the
C:\WINDOWS\system32\Com\comadmin.dll, but when I run the following command
it fails....

C:\work\BillAnalyser\Bin>tlbimp.exe comadmin.dll /delaysign
/publickey:C:\work\key\billanalyser.snk /out:Fb.Interop.ComAdmin.dll
It fails saying 'TlbImp error: System.Runtime.InteropServices.COMException - StrongName APIs could not locate a matching CSP.'

Anyone got any ideas why as this is driving me crazy....

Cheers in advance

Ollie

Nov 16 '05 #2
Nick,

It fails with the same message if I don't delay signing it either....

The reason I am trying to do this is because I want to save changes into the
COM Admin Catalog from a COM+ application, and to register a COM+
application the assembly has to be signed (as you probably know :)) and
hence all references have to be signed as well.....

Cheers

Ollie
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eZ**************@TK2MSFTNGP10.phx.gbl...
Ollie,

Is there a need to delay sign the interop assembly? Can you just sign
it outright?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ollie" <ol**********@hotmail.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
I am trying to generate a strong name assembly from the unmanaged DLL for the COM + 1.0 Admin Type Library located in the
C:\WINDOWS\system32\Com\comadmin.dll, but when I run the following command it fails....

C:\work\BillAnalyser\Bin>tlbimp.exe comadmin.dll /delaysign
/publickey:C:\work\key\billanalyser.snk /out:Fb.Interop.ComAdmin.dll
It fails saying 'TlbImp error:

System.Runtime.InteropServices.COMException -
StrongName APIs could not locate a matching CSP.'

Anyone got any ideas why as this is driving me crazy....

Cheers in advance

Ollie


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: roy | last post by:
I try to call com written in VB 6.0. When I use VS.net Studio to do the debuging, some time it works fine, some time I got the following message: Server Error in '/GISOnlineReservation'...
0
by: roy | last post by:
I try to call com written in VB 6.0., some time it works fine, some time I got the following message: Server Error in '/GISOnlineReservation' Application....
0
by: keefah | last post by:
Hi, I'm writing a C# web app that uses Outlook to send email. I use a reference to the Microsoft Outlook 11.0 Object Library, but it's giving me problems. I tracked down some stuff on the Net...
7
by: Conor Maguire | last post by:
Folks, We have a C# method which we register as part of a class for COM Interop: public void send(string contents, string filepath ,string filename) {
1
by: Ben Rush | last post by:
Hello world, I want to make a *.tlb file from a *.idl file so that I can generate an interop assembly, but I failing. I have the exact same problem as laid out by the thread: ...
20
by: Razzie | last post by:
Hey all, I'm really going through a small hell right now - I've completely lost it :) I made a project, using two interop libraries from exchange (created them as in this msdn article:...
7
by: R Reyes | last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly to work in my VS2005 project? I'm trying to manipulate MS Word from my Web Form application and I can't get passed...
5
by: Yoavo | last post by:
Hi, In my application I have to use som external COM dll's. In the code: using MyDll when I build the project, I get (in addition to the .exe file) a Dll called Interop.MyDll.dll I want to...
0
by: Tina | last post by:
I've gotten this before where it says there is a problem with Interop.MSDASC but I can't remember what causes this. This is a 1.1 app I'm trying to debug in vs2005. It was running yesterday just...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.