By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Parser error

P: n/a
ST
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local server
from the production server (just in case the file was corrupt).
7)plus random other things that I can't remember off the top of my head.

I've been working on this problem for 2 days. can someone PLEASE help me???
this is what I get if I set my webapp's login page as the start page:
Parser Error
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 load type 'biopsy._default'.

Source Error:
Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx" %><%@
Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="biopsy._default"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
**If I change the start page to just the main menu page, then when I try and
go to my search page from the main menu, I get this error:
Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1

Can ANYONE please help me??? I've run out of ideas. Thanks in advance!!!!
Nov 19 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
What is the namespace underwhich all these pages are built under? Is it
biopsy? Can you make sure you got it right in your code behinds?

--
Kumar Reddi
http://kumarreddi.blogspot.com

"ST" <ST@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local server from the production server (just in case the file was corrupt).
7)plus random other things that I can't remember off the top of my head.

I've been working on this problem for 2 days. can someone PLEASE help me??? this is what I get if I set my webapp's login page as the start page:
Parser Error
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 load type 'biopsy._default'.

Source Error:
Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx" %><%@
Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="biopsy._default"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
**If I change the start page to just the main menu page, then when I try and go to my search page from the main menu, I get this error:
Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1

Can ANYONE please help me??? I've run out of ideas. Thanks in

advance!!!!
Nov 19 '05 #2

P: n/a
ST
yup, they're all under Biopsy...I've checked that the name space is correct.
What I've done is I'm using an old version of my project, and copied the new
files into the project...so now I can get past the first error, but now I get:
Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\samplesearch2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
I've tried including/excluding that page from the project...and get the same
result. This is what it says on top of the SampleSearch2.aspx page:

<%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<title>Untitled Document</title>
..
..
..
..

anymore ideas? Thanks!!

"Kumar Reddi" wrote:
What is the namespace underwhich all these pages are built under? Is it
biopsy? Can you make sure you got it right in your code behinds?

--
Kumar Reddi
http://kumarreddi.blogspot.com

"ST" <ST@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local

server
from the production server (just in case the file was corrupt).
7)plus random other things that I can't remember off the top of my head.

I've been working on this problem for 2 days. can someone PLEASE help

me???
this is what I get if I set my webapp's login page as the start page:
Parser Error
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 load type 'biopsy._default'.

Source Error:
Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx" %><%@
Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="biopsy._default"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
**If I change the start page to just the main menu page, then when I try

and
go to my search page from the main menu, I get this error:
Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1

Can ANYONE please help me??? I've run out of ideas. Thanks in

advance!!!!

Nov 19 '05 #3

P: n/a
ST
Sorry if this gets posted twice, it gave me an error when I tried to reply.
Anyway, yeah...they're all under Biopsy. I've checked the namespaces. What
I did was bring back an old version of the project, and copy in the files I
need from the new version. Now I can get past the login page (the first
error), but still am getting this second error when I try and access the page:

Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\samplesearch2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
This is what is at the top of my SampleSearch2.aspx page:

<%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
Anymore ideas? I've tried including/excluding the pages from my project,
and it still results in the same error. Thanks!!
"Kumar Reddi" wrote:
What is the namespace underwhich all these pages are built under? Is it
biopsy? Can you make sure you got it right in your code behinds?

--
Kumar Reddi
http://kumarreddi.blogspot.com

"ST" <ST@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local

server
from the production server (just in case the file was corrupt).
7)plus random other things that I can't remember off the top of my head.

I've been working on this problem for 2 days. can someone PLEASE help

me???
this is what I get if I set my webapp's login page as the start page:
Parser Error
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 load type 'biopsy._default'.

Source Error:
Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx" %><%@
Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="biopsy._default"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>

Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
**If I change the start page to just the main menu page, then when I try

and
go to my search page from the main menu, I get this error:
Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1

Can ANYONE please help me??? I've run out of ideas. Thanks in

advance!!!!

Nov 19 '05 #4

P: n/a
Take a look at :
http://www.dotnetjunkies.com/Tutoria...4F1105312.dcik

"The Inherits attribute MUST be used with the Src attribute."

You are not using the Src attribute.
You should be using something like :

<%@ Page Language="VB" Inherits="biopsy.SampleSearch2" Src="SampleSearch2.aspx.vb" %>

Mind you, the correct Page statement will depend on
what which source files for that Inheritance you're using.

A better alternative would be to compile your source files
into an assembly, and referencing *them*.


Juan T. Llibre
===========
"ST" <ST@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
Sorry if this gets posted twice, it gave me an error when I tried to
reply.
Anyway, yeah...they're all under Biopsy. I've checked the namespaces.
What
I did was bring back an old version of the project, and copy in the files
I
need from the new version. Now I can get past the login page (the first
error), but still am getting this second error when I try and access the
page:

Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\samplesearch2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032
This is what is at the top of my SampleSearch2.aspx page:

<%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
Anymore ideas? I've tried including/excluding the pages from my project,
and it still results in the same error. Thanks!!
"Kumar Reddi" wrote:
What is the namespace underwhich all these pages are built under? Is it
biopsy? Can you make sure you got it right in your code behinds?

--
Kumar Reddi
http://kumarreddi.blogspot.com

"ST" <ST@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
> Hi,
> I keep getting the parser error, and I have no idea why. I've tried a
> number of things including:
> 1)building/rebuilding about 100x
> 2)making sure all dll's are in the bin folder in the root of the web
> app
> 3)restarting IIS
> 4)recreating the virtual dir in IIS
> 5)playing with any and all settings I could find for the web app in
> IIS,
> including changing permissions
> 6)recopying the machineconfig file from my asp v1.4... onto my local

server
> from the production server (just in case the file was corrupt).
> 7)plus random other things that I can't remember off the top of my
> head.
>
> I've been working on this problem for 2 days. can someone PLEASE help

me???
> this is what I get if I set my webapp's login page as the start page:
> Parser Error
> 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 load type 'biopsy._default'.
>
> Source Error:
>
>
> Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx"
> %><%@
> Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
> Inherits="biopsy._default"%>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
>
>
> **If I change the start page to just the main menu page, then when I
> try

and
> go to my search page from the main menu, I get this error:
> Parser Error
> 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 load type 'biopsy.SampleSearch2'.
>
> Source Error:
>
>
> Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
> AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Transitional//EN">
> Line 3: <HTML>
>
>
> Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1
>
> Can ANYONE please help me??? I've run out of ideas. Thanks in

advance!!!!

Nov 19 '05 #5

P: n/a
ST
yes!!! that was it!!! thank you! I've been racking my brain for 3 days
now...trying to figure this out. That article helped a LOT! If you have any
other suggestions for articles/books on learning asp...I would really
appreciate it. I'm VERY new to all this, and sort of got thrown into it
without much foundation. (I'm a biologist...turned IT at work).

"Juan T. Llibre [MVP]" wrote:
Take a look at :
http://www.dotnetjunkies.com/Tutoria...4F1105312.dcik

"The Inherits attribute MUST be used with the Src attribute."

You are not using the Src attribute.
You should be using something like :

<%@ Page Language="VB" Inherits="biopsy.SampleSearch2" Src="SampleSearch2.aspx.vb" %>

Mind you, the correct Page statement will depend on
what which source files for that Inheritance you're using.

A better alternative would be to compile your source files
into an assembly, and referencing *them*.


Juan T. Llibre
===========
"ST" <ST@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
Sorry if this gets posted twice, it gave me an error when I tried to
reply.
Anyway, yeah...they're all under Biopsy. I've checked the namespaces.
What
I did was bring back an old version of the project, and copy in the files
I
need from the new version. Now I can get past the login page (the first
error), but still am getting this second error when I try and access the
page:

Parser Error
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 load type 'biopsy.SampleSearch2'.

Source Error:
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwroot\biopsy\samplesearch2.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032
This is what is at the top of my SampleSearch2.aspx page:

<%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
Anymore ideas? I've tried including/excluding the pages from my project,
and it still results in the same error. Thanks!!
"Kumar Reddi" wrote:
What is the namespace underwhich all these pages are built under? Is it
biopsy? Can you make sure you got it right in your code behinds?

--
Kumar Reddi
http://kumarreddi.blogspot.com

"ST" <ST@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
> Hi,
> I keep getting the parser error, and I have no idea why. I've tried a
> number of things including:
> 1)building/rebuilding about 100x
> 2)making sure all dll's are in the bin folder in the root of the web
> app
> 3)restarting IIS
> 4)recreating the virtual dir in IIS
> 5)playing with any and all settings I could find for the web app in
> IIS,
> including changing permissions
> 6)recopying the machineconfig file from my asp v1.4... onto my local
server
> from the production server (just in case the file was corrupt).
> 7)plus random other things that I can't remember off the top of my
> head.
>
> I've been working on this problem for 2 days. can someone PLEASE help
me???
> this is what I get if I set my webapp's login page as the start page:
> Parser Error
> 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 load type 'biopsy._default'.
>
> Source Error:
>
>
> Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx"
> %><%@
> Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
> Inherits="biopsy._default"%>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
>
>
> **If I change the start page to just the main menu page, then when I
> try
and
> go to my search page from the main menu, I get this error:
> Parser Error
> 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 load type 'biopsy.SampleSearch2'.
>
> Source Error:
>
>
> Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
> AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Transitional//EN">
> Line 3: <HTML>
>
>
> Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1
>
> Can ANYONE please help me??? I've run out of ideas. Thanks in
advance!!!!


Nov 19 '05 #6

P: n/a
I followed this thread thinking - wow! this is my problem...

I've got the following...

- A web.config that appears fine
- An application that I compile with no errors - repeatedly
- A virtual directory where the application has been created

I get the message cannot load type XXXX.Global...

If I change my codebehind directive to src I get XXXX.Global is not defined
in the file specified - when it clearly is and was never touched.

If I try to load default.aspx and remove the codebehind and inherits from
global,asax, I get cannot load type XXXX._default, which is the class name
for the default page.

If I migrate the solution to another machine and setup a virtual app - I get
the same issue; thus ruling out an issue with IIS - I think.

Can anyone think of what the problem might be? Please remember, it was
running fine and then not. This is urgent as I'm on a tight deadline with
currently a dead solution.

Thanks,

- Nick

"ST" wrote:
yes!!! that was it!!! thank you! I've been racking my brain for 3 days
now...trying to figure this out. That article helped a LOT! If you have any
other suggestions for articles/books on learning asp...I would really
appreciate it. I'm VERY new to all this, and sort of got thrown into it
without much foundation. (I'm a biologist...turned IT at work).

"Juan T. Llibre [MVP]" wrote:
Take a look at :
http://www.dotnetjunkies.com/Tutoria...4F1105312.dcik

"The Inherits attribute MUST be used with the Src attribute."

You are not using the Src attribute.
You should be using something like :

<%@ Page Language="VB" Inherits="biopsy.SampleSearch2" Src="SampleSearch2.aspx.vb" %>

Mind you, the correct Page statement will depend on
what which source files for that Inheritance you're using.

A better alternative would be to compile your source files
into an assembly, and referencing *them*.


Juan T. Llibre
===========
"ST" <ST@discussions.microsoft.comwrote in message
news:C8**********************************@microsof t.com...
Sorry if this gets posted twice, it gave me an error when I tried to
reply.
Anyway, yeah...they're all under Biopsy. I've checked the namespaces.
What
I did was bring back an old version of the project, and copy in the files
I
need from the new version. Now I can get past the login page (the first
error), but still am getting this second error when I try and access the
page:
>
Parser Error
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 load type 'biopsy.SampleSearch2'.
>
Source Error:
>
>
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 3: <HTML>
>
>
Source File: c:\inetpub\wwwroot\biopsy\samplesearch2.aspx Line: 1
>
>
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032
>
>
This is what is at the top of my SampleSearch2.aspx page:
>
<%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
>
>
Anymore ideas? I've tried including/excluding the pages from my project,
and it still results in the same error. Thanks!!
>
>
"Kumar Reddi" wrote:
>
>What is the namespace underwhich all these pages are built under? Is it
>biopsy? Can you make sure you got it right in your code behinds?
>>
>--
>Kumar Reddi
>http://kumarreddi.blogspot.com
>>
>"ST" <ST@discussions.microsoft.comwrote in message
>news:FB**********************************@microso ft.com...
Hi,
I keep getting the parser error, and I have no idea why. I've tried a
number of things including:
1)building/rebuilding about 100x
2)making sure all dll's are in the bin folder in the root of the web
app
3)restarting IIS
4)recreating the virtual dir in IIS
5)playing with any and all settings I could find for the web app in
IIS,
including changing permissions
6)recopying the machineconfig file from my asp v1.4... onto my local
>server
from the production server (just in case the file was corrupt).
7)plus random other things that I can't remember off the top of my
head.
>
I've been working on this problem for 2 days. can someone PLEASE help
>me???
this is what I get if I set my webapp's login page as the start page:
Parser Error
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 load type 'biopsy._default'.
>
Source Error:
>
>
Line 1: <%@ Register TagPrefix="uc1" TagName="menu" Src="menu.ascx"
%><%@
Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="biopsy._default"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
>
Source File: c:\inetpub\wwwroot\biopsy\default.aspx Line: 1
>
>
**If I change the start page to just the main menu page, then when I
try
>and
go to my search page from the main menu, I get this error:
Parser Error
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 load type 'biopsy.SampleSearch2'.
>
Source Error:
>
>
Line 1: <%@ Page CodeBehind="SampleSearch2.aspx.vb" Language="vb"
AutoEventWireup="false" Inherits="biopsy.SampleSearch2" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
Line 3: <HTML>
>
>
Source File: c:\inetpub\wwwroot\biopsy\SampleSearch2.aspx Line: 1
>
Can ANYONE please help me??? I've run out of ideas. Thanks in
>advance!!!!
>>
>>
>>
Jul 8 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.