473,770 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ 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\syst em32\Com\comadm in.dll, but when I run the following command
it fails....

C:\work\BillAna lyser\Bin>tlbim p.exe comadmin.dll /delaysign
/publickey:C:\wo rk\key\billanal yser.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 3930
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.co m

"Ollie" <ol**********@h otmail.com> wrote in message
news:uZ******** ******@tk2msftn gp13.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\syst em32\Com\comadm in.dll, but when I run the following command
it fails....

C:\work\BillAna lyser\Bin>tlbim p.exe comadmin.dll /delaysign
/publickey:C:\wo rk\key\billanal yser.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.c om> wrote in
message news:eZ******** ******@TK2MSFTN GP10.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.co m

"Ollie" <ol**********@h otmail.com> wrote in message
news:uZ******** ******@tk2msftn gp13.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\syst em32\Com\comadm in.dll, but when I run the following command it fails....

C:\work\BillAna lyser\Bin>tlbim p.exe comadmin.dll /delaysign
/publickey:C:\wo rk\key\billanal yser.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
2362
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' Application. ----------------------------------------------------------- --------------------- Configuration Error Description: An error occurred during the processing of a
0
1567
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. ----------------------------------------------------------- --------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request.
0
2288
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 about the global assembly cache (GAC) and primary interop assemblies (PIA) and so forth, and did all the recommendations, in terms of tweeking Office, installing the .NET Office stuff for framework 1.1, etc. I got it to the point where it compiles ok,...
7
380
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
6254
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: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=e4644bc9d34d9f6e&rnum=24 I want to generate a *.tlb file from a *.idl file, but no *.tlb file is generated (only corresponding *.c and *.h files). In fact, I'm
20
3198
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp). I set my project properties as 'Register as COM interop' to true, I can install it my project on my developement machine without a flaw. Great.
7
10964
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 this screen below. Please help, thanks in advance... Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify...
5
1901
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 send the .exe to the users without needing to send the dll. Is it possible to build my project without the accompanying dll ?
0
2058
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 fine. Help! T Server Error in '/VT.Users' Application. -------------------------------------------------------------------------------- Configuration Error
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.