473,394 Members | 2,031 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,394 software developers and data experts.

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 10929
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

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

Similar topics

2
by: Sakke | last post by:
Hello! We have written a GCryptoSvr.dll COM server in C++. Inside that resides WebClient COM component. WebClient CLSID is {8DC27D48-F94C-434B-A509-C3E1A3E75B9E}. When we are using that...
0
by: mihironline | last post by:
We have a scheduled job, which runs at every 5 min. As first step of this job, we are executing a stored proc. Inside stored proc, we have following line of code insert #exeResult EXEC...
3
by: Harish | last post by:
I am buiding an application in ASP.Net 2.0 with C#. After installing corel wordperfect i am adding the reference into the application. Afetr adding reference interop.wordperfect.dll is added to the...
1
by: jimmyfo | last post by:
Hi, I recently wrote an ASP.Net web application in VS2005 and published (using VS2005 Publish feature) it to a relatively clean machine with ASP.Net 2.0 and MDAC 2.8 installed on it. However, when...
4
by: omrivm | last post by:
Hi, I have a problem with Outlook Redemption, every time I'm trying to create a new RDOAddressBook: Redemption.RDOAddressBook AB = new RDOAddressBook(); I get: "Retrieving the COM class factory...
0
by: Olman Quesada | last post by:
Hi everybody, I'm trying to access a TLB in a VB.Net 2005 project. The TLB file is located under c:\windows\system32 directory. However, when a try to instanciate a variable whose type is...
11
Frinavale
by: Frinavale | last post by:
Hi guys, I've created a VB.Net project and have compiled it, run it, tested it on a machine that has a 32bit processor. I am now trying to move this project onto a 64bit processor server that is...
3
by: =?Utf-8?B?Tmljaw==?= | last post by:
Hi all, i have a web application and one of the function is to generate a word document by button click. it works fine in debug mode when i run this web application. But after i deploy to my...
9
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm using automation and it's working fine when I run it from my local machine. but if I try to access it from another machine it's giving me this Error: Retrieving the COM class factory...
10
by: Meganutter | last post by:
Hello, I have been stuck with this error for a while now and really want to get it fixed. The catch here is, i need to rewrite code and update it. when i use the old code the page loads as its...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.