Server Error - Not Able to Connect to Access database

Discussion in 'ASP.NET 2.0' started by csnaveen31, Sep 10, 2008.

  1. Iam unable to connect my database CourseClassifications.mdb placed inside database folder within my application folder CSO. Whenever i attempt to connect its the error message described below.

    How to simulate the error :

    Go to the following URL:
    http://www.ourcomputercall.com/CSO/index.html

    Under Individual Participant Login
    Enter
    Email : [email protected]
    TokenId: Vjl4Uj
    Click Log In Button

    Note: I this problem earlier with my other database CSODB.mdb but now without any change somehow its working i dont understand how its not working for this.

    Error Message:

    Server Error in '/CSO' Application.
    --------------------------------------------------------------------------------

    'E:\web\ourcomputer\htdocs\database\CourseClassifications.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
    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: 'E:\web\ourcomputer\htdocs\database\CourseClassifications.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

    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): 'E:\web\ourcomputer\htdocs\database\CourseClassifications.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.]
    CSODAL.CatalogDAL.FindCategory() in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\CSOBuild118Jul07\CSODAL\CatalogDAL.cs:54
    CoreBL.CourseManager.ProvideCourseCategories() in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\CSOBuild118Jul07\CoreBL\CourseManager.cs:13
    Catalog.PopulateCategories(Object sender, EventArgs e) +81
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.WebControls.HierarchicalDataBoundControl.OnLoad(EventArgs e) +130
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436



    Please look into this matter seriously and do the needful so that in future i dont have any such issues.

    Thanks & regards
    Naveen
     
  2. Hi,
    Are you sure it's\database\ and not \_database\ ?
     

Share This Page