Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 28th, 2010, 07:34 AM
Authorized User
Join Date: Apr 2008
Posts: 85
Thanks: 10
Thanked 0 Times in 0 Posts
Default Problem with registering dll

Hi All,
I have an asp.net applciation .I am getting the below error on the windows server 2003 64bit environment,on the 32bit environment its work fine.

Exception: System.Exception: Cannot create ActiveX component.
at Microsoft.VisualBasic.Interaction.CreateObject(Str ing ProgId, String ServerName)

But I have registered the dll using regsvr32 and it shows the message successfully registered.

Can you tell me how to regirester the dll on the 64bit environment.

Please shed some light on it.

Old July 28th, 2010, 11:09 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Maybe the DLL is not designed to run in 64 bits environments? You could try enabling 32 Bits applications on the IIS Application Pool and see if that fixes it.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Old August 13th, 2010, 06:33 AM
Authorized User
Join Date: May 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


The procedure to register dll in 64 bit environment is same as 32 bit environment.
It may be possible that dll may not be designed to run in 64 bit environments.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Registering users Glaman BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 March 5th, 2008 07:39 PM
Registering ASCX gbrown ASP.NET 1.0 and 1.1 Professional 1 January 9th, 2007 11:57 AM
Registering a vb.net dll in to the system esuneelbabu Other Programming Languages 1 October 16th, 2006 05:06 PM
Email Registering HelpWanted ASP.NET 1.0 and 1.1 Basics 1 September 20th, 2006 04:21 PM
Registering a new user hasanali00 BOOK: ASP.NET Website Programming Problem-Design-Solution 4 April 14th, 2005 05:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.