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. SharePoint
  4. Connection string in asp connecting to sharepoint list as datasource

Connection string in asp connecting to sharepoint list as datasource

Scheduled Pinned Locked Moved SharePoint
databasehelpsharepointsysadminwindows-admin
3 Posts 2 Posters 2 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.
  • G Offline
    G Offline
    Ghis12345
    wrote on last edited by
    #1

    Hi, i've been trying to create a website in asp that uses a connection to a sharepoint list so i can display the data as i please. here is my latest attempt that still does not work: Set oConn = Server.CreateObject("ADODB.Connection") oConn.Open("Provider=Microsoft.ACE.OLEDB.12.0; User iD=xxxxx; Password=xxxxx; Domain=mydomain; WSS; IMEX=1; RetrieveIds=Yes;DATABASE=http://server/path/; List={a1a1a1a-a1a1aa-a1a1a-a1a1a-a1a1aa1};") SQL = "SELECT * FROM [list]" Set admin = oConn.Execute(SQL) all i keep getting is error in iis log: Cannot_start_your_application._The_workgroup_information_file_is_missing_or_opened_exclusively_by_another_user. Can anyone help?

    H 1 Reply Last reply
    0
    • G Ghis12345

      Hi, i've been trying to create a website in asp that uses a connection to a sharepoint list so i can display the data as i please. here is my latest attempt that still does not work: Set oConn = Server.CreateObject("ADODB.Connection") oConn.Open("Provider=Microsoft.ACE.OLEDB.12.0; User iD=xxxxx; Password=xxxxx; Domain=mydomain; WSS; IMEX=1; RetrieveIds=Yes;DATABASE=http://server/path/; List={a1a1a1a-a1a1aa-a1a1a-a1a1a-a1a1aa1};") SQL = "SELECT * FROM [list]" Set admin = oConn.Execute(SQL) all i keep getting is error in iis log: Cannot_start_your_application._The_workgroup_information_file_is_missing_or_opened_exclusively_by_another_user. Can anyone help?

      H Offline
      H Offline
      hgozutok
      wrote on last edited by
      #2

      oConn.Open("Provider=Microsoft.ACE.OLEDB.12.0; WSS; IMEX=1; RetrieveIds=Yes;DATABASE=http://server/path/; List={a1a1a1a-a1a1aa-a1a1a-a1a1a-a1a1aa1};") use this connectionstring

      G 1 Reply Last reply
      0
      • H hgozutok

        oConn.Open("Provider=Microsoft.ACE.OLEDB.12.0; WSS; IMEX=1; RetrieveIds=Yes;DATABASE=http://server/path/; List={a1a1a1a-a1a1aa-a1a1a-a1a1a-a1a1aa1};") use this connectionstring

        G Offline
        G Offline
        Ghis12345
        wrote on last edited by
        #3

        but how or where do i pass my credentials?

        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