473,498 Members | 703 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.

The DBASE Database is located in anothe system then the IIS System in the
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?

Please Help
Prabhat


Nov 19 '05 #1
12 1194
Maybe this can help you:

http://www.connectionstrings.com

Greetz Peter

"Prabhat Nath" <no********@hotmail.com> schreef in bericht
news:u6**************@TK2MSFTNGP15.phx.gbl...
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 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?

Please Help
Prabhat

Nov 19 '05 #2
I referred someone to that website a few weeks ago & they were well happy
with it.
Nov 19 '05 #3
Hi,

But in that website there is no Info about the Natwork PATH DBASE
Files/Database.

Thanks
Prabhat
"Peter Proost" <pp*****@nospam.hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
Maybe this can help you:

http://www.connectionstrings.com

Greetz Peter

"Prabhat Nath" <no********@hotmail.com> schreef in bericht
news:u6**************@TK2MSFTNGP15.phx.gbl...
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 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?

Please Help
Prabhat


Nov 19 '05 #4
It's likely a paermission problem. Keep in mind that the ASP page may
execute under a specific account if access is anonymous.

This is for Access but it may help :
http://support.microsoft.com/kb/161333/EN-US/

Else try a classic ASP newsgroup. (this one is for ASP.NET)..

Patrice
--

"Prabhat Nath" <no********@hotmail.com> a écrit dans le message de
news:u6**************@TK2MSFTNGP15.phx.gbl...
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 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?

Please Help
Prabhat

Nov 19 '05 #5
Hi,

I Think U R Correct. Because the Same Connection String WORKS Fine If I run
that from a VB Application. But NOT from a ASP Application.

Can U Give me some link for Clasic ASP News Groups Please?

Thanks
Prabhat

"Patrice" <no****@nowhere.com> wrote in message
news:#a**************@TK2MSFTNGP12.phx.gbl...
It's likely a paermission problem. Keep in mind that the ASP page may
execute under a specific account if access is anonymous.

This is for Access but it may help :
http://support.microsoft.com/kb/161333/EN-US/

Else try a classic ASP newsgroup. (this one is for ASP.NET)..

Patrice
--

"Prabhat Nath" <no********@hotmail.com> a écrit dans le message de
news:u6**************@TK2MSFTNGP15.phx.gbl...
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 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?

Please Help
Prabhat


Nov 19 '05 #6
Thanks,

But I Think there is Some Other Problem Because the Same Connection String
WORKS Fine If I run that from a VB Application. But NOT from a ASP
Application.

Thanks
Prabhat
Nov 19 '05 #8
Why are you asking ans ASP question
in the ASP.NET newsgroups ?

Try asking your questions about ASP databases in
the microsoft.public.inetserver.asp.db newsgroup
on this same server.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Prabhat" <no********@hotmail.com> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl...
Hi,

But in that website there is no Info about the Natwork PATH DBASE
Files/Database.

Thanks
Prabhat
"Peter Proost" <pp*****@nospam.hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
Maybe this can help you:

http://www.connectionstrings.com

Greetz Peter

"Prabhat Nath" <no********@hotmail.com> schreef in bericht
news:u6**************@TK2MSFTNGP15.phx.gbl...
> 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 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?
>
> Please Help
> Prabhat
>
>
>
>



Nov 19 '05 #9
Prabhat wrote:
Hi,

I Think U R Correct. Because the Same Connection String WORKS Fine If I run
that from a VB Application. But NOT from a ASP Application.


the VB application runs under your account (current user),
the ASP application uses it's own (low permissions) account.
One of the limits is "no network access" !

--
Hans Kesting
Nov 19 '05 #10
HI,

I think U R in the Point. But CAn U Tell me How can I make use of the
Network Resources like Network Path in ASP using that IUSER_ Account?

I Think There must be some way for that. Please Suggest.

Thanks
Prabhat

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:#J**************@TK2MSFTNGP10.phx.gbl...
Prabhat wrote:
Hi,

I Think U R Correct. Because the Same Connection String WORKS Fine If I run that from a VB Application. But NOT from a ASP Application.


the VB application runs under your account (current user),
the ASP application uses it's own (low permissions) account.
One of the limits is "no network access" !

--
Hans Kesting

Nov 19 '05 #11
The article I mentionned suggest to create the same IUSR account on the
target machine with the same password and to give this account the right.
Using the same password will make both accounts considered as identical.

Another way would be to change IIS settings and use a domain account so that
you can give rights on the other machine to this account...

Patrice
--

"Prabhat" <no********@hotmail.com> a écrit dans le message de
news:eb**************@TK2MSFTNGP10.phx.gbl...
HI,

I think U R in the Point. But CAn U Tell me How can I make use of the
Network Resources like Network Path in ASP using that IUSER_ Account?

I Think There must be some way for that. Please Suggest.

Thanks
Prabhat

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:#J**************@TK2MSFTNGP10.phx.gbl...
Prabhat wrote:
Hi,

I Think U R Correct. Because the Same Connection String WORKS Fine If
I
run that from a VB Application. But NOT from a ASP Application.


the VB application runs under your account (current user),
the ASP application uses it's own (low permissions) account.
One of the limits is "no network access" !

--
Hans Kesting


Nov 19 '05 #12
Hi,

U R Correct. Thanks

"Patrice" <no****@nowhere.com> wrote in message
news:ee*************@TK2MSFTNGP12.phx.gbl...
The article I mentionned suggest to create the same IUSR account on the
target machine with the same password and to give this account the right.
Using the same password will make both accounts considered as identical.

Another way would be to change IIS settings and use a domain account so that you can give rights on the other machine to this account...

Patrice
--

"Prabhat" <no********@hotmail.com> a écrit dans le message de
news:eb**************@TK2MSFTNGP10.phx.gbl...
HI,

I think U R in the Point. But CAn U Tell me How can I make use of the
Network Resources like Network Path in ASP using that IUSER_ Account?

I Think There must be some way for that. Please Suggest.

Thanks
Prabhat

"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:#J**************@TK2MSFTNGP10.phx.gbl...
Prabhat wrote:
> Hi,
>
> I Think U R Correct. Because the Same Connection String WORKS Fine
If I
run
> that from a VB Application. But NOT from a ASP Application.
>
>

the VB application runs under your account (current user),
the ASP application uses it's own (low permissions) account.
One of the limits is "no network access" !

--
Hans Kesting



Nov 19 '05 #13

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
2607
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
1320
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
2112
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...
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
4875
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
8133
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
1959
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
7124
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
7163
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,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6884
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
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4904
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
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
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 ...

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.