How to connect to DB in another subdomain
am 12.04.2007 08:30:21 von Michael
Hi. I am looking for way to connect to database that is in another subdomain
of same hosting machine. The location of file DB here:
http://name1.syte.com
I am here:
http://name2.syte.com
The database is MS Access, I don't know if I can to connect somehow without
odbc access using regular syntax like:
connection="Provider=Microsoft.Jet.OLEDB.4.0; Data Source ....
Thanks
Re: How to connect to DB in another subdomain
am 12.04.2007 10:02:40 von Anthony Jones
"Michael" wrote in message
news:uIMqwwMfHHA.3648@TK2MSFTNGP05.phx.gbl...
> Hi. I am looking for way to connect to database that is in another
subdomain
> of same hosting machine. The location of file DB here:
> http://name1.syte.com
>
> I am here:
> http://name2.syte.com
>
> The database is MS Access, I don't know if I can to connect somehow
without
> odbc access using regular syntax like:
>
> connection="Provider=Microsoft.Jet.OLEDB.4.0; Data Source ....
>
> Thanks
>
Do you not know the phyisical path of the MDB you want to connect to?
Re: How to connect to DB in another subdomain
am 12.04.2007 10:18:58 von Michael
I know the only relative address of mdb because I am using hosting machine,
not mine.
"Anthony Jones" wrote in message
news:uyM3$iNfHHA.4136@TK2MSFTNGP02.phx.gbl...
>
> "Michael" wrote in message
> news:uIMqwwMfHHA.3648@TK2MSFTNGP05.phx.gbl...
>> Hi. I am looking for way to connect to database that is in another
> subdomain
>> of same hosting machine. The location of file DB here:
>> http://name1.syte.com
>>
>> I am here:
>> http://name2.syte.com
>>
>> The database is MS Access, I don't know if I can to connect somehow
> without
>> odbc access using regular syntax like:
>>
>> connection="Provider=Microsoft.Jet.OLEDB.4.0; Data Source ....
>>
>> Thanks
>>
>
> Do you not know the phyisical path of the MDB you want to connect to?
>
>
Re: How to connect to DB in another subdomain
am 12.04.2007 13:07:41 von reb01501
Then even odbc, which also requires a physical path to the mdb, will not
work. You will need to use an intermediary page on the hosting machine to
work with that database, using XMLHTTPServer to communicate with it. See:
http://www.aspfaq.com/show.asp?id=2173
Michael wrote:
> I know the only relative address of mdb because I am using hosting
> machine, not mine.
>
>
> "Anthony Jones" wrote in message
> news:uyM3$iNfHHA.4136@TK2MSFTNGP02.phx.gbl...
>>
>> "Michael" wrote in message
>> news:uIMqwwMfHHA.3648@TK2MSFTNGP05.phx.gbl...
>>> Hi. I am looking for way to connect to database that is in another
>>> subdomain of same hosting machine. The location of file DB here:
>>> http://name1.syte.com
>>>
>>> I am here:
>>> http://name2.syte.com
>>>
>>> The database is MS Access, I don't know if I can to connect somehow
>>> without odbc access using regular syntax like:
>>>
>>> connection="Provider=Microsoft.Jet.OLEDB.4.0; Data Source ....
>>>
>>> Thanks
>>>
>>
>> Do you not know the phyisical path of the MDB you want to connect to?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"