Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: VS 2010 and Access accdb causes login popup when there are no credentials for the DB

$
0
0

I loaded the CodeBuilder-RasConnectionInfo project and built it after a few changes to get it to compile.

There is one section that I need to find the data dynamically as all of my (hundreds) of reports with have different Table.Name values.

 

boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables(0), boTable)

 

boTable.Name = "rpClientManager"

boTable.QualifiedName = "rpClientManager"

boTable.Alias = "rpClientManager"


Do we need to pass back in these names?  In my case the report was already connected to a mdb with these table names.

 

I left these names in but it fails on the first call of

boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables(0), boTable)

message returned is

"Logon failed. Error in File cln_default 3196_5408_{9830D1A3-61A7-4DAD-BF60-8394891FECC7}.rpt: Unable to connect: incorrect log on parameters."


Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>