RE: Parser Error
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 13 Sep 2005 02:23:54 GMT
Hi Marshall,
Welcome to ASPNET newsgroup.
Regarding on the "Could not load type...." problem, based on my experience,
it's likely due to the configuration of your "secuired" sub dir. As you
mentioned that you've explicitly create it as a virtual dir, generally this
is not necessary, because each regular folder under a certain virtual dir
is automatically become a sub virtual folder. Have you made that "secured"
sub folder an "Application" ? You can check in the IIS management console
to see whether that virtual dir has an application name. If so, please
remove the application name(don't make it an application) since when we
make a certain folder as a separate application, the pages in it will look
for page class or other component class in the local "bin" dir rather than
its parent app's "bin" dir.
Please have a check on this and if there're any other finding, please feel
free to post here.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Marshall" <marshall@xxxxxxxxxxxxxxxx>
| Subject: Parser Error
| Date: Mon, 12 Sep 2005 15:54:24 -0400
| Lines: 37
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <#0zXHP9tFHA.2568@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 66-195-172-195.gen.twtelecom.net 66.195.172.195
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:124017
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi All,
|
| I am building an asp.net web app using Visual Studio 2003. Today I
created
| a new folder called 'Secured' at the root of my web app so I could
partition
| off all of the restricted content. Up until that point the restricted
files
| were in the root folder of the web app so I moved them to the Secured
| folder. From within IIS I made the Secured folder a Vir. Dir. Ever
since
| then I the following 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 'JailLink.Secured.Login'.
|
| Source Error:
|
|
| Line 1: <%@ Page language="c#" Codebehind="Login.aspx.cs"
| AutoEventWireup="false" Inherits="JailLink.Secured.Login" %>
| Line 2: <html>
| Line 3: <head>
|
|
| Source File: c:\inetpub\wwwroot\JailLink\Secured\Login.aspx Line: 1
|
| I tried adding the 'Src' attribute to the Page directive which made
| everything work but Visual Studio freaked out about the Src attribute so
I
| had to remove it.
|
| Thank you for your help,
|
| Marshall
|
|
|
|
|
.
- References:
- Parser Error
- From: Marshall
- Parser Error
- Prev by Date: Re: Dynamically loading user control based on querystring
- Next by Date: HTML Controls Vs Web Controls.
- Previous by thread: Parser Error
- Next by thread: how to insert JavaScript code dynamically...
- Index(es):
Relevant Pages
|