473,800 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.net assemblies in cab file

I am deploying a .net assemblies with it's dependent assemblies and a
..inf (all in a cab file) on a TOMCAT Server. HTML page hosts the .net
assembly and everything works great except the status of the cab file
shows "unknown" and version as "1.1.4322.5 73" which should have
something like "2,2,4,2584 8". Because of this, every hit of the page
downloads the cab file which should not happen ideally. What could be
the problem?

Here is the HTML Page excerpt:
<OBJECT id="Babble" classid="CLSID: 4962696B-8F61-4273-BBBE-AD31293D7692"
CODEBASE="babbl e.CAB#Version=2 ,2,4,25848"> </OBJECT>
The version no. of the cab is same as version no. of main assembly.

..inf file:
[version]
signature="$CHI CAGO$"
AdvancedINF=2.0

[Setup Hooks]
hook1=hook1
AddToRegHook=Ad dToRegHook

[hook1]
run=%EXTRACT_DI R%\babble.bat %EXTRACT_DIR%

[AddToRegHook]
InfSection=Defa ultInstall2

[DefaultInstall2]
AddReg=AddToReg istry

[AddToRegistry]
HKLM,"SOFTWARE\ Classes\CLSID\{ 4962696B-8F61-4273-BBBE-AD31293D7692}\I mplemented
Categories\{7DD 95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\ Classes\CLSID\{ 4962696B-8F61-4273-BBBE-AD31293D7692}\I mplemented
Categories\{7DD 95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses" ,,,"Licensing: Copying the keys may be a violation of
established copyrights."

The file babble.bat contains list of commands like gacutil and regasm
for assemblies.

Any help would be greatly appreciated.
Yash
Jul 21 '05 #1
0 845

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

Similar topics

6
8185
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
3
10706
by: Joel Leong | last post by:
I wish to know the industrial practices for signing assemblies with key files. I genereted a key file to sign my assemblies. Should I sign all my assemblies with a single key files or I shall generate one key file for each assembly? Perhaps, I should generate a key file per group of related assemblies?
3
2997
by: lanky_tx | last post by:
Hi All, We have an automated build and test environment using NAnt and Nunit. Some of our assemblies are being strong named by modifying the AssemblyInfo.cs and having csc compile it. Some of these strong named assemblies are being dynamically loaded into the runtime. We store the metadata information about the strong named assemblies in a config file. Metadata in the config file looks like this:
1
1495
by: Jimi | last post by:
(Sorry for the repost, but I thought maybe I'd have better luck this time) I'm working on a utility to provide an overview of one's .NET projects and one of the things I want to display is detailed information about what each project references, whether it is assemblies in the GAC or non-GAC assemblies or other .NET projects. From the project file I can get the assembly names of all assemblies referenced by a project, including other...
1
1417
by: Bob Rock | last post by:
Hello, I was wondering when multi-file assemblies may be useful. With multi-file assemblies you may place inside the same assembly netmodules coded in different languages and as a consequence code from a module may obviously utilize private and internal classes defined in other module (maybe even coded in different languages). Apart this I personally see no other reasons to using multi-file assemblies.
3
2302
by: Rob Mayo | last post by:
I am working in an environment with 4 developers. 2 groups of 2 people working on the same server on the same web project with no version control management on the web server. Programmers A & B servername/project1 Programmers C & D servername/project2 All programmers have solutions that have their respective web projects, accessed over file share. Programmers A & B so far are fine. Programmers C & D have a problem.
9
4184
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and post-build events to automate GAC installation processes and the asp.net application has "copy to local" set to false for the references of these shared assemblies. However, every time we made the changes to the shared assemblies, we had to restart...
7
2925
by: Steve | last post by:
Hi all, I'm designing my DAL layer(s) for our suite of applications and I'm designing myself in circles, it's gotten to the point where each idea just mixes me up more :) We have 3 loosely related applications and I would like to use an assembly for the DAL in each of them. I have thought of using a single assembly for all of them with several different classes for providers/application specific code, thought of a separate assembly...
3
2081
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source depot. Although they are different, in some of them we share C# code by referencing source files that are external (not part of the projects) on each project. For instance, some of our projects have the typical “sources” file with:
2
5116
by: Smithers | last post by:
I have a Windows Forms application that implements a plug-in architecture whereby required assemblies are identified and loaded dynamically. Here are the relevant classes: A = application = Windows Forms class B = a singleton hosted within A. B is responsible for dynamically loading classes X, Y, and Z.
0
9690
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9550
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
10501
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
10250
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,...
1
7574
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
6811
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
5469
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
4149
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
2
3764
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.