Results 1 to 2 of 2

Thread: erro message after pubilshing windows application

  1. #1
    Senior Member
    Join Date
    Jun 2004
    Posts
    137

    Exclamation erro message after pubilshing windows application

    hi guys i really need your help in this......
    actually im only starting to learn vb 2005 and sql 2005

    after publishing my application and installed it in another pc here's the
    message error
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Data.OleDb.OleDbException: 'C:\Documents and Settings\J_neci\My Documents\Visual Studio 2005\Projects\Patients Admission Record Solution\Patients Admission Record\login2.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.
    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



    thanks for the post
    God Bless All

  2. #2
    Some Assembly Required ShagDevil's Avatar
    Join Date
    Nov 2002
    Location
    SC
    Posts
    718
    I'm no expert on VB or SQL but, from reading what you said I have one idea. This may sound insanely stupid & simple but;
    after publishing my application and installed it in another pc here's the message error
    'C:\Documents and Settings\J_neci\My Documents\Visual Studio 2005\Projects\Patients Admission Record Solution\Patients Admission Record\login2.mdb' is not a valid path
    This error seems to indicate that the PC you're trying to install this app on doesn't have access to C:\Documents and Settings\J_neci\My Documents\Visual Studio 2005\Projects\Patients Admission Record Solution\Patients Admission Record OR it's looking in the wrong place for login.mdb

    Is C:\Documents and Settings\J_neci\My Documents\Visual Studio 2005\Projects\Patients Admission Record a shared directory?
    Last edited by ShagDevil; February 7th, 2008 at 09:09 PM.
    The object of war is not to die for your country but to make the other bastard die for his - George Patton

Similar Threads

  1. problem installing Windows...
    By AsCenDinG in forum Microsoft Security Discussions
    Replies: 21
    Last Post: July 24th, 2004, 04:04 PM
  2. Windows 98 Tips
    By Nokia in forum Tips and Tricks
    Replies: 5
    Last Post: June 22nd, 2004, 12:21 AM
  3. Windows 2000 Tips
    By Nokia in forum Tips and Tricks
    Replies: 0
    Last Post: June 12th, 2004, 05:13 PM
  4. Usefull Windows XP, 2k, NT, and 9x tips and tweaks
    By Cybr1d in forum Miscellaneous Security Discussions
    Replies: 11
    Last Post: June 10th, 2004, 12:09 AM
  5. Windows Registry Giude
    By Ennis in forum Other Tutorials Forum
    Replies: 10
    Last Post: June 16th, 2002, 07:19 PM

Posting Permissions

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