locked
The 'msidxs' provider is not registered on the local machine RRS feed

  • Question

  • User-1794720494 posted

    The below code executes fine in a VS.NET 2005 Web Application Project using the the build in ASP.NET development server that ships with VS.NET 2005. When I try to run the code against my local IIS I get following Exception: The 'msidxs' provider is not registered on the local machine ...

    string searcstring searchquery = "Select DocTitle,Filename,Size,PATH,URL from SCOPE() where FREETEXT('bla bla')";
    string connString = "provider=msidxs;Data Source=indi";
    OleDbConnection cn = new OleDbConnection(connString);
    OleDbDataAdapter cmd = new OleDbDataAdapter(searchquery, cn);
    DataSet ds = new DataSet();
    cmd.Fill(ds);

    I've already re-installed my IIS and executed aspnet_regiis.exe /i. Still the issue remains the same ...

    Any advice?

    The event log shows following error:

    Event Type: Warning
    Event Source: ASP.NET 2.0.50727.0
    Event Category: Web Event
    Event ID: 1309
    Date:  17/03/2007
    Time:  13:33:28
    User:  N/A
    Computer: DESKTOP-JOCHEN
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 17/03/2007 13:33:28
    Event time (UTC): 17/03/2007 12:33:28
    Event ID: 06f96f5bf0ce414589851fe9ce5d9b14
    Event sequence: 6
    Event occurrence: 1
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/2/Root-3-128186084013437500
        Trust level: Full
        Application Virtual Path: /
        Application Path: D:\Data\VS.NETSolutions\Analyz-it\indi\
        Machine name: DESKTOP-JOCHEN
     
    Process information:
        Process ID: 404
        Process name: aspnet_wp.exe
        Account name: DESKTOP-JOCHEN\ASPNET
     
    Exception information:
        Exception type: InvalidOperationException
        Exception message: The 'msidxs' provider is not registered on the local machine.
     
    Request information:
        Request URL: http://localhost/IndexSvcTest.aspx
        Request path: /IndexSvcTest.aspx
        User host address: 127.0.0.1
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: DESKTOP-JOCHEN\ASPNET
     
    Thread information:
        Thread ID: 9
        Thread account name: DESKTOP-JOCHEN\ASPNET
        Is impersonating: False
        Stack trace:    at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
       at indi.IndexSvcTest.Page_Load(Object sender, EventArgs e) in D:\Data\VS.NETSolutions\Analyz-it\indi\IndexSvcTest.aspx.cs:line 23
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Saturday, March 17, 2007 8:38 AM

All replies

  • User1073881637 posted
    Make sure the '/bin' or App_Code folders and files are published on your localhost website. 
    Saturday, March 17, 2007 12:07 PM