473,503 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

regasm registeration COM

Hi all and thanks in advance,
I have a C# class library (with a set of methods) which I am generating a
dll from and I would like to use in my asp code as a COM object.
I registered the dll successfully using the regasm tool but my code for
Set oGED = Server.CreateObject("myproject.myclass")
failes. I get a very non descriptive error as follows: Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET
CLR 1.1.4322)

My class library works and calling it from an ASP.NET page does not run into
any errors.

I was wondering what am I doing wrong that the object doesn't even get
initialized. Am I missing something?

Any ideas would be highly appreciated,

Thanks a bunch

Amadelle
Nov 22 '05 #1
2 2195
The assembly also must be installed into the GAC. See http://support.microsoft.com/default...b;en-us;815808

"Amadelle" wrote:
Hi all and thanks in advance,
I have a C# class library (with a set of methods) which I am generating a
dll from and I would like to use in my asp code as a COM object.
I registered the dll successfully using the regasm tool but my code for
Set oGED = Server.CreateObject("myproject.myclass")
failes. I get a very non descriptive error as follows: Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET
CLR 1.1.4322)

My class library works and calling it from an ASP.NET page does not run into
any errors.

I was wondering what am I doing wrong that the object doesn't even get
initialized. Am I missing something?

Any ideas would be highly appreciated,

Thanks a bunch

Amadelle

Nov 22 '05 #2
The assembly also must be installed into the GAC. See http://support.microsoft.com/default...b;en-us;815808

"Amadelle" wrote:
Hi all and thanks in advance,
I have a C# class library (with a set of methods) which I am generating a
dll from and I would like to use in my asp code as a COM object.
I registered the dll successfully using the regasm tool but my code for
Set oGED = Server.CreateObject("myproject.myclass")
failes. I get a very non descriptive error as follows: Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET
CLR 1.1.4322)

My class library works and calling it from an ASP.NET page does not run into
any errors.

I was wondering what am I doing wrong that the object doesn't even get
initialized. Am I missing something?

Any ideas would be highly appreciated,

Thanks a bunch

Amadelle

Nov 22 '05 #3

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

Similar topics

5
3253
by: Kevin Flanagan | last post by:
This can be reproduced with VS.NET as follows. Create a new ATL project with default wizard settings (dll, attributed). To the 'module' attribute, add a specifier 'version = "1.10" ' alongside the...
1
327
by: Amadelle | last post by:
Hi all and thanks in advance, I have a C# class library (with a set of methods) which I am generating a dll from and I would like to use in my asp code as a COM object. I registered the dll...
2
2198
by: spid3r | last post by:
hello i sniffed a program that make aregisteration account through the program itself i need to make asimple form in php/html that make registeration through web instead of the application ...
0
1721
by: Namratha Shah \(Nasha\) | last post by:
Hey Guys, TlbExp.exe and Regasm.exe tools aid us in exporting assembly information to a type library so that non .Net Applications or unmanaged code use this type library information to call...
2
2883
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the...
0
2784
by: rbanerji | last post by:
I have a COM object built in C#. Its a an IE deskband. It implements the following method: public static void Register( Type t ) Which gets called when regasm is used and it makes teh...
2
4349
by: gopal | last post by:
I installed MS DevEnv 2003 with framework 1.1.I developed a small application which looks out for the assembly vcersion of a .net DLL or EXE via code. But i have a problme durng the registration...
2
5957
by: xamman | last post by:
hi there, i am trying to use a .NET assembly from a Cscript.exe .vbs (i.e. from COM) and could not get my .vbs to use my .net dll (gives a 'file not found error') unless i used the /codebase...
1
2571
by: kaymatrix | last post by:
If my vb project contains no external OCX, DLLs. Is msvbvm60.dll and my exe enough to run in new system containing no vb runtime? Do msvbvm60.dll need regsvr32 registeration? doing REGSVR32.......
3
1294
uogen
by: uogen | last post by:
hi i want to know the code for registeration in database (sql) and i use c# and asp
0
7278
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,...
0
7328
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
6988
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
7456
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
5578
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
3166
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...
0
1510
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
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
379
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...

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.