select data source in MS Access for DAP page

F

Frank Bruhn

read somewhere that to get a data access page to work over the internet u
need to create the data access page on the web server, (is that accurate?).
With that in mind i created in my network places an ftp connection to the web
server and am able to ftp via IE the web server

problem comes when i go into access 2003 and attempt to create a Blank Data
Access Page, i get the dialog box "Select a Data Source", everything is ok up
to this point, Next I choose My Network Places on the right pane, double
click on the ftp connection to my web server, i get the following error
message

cannot connect to ftp server on my the computer named ftp.mydomain.com, the
extended help then goes on to say the firewall or proxy settings are not
correct. As stated previous i am able to ftp to the same server thru IE
without any hickups,

1) so is there a special port in the firewall that has to be opened in order
for MS access to gain access to the my web site,

2) or is there a better way to get DAP pages working over the internet while
connected to an sql express db on the web server.

other things tried include the following
tried to edit the source of the dap page here locally in VS05 and change the
connection string to reflect the following connection string.

<a:ConnectionString>Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist
Security Info=False;Initial Catalog=ENEWSLETTER;Data
Source=(local)\sqlexpress;Use Procedure for Prepare=1;Auto
Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column
collation when possible=False</a:ConnectionString>

also i change the Initial Catalog portion of the above connection string to
reflect the full path to the mdf on the web server,

nothing seems to work, and i usually get an error message like "Data
Provider could not be Initialized"

any clue would be appreciated. TIA
 
A

aaron.kempf

I really reccomend never using anything outside of Access to change a
DAP; I've just noticed it's pretty damn finicky

I could write a database-driven button to set the datasource-- on the
clientside-- pretty easily i think

wait a second.. you're trying to refer to the path to the MDF file? I
think that is badform; I saw one Page written by Sammy Sosegar that
talked about doing stuff that is like this..

but i think that the bottom line is that you need to point to a
database instance; I dont think that you're going to get this to work
by trying to hit the MDF file..

give us more code; I would love to help more where I can

-Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top