473,756 Members | 8,006 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referenced assembly 'interop.WbemSc ripting' doesn't have a strong

Hi!

I'm using a Strong Name Key to create our assemblies, this key has the Full
Trust security so we can use those "mini tools" from network drives...

I'm trying to use WMI to get access to data in our SMS Server...

Now, when I tried to create my assembly I got this message...

"Unable to emit assembly: Referenced assembly 'interop.WbemSc ripting' does
not have a strong name"

What is the problem?

How can I use WMI as required in the way I need?

Is there another way to get access to this data?

Thanks!

ShrimpyOne
May 11 '06 #1
1 1683
Hi,

AFAIK, if an assembly have a strong name, all assemblies it depends on
should also have it. It seems you can use the technique described in
"How to link to an ActiveX Control from a Strongly Named Assembly"
(http://blogs.msdn.com/shawnfa/archiv...13/352636.aspx) but using
TlbImp instead of AxImp.

HTH,
Roman

"ShrimpBoy" <Sh*******@disc ussions.microso ft.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ ×
ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:24******** *************** ***********@mic rosoft.com...
Hi!

I'm using a Strong Name Key to create our assemblies, this key has the Full Trust security so we can use those "mini tools" from network drives...

I'm trying to use WMI to get access to data in our SMS Server...

Now, when I tried to create my assembly I got this message...

"Unable to emit assembly: Referenced assembly 'interop.WbemSc ripting' does not have a strong name"

What is the problem?

How can I use WMI as required in the way I need?

Is there another way to get access to this data?

Thanks!

ShrimpyOne

May 12 '06 #2

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

Similar topics

3
3074
by: Angelos Karantzalis | last post by:
I've built an Assembly to wrap around a COM component. However, I need to add it to the GAC. Upon trying to do that, I'm trying to give the assembly a strong name, which fails because the com interop generated assembly it uses doesn't have a strong name :? Can I sign the interop assembly with some cmd-prompt tool ? or, is there another way to achieve what i want ?
2
6384
by: Alex Ting | last post by:
Hi Everybody, I've got this problem when signing this interop. All my project dll's are signed correctly except for this one where its a com reference. I've read the KB http://support.microsoft.com/?kbid=313666 but after trying this it still doesnt work. It either says that it cant find the file in my bin directory. Any sugguestions anyone? I've also tried to delete the .snk key and recreate it and then do the suggested instructions...
1
2127
by: Hatim Ali | last post by:
Hello, I have a class library project which has a class supporting COM+ transactions. This class library project refers a COM interop assembly. Now i need to register the assembly after compiling this class library projects into GAC. Registrering it into GAC requires tthat the assembly should have a strong name. Now when i use attribute and compile the class library project it prompts me that the interop assembly should have a strong...
3
1977
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hello Gurus, I wrote a .NET application using C# and exported some interface for COM usage. I did register my application COM interface using the REGASM.exe and some more code in application. It all looks fine when looking in the OLE View utility and by looking in the registry. But when I try to instantiate the COM object using C++ or VB I'm getting the error "The system cannot find the file specified" (Run-time error -2147024894...
0
9297
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
10069
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
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
9884
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
9735
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
8736
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
5168
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...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2697
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.