DataSet connectionString

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zaiena
    New Member
    • Jun 2007
    • 20

    DataSet connectionString

    hi,
    ihave this problem, i'm workingin a website using visualstudio200 5 vb language
    and i'm need to add a dataset to my website so when i'm added it and add the tableadapter i need, and save my work,if i'm trying to open the dataset again in the design view it give this error message:

    Failed to load the dataset because of the following error:
    Requested value 'connectionstri ng' was not found

    so please any help here
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Please show us you connection string. Thanks,

    Comment

    • zaiena
      New Member
      • Jun 2007
      • 20

      #3
      Originally posted by kenobewan
      Please show us you connection string. Thanks,
      i'm using access database. here is my connection string:

      Provider=Micros oft.Jet.OLEDB.4 .0;Data Source="C:\Docu ments and Settings\Ts_Awa d\My Documents\Visua l Studio 2005\WebSites\W ebSitetut\App_D ata\Copy of albader.mdb.mdb ";Persist Security Info=True

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Here is your problem- "C:\Documen ts and Settings\Ts_Awa d\My Documents\Visua l Studio 2005\WebSites\W ebSitetut\App_D ata\Copy of albader.mdb.mdb ". Try looking at this example:
        Access 2007

        Comment

        • zaiena
          New Member
          • Jun 2007
          • 20

          #5
          Originally posted by kenobewan
          Here is your problem- "C:\Documen ts and Settings\Ts_Awa d\My Documents\Visua l Studio 2005\WebSites\W ebSitetut\App_D ata\Copy of albader.mdb.mdb ". Try looking at this example:
          Access 2007
          ok but when i'm trying to make my connection string the wizard ask me for access database with .mdb extension mot accdb, and also should i chang the
          (Persist Security Info=true; to Persist Security Info=False;)??
          where is the problem exactly??

          Comment

          Working...