Parser Error

J

Jason

Hi,

I've been attempting to develop aspx pages in FP 2003 and
I'm not sure if I'm doing it correctly. My most recent
error is the following: Parser Error "Line 3: <%@ Page
inherits="Microsoft.Office.FrontPage.DBInterface.DBInterfa
cePage" Src="../../../_fpclass/fpdbnet.cs" Language="C#"
debug = true%>"

What does this mean? Also, I did not write one line of
code during the development of this page that allows data
entry into a SQL Server database. Does FP in essence
write all the aspx code for me and all I need to do then
is upload it?

I'm not a programmer by any means but I've been charged
with the task of creating a data entry web page that
writes to SQL Server. Can FP 2003 do this for me without
having me write code? I have not been able to
successfully get one page loaded to even test.

Thanks.

Jason
 
J

Jim Cheshire

Jason said:
Hi,

I've been attempting to develop aspx pages in FP 2003 and
I'm not sure if I'm doing it correctly. My most recent
error is the following: Parser Error "Line 3: <%@ Page
inherits="Microsoft.Office.FrontPage.DBInterface.DBInterfa
cePage" Src="../../../_fpclass/fpdbnet.cs" Language="C#"
debug = true%>"

What does this mean? Also, I did not write one line of
code during the development of this page that allows data
entry into a SQL Server database. Does FP in essence
write all the aspx code for me and all I need to do then
is upload it?

I'm not a programmer by any means but I've been charged
with the task of creating a data entry web page that
writes to SQL Server. Can FP 2003 do this for me without
having me write code? I have not been able to
successfully get one page loaded to even test.

Thanks.

Jason


Jason,

You should see more information than just "Parser Error". What is the full
text?

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
 
G

Guest

-----Original Message-----



Jason,

You should see more information than just "Parser Error". What is the full
text?

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003


Here is the full text Jim.

Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modify
your source file appropriately.

Parser Error Message: Could not find a part of the
path "C:\Inetpub\wwwroot\Craterlake\srinitest1
\jason\_fpclass\fpdbnet.cs".

Source Error:


Line 1: <!--_lcid="1033" _version="5024" _dal="na"-->
Line 2: <!--_LocalBinding-->
Line 3: <%@ Page
inherits="Microsoft.Office.FrontPage.DBInterface.DBInterfa
cePage" Src="../../../_fpclass/fpdbnet.cs" Language="C#"
debug = true%>
Line 4: <%@ Register TagPrefix="FPDB" TagName="DBRegion"
Src="../../../_fpClass/dbregion.ascx"%>
Line 5: <%@ Import NameSpace="System.Data"%>


Source File: C:\Inetpub\wwwroot\Craterlake\srinitest1
\jason\database1_interface\Table\editor\submission_form.as
px Line: 3

Thanks.
 
J

Jim Cheshire

Here is the full text Jim.

Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modify
your source file appropriately.

Parser Error Message: Could not find a part of the
path "C:\Inetpub\wwwroot\Craterlake\srinitest1
\jason\_fpclass\fpdbnet.cs".

Source Error:


Line 1: <!--_lcid="1033" _version="5024" _dal="na"-->
Line 2: <!--_LocalBinding-->
Line 3: <%@ Page
inherits="Microsoft.Office.FrontPage.DBInterface.DBInterfa
cePage" Src="../../../_fpclass/fpdbnet.cs" Language="C#"
debug = true%>
Line 4: <%@ Register TagPrefix="FPDB" TagName="DBRegion"
Src="../../../_fpClass/dbregion.ascx"%>
Line 5: <%@ Import NameSpace="System.Data"%>


Source File: C:\Inetpub\wwwroot\Craterlake\srinitest1
\jason\database1_interface\Table\editor\submission_form.as
px Line: 3

Thanks.


Jason,

Is it possible that parent paths are turned off on the Web site?

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
 
J

Jason

-----Original Message-----



Jason,

Is it possible that parent paths are turned off on the Web site?

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.




.

Jim,

I'm not sure what parent paths are? Can you please
provide an brief explanation? I've never heard this term
before.

Jason
 
J

Jim Cheshire

Jason said:
Jim,

I'm not sure what parent paths are? Can you please
provide an brief explanation? I've never heard this term
before.

Jason


Parent paths allow you to reference files by using dots to move to the
parent of the current folder. For example, if you want to move from folder
A to folder A's parent folder, you would use "../" as the notation. If
parent pathing is disabled, you cannot do this.

I would think that you would be getting an error is parent pathing were
turned off, but here's how you check.

* Right-click on the Web site in IIS and choose Properties.
* Click the Home Directory tab.
* Click the Configuration button in the Application section.
* Click the Options tab.
* Make sure that "Enable parent paths" is checked.

If they are checked, make sure that the code-behind file (the .cs file)
listed in the Src attribute actually exists. The issue you are having is
that the C# compiler is trying to locate the source file and cannot find it.

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
 

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