473,616 Members | 2,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

80004005 . . . .is not a valid path

Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************

Here is what I have:

Webserver: Windows 2000 Server SP4, IIS 5.0, Novell Client 32, and
Gateway Services.

I can get to the O drive with explorer, Access is not installed on the
Webserver.

I have checked the rights on the Novell Server and the Webserver has
full rights except supervisor. I have also checked the rights on the
TEMP directory, everyone has rights to this folder, I even added more
users just to try, still no luck.

I think that is about it.

Thank you in advance for your help,

Rodger
Jul 19 '05 #1
19 8433
Rodger wrote:
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************


Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp application is
running under the local IUSR account. See the faq for more details.

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #2
Also http://www.aspfaq.com/2168 (O:\ is likely to be a mapped drive for
another machine, which IUSR most certainly isn't aware of.)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:eg******** ******@tk2msftn gp13.phx.gbl...
Rodger wrote:
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************


Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp application is
running under the local IUSR account. See the faq for more details.

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 19 '05 #3
Yes. A link to 2168 exists in 2009, but it is certainly more helpful to
reference the "real" article. I was being lazy.

Bob

Aaron Bertrand - MVP wrote:
Also http://www.aspfaq.com/2168 (O:\ is likely to be a mapped drive
for another machine, which IUSR most certainly isn't aware of.)
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:eg******** ******@tk2msftn gp13.phx.gbl...
Rodger wrote:
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************


Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp
application is running under the local IUSR account. See the faq for
more details.

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #4
> Yes. A link to 2168 exists in 2009, but it is certainly more helpful to
reference the "real" article. I was being lazy.


That's okay, lazy! ;-)
Jul 19 '05 #5
Bob,

Yes I have checked and the user signed on is WEBSRV3 and ISUR_WEBSRV3
has access to my mapped drive of O:\DATA\DSR\DSR _DATA.MDB. The System
DSN I have setup is pointing to this file. I have also tried a
DSN-less connection and get the same error. I have gon though the
FAQs and I have already tried each of them.

Any other ideas?

Thank you,

Rodger
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message news:<eg******* *******@tk2msft ngp13.phx.gbl>. ..
Rodger wrote:
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************


Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp application is
running under the local IUSR account. See the faq for more details.

Bob Barrows

Jul 19 '05 #6
Can you log in directly to the web server as IUSR_WEBSRV3 and see O:\ ?

(Hint: if you can't logon to the web server because you don't know the IUSR_
password, then you can't possibly have added an identical local user to the
machine where O:\ lives, which means IUSR doesn't have read/write
permissions to the remote share, which means you can't interact with the
database.)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Rodger" <ro*******@hotm ail.com> wrote in message
news:17******** *************** ***@posting.goo gle.com...
Bob,

Yes I have checked and the user signed on is WEBSRV3 and ISUR_WEBSRV3
has access to my mapped drive of O:\DATA\DSR\DSR _DATA.MDB. The System
DSN I have setup is pointing to this file. I have also tried a
DSN-less connection and get the same error. I have gon though the
FAQs and I have already tried each of them.

Any other ideas?

Thank you,

Rodger
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message

news:<eg******* *******@tk2msft ngp13.phx.gbl>. ..
Rodger wrote:
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************


Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp application is
running under the local IUSR account. See the faq for more details.

Bob Barrows

Jul 19 '05 #7
Dont databases on iis have to have the vitual directory location?
eh I dont know if you figure it out let us know.

"Rodger" <ro*******@hotm ail.com> wrote in message
news:17******** *************** ***@posting.goo gle.com...
Hi all,

I am getting the following error.

*************** **************
Microsoft JET Database Engine error '80004005'

'O:\DATA\DSR\DS R_DATA.MDB' 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.

/dsr.asp, line 18
*************** **************

Here is what I have:

Webserver: Windows 2000 Server SP4, IIS 5.0, Novell Client 32, and
Gateway Services.

I can get to the O drive with explorer, Access is not installed on the
Webserver.

I have checked the rights on the Novell Server and the Webserver has
full rights except supervisor. I have also checked the rights on the
TEMP directory, everyone has rights to this folder, I even added more
users just to try, still no luck.

I think that is about it.

Thank you in advance for your help,

Rodger

Jul 19 '05 #8
Aaron,

I am logged on as WEBSRV3 and yes I can see the O drive. I have
client32 installed for Novell. I thought that would help, but no
luck. I can browse to the database on the O drive. I have even tried
to reference the database in the ASP code with UNC with no luck. I
have this working on my other Webserver, but it is NT 4.0 with IIS
4.0.

Here is my code: (Note some lines are remed ' out . . . .)

<%@ Language=VBScri pt %>
<% Response.Buffer = true %>
<%
Dim conn, rs, rs2, mySQL, dbPath

dbPath = "O:\DATA\DAR\ds r data.mdb"
Set Conn = Server.CreateOb ject("ADODB.Con nection")

conn.Open "Provider=Micro soft.Jet.OLEDB. 4.0;Data
Source=O\DATA\D SR\DSR DATA.mdb" ';User Id=admin;Passwo rd="

'Conn.Open "PROVIDER=MICRO SOFT.JET.OLEDB. 4.0;DATA SOURCE=" & dbPath '&
";User Id=admin;"'& ";Persist Security Info=False"

'set conn = server.CreateOb ject("ADODB.Con nection")
'conn.Connectio nString = "DSN=DSR"
'conn.Open

mySQL = "SELECT * FROM [COST CENTERS] ORDER BY CST_COST_CENTER "
set rs = conn.Execute(my SQL)

mySQL = "SELECT * FROM [COST CENTERS] ORDER BY CST_DEPARTMENT"
set rs2 = conn.Execute(my SQL)
%>
Thanks,

Rodger

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message news:<OV******* *******@TK2MSFT NGP11.phx.gbl>. ..
Can you log in directly to the web server as IUSR_WEBSRV3 and see O:\ ?

(Hint: if you can't logon to the web server because you don't know the IUSR_
password, then you can't possibly have added an identical local user to the
machine where O:\ lives, which means IUSR doesn't have read/write
permissions to the remote share, which means you can't interact with the
database.)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Rodger" <ro*******@hotm ail.com> wrote in message
news:17******** *************** ***@posting.goo gle.com...
Bob,

Yes I have checked and the user signed on is WEBSRV3 and ISUR_WEBSRV3
has access to my mapped drive of O:\DATA\DSR\DSR _DATA.MDB. The System
DSN I have setup is pointing to this file. I have also tried a
DSN-less connection and get the same error. I have gon though the
FAQs and I have already tried each of them.

Any other ideas?

Thank you,

Rodger
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message

news:<eg******* *******@tk2msft ngp13.phx.gbl>. ..
Rodger wrote:
> Hi all,
>
> I am getting the following error.
>
> *************** **************
> Microsoft JET Database Engine error '80004005'
>
> 'O:\DATA\DSR\DS R_DATA.MDB' 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.
>
> /dsr.asp, line 18
> *************** **************

Have you checked this faq article?
http://www.aspfaq.com/show.asp?id=2009

This is definitely a permissions issue. Remember, the asp application is
running under the local IUSR account. See the faq for more details.

Bob Barrows

Jul 19 '05 #9
Rodger wrote:
Aaron,

I am logged on as WEBSRV3 and yes I can see the O drive.


YOU are logged in as WEBSRV3. ASP is not. Unless you have configured your
website to impersonate WEBSRV3, ASP is logged in as IUSR_WEBSRV3, which is a
local account on WEBSRV3. IUSR_WEBSRV3 will not have authority to look at
the O drive unless it is a domain-level account.

Bob Barrows

--
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"
Jul 19 '05 #10

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

Similar topics

0
3765
by: Nick Bolink | last post by:
I'm using a ACCESS database that has a databasepassword. In the connection string I'll provide the password as follows: MM_test_STRING = "dsn=test;pwd=test;" This works fine on IIS 5 but on IIS 6 on Windows Server 2003 I'll get the followwing error: Microsoft OLE DB Provider for ODBC Drivers error '80004005' Not a valid password. When I'll remove the password the DSN works fine also.
12
5935
by: Grahammer | last post by:
For some reason I am getting an error when trying to open a recordset on an Access database on my Win2K3 machine from my INDEX.ASP page, but the same code accesses the database fine when coming from the GLOBAL.ASA page. I'm using a DSN to connect to the database. The error I'm getting is: Microsoft OLE DB Provider for ODBC Drivers error '80004005' Data source name not found and no default driver specified /index.asp, line 14
15
1377
by: M P | last post by:
What does this mean? I am accessing an ASP page that queries Access Database thru fileDSN. I'm using IIS 5.0 Win2K SP4 Microsoft OLE DB Provider for ODBC Drivers error '80004005' General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x444 Thread 0xfe4 DBC 0x5200024 Jet'.
7
14370
by: A P | last post by:
I receive an error like this: Server.MapPath() error 'ASP 0172 : 80004005' Invalid Path /conn.asp, line 2 The Path parameter for the MapPath method must be a virtual path. A physical path was used.
4
1668
by: Bryan Tang | last post by:
I built an ASP to search the content in index server. It is ok if search in English. Whenever I search in Chinese, I will got the following error message, CreateRecordset ?u?~ '80004005' £gLak?u¢DXao?u?~ /search/query.asp, |C203
2
3289
by: ago | last post by:
I am trying to make the win32com HelloWorld server work with a VBA client but I get: Run-time error '-2147467259(80004005)': Automation error Unspecified error I googled for the error but the suggested solutions (commenting out _reg_class_spec_ and putting the server on the python path) do not seem to make any difference (to be precise, unless I comment out
0
2705
by: askzda | last post by:
Hi, Can somebody pls help to solve above problem. I have used dundas mailer for my mailing part in my asp script, but the an error occured during sending the mail. Error that is prompted out just like below: Dundas.Mailer.1 error '80004005' The DATA command failed. I've checked all the recepients' email adresses and they all valid. SO, kindly help me to solve this kind error. I really appreciate ur help.
1
3106
by: hillt | last post by:
I have an Access program that was created by a person that no longer works for us. My knowledge base with this is very limited. It tells me that j:wireworks\ww_be.db is not a valid path I cannot seem to find the reference for this item in order to change it. PS sorry in advance if this question has been asked before.
10
3261
Fary4u
by: Fary4u | last post by:
Hi any body know's where is the problem in following code ? it's so simple but can't figer it out ? giving this error ? Microsoft JET Database Engine error '80004005' Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt. dbfile.asp, line 3
0
8203
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8592
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8297
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7121
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4063
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2579
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 we have to send another system
1
1759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.