473,568 Members | 2,850 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.CreateOb ject("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 2203
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.CreateOb ject("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.CreateOb ject("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
3267
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 name, uuid etc. specifiers. Build the dll. Use tlbimp to create a primary interop assembly for it. Register that assembly using regasm. 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 successfully using the regasm tool but my code for Set oGED = Server.CreateObject("myproject.myclass") failes. I get a very non descriptive error as...
2
2330
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 here's the result of sniffing PE,™؛ZPE,™؛POST /register.php HTTP/1.1 Accept: */* Content-Type: application/x-www-form-urlencoded Host:...
0
1731
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 .Net assembly. Just like tlbimp which works on the entire COM Component (check out yesterdays article) tlbexp also works on the entire assembly. ...
2
2886
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 assembly DLL as command argument. It all works as expected. To make RegAsm available I installed it from the framework bin directory to the componentes...
0
2792
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 appropriate entries into the registry. Works great. Now I am trying to build a installer for this using VS 2005. I did the
2
4352
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 using RegAsm. My Question is Does the RegASM can be called from anywere like we call RegSvr32 or it will be found only in Visual Studio Tools...
2
5966
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 parameter when registering .net dll with regasm. from what i read,a simple regasm dllname.dll and putting the dll and cscript.exe in the same...
1
2574
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.... do put any registry entry in windows registry? Suppose, If I include my custom OCX in my project. And simply copy that to system folder in a new...
3
1299
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
7693
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7604
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...
0
8117
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...
1
7660
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...
0
7962
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...
0
6275
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3651
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...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
932
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...

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.