Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Accessing extern database

Accessing extern database

Scheduled Pinned Locked Moved Web Development
databasesysadminhelpcomquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BlackRider
    wrote on last edited by
    #1

    I'm trying to make dynamic pages containing database data. My system is a WindowsXP. The database is a MS ACCESS 97 database and it's located on another computer in the network. I made the DSN targeting that database on the network. I cannot move the database on the server cause it's vital that it stays there. I exported the asp file on the database computer and I copied it on the xp server. When I load the asp file I get this error: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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. Why? Can anyone help me with the procedures for connecting to an extern database ? Thank you !

    N 1 Reply Last reply
    0
    • B BlackRider

      I'm trying to make dynamic pages containing database data. My system is a WindowsXP. The database is a MS ACCESS 97 database and it's located on another computer in the network. I made the DSN targeting that database on the network. I cannot move the database on the server cause it's vital that it stays there. I exported the asp file on the database computer and I copied it on the xp server. When I load the asp file I get this error: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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. Why? Can anyone help me with the procedures for connecting to an extern database ? Thank you !

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      BlackRider wrote: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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. Why? Can anyone help me with the procedures for connecting to an extern database ? You need to make sure you are creating a SYSTEM DSN when using ASP, not a USER DSN. Also, your ConnectionString may be referencing either the application path or local path to the DSN and you need to make sure you are targeting the network path instead. HTH Nick Parker


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups