473,385 Members | 1,396 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to connect to DB in another subdomain

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
Apr 12 '07 #1
3 1946

"Michael" <mi**************@intergraph.comwrote in message
news:uI**************@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?
Apr 12 '07 #2
I know the only relative address of mdb because I am using hosting machine,
not mine.
"Anthony Jones" <An*@yadayadayada.comwrote in message
news:uy**************@TK2MSFTNGP02.phx.gbl...
>
"Michael" <mi**************@intergraph.comwrote in message
news:uI**************@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?


Apr 12 '07 #3
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" <An*@yadayadayada.comwrote in message
news:uy**************@TK2MSFTNGP02.phx.gbl...
>>
"Michael" <mi**************@intergraph.comwrote in message
news:uI**************@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"
Apr 12 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Leon | last post by:
How do I point a sub-domain to a sub-directory or .aspx page of my site using asp.net? I'm using a shared hosting service, that does not offer subdoman forwarding. however, you can write your...
1
by: perspolis | last post by:
Hi If I want to create subdomain for my site dynamicaly how can I do that with ASP.NET? or is it possib;e to create subdomain with IIS?? thanks
2
by: flip79 | last post by:
Hello and sorry for my english, I'm italian... I manage a site with a normal address like: www.mysite.com I'm using a cookie to store nicks of my users, with a code like this: ----...
1
by: thomas | last post by:
Hello all, It seems like subdomain forwarding prevents ASP.Net session state from working correctly. Example: two websites http://www.jgphotographers.com/test and...
0
by: Greg | last post by:
Is it possible for authentication using asp.net membership to persist from a site to a subdomain? The scenario I want to provide is: User browses to the page somesite.com and logs in. User...
12
by: Tina | last post by:
Our company domain, say, wombat.com needs to create several subdomains: support, training, and purchase are three of the subdomains needed. So when someone browses to //training.wombat.com they...
3
by: a2rodger | last post by:
I am using the following function and parse_url() to attempt to grab the subdomain from my sites url function selfURL() { $s = empty($_SERVER) ? '' : ($_SERVER == "on") ? "s" : ""; $protocol =...
0
by: devilsjunk | last post by:
Hello Everybody, In my web application I have created an interface where, if any user register then a subdomain will be created with the user name of the user link this manner E.G. :-...
1
by: Josh | last post by:
I have a question about subdomains. I would like my website to have subdomains that essentially show my regular main website, except that the subdomain passes as a variable on all pages so that I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.