Results 1 to 7 of 7

Thread: [RESOLVED] DataSet not connecting during runtime

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631

    Resolved [RESOLVED] DataSet not connecting during runtime

    I have a dataset that is able to return information during design-time via the "preview data" feature. However, the same dataset returns an error:

    Code:
    System.Data.OleDb.OleDbException was unhandled
      ErrorCode=-2147467259
      Message="Could not find file 'h:\Personal Folder\Visual Studio 2008\Projects\Winsock_Communication\Winsock_Communication\bin\Debug\mapper.mdb'."
    It makes no sense to me that it would work during design but not during run-time. Also, the path specified in the "message" section is incorrect but my connection string is correct (how else could it return the correct data during design)?

    Let me know if further information is necessary. This is the only dataset in my project.
    Last edited by Shawn N; Jan 7th, 2009 at 05:08 PM.
    Please rate my post.

Posting Permissions

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



Click Here to Expand Forum to Full Width