ASP pages stopped working

M

Michael Stumpo

I am getting the following error:

Database Results Error
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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.

I re-published from my laptop to the server overwriting
all files. I can view HTM files but not asp pages.

I went onto the site live and verified that the DRW pages
are seeing the database. They are. I recalculated the
site and re-verified the database connections.

Nothing is working.

Any insight would be appreciated.

-M
 
M

Michael Stumpo

If I go to another ASP page containing DRW I get the
following errer:
Error Type:

Active Server Pages, ASP 0131 (0x80004005)
The Include file '../_fpclass/fpdbform.inc' cannot
contain '..' to indicate the parent directory.
/forms/comments.asp, line 184

What does that mean?

P.S. I had installed Software update server (SUS) from
Microsoft on the server in question and it appears that
SUS installed IISlockown. I re-ran it and enabled all
options but still no luck

Thanks in advance

-M
 
T

Thomas A. Rowe

Contact your host and ask them to re-start your site.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
C

Cowboy \(Gregory A. Beamer\)

The error indicates the OleDb provider is not finding the Access database.
If every ASP page connects to data, you will have the same error on every
page. Best bet is to write the following line:

Call Response.Write(connString)
Call Response.Flush

You will have to look at the ASP page and see what the variable name for
connString (connection String) is for the connection object. As another
option:

Call Response.Write(objConn.ConnectionString)

If you do not see an explicit connection object, you will have to create one
from the ActiveConnection property of the command object. If recordset is
used and creating everything else implicitly, you will HAVE to find the
variable with the connection string. This is in the global.asa file if
FrontPage created it.

I would then check the path to the .mdb file via ASP. I do not have the
syntax. If this path does not match the path in the connection string, you
have found your problem.

Hope this gets you on the right path.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
T

Thomas A. Rowe

You need to open the server and enable parent_paths under IIS MMC,
Application and then look at the various tabs.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Michael Stumpo said:
If I go to another ASP page containing DRW I get the
following errer:
Error Type:

Active Server Pages, ASP 0131 (0x80004005)
The Include file '../_fpclass/fpdbform.inc' cannot
contain '..' to indicate the parent directory.
/forms/comments.asp, line 184

What does that mean?

P.S. I had installed Software update server (SUS) from
Microsoft on the server in question and it appears that
SUS installed IISlockown. I re-ran it and enabled all
options but still no luck

Thanks in advance

-M
-----Original Message-----
I am getting the following error:

Database Results Error
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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.

I re-published from my laptop to the server overwriting
all files. I can view HTM files but not asp pages.

I went onto the site live and verified that the DRW pages
are seeing the database. They are. I recalculated the
site and re-verified the database connections.

Nothing is working.

Any insight would be appreciated.

-M
.
 
M

Michael Stumpo

Thomas,

The intranet is the root web. If I look at properties
under Default Web Site, I don't see a "parent_paths" in
any of the tabs. Now I could be blind.

Tabs shown are:

Website, Operators, Performance, ISAPI Filters, Home
Directory, Documents, Directory, HTTP Headers, Custom
Errors, FP Extensions 2002.

In answer to your other reply, this server is within our
private network and I have control over it. I have
rebooted it and re-installed the FP server extensions
also.

The database is within the website itself, not pointing
from a DSN. It works on my laptop fine, but not on the
server.

Any other sugestions?
-----Original Message-----
You need to open the server and enable parent_paths under IIS MMC,
Application and then look at the various tabs.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

If I go to another ASP page containing DRW I get the
following errer:
Error Type:

Active Server Pages, ASP 0131 (0x80004005)
The Include file '../_fpclass/fpdbform.inc' cannot
contain '..' to indicate the parent directory.
/forms/comments.asp, line 184

What does that mean?

P.S. I had installed Software update server (SUS) from
Microsoft on the server in question and it appears that
SUS installed IISlockown. I re-ran it and enabled all
options but still no luck

Thanks in advance

-M
-----Original Message-----
I am getting the following error:

Database Results Error
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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.

I re-published from my laptop to the server overwriting
all files. I can view HTM files but not asp pages.

I went onto the site live and verified that the DRW pages
are seeing the database. They are. I recalculated the
site and re-verified the database connections.

Nothing is working.

Any insight would be appreciated.

-M
.


.
 
G

Guest

Gregory,

Here is my global.ASA file:

<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
'==FrontPage Generated - startspan==
Dim FrontPage_UrlVars(2)
'--Project Data Connection
Application("intranet_ConnectionString")
= "DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=URL=fpdb/intranet.mdb"
FrontPage_UrlVars(0)
= "intranet_ConnectionString"
Application("intranet_ConnectionTimeout")
= 15
Application("intranet_CommandTimeout") =
30
Application("intranet_CursorLocation") = 3
Application("intranet_RuntimeUserName")
= ""
Application("intranet_RuntimePassword")
= ""
'--Project Data Connection
Application
("forumdatabase_ConnectionString") = "DRIVER={Microsoft
Access Driver (*.mdb)};DBQ=URL=fpdb/snitz_forums_2000.mdb"
FrontPage_UrlVars(1)
= "forumdatabase_ConnectionString"
Application
("forumdatabase_ConnectionTimeout") = 15
Application
("forumdatabase_CommandTimeout") = 30
Application
("forumdatabase_CursorLocation") = 3
Application
("forumdatabase_RuntimeUserName") = ""
Application
("forumdatabase_RuntimePassword") = ""
'--
Application("FrontPage_UrlVars") =
FrontPage_UrlVars
'==FrontPage Generated - endspan==
End Sub
Sub Session_OnStart
FrontPage_StartSession '==FrontPage Generated==
End Sub
Sub FrontPage_StartSession
On Error Resume Next
if Len(Application("FrontPage_VRoot")) > 0 then
Exit Sub

sFile = "global.asa"
sRootPath = Request.ServerVariables
("APPL_PHYSICAL_PATH")
if Left(sRootPath,1) = "/" then sSep = "/" else
sSep = "\"
if Right(sRootPath,1) <> sSep then sRootPath =
sRootPath & sSep
sRootPath = sRootPath & sFile

' discover the VRoot for the current page;
' walk back up VPath until we match VRoot
Vroot = Request.ServerVariables("PATH_INFO")
iCount = 0
do while Len(Vroot) > 1
idx = InStrRev(Vroot, "/")
if idx > 0 then
Vroot = Left(Vroot,idx)
else
' error; assume root web
Vroot = "/"
end if
if Server.MapPath(Vroot & sFile) =
sRootPath then exit do
if Right(Vroot,1) = "/" then Vroot = Left
(Vroot,Len(Vroot)-1)
iCount = iCount + 1
if iCount > 100 then
' error; assume root web
Vroot = "/"
exit do
end if
loop
' map all URL= attributes in _ConnectionString
variables
Application.Lock
if Len(Application("FrontPage_VRoot")) = 0 then
Application("FrontPage_VRoot") = Vroot
UrlVarArray = Application
("FrontPage_UrlVars")
for i = 0 to UBound(UrlVarArray)
if Len(UrlVarArray(i)) > 0 then
FrontPage_MapUrl(UrlVarArray(i))
next
end if
Application.Unlock
End Sub
Sub FrontPage_MapUrl(AppVarName)
' convert URL attribute in conn string to
absolute file location
strVal = Application(AppVarName)
strKey = "URL="
idxStart = InStr(strVal, strKey)
If idxStart = 0 Then Exit Sub
strBefore = Left(strVal, idxStart - 1)
idxStart = idxStart + Len(strKey)
idxEnd = InStr(idxStart, strVal, ";")
If idxEnd = 0 Then
strAfter = ""
strURL = Mid(strVal, idxStart)
Else
strAfter = ";" & Mid(strVal, idxEnd + 1)
strURL = Mid(strVal, idxStart, idxEnd -
idxStart)
End If
strOut = strBefore & Server.MapPath(Application
("FrontPage_VRoot") & strURL) & strAfter
Application(AppVarName) = strOut
End Sub
</SCRIPT>
<head><title>Web Settings for Active Server
Pages</title><html xmlns:mso="urn:schemas-microsoft-
com:blush:ffice:blush:ffice" xmlns:msdt="uuid:C2F41010-65B3-11d1-
A29F-00AA00C14882">
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:connectionstatus msdt:dt="string">intranet=1
forumdatabase=1</mso:connectionstatus>
</mso:CustomDocumentProperties>
-----Original Message-----
The error indicates the OleDb provider is not finding the Access database.
If every ASP page connects to data, you will have the same error on every
page. Best bet is to write the following line:

Call Response.Write(connString)
Call Response.Flush

You will have to look at the ASP page and see what the variable name for
connString (connection String) is for the connection object. As another
option:

Call Response.Write(objConn.ConnectionString)

If you do not see an explicit connection object, you will have to create one
from the ActiveConnection property of the command object. If recordset is
used and creating everything else implicitly, you will HAVE to find the
variable with the connection string. This is in the global.asa file if
FrontPage created it.

I would then check the path to the .mdb file via ASP. I do not have the
syntax. If this path does not match the path in the connection string, you
have found your problem.

Hope this gets you on the right path.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

********************************************************* *************
Think Outside the Box!
********************************************************* *************
I am getting the following error:

Database Results Error
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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.

I re-published from my laptop to the server overwriting
all files. I can view HTM files but not asp pages.

I went onto the site live and verified that the DRW pages
are seeing the database. They are. I recalculated the
site and re-verified the database connections.

Nothing is working.

Any insight would be appreciated.

-M


.
 
T

Thomas A. Rowe

Mike,

Under IIS MMC:

Right click on web, select Properties, Home Directory, Application
Configuration, App Options, check box to enable parent paths.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Michael Stumpo said:
Thomas,

The intranet is the root web. If I look at properties
under Default Web Site, I don't see a "parent_paths" in
any of the tabs. Now I could be blind.

Tabs shown are:

Website, Operators, Performance, ISAPI Filters, Home
Directory, Documents, Directory, HTTP Headers, Custom
Errors, FP Extensions 2002.

In answer to your other reply, this server is within our
private network and I have control over it. I have
rebooted it and re-installed the FP server extensions
also.

The database is within the website itself, not pointing
from a DSN. It works on my laptop fine, but not on the
server.

Any other sugestions?
-----Original Message-----
You need to open the server and enable parent_paths under IIS MMC,
Application and then look at the various tabs.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

If I go to another ASP page containing DRW I get the
following errer:
Error Type:

Active Server Pages, ASP 0131 (0x80004005)
The Include file '../_fpclass/fpdbform.inc' cannot
contain '..' to indicate the parent directory.
/forms/comments.asp, line 184

What does that mean?

P.S. I had installed Software update server (SUS) from
Microsoft on the server in question and it appears that
SUS installed IISlockown. I re-ran it and enabled all
options but still no luck

Thanks in advance

-M
-----Original Message-----
I am getting the following error:

Database Results Error
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' 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.

I re-published from my laptop to the server overwriting
all files. I can view HTM files but not asp pages.

I went onto the site live and verified that the DRW
pages
are seeing the database. They are. I recalculated the
site and re-verified the database connections.

Nothing is working.

Any insight would be appreciated.

-M
.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top