Hi, i was wondering if anyone could help.
Visual Studio 2005, C#.Net, WIndows XP Pro, IIS5.1, Communicator 2005
I have written a simple web app that displays status of people from LCS using the communicatorAPI library. When this is run on my laptop in the development server mode (pressing F5) everythings works ok, but when the web app is published to my laptop for others to test, the app fails and it is failing where i create the communicatorAPI object in the code.
A reference has been added to the Microsoft Office Communicator API.
Code Snippet
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CommunicatorAPI;
namespace XXX
{
public partial class API_Test : System.Web.UI.Page
{
private CommunicatorAPI.MessengerClass cMC = null;
protected void Page_Load(object sender, EventArgs e)
{
cMC = new CommunicatorAPI.MessengerClass();
}
}
}
Debug page returned
Creating an instance of the COM component with CLSID {8885370D-B33E-44B7-875D-28E403CF9270} from the IClassFactory failed due to the following error: 80010105.
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: Creating an instance of the COM component with CLSID {8885370D-B33E-44B7-875D-28E403CF9270} from the IClassFactory failed due to the following error: 80010105.
I was wondering if this is a security issue with the user IIS is using or the way i create the object. DOes anyone have any suggestions that i might try to resolve this issue.
Rgds Steve