SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unspecified Error:

    I have web sites in ASP connected to MS Access databases.

    I just installed Windows XP Service Pack 3 on my computer and when I tried to access any of those sites, it gives me following error:

    Unspecified error
    The connection cannot be used to perform this operation. It is either closed or invalid in this context.

    I manually opened all databases and repaired them but I still get same error.


    Any idea..
    Any help..

    will be appriciated..

    Thanks!
    Zeeshan

  2. #2
    SitePoint Member
    Join Date
    Oct 2008
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do you connect to the database? Please provide the code.

  3. #3
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use server map path type connection

  4. #4
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using Following Code:


    CONST strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=F:\databases\dbForum.mdb;Persist Security Info=False;"


Bookmarks

Posting Permissions

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