473,396 Members | 2,151 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,396 software developers and data experts.

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 21 '05 #1
12 1318
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 21 '05 #2
I referred someone to that website a few weeks ago & they were well happy
with it.
Nov 21 '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 21 '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 21 '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 21 '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 21 '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 21 '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 21 '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 21 '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 21 '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 21 '05 #13

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

Similar topics

17
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
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...
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...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.