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


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

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

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :ASP.Net
 

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

<


View Complete Post


More Related Resource Links

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,


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.


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


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

  
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

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

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,


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


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.


Problem retrieving bit colum with sqldatareader for vb class property

  

 I have a vb class that reads a single row of data from an SQL view. I want to add a property to it that will expose the value of a new bit field. But whatever I do my class always returns the value "false".

What am I doing wrong?

       Public ReadOnly Property IsPublished() As Boolean
            Get
                Return valPublished
            End Get
        End Property


Here's the relevant line from my datareader:
        Me.valPublished = Convert.ToBoolean(theObjectReader("Authorised"))Authorised is my bit field. I have tried it with and without the "ConvertToBoolean" statement.
When I response write the value of the property for rows where this field is true, it always shows false.

Any ideas?


Factory class for proxies

  

 

My project consumes 2 different services and I have a helper class as follows

public ServiceHelper{

public const WebService1.ServiceClient  Service1Client = new WebService1.ServiceClient();

public const WebService2.ServiceClient  Service2Client = new WebService2.ServiceClient();

 

public object GetServiceClient(int id)

{

     switch(id)

{

case 1:

return Service1Client;

case 2:

return Service2Client;

}

}

}

 

Now I have a function MethodA(int id)

{

var client = ServiceHelper.GetServiceClient(id);

}

How do I typecast this var to the correct Proxy? or how can I return ServiceClient from GetServiceClient??


Component with name "sql server destination" and class ID {} could not be created because it was bui

  

Hi using VS2005 with sql2005 I get the above error message for all my package sql server destination objects. I also have vs2008 installed on my machine and am wondering whether this is causing this error. Either way, any idea for a solution?

Using the connection manager I have set up an ole db/sql connection that tests successfully.

Many thanks,


Jonathan

Facing COM Component CLSID error

  

Hi all ,

I am facing following error while uploading an excel sheet on a web page.I am new in asp.net and aslo I am not getting why this error is arised.Please help me.

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. I do a lot of googling but cannot find a perfect solution on it.
 


Abstract Factory Design in C# , Vb.NET

  
Provide an interface for creating families of related or dependent objects without specifying their concrete classes

Class Diagrams

  
Class diagrams show the static structure of the systems. Classes define the properties of the objects which belong to them. These include:

Attributes - (second container) the data properties of the classes including type, default value and constraints.

Creating a Simple Class in C#

  
The second article in the C# Object-Oriented Programming tutorial describes how classes are created in C# and how behaviour, in the form of publicly visible and private, hidden methods can be added. This demonstrates some of the uses of encapsulation
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