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. Database & SysAdmin
  3. Database
  4. Cube File Connection string ?

Cube File Connection string ?

Scheduled Pinned Locked Moved Database
csharpvisual-studiocomhelpquestion
1 Posts 1 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.
  • _ Offline
    _ Offline
    _mubashir
    wrote on last edited by
    #1

    Hello All, I am working in Visual Studio 2003. I want to access local cube (.cub) file with ADODB object. How is this possible? I am using the following code, but it doesnt seems to work Dim cnActive As New ADODB.Connection Dim rs As ADODB.Recordset cnActive = New ADODB.Connection Try cnActive.Open("provider=msolap;Data Source=c:\temp\mycube.cub;", "", ",0) rs = cnActive.OpenSchema(ADODB.SchemaEnum.adSchemaCatalogs) Catch ex As Exception sError = ex.Message Exit Sub End Try The error is "The operation has failed because of an error in the COM component - unknown error c:\temp\mycube.cub Access Denied. ". I have given full access to this folder but no use. Any ideas? thanx Mubashir

    Every job is a self portrait of the person who did it.

    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