473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 2192
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
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...
0
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
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...
0
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
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,...

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.