Hi, I have a linked table in access, which links by a DSN connection to a table in our progress database. I've created a data access page using data from this linked table.
But when I open the DAP through Internet Explorer it prompts for the user ID and password to connect to the external data source. (attached screenshot)
Is there a way I can enter the User ID and Password in the html codes so it connects atomatically without the prompt?
I found this sample code on the web
This is the html code from the DAP where I think it needs to go, but I'm not sure where I need to put it?
<a:ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=\\ServerName\DatabaseFolder\Database.mdb;Mode=Share Deny None;Extended Properties=&quot;&quot;;Persist Security Info=False;Jet OLEDB:System database=&quot;&quot;;Jet OLEDB:Registry Path=&quot;&quot;;Jet OLEDB
atabase Password=&quot;&quot;;Jet OLEDB:Engine Type=0;Jet OLEDB
atabase Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=&quot;&quot;;Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB
on't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False</a:ConnectionString>
Thanks for any help
But when I open the DAP through Internet Explorer it prompts for the user ID and password to connect to the external data source. (attached screenshot)
Is there a way I can enter the User ID and Password in the html codes so it connects atomatically without the prompt?
I found this sample code on the web
Code:
HOST=myServerAddress;DB=myDataBase;UID=myUsername;PWD=myPassword;PORT=2055;
This is the html code from the DAP where I think it needs to go, but I'm not sure where I need to put it?
<a:ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=\\ServerName\DatabaseFolder\Database.mdb;Mode=Share Deny None;Extended Properties=&quot;&quot;;Persist Security Info=False;Jet OLEDB:System database=&quot;&quot;;Jet OLEDB:Registry Path=&quot;&quot;;Jet OLEDB



Thanks for any help