Results 1 to 4 of 4

Thread: [2005] MAPI error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2006
    Posts
    71

    [2005] MAPI error

    Alright. I have a MS Access database, linked to an Exchange Server. I'm using realtime data. I bind the db to a grid, but when I test in a browser, I get the following error:

    Server Error in '/New CSM' Application.
    --------------------------------------------------------------------------------

    There are no MAPI clients installed on this machine. Install a MAPI client (like Outlook) on this machine.
    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.OleDb.OleDbException: There are no MAPI clients installed on this machine. Install a MAPI client (like Outlook) on this machine.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [OleDbException (0x80004005): There are no MAPI clients installed on this machine. Install a MAPI client (like Outlook) on this machine.]
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +177
    System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +194
    System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +56
    System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +105
    System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +91
    System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +4
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +139
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +140
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1657
    System.Web.UI.WebControls.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +58
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +13
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +140
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +68
    System.Web.UI.WebControls.DetailsView.DataBind() +5
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +61
    System.Web.UI.WebControls.DetailsView.EnsureDataBound() +156
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +67
    System.Web.UI.Control.EnsureChildControls() +97
    System.Web.UI.Control.PreRenderRecursiveInternal() +50
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5729




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42



    Outlook is installed. What do I do?

    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] MAPI error

    Is Outlook open on the machine on which this code executes? Are you running under ASP.NET impersonation?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2006
    Posts
    71

    Re: [2005] MAPI error

    Yes, Outlook is running, but I'm not sure what the impersonation is....

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] MAPI error

    Try closing outlook.

    ASP.NET impersonation is when you use Windows Authentication and then have the ASP.NET worker process, as a result, run under the security context of the user running the web application.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width