.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

OWC11.Spreadsheet.11 - Retrieving the COM class factory for component with CLSID {} failed due to th

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :.NET Framework
 
We have a web application (C#) which uses OWC11.Spreadsheet.11 to create excel files. This application works fine on XP 32bit, Windows 2003 server 32 bit versions. Recently we moved our application to a Windows 2008 web server 64bit machine. Now when we run the appication and call the functionality generate the Excel files which uses OWC11.Spreadsheet.11 it throws the following error.Retrieving the COM class factory for component with CLSID {0002E559-0000-0000-C000-000000000046} failed due to the following error: 80040154.In the code we use this library as follows using Microsoft.Office.Interop.Owc11; SpreadsheetClass xlsheet = new SpreadsheetClass();We have registered the Microsoft.Office.Interop.Owc11.dll in the global assembly cash as we have done in 2003 server.  We also tried running owc11.exe to insall all office 2003 web components.Can anyone help us to sort this issue.Thanks in advance.Sam


View Complete Post


More Related Resource Links

Error:Retrieving the COM class factory for component with CLSID {} failed due to the following error

  
Hi,
  I am trying to take screenshots of any open Internet Explorer. I have writen the code and it works fine when I run the site in debug mode.
  Once the site is published I get the following error:

Retrieving the COM class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error: 8007000e.

This error is shown for the following line:
SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows();

I have given permission to various files for aspnet user.

I have looked up most of the forum but to no avail.

Any help would be greatly appreciated.

Thanks,


SQLTask fails :: f"Retrieving the COM class factory for component with CLSID {19E353EF-DAF4-45D8-9A0

  
OS :: Windows 2008 R2 x64 SQL :: 2008 R2 Enterprise x64 The package and task worked fine untill I migrated to a different server, now the SQL Task fails with the following error msg, see below. The package was developed on the same OS & version of SQL.   SSIS package "Package.dtsx" starting. Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "" failed with the following error: "Retrieving the COM class factory for component with CLSID {19E353EF-DAF4-45D8-9A04-FB7F7798DCA7} failed due to the following error: 800700c1.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. Task failed: Execute SQL Task SSIS package "Package.dtsx" finished: Success.  

Retrieving the COM class factory for component with CLSID {6568E194-96D8-4035-9087-99E4F75E9ABC} fai

  
We are accessing Adobe Photoshop through ASP.NET application and using following two DLLs: [1] Interop.Photoshop.dll [2] Interop.PhotoshopTypeLibrary.dll If we execute the web application within MS Visual Studio (IDE), its working fine and no such error. If we deploy the application in IIS then start producing following error: ------------------------- [UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {6568E194-96D8-4035-9087-99E4F75E9ABC} failed due to the following error: 80070005.]    _Default.Button1_Click(Object sender, EventArgs e) +45    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 ------------------------- Using regedit we have looked for {6568E194-96D8-4035-9087-99E4F75E9ABC} and found several entries. We have assigned full privileges to ASP.NET, IUS

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046}

  

Hello,

I have developed an .net application in VS 2008 (.NET FRAME WORK 3.5) with MS-SQL Server 2005 as database.

Application works absoultely fine in my local machine but when i installed it in the server it shows me the following error message.

I have done lots of googling and cant solve the problem.

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.

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: 80080005.

Source Error:

Line 286:        'Dim isVisible As Object
Line 287:        'Dim missing As Object
Line 288:        Dim oWordApp As New Word.ApplicationClass()
Line 289:        'Dim oWordDoc As Word.Document
Line 290:

Thanks

Nick

<

Retrieving the COM class factory for component with CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E} fai

  

Hello,

  I am writing a simple web service that instantiates a very simple COM object and then makes a call to the object...  All parts are very simple so that i can atleast see that it works. My web service consists of one Web method... See below...

 ... TEMPCONVERTLibClass instance;

instance = new TEMPCONVERTLibClass();

...

[WebMethod(Description="Sample function to access tempconvert object",

TransactionOption=System.EnterpriseServices.TransactionOption.RequiresNew)]

public double CelsToFahren(double val) { double far = 0.0;

Retrieving the COM class factory for component with CLSID {0D43FE01-F093-11CF-8940-00A0C9054228} err

  

Retrieving the COM class factory for component with CLSID {0D43FE01-F093-11CF-8940-00A0C9054228} error 8002801d

 

here is the link to an image

 

http://gyazo.com/37173e56426da8e8d13904b3a03c58e0.png


Outlook Error - Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-0

  

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005.

This is the error i get when executes my application through iis.

I am trying to attach a file to microsoft outlook.

Please any body help me to figure this out.

I have been looking abt this error since last week. Please help me...

 

Thanx in advance.


SharePoint 2007 Search error Retrieving the COM class factory for component with CLSID {5AD0CC67-477

  

Hi All,

SharePoint search started failing all of a sudden, so I did some reading and performed "Reset all crawled content". Now the crawl is running fine, however, when search is performed on the site, following exception is thrown:

System.Runtime.InteropServices.COMException (0x800703FA): Retrieving the COM class factory for component with CLSID {5AD0CC67-4776-4D91-B9A8-0078B0BAF32D} failed due to the following error: 800703fa. at Microsoft.Office.Server.Search.Query.QueryInfo.InitializeCanaryChecker() at Microsoft.Office.Server.Search.Query.QueryInfo.GenerateDigest(Page CurrentPage) at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.ClickLogPostdata() at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnPreRender(EventArgs e)

I came across only one post when I searched for this particular problem and I don't believe we have the same case here. [http://social.technet.microsoft.com/Forums/en-GB/sharepointadmin/thread/84861057-d862-464d-b5fc-888db5bd6805]

Any help would be great.


Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} fai

  

Hi all,

I am not able to access MS Word COM object when the sharepoint server is logged off.

i am getting the following error:

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.

Any help would be greatly appreciated.

Thanks,


CLSID {00024500-0000-0000-C000-000000000046} failed with error: 80070005

  

Hi Guys,

I know the Microsoft do not support to automate office products. But still i am able to do that with Excel. I did some changes in registry and DCOM confing. Then i am able to open and edit excel on server machine.

Before doing this changes i was getting following error

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

After doing registry changes problem is resolved.

I followed steps given by Smith in

http://social.msdn.microsoft.com/forums/en/netfx64bit/thread/65a355ce-49c1-47f1-8c12-d9cf5f23c53e

 

But when i deployed my application on Win Server 2008 and calling from client then i am getting following same error as above

 

Please help me

 

Santosh J.

MCP


Failed to generate a user instance of SQL Server due to failure in retrieving the user's local appl

  
Hi ,From the last few days I am struggling with the error "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed."I hav created an asp.net web application with membership shcema. It works fine an my developement machine but when I published it on my web server. It is giving me above error for which I searched but not found any help.Can anyone help me with this.

Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET F

  
I downloaded the the .Net Framework 3.5 from Microsoft and I am trying to install the .Net Framework 3.5 in a clean Windows Vista Ultimate installation but it fails. The dd_dotnetfx35error file shows:   [03/08/08,19:05:35] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 1[03/08/08,19:05:46] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed. Thank you for your help.

Failed to generate a user instance of SQL Server due to failure in retrieving the user's local appl

  
Hi,I spend two days looking for an anwser to this problem but no luck. I have a simple ASP.NET 2.0 application which run correctly on my local machine. But After uploading all files including web.config file on a Windows 2003 Server with SQLEXPRESS installed. I have this error. Please Help!!!!!! Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. 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.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.

Failed to generate a user instance of SQL Server due to failure in retrieving the user's local appl

  
Hello everybody.I am working on Login control and I am new in ASP.NET. So far what I did is :1. In Website->ASP.NET Configuration I change the form authentication to internet.2. I created a user profile3. This gave me a ASPNETDB.mdf database.4. I added this code :<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/> </connectionStrings> in web.config file.4. I added login control to my login page :<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %><asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server"> <h1>Please Login</h1> <asp:Login ID="LoginAuth" runat="server" > </asp:Login></asp:Content> 5. And the login.aspx.cs file has :using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.W

MOSS 2007 Restore Operation Failed: The specified component exists.

  

I have a production MOSS farm and selected to backup my content database to a share on my network so I can move its data to my development environment. I used the Sharepoint Central Administration GUI to do this backup and selected New Configuration since I didnt want to use the same config as my production server (i.e - my development environment has its own farm with different naming conventions for those servers), and then changed the name of the Database server and kept the same name as the current _SITE database in my DEV environment. The backup ran fine, but now on restoring from the backup I receive this message below:

 

Object portal1_SITE failed in event OnRestore. For more information, see the error log located in the backup directory. SPException: The specified component exists. You must specify a name that does not exist.


Below is some information from the log...

 

[9/19/2007 9:57:18 AM]: Verbose: Starting OnRestore event.
[9/19/2007 9:57:18 AM]: Verbose: Starting object: portal1_SITE.
[9/19/2007 9:57:18 AM]: Verbose: [portal1_SITE] SQL Server Conn

.NET 3.5 SP1 failed with the error message - Error code 1603 for this component means Fatal error du

  
I had Beta version of VS 2008 and I wanted to install .NET 3.5 SP1. Installation led to some serious problems. I tried almost everything to install .NET 3.5SP1 (or VS 2008 SP1), nothing works

* VS 2008 has been uninstalled
* 3.5 uninstalled and cleaned
* 3.0 uninstalled and cleaned
* WF components removed
* document manager components removed

when I try to reinstall 3.5SP1, I keep receiving the following error in dd_dotnetfx35error

[01/11/09,00:23:05] XPSEPSC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
[01/11/09,00:23:06] XPSEPSC Installer: [2] Setup Failed on component XPSEPSC Installer
[01/11/09,00:23:32] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.

Then I check the contents of dd_dotnetfx35install for the event error log and found the following
[01/11/09,00:23:05] XPSEPSC Installer: ***ERRORLOG EVENT*** : Error code 1603 for this component means "Fatal error during installation.
"
[01/11/09,00:23:05] Setup.exe: AddGlobalCustomProperty
[01/11/09,00:23:06] XPSEPSC Installer: ***ERRORLOG EVENT*** : Setup Failed on component XPSEPSC Installer
[01/11/09,00:23:06] Setup.exe: GetGlobalCustomProperty - Property: {BBE1827C-F2FD-4FDA-A6D6-C83B62FFFDCA} - PropertyName: compfailed - Value: 0
[01/11/09,00:23:06] XPSEPSC Installer: CBa

Setup failed to install the required component Microsoft SQL Server 2005 Express (MSSMLBIZ)

  

I Don't understand what this means: Everytime I try and install the disc 2 of my Office Small Business 2007, it gives the same message.  Help.

 


Microsoft SQL Server 2005 9.00.3042.00
==============================
OS Version      : Home Edition  (Build 6000)
Time            : Tue Jul 03 17:14:45 2007
 
Machine         : SWANNER-PC
Product         : Microsoft SQL Server Setup Support Files (English)
Product Version : 9.00.3042.00
Install         : Failed
Log File        : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0005_SWANNER-PC_SQLSupport_1.log
Error Number    : 1618
--------------------------------------------------------------------------------
Machine         : SWANNER-PC
Product         : Microsoft SQL Server Native Client
Product Version : 9.00.3042.00
Install         : Failed
Log File        : c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0005_SWANNER-PC_SQLNCLI_1.log
Error Number    : 1618
--------------------------------------------------------------------------------
Machine         : SWANNER-PC
Product         : Microsoft SQL Server VSS Writer
Product Version : 9.00.3042.00
Install         : Failed
Log File        : c:\Program Files\Microsoft SQL Ser

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend