Hi,
I need some help here for DSN connection string.
I know it's not recommended to use DSN, even I dont like it as well ...
but for now, my situation is I am using a shared hosting. I do not have
write access to my web root folder, I have a folder specialy for database.
I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb
dsn name : testdb
can anyone tell me what is the connection string ?
thanks,
Tee 7 2113
You don't need write access to c:\, to use DSN-less connection strings.
To see sample connection strings, try www.connectionstrings.com
eg,
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\dbdir\dbfile.mdb;User
Id=whatever;Password=testdb;"
"Tee" <th*@streamyx.com> wrote in message
news:Om**************@TK2MSFTNGP12.phx.gbl... Hi,
I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well ... but for now, my situation is I am using a shared hosting. I do not have write access to my web root folder, I have a folder specialy for database. I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb dsn name : testdb
can anyone tell me what is the connection string ?
thanks, Tee
I know about DNS less connection string ... but now the problem is the
database folder is not inside the wwwroot ...
if I really have to get to that folder, I must use ../db/dbfile.mdb ...
but now another problem comes, I cannot exit the top root by using ../ ...
and if I place the database inside my wwwroot folder, I don't have write
access. I need write data to the database as well.
Thanks,
Tee
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:eP**************@TK2MSFTNGP11.phx.gbl... You don't need write access to c:\, to use DSN-less connection strings.
To see sample connection strings, try www.connectionstrings.com
eg, "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\dbdir\dbfile.mdb;User Id=whatever;Password=testdb;"
"Tee" <th*@streamyx.com> wrote in message news:Om**************@TK2MSFTNGP12.phx.gbl... Hi,
I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well ... but for now, my situation is I am using a shared hosting. I do not have write access to my web root folder, I have a folder specialy for
database. I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb dsn name : testdb
can anyone tell me what is the connection string ?
thanks, Tee
can you not use string manipulation to build the proper folder name?
or Server.MapPath()
or ..
Your hoster maybe has a FAQ somewhere illustrating how to do this on that
site?
-D
"Tee" <th*@streamyx.com> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl... I know about DNS less connection string ... but now the problem is the database folder is not inside the wwwroot ... if I really have to get to that folder, I must use ../db/dbfile.mdb ... but now another problem comes, I cannot exit the top root by using ../ ... and if I place the database inside my wwwroot folder, I don't have write access. I need write data to the database as well.
Thanks, Tee
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message news:eP**************@TK2MSFTNGP11.phx.gbl... You don't need write access to c:\, to use DSN-less connection strings.
To see sample connection strings, try www.connectionstrings.com
eg, "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\dbdir\dbfile.mdb;User Id=whatever;Password=testdb;"
"Tee" <th*@streamyx.com> wrote in message news:Om**************@TK2MSFTNGP12.phx.gbl... Hi,
I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well
.... but for now, my situation is I am using a shared hosting. I do not
have write access to my web root folder, I have a folder specialy for database. I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb dsn name : testdb
can anyone tell me what is the connection string ?
thanks, Tee
I am using server.MapPath ... and it really dont let me exit the root by
using ../ ...
as now the the db folder & wwwroot folder are on the same level ... sorry if
you couldn't understand what I meant ...
it is, when I ftp login, I see 2 folder, wwwroot & db ...
so I cannot exit wwwroot and read data in db folder by using ../db/data.mdb
....
please help ...
thanks.
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message
news:uc**************@TK2MSFTNGP11.phx.gbl... can you not use string manipulation to build the proper folder name? or Server.MapPath() or ..
Your hoster maybe has a FAQ somewhere illustrating how to do this on that site? -D
"Tee" <th*@streamyx.com> wrote in message news:eK**************@TK2MSFTNGP09.phx.gbl... I know about DNS less connection string ... but now the problem is the database folder is not inside the wwwroot ... if I really have to get to that folder, I must use ../db/dbfile.mdb ... but now another problem comes, I cannot exit the top root by using ../
.... and if I place the database inside my wwwroot folder, I don't have write access. I need write data to the database as well.
Thanks, Tee
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message news:eP**************@TK2MSFTNGP11.phx.gbl... You don't need write access to c:\, to use DSN-less connection
strings. To see sample connection strings, try www.connectionstrings.com
eg, "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\dbdir\dbfile.mdb;User Id=whatever;Password=testdb;"
"Tee" <th*@streamyx.com> wrote in message news:Om**************@TK2MSFTNGP12.phx.gbl... > Hi, > > I need some help here for DSN connection string. > I know it's not recommended to use DSN, even I dont like it as well ... > but for now, my situation is I am using a shared hosting. I do not have > write access to my web root folder, I have a folder specialy for
database. > I am currently using access, it is just for testing purpose. > > here's the info: > > ms access database password : testdb > dsn name : testdb > > can anyone tell me what is the connection string ? > > thanks, > Tee > >
If you are using the 1.1 version of the framework, then in help look up OBDC
Data Sources then Connections. I think this will tell you how to do want
you to do.
If you are using the 1.0 framework, you will have to download the ODBC .Net
Data provider from Microsoft at http://msdn.microsoft.com/library/de...vframework.asp
"Tee" <th*@streamyx.com> wrote in message
news:Om**************@TK2MSFTNGP12.phx.gbl... Hi,
I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well ... but for now, my situation is I am using a shared hosting. I do not have write access to my web root folder, I have a folder specialy for database. I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb dsn name : testdb
can anyone tell me what is the connection string ?
thanks, Tee
All you need to do is find out the absolute file path the the .mdb file and
use that. Ask your hosting service if you don't know it.
--
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Tee" <th*@streamyx.com> wrote in message
news:Og**************@TK2MSFTNGP11.phx.gbl... I am using server.MapPath ... and it really dont let me exit the root by using ../ ...
as now the the db folder & wwwroot folder are on the same level ... sorry
if you couldn't understand what I meant ...
it is, when I ftp login, I see 2 folder, wwwroot & db ... so I cannot exit wwwroot and read data in db folder by using
.../db/data.mdb ...
please help ...
thanks.
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message news:uc**************@TK2MSFTNGP11.phx.gbl... can you not use string manipulation to build the proper folder name? or Server.MapPath() or ..
Your hoster maybe has a FAQ somewhere illustrating how to do this on
that site? -D
"Tee" <th*@streamyx.com> wrote in message news:eK**************@TK2MSFTNGP09.phx.gbl... I know about DNS less connection string ... but now the problem is the database folder is not inside the wwwroot ... if I really have to get to that folder, I must use ../db/dbfile.mdb
.... but now another problem comes, I cannot exit the top root by using ../ ... and if I place the database inside my wwwroot folder, I don't have
write access. I need write data to the database as well.
Thanks, Tee
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in
message news:eP**************@TK2MSFTNGP11.phx.gbl... > You don't need write access to c:\, to use DSN-less connection strings. > > To see sample connection strings, try > www.connectionstrings.com > > eg, > "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\dbdir\dbfile.mdb;User > Id=whatever;Password=testdb;" > > > "Tee" <th*@streamyx.com> wrote in message > news:Om**************@TK2MSFTNGP12.phx.gbl... > > Hi, > > > > I need some help here for DSN connection string. > > I know it's not recommended to use DSN, even I dont like it as
well ... > > but for now, my situation is I am using a shared hosting. I do not have > > write access to my web root folder, I have a folder specialy for database. > > I am currently using access, it is just for testing purpose. > > > > here's the info: > > > > ms access database password : testdb > > dsn name : testdb > > > > can anyone tell me what is the connection string ? > > > > thanks, > > Tee > > > > > >
That should have read ODBC Data Sources
"William LaMartin" <la******@tampabay.rr.com> wrote in message
news:Os**************@TK2MSFTNGP10.phx.gbl... If you are using the 1.1 version of the framework, then in help look up
OBDC Data Sources then Connections. I think this will tell you how to do want you to do.
If you are using the 1.0 framework, you will have to download the ODBC
..Net Data provider from Microsoft at http://msdn.microsoft.com/library/de...vframework.asp
"Tee" <th*@streamyx.com> wrote in message news:Om**************@TK2MSFTNGP12.phx.gbl... Hi,
I need some help here for DSN connection string. I know it's not recommended to use DSN, even I dont like it as well ... but for now, my situation is I am using a shared hosting. I do not have write access to my web root folder, I have a folder specialy for
database. I am currently using access, it is just for testing purpose.
here's the info:
ms access database password : testdb dsn name : testdb
can anyone tell me what is the connection string ?
thanks, Tee
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: cider123 |
last post by:
I'm coding a project using the following article as reference:
http://www.codeproject.com/csharp/DynamicPluginManager.asp
In this type of project, plugins are loaded dynamically into a Plugin...
|
by: roopeman |
last post by:
i wrote the below code , just want got local machine application Eventlog 's
message , and write to MDB.but it 's can not write the message to Mdb,
somebody can check it for me? thanks!
...
|
by: Chad A. Beckner |
last post by:
Does anyone know how to make common database connections "common" in all
aspx files? In other words, instead of creating a SQLConnection, then a
DataAdapter in every ASPX file for my application,...
|
by: Mike L. |
last post by:
Hi,
Pls, beware that I'm new to this :)
I've developed several web appl, either with ASP or ASP.NET. All using SQL
server as the back end.
In my development environment, I have a single...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: thejamie |
last post by:
My question: "What is the correct connection object to use in VS 2005 for a
text connection?" will need some background. I am placing code at the end
showing how I am reading data from a text file...
|
by: PinkBishop |
last post by:
I am using VS 2005 with a formview control trying to insert a record
to my access db. The data is submitted to the main table no problem,
but I need to carry the catID to the bridge table...
|
by: zaina |
last post by:
hi everybody
i am nwebie in this forum but i think it is useful for me and the member are helpful
my project is about connecting client with the server to start exchanging messages between...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |