473,508 Members | 2,460 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.dll#testNS.Class1"></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
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="test"/>
<codeBase version="1.0.0.0"
href="http://mypc/test.cab"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

3. In the HTML I specified this config file
<link rel="Configuration" 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.dll#testNS.Class1"></OBJECT>
b. <OBJECT ID="myAssembly" classid="test.cab#testNS.Class1"></OBJECT>

But neither worked.

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

thanks
mqs
Jul 21 '05 #1
0 1476

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

Similar topics

2
6385
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...
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...
3
2646
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...
1
3392
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...
0
2815
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...
3
2373
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...
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...
0
1222
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...
4
1692
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...
0
7231
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
7405
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...
1
7066
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
7504
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
5643
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,...
0
4724
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...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
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 ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.