<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Parser'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Parser&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Parser'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>MasterPage Error (Parser) Could not load type 'filename'</title><link>http://forums.asp.net/thread/3010459.aspx</link><pubDate>Mon, 16 Mar 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3010459</guid><dc:creator>dt86uk</dc:creator><description>&lt;p&gt;&amp;nbsp;Hello everyone,&lt;/p&gt;&lt;p&gt;This is my first post and i&amp;#39;m a beginner at Visual Studio. After plenty research im aware that this problem is a persistant one in many instances, just not one as similar as mine. So far I&amp;#39;ve been developing my Web Site and when I have gone to view my web site (Ctrl+F5) i&amp;#39;m presented with the following error. Of which i have no idea what it means as the file IS actually there, im baffled.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Additional Info: I&amp;#39;m using Visual Studio 2008 and its being coded in C# &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;h2&gt;&amp;nbsp;&lt;i&gt;Parser Error&lt;/i&gt;&lt;/h2&gt;&lt;/span&gt;

            &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;

            &lt;b&gt; Description: &lt;/b&gt;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. &lt;br /&gt;&lt;br /&gt;

            &lt;b&gt; Parser Error Message: &lt;/b&gt;Could not load type &amp;#39;where2Party.Master&amp;#39;.&lt;br /&gt;&lt;br /&gt;

            &lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;

            &lt;table bgcolor="#ffffcc"&gt;
               &lt;tr&gt;
                  &lt;td&gt;
                      &lt;code&gt;&lt;/code&gt;&lt;pre&gt;&lt;font color="red"&gt;Line 1:  &amp;lt;%@ Master Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeBehind=&amp;quot;where2party.master.cs&amp;quot; Inherits=&amp;quot;where2Party.Master&amp;quot; %&amp;gt;&lt;br /&gt;&lt;/font&gt;Line 2:  &lt;br /&gt;Line 3:  &amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;/pre&gt;

                  &lt;/td&gt;
               &lt;/tr&gt;
            &lt;/table&gt;

            &lt;br /&gt;

            &lt;b&gt; Source File: &lt;/b&gt; /Where2Party/where2party.Master&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt; 1
            &lt;br /&gt;&lt;br /&gt;

            &lt;hr /&gt;

            &lt;b&gt;Version Information:&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

            &lt;/font&gt;&lt;/p&gt;</description></item><item><title>how to parse a web page?</title><link>http://forums.asp.net/thread/1718044.aspx</link><pubDate>Mon, 21 May 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1718044</guid><dc:creator>test84</dc:creator><description>&lt;p&gt;
Hi!
I wanted to parse a page each day and get some numbers from it, how can i do it in asp.net? is there any controls that speeds up my coding? i heard some ppl use regular expressions, should i use them too? 

thnx in advance.

&lt;/p&gt;</description></item><item><title>Showstopper parser/compilation issue </title><link>http://forums.asp.net/thread/1493237.aspx</link><pubDate>Mon, 11 Dec 2006 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1493237</guid><dc:creator>SWarren</dc:creator><description>&lt;p&gt;I'm seeing an unusual parser/compilation issue with an ASP.NET 2.0 application I need help with.&amp;nbsp; I've deployed a few commercial ASP.NET 2.0 apps already (including one really big one: ~1M visitors/day) but it's the first time I've seen this issue.&amp;nbsp; From my Google searches it appears this question has been &lt;a class="" title="asked before" href="http://forums.asp.net/thread/1379697.aspx" target=_blank&gt;asked before&lt;/a&gt;&amp;nbsp;only once --here on these forums--&amp;nbsp;but not answered.&amp;nbsp; This bug is a showstopper for our current project; we can't deploy because of it.&lt;/p&gt;&lt;font color=blue&gt;
&lt;p&gt;&lt;font color=#0000ff&gt;Once the application gets into the error state, I see one of these two error messages for all pages.&amp;nbsp; &lt;/font&gt;&lt;strong&gt;For simple .ASPX pages&lt;/strong&gt;, the error is: &lt;/p&gt;&lt;/font&gt;
&lt;h3&gt;&lt;font face=Verdana&gt;&lt;i&gt;Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Util.ITypedWebObjectFactory'.&lt;/i&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/h3&gt;
&lt;p&gt;&lt;font color=blue&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Description: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Exception Details: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;System.InvalidCastException: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Util.ITypedWebObjectFactory'.&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Stack Trace:&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;table class=MsoNormalTable style="BACKGROUND:#ffffcc;WIDTH:100%;mso-cellspacing:1.5pt;" cellPadding=0 class="MsoNormalTable"&gt;

&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;"&gt;
&lt;td class="" style="BORDER-RIGHT:#ebe9ed;PADDING-RIGHT:0.75pt;BORDER-TOP:#ebe9ed;PADDING-LEFT:0.75pt;PADDING-BOTTOM:0.75pt;BORDER-LEFT:#ebe9ed;PADDING-TOP:0.75pt;BORDER-BOTTOM:#ebe9ed;BACKGROUND-COLOR:transparent;"&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;[InvalidCastException: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Util.ITypedWebObjectFactory'.]&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +123&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +155&lt;/font&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=blue&gt;For &lt;strong&gt;pages with user controls&lt;/strong&gt;, the issue manifests itself as a nonsense parser error:&lt;/font&gt;&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 12pt;"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Parser Error Message: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;The file 'src' is not a valid here because it doesn't expose a type.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Source Error:&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;table class=MsoNormalTable style="BACKGROUND:#ffffcc;WIDTH:100%;mso-cellspacing:1.5pt;" cellPadding=0 class="MsoNormalTable"&gt;

&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;"&gt;
&lt;td class="" style="BORDER-RIGHT:#ebe9ed;PADDING-RIGHT:0.75pt;BORDER-TOP:#ebe9ed;PADDING-LEFT:0.75pt;PADDING-BOTTOM:0.75pt;BORDER-LEFT:#ebe9ed;PADDING-TOP:0.75pt;BORDER-BOTTOM:#ebe9ed;BACKGROUND-COLOR:transparent;"&gt;&lt;pre&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;Line 1:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Profile.aspx.cs" Inherits="RDWeb.Profile" %&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;Line 2:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:red;"&gt;&lt;font face="Lucida Console"&gt;Line 3:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;%@ Register src="Controls/PostList.ascx" TagName="PostList" TagPrefix="rd" %&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;Line 4:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;%@ Register src="Controls/Expertise.ascx" TagName="Expertise" TagPrefix="rd" %&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9pt;COLOR:black;"&gt;&lt;font face="Lucida Console"&gt;Line 5:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;%@ Register src="Controls/Activities.ascx" TagName="Activities" TagPrefix="rd" %&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;&lt;font color=#0000ff&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 12pt;"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Source File: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;/profile.aspx&lt;/span&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;3 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=MsoNormal style="MARGIN:0in 0in 0pt;TEXT-ALIGN:center;" align=center&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;
&lt;hr align=center /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;p class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Verdana;mso-bidi-font-family:Arial;"&gt;Version Information:&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:Arial;"&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The only way I've found to "reset" the web site is to replace the DLL file in \bin.&amp;nbsp; The usual means of app domain recycling (IISRESET, change web.config) do &lt;u&gt;not&lt;/u&gt; clear this error.&amp;nbsp; Unfortunately the "fix" doesn't last long... the site returns to this state quickly, usually within an hour.&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font color=#0000ff&gt;Can anyone tell me what this issue is, and how to resolve it?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#0000ff&gt;thanks!&lt;br /&gt;Susan&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=#0000ff&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>