469,290 Members | 1,922 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,290 developers. It's quick & easy.

COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B}....

when i convert doc to html conversion using ASP.net(c#) it will converts sucessfully but in some crtical states its will give follwing error...

Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80080005.

After restarting the server it run sucssfully...

please any body help me..why this type of error genrate & solve after restart it run sucssfully.

Regards
Suresh
Jul 10 '07 #1
5 10611
Frinavale
9,735 Expert Mod 8TB
when i convert doc to html conversion using ASP.net(c#) it will converts sucessfully but in some crtical states its will give follwing error...

Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80080005.

After restarting the server it run sucssfully...

please any body help me..why this type of error genrate & solve after restart it run sucssfully.

Regards
Suresh

Make sure that the Com object that you're using is installed/registered properly (easiest way I know is to use the command line tool regsvr32).

Also make sure that your application has permissions to use this COM object. Since you're developing a web application please note that the ASP.NET user account does not have permissions to use DLLs in the system32 folder.

-Frinny
Jul 10 '07 #2
Make sure that the Com object that you're using is installed/registered properly (easiest way I know is to use the command line tool regsvr32).

Also make sure that your application has permissions to use this COM object. Since you're developing a web application please note that the ASP.NET user account does not have permissions to use DLLs in the system32 folder.

-Frinny
I have my dll in a seperate folder. When I run the application on the server it is working fine. but I face the problem when I run from other servers. I also made sure that asp.net user has read access fo the DLLs folder but its not working.
When I run regsvr32 I reecieve an error message "was loaded, but the dllregisterserver entry point was not found.
This file canot be registered"
Please help me....
May 12 '08 #3
Frinavale
9,735 Expert Mod 8TB
I have my dll in a seperate folder. When I run the application on the server it is working fine. but I face the problem when I run from other servers. I also made sure that asp.net user has read access fo the DLLs folder but its not working.
When I run regsvr32 I reecieve an error message "was loaded, but the dllregisterserver entry point was not found.
This file canot be registered"
Please help me....
What is the exact command you typed when running the regsvr32 tool?
I found that I got that error sometimes when running:

regsvr32 -i MyDllName.dll


Wherease when I ran:

regsrv32 MyDllName.dll

It installed properly without any error message.


-Frinny
May 12 '08 #4
What is the exact command you typed when running the regsvr32 tool?
I found that I got that error sometimes when running:

regsvr32 -i MyDllName.dll


Wherease when I ran:

regsrv32 MyDllName.dll

It installed properly without any error message.


-Frinny



I ran regsvr32 office.dll command
Following which I recieved the error message.
Any idea on which dll to be included as reference for this to work.
Also we have see that it is working for some time and after some times it again goes bad.
In the system event logs we found the error message "The server {91493441-5A91-11CF-8700-00AA0060263B} did not register with DCOM within the required timeout." and the source is DCOM.
In application event log we found the warning message "Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/15/2008 11:12:53 PM
Event time (UTC): 5/16/2008 3:12:53 AM
Event ID: 49740231dfa84cbdbcb53cf69e9aacd8
Event sequence: 94
Event occurrence: 7
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/942346863/Root/RequestForm-20-128553318818813692
Trust level: Full
Application Virtual Path: /RequestForm
Application Path: D:\apps\RequestForm\
Machine name: COMP-N1HGUM7Z3B

Process information:
Process ID: 4480
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: COMException
Exception message: Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80080005.

Request information:
Request URL: http://10.80.32.92:58080/App/Workinprogress.aspx
Request path: /App/Workinprogress.aspx
User host address: 10.80.65.132
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Microsoft.VisualBasic.CompilerServices.Symbols.Con tainer.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBind ing.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Workinprogress.btnExPPt_Click(Object sender, EventArgs e) in D:\apps\requestform\Workinprogress.aspx.vb:line 288
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at "


what could be the reason??
May 16 '08 #5
Not only dll but DCOM server also must be registered. And if you connect to remote machine, DCOM is to registered server and client computers both.
Command to register:
your_server_name.exe regserver
unregister:
your_server_name.exe unregserver
Oct 2 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by jimmyfo | last post: by
3 posts views Thread by =?Utf-8?B?Tmljaw==?= | last post: by
9 posts views Thread by =?Utf-8?B?QmFkaXM=?= | last post: by
10 posts views Thread by Meganutter | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.