Slide Ads

Friday, July 17, 2009

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

If you add a reference to Microsoft Excel and then try to use it within your ASP.NET application you may receive the following error.

Server Error in '/excel' Application.


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

Example Application

undefined

The problem is that by default Microsoft Excel as a COM object can only activated by the following accounts:

  • Administrator
  • System
  • Interactive

When you are running your ASP.Net account on Windows XP your web application is running as the ASPNET account.

The way to resolve this issue is to edit the DCOM configuration settings for the Microsoft Excel Application object.

Configure DCOM

  • Go to the Start-Run menu item.
  • Type in "DCOMCNFG" and hit enter.
  • This should load the "Component Services" MMC (you can also load from Administrative Tools - Component Services"
  • Expand "Component Services"
  • Expand "Computers"
  • Expand "My Computer"
  • Select the "DCOM Config" item
  • Select the "Microsoft Excel Application" item.
  • Right click and select Properties
  • Select the Security Tab and you should see the following:

    undefined

  • Under "Launch and Activation Permissions" select the "Customize" option.
  • Click the "Edit" button

    Windows XP


    Windows 2003 Server




  • Click the "Add" button to add a new account to the list.
  • On the dialog that is displayed click the Locations button

    (this is because by default your domain will be selected and we need a local account)

    In this dialog scroll the list to the top (sometimes the first item is not visible) but scroll to the top and select the first item which is your computer name. In the list below "CCROWE" is the name of my computer.



  • Click the OK button
  • On the dialog that is displayed enter "ASPNET" as the account name (make sure location is set to the name of the computer that IIS is on) on Windows XP or if you are running on Windows 2003 Server you must enter the account that the Application Pool is running as, by default "Network Service"

    Windows XP


    Windows 2003 Server

    undefined

    Note: A quicker way on Windows XP is to just enter the computer name and the account
    so in my case that would be:

    ccrowe\ASPNET



  • Click the OK button
  • Now make sure you select the following options for the "ASP.NET Machine Account" or the account that is the application pool identity ( by default Network Service)
    • Local Launch : Allow
    • Remote Launch : [blank]
    • Local Activation : Allow
    • Remote Activation : [blank]

    These settings can be seen below:

  • Windows XP


    Windows 2003 Server



  • Click the OK button and test your web application again and it should work fine.

Note: Remember if you are running on Windows 2003 Server you must use the application pool identity as the account and not the ASPNET account.

BeejiveIM Mail App Instant message Review

Posted: 17 Jul 2009 05:52 AM PDT


Image Hosted by ImageShack.us

BeejiveIM is a simple, reliable service for IM services Like AIM, Mobile Me, Google Talk, ICQ, Jabber, MSN/Windows Live, MySpace IM, Yahoo! Messenger, and Facebook IM. The thing that brings most people to this IM service is the look. The style of this App provides an iChat/SMS style interface to the table. People who have a Mac or iPhone know and love this Chat style. Besides the look Beejive (Pronounced Bee Hive) has many other features as well. One is the ability to send Links, Pictures, Videos, and now Voice notes. As well as being able to change the background of your chat session so that you have a relaxing customized feeling. Another custom feature is changing the color of your chat bubbles. Organizing your buddy list has not been so easy. You can add/edit Names of the people in your buddy list so that you can remember them. You also have to ability to add people to a favorites list so that you can access their name easier. Another thing i like is the search feature. Why scroll through your buddy list and find the person your looking for? Why not type in their name and get them easier? I think im going with two, and Beejive did as well!One of the other features i liked is the Badge notification. If you don’t know what that is then ill tell you. Its puts the a number badge on your home screen icon telling you how many unread IMs you have, sort of the same as the Mail app. Another feature is the easy to use Landscape keyboard function you can enable in settings

The Cons:

Although i would say this app is the BEST, there are a couple of things that i think they should add. When your in a IM you can’t see when the other person is talking, and often change subjects when your friend is still on others. Also, no matter what IM service the receivers on when your using Beejive They can’t see when your Typeing, and when your typing a lot they won’t think your talking. Now i don’t know about you, but i think that needs to change. Another thing is that when you have several IMs going and you use Landscape it gets very laggy, and for me crashs. I do love BeejiveIM, but they need to change this.

App Info:

Developer: Beejive Inc.

App Store Price: $15.99

No comments: