Click here to Skip to main content
16,006,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi Eduard Keilholz,
But how can i register the dll ? what is the process?





I have a CV tracking system. On my local system, which uses MS SQL and dot net, I can extract CV details from a word document and display it on the ASP page. But when I try this on the Server, it gives an error as shown below. Does anyone have any suggestions on this? Thanks in advance.
Server Error in '/' Application.
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).]
   Job_Seeker_resumeview.lnkdwnldres_Click(Object sender, EventArgs e) +440
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +113
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +9
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

so help me out plz.

thanks.
Posted
Updated 14-May-12 1:40am
v6

It says 'Class not registered'. Did you register the dll you use with regsvr32?
 
Share this answer
 
There can be various reasons for it. Generally, its environment issue where X86 & X64 plays compatibility role or it is related to correct configuration of AppPool once hosted.

One such similar issue reported and resolved by one of the members here: ASP.NET error 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))[^]

Have a look at few similar discussions here and troubleshoot:
Retrieving COM class factory failed due to the following error: 80040154[^]
Deployment bug: Class not registered[^]
Error Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900