473,668 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to deploy an assembly in IE, as a cab file.

Hi
Problem : Unable to deploy an assembly in IE, as a cab file.
(Works fine when deployed as a dll )

Description :
I have created a assembly (dll with no user interface)in C# which I
deploy in IE. The dll name is test.dll and the object tag in the html
page is as follows.

<OBJECT ID="myAssembly " classid="test.d ll#testNS.Class 1"></OBJECT>

This works fine.

Now, for practical reasons, I want to deploy the assembly as a cab
file, but there is a problem.

To deploy it as a cab I followed the steps mentioned in
http://msdn.microsoft.com/library/de...pplication.asp

1. Created the cab file called it test.cab (using cabarc.exe)
2. Created a config file called test.dll.config
<configuratio n>
<runtime>
<assemblyBindin g xmlns="urn:sche mas-microsoft-com:asm.v1">
<dependentAssem bly>
<assemblyIdenti ty name="test"/>
<codeBase version="1.0.0. 0"
href="http://mypc/test.cab"/>
</dependentAssemb ly>
</assemblyBinding >
</runtime>
</configuration>

3. In the HTML I specified this config file
<link rel="Configurat ion" href="http://mypc/test.dll.config "/>

4. I'm unsure about the object tag, so I tried the following two cases
a. <OBJECT ID="myAssembly " classid="test.d ll#testNS.Class 1"></OBJECT>
b. <OBJECT ID="myAssembly " classid="test.c ab#testNS.Class 1"></OBJECT>

But neither worked.

The assembly is strong named. Any idea what I did wrong ?

thanks
mqs
Jul 21 '05 #1
0 1492

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

Similar topics

2
6398
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this to happen we had to change the context in which asp.net runs from machine to SYSTEM by modifying the machine.config file. Under Windows 2003 no matter how asp.net is set to run as either machine or system. I get the following error: ...
1
430
by: Zeplynne | last post by:
There are several ways to deploy an assembly into the global assembly cache: 1) Use an installer designed to work with the global assembly cache. This is the preferred option for installing assemblies into the global assembly cache 2) Use a developer tool called the Global Assembly Cache tool (Gacutil.exe) provided by the .NET Framework SDK.
3
2656
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots of problems. Up until now ive managed to sort most of them, but now im strugling. When i run my application i keep getting this. Server Error in '/WebApplication1' Application....
1
3403
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots of problems. Up until now ive managed to sort most of them, but now im strugling. When i run my application i keep getting this. Server Error in '/WebApplication1' Application...
0
2837
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'Devshock.Protocol.SmppClient.DLL' WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'System.dll' WARNING: Unable to...
3
2380
by: AAA | last post by:
Hi, how could I deploy all my CF, SQLCE and my applicaiton .CAB file to pocket pc... I am now only able to run the msi setup file and install my application to my pocket pc, but I need to intall compact framework, opennetcf, and sqlce separentely. I am thinking if there is a way to run a setup file and install all the necessary components and files to pocket pc. I have done a search in google group. actually found 1 artcile talking...
0
385
by: mqsash | last post by:
Hi Problem : Unable to deploy an assembly in IE, as a cab file. (Works fine when deployed as a dll ) Description : I have created a assembly (dll with no user interface)in C# which I deploy in IE. The dll name is test.dll and the object tag in the html page is as follows. <OBJECT ID="myAssembly" classid="test.dll#testNS.Class1"></OBJECT>
0
1235
by: Mircea Pleteriu | last post by:
Hi, I will present you a virtual scenario. Here it is. Say, we develop a web app consisting in one page only. The page displays a culture-dependent text and a switch (as a dropdown list) to select one of 20 possible languages. Changing the language entails changing the text. At current time, the app supports only 5 cultures - having a resources file for each of the 5 cultures.
4
1704
by: meo | last post by:
Does .NET provide the way to deploy library to internal developer? I am trying to find the way to deploy a library file to developer for having integration to their application BUT the customer who is using that application will not use that library file. If I choose to deploy like a DLL file, the DLL file will deploy to the customer. I thought this is the easy way if customer copy DLL file to include to the project and use it.
0
8381
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
8799
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
8586
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
8658
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...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4205
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
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2026
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
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.