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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. database file missing while publishing my vb.net project

database file missing while publishing my vb.net project

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasehelptutorial
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.
  • N Offline
    N Offline
    NaliniNagarajan
    wrote on last edited by
    #1

    hi i published one vb.net project with ms access database..... while publishing my project one error occurred like this...could not find c:/documents and settings....................../database.mdb...... how to handle this......

    V 1 Reply Last reply
    0
    • N NaliniNagarajan

      hi i published one vb.net project with ms access database..... while publishing my project one error occurred like this...could not find c:/documents and settings....................../database.mdb...... how to handle this......

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      Remmber your Development Path will not be the same as your Cliients Path. VS does not Do it for you Automatically. The Error means it cant find the Database. If you have hardcoided your connection string, you shoud consider putting it in a Config File and read it from there. When you create a setup Project add the database to your Application and when you install the Application it will be in the Application Folder and make sure that the Connection string in your Config file points to the Application Folder not my Document....................

      Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswam@its.co.za

      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