Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 getting the physical of another applic2

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-11-16 : 15:21:24
PB: getting the physical path of an application2 when I am coding a page of application1

Hi Guys,
If I am coding a page in an application: myApplic1 and I want to access a database which is withing the physical path of an other application : applic2
Like my database will be : WebApplicationsFolder/myApplic2/Database/DB.mdbHow do I go to that physical path of the DB.mdb when I a inside the code behind of an aspx page of myApplic1
Like if I am coding: myApplic1/myFolder/myPage.aspx will this work:
Server.MapPath("http://www.myApplic2/Database/DB.mdb") or should I do something different?
Thanks a lot for your help.
P.s: please let me know if there is other design practice to deal with the issue
P.S: the design was that FontPage includes Access database in myApplic2/Database/DB.mdb and I am coding another application myApplic2 that should access that database: DB.mdb


   

- Advertisement -