Hi,
I have an ASP.NET website with an Access 2003 (mdb) database in the App_Data folder. The website communicates with the database.
Now I wrote a small desktop application (winforms, VB.NET) that I would like to use to connect to the database. This allows me to make changes to my website much more quickly (instead of having to go to the website itself).
Anyway, my problem is obviously connecting to the database. The database is on an FTP server, I know the address, but it is not publicly available (well, it shouldn't be). I obviously also have the FTP server credentials, though I have no idea where or how to apply them.
I tried simply changing the connection string so that it points to the FTP server location:
where I've obviously replaced the real login and password with <..> placeholders.Code:Provider=Microsoft.Jet.OLEDB.4.0;Data Source=ftp://ftp.nickthissen.nl/nickthissen.nl/wwwroot/Album2/App_Data/db.mdb;User Id=<my ftp login>;Password=<my ftp password>;
But yeah, that doesn't work... It throws an exception that says that it is not a valid filename.
How can I manage this?


Reply With Quote
