473,503 Members | 9,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clasic ASP Connection String

Hi All,

I have BIG Problem in ASP.

I have a ADO Connection that I Want to Connect to DBASE IV Database Located
in a Local Networked System.

The DBASE Database is located in other system then the IIS System in the
same Network.But Both are in the same Local Network

When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
\\raddb\dbase\;Extended Properties = DBASE IV; User ID=Admin;Password="

I get ERROR "is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on which the file
resides."

But When I Try the DB in same system that works fine. I am Confused If the
way I used to connecto to Networked SYstem is Correct?

Also the Same Connection String WORKS Fine If I run that from a VB
Application. But NOT from a ASP Application.

Please Help
Prabhat
Jul 22 '05 #1
4 1643
Tried Server.MapPath()'ing the DB path?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Prabhat" <no********@hotmail.com> wrote in message news:#W**************@TK2MSFTNGP15.phx.gbl...
Hi All,

I have BIG Problem in ASP.

I have a ADO Connection that I Want to Connect to DBASE IV Database Located
in a Local Networked System.

The DBASE Database is located in other system then the IIS System in the
same Network.But Both are in the same Local Network

When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
\\raddb\dbase\;Extended Properties = DBASE IV; User ID=Admin;Password="

I get ERROR "is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on which the file
resides."

But When I Try the DB in same system that works fine. I am Confused If the
way I used to connecto to Networked SYstem is Correct?

Also the Same Connection String WORKS Fine If I run that from a VB
Application. But NOT from a ASP Application.

Please Help
Prabhat



Jul 22 '05 #2
Hi,

The IIS Server and the Dbase DB are in 2 different Systems in a Same
Network.

Thanks

"Steven Burn" <so*******@in-time.invalid> wrote in message
news:ui**************@TK2MSFTNGP15.phx.gbl...
Tried Server.MapPath()'ing the DB path?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Prabhat" <no********@hotmail.com> wrote in message
news:#W**************@TK2MSFTNGP15.phx.gbl...
Hi All,

I have BIG Problem in ASP.

I have a ADO Connection that I Want to Connect to DBASE IV Database Located in a Local Networked System.

The DBASE Database is located in other system then the IIS System in the
same Network.But Both are in the same Local Network

When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
\\raddb\dbase\;Extended Properties = DBASE IV; User ID=Admin;Password="

I get ERROR "is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on which the file
resides."

But When I Try the DB in same system that works fine. I am Confused If the
way I used to connecto to Networked SYstem is Correct?

Also the Same Connection String WORKS Fine If I run that from a VB
Application. But NOT from a ASP Application.

Please Help
Prabhat

Jul 22 '05 #3
You can't use \\UNC\ unless WEBSERVER\IUSR_WEBSERVER has local access rights
on \\UNC\ ...

http://www.aspfaq.com/2168

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Prabhat" <no********@hotmail.com> wrote in message
news:#W**************@TK2MSFTNGP15.phx.gbl...
Hi All,

I have BIG Problem in ASP.

I have a ADO Connection that I Want to Connect to DBASE IV Database Located in a Local Networked System.

The DBASE Database is located in other system then the IIS System in the
same Network.But Both are in the same Local Network

When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
\\raddb\dbase\;Extended Properties = DBASE IV; User ID=Admin;Password="

I get ERROR "is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on which the file
resides."

But When I Try the DB in same system that works fine. I am Confused If the
way I used to connecto to Networked SYstem is Correct?

Also the Same Connection String WORKS Fine If I run that from a VB
Application. But NOT from a ASP Application.

Please Help
Prabhat

Jul 22 '05 #4
Hi Aaron,

Thanks for the Link. That is the Solution I was looking for. Thanks
Prabhat

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:OD**************@TK2MSFTNGP14.phx.gbl...
You can't use \\UNC\ unless WEBSERVER\IUSR_WEBSERVER has local access rights on \\UNC\ ...

http://www.aspfaq.com/2168

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Prabhat" <no********@hotmail.com> wrote in message
news:#W**************@TK2MSFTNGP15.phx.gbl...
Hi All,

I have BIG Problem in ASP.

I have a ADO Connection that I Want to Connect to DBASE IV Database

Located
in a Local Networked System.

The DBASE Database is located in other system then the IIS System in the
same Network.But Both are in the same Local Network

When I Try the Connection String:
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source =
\\raddb\dbase\;Extended Properties = DBASE IV; User ID=Admin;Password="

I get ERROR "is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file
resides."

But When I Try the DB in same system that works fine. I am Confused If the way I used to connecto to Networked SYstem is Correct?

Also the Same Connection String WORKS Fine If I run that from a VB
Application. But NOT from a ASP Application.

Please Help
Prabhat


Jul 22 '05 #5

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

Similar topics

17
3216
by: AMC | last post by:
Hi, I'm using an include file to store the connection string to a database. Whenever I try to reference that string to open a connection in the page that includes the file I get the error 'empy...
0
2610
by: Jay Douglas | last post by:
Hello, I'm trying to create a Data Links Property window that behaves just like the dialog box in Visual Studio .Net for MS Sql Server connections. I've found a lot of examples that use...
12
1196
by: Prabhat Nath | last post by:
Hi All, I have BIG Problem in ASP. I have a ADO Connection that I Want to Connect to DBASE IV. The DBASE Database is located in anothe system then the IIS System in the Network. When I...
5
2113
by: Matt | last post by:
Hello, What is the best way to handle the database connection string for a class library project that will be compiled and used as a .dll? This .dll will be accessed via classic ASP and in...
37
8907
by: sam44 | last post by:
Hi, At startup the user log on and chooses the name of a client from a dropdownlist, which then changes dynamically the connection string (the name of the client indicates which database to use)....
1
6038
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while...
3
4876
by: fniles | last post by:
In the Windows application (using VB.NET 2005) I use connection pooling like the following: In the main form load I open a connection using a connection string that I stored in a global variable...
6
8137
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
1962
by: Robert Avery | last post by:
In VBA/VB6, I had a class (incomplete sample below) that watched and displayed for the user all connection events, so that I could easily see what SQL was taking a long time, and when it freezes, I...
0
7193
marktang
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,...
0
7264
Oralloy
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,...
1
6975
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...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.