473,729 Members | 2,149 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 1679
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
3072
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
6383
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
2126
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
8913
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
9426
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...
1
9200
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
9142
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
8144
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
6016
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
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...
1
3238
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 we have to send another system
3
2162
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.