<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>elorg.net &#187; .NET</title>
	<atom:link href="http://www.elorg.net/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elorg.net</link>
	<description>Ramblings and other miscellany.</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ASP Parser Error</title>
		<link>http://www.elorg.net/2010/05/asp-parser-error/</link>
		<comments>http://www.elorg.net/2010/05/asp-parser-error/#comments</comments>
		<pubDate>Fri, 07 May 2010 19:17:56 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=531</guid>
		<description><![CDATA[More &#8220;dreaded&#8221; errors in SharePoint. We started receiving the this fun error when loading one of our portals: Server Error in &#8216;/&#8217; Application. Runtime Error Description: An application error occurred on the server.[...] We hadn&#8217;t recently patched, or performed any updates except for increasing the max allowed upload file size and timeouts (a client needed [...]]]></description>
			<content:encoded><![CDATA[<p>More &#8220;dreaded&#8221; errors in SharePoint. We started receiving the this fun error when loading one of our portals:</p>
<blockquote><p>Server Error in &#8216;/&#8217; Application.<br />
Runtime Error<br />
Description: An application error occurred on the server.[...]</p></blockquote>
<p><span id="more-531"></span></p>
<p>We hadn&#8217;t recently patched, or performed any updates except for increasing the max allowed upload file size and timeouts (a client needed to upload LARGE files).  The server application logs revealed something slightly more useful:</p>
<blockquote><p>Event Type:	Warning<br />
Event Source:	ASP.NET 2.0.50727.0<br />
Event Category:	Web Event<br />
Event ID:	1310<br />
Date:		5/6/2010<br />
Time:		4:50:11 PM<br />
User:		N/A<br />
Computer:	ServerName<br />
Description:<br />
Event code: 3006<br />
Event message: A parser error has occurred.<br />
Event time: 5/6/2010 4:50:11 PM<br />
Event time (UTC): 5/6/2010 8:50:11 PM<br />
Event ID: 57cbaa6a1f804cb2aefe80de4ceec102<br />
Event sequence: 5<br />
Event occurrence: 1<br />
Event detail code: 0</p>
<p>Application information:<br />
Application domain: /LM/W3SVC/1965610693/Root-1-129176526056583668<br />
Trust level: WSS_Minimal<br />
Application Virtual Path: /<br />
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\foldername443\<br />
Machine name: ServerName</p>
<p>Process information:<br />
Process ID: 1944<br />
Process name: w3wp.exe<br />
Account name: NT AUTHORITY\NETWORK SERVICE</p>
<p>Exception information:<br />
Exception type: HttpParseException<br />
Exception message: Could not load file or assembly &#8216;System?Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#8217; or one of its dependencies. The system cannot find the file specified. (C:\Inetpub\wwwroot\wss\VirtualDirectories\foldername443\web.config line 106)</p></blockquote>
<p>Now, the web.config wasn&#8217;t manually edited by anyone, but the modified date matched the date &amp; time when this problem started as well as the beginning of these ASP.NET errors.  All the evidence seemed to point to what I can only assume was caused by a hiccup when the settings were being saved from IIS &#8211; that corrupted the web.config.</p>
<p>I found 4 or 5 randomly placed &#8220;?&#8221; in the web.config.  I couldn&#8217;t just remove the question marks because they appeared to have replaced characters in the file instead of being inserted.  I didn&#8217;t have a backup, but we did have multiple AAMs for this portal and I was able to look at another web.config.  This gave me a better idea of what characters should have been in the file wherever I wasn&#8217;t able to make a good educated guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2010/05/asp-parser-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ajax CalendarExtender Cropping Off Days</title>
		<link>http://www.elorg.net/2009/08/ajax-calendarextender-cropping-off-days/</link>
		<comments>http://www.elorg.net/2009/08/ajax-calendarextender-cropping-off-days/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 16:26:20 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=427</guid>
		<description><![CDATA[I&#8217;m currently working on a project to extend SharePoint&#8217;s capabilities with some C# .NET stuff. This is been quite the learning experience for me, since I&#8217;m not a developer or programmer by any stretch of the terms. The latest oddity that I&#8217;ve run into is with the CalendarExtender. It&#8217;s supposed to look like this: However, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on a project to extend SharePoint&#8217;s capabilities with some C# .NET stuff.  This is been quite the learning experience for me, since I&#8217;m not a developer or programmer by any stretch of the terms.</p>
<p>The latest oddity that I&#8217;ve run into is with the CalendarExtender. It&#8217;s supposed to look like this:<br />
<img src="http://www.elorg.net/wp/wp-content/uploads/2009/08/goodcalendarextender.png" alt="goodcalendarextender" title="goodcalendarextender" width="180" height="211" class="aligncenter size-full wp-image-428" /></p>
<p>However, at some point it started looking like this:<br />
<img src="http://www.elorg.net/wp/wp-content/uploads/2009/08/croppedcalendarextender.png" alt="croppedcalendarextender" title="croppedcalendarextender" width="180" height="210" class="aligncenter size-full wp-image-431" /><br />
<span id="more-427"></span><br />
Apparently some people aren&#8217;t so lucky as to have the calendar cells cutoff mid-cell. That behavior was my first clue.  Also, this strange display was only happening in the GridViews.  This is not something programmatic with the CalendarExtender settings &#8211; it&#8217;s caused by the CSS. At some point I had set padding and margin on the tables and cells to make the content more readable which cascaded down to the calendar.</p>
<p>This issue is <a href="http://forums.asp.net/t/1147646.aspx">discussed a bit here</a>, and the solutions may work for you. They didn&#8217;t quite work for me.</p>
<p>A cleaner summary of the issue and a simple solution <a href="http://tonesdotnetblog.wordpress.com/2007/08/28/ajax-calendarextender-control-clipping-my-calendar/">can be found here</a> as well.</p>
<p>If neither of those quite do the trick, <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/samples/Calendar/Calendar.aspx">this is the full description</a> of everything you should need to know about the CSS for the CalendarExtender.</p>
<p>Happy Hunting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/08/ajax-calendarextender-cropping-off-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET v2.0 Not Appearing in IIS</title>
		<link>http://www.elorg.net/2009/02/aspnet-v20-not-appearing-in-iis/</link>
		<comments>http://www.elorg.net/2009/02/aspnet-v20-not-appearing-in-iis/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 17:56:39 +0000</pubDate>
		<dc:creator>elorg</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://www.elorg.net/?p=212</guid>
		<description><![CDATA[Lately I&#8217;ve started performing more server builds with MOSS 2007 installs and I&#8217;ve noticed a trend. SharePoint requires the ASP.NET v2.0 to be registered in the IIS Web Service Extensions and set to &#8220;Allowed.&#8221; If this is not the case, the SharePoint installation will error out &#8211; simple as that. It seems pretty common to [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve started performing more server builds with MOSS 2007 installs and I&#8217;ve noticed a trend.</p>
<p>SharePoint requires the ASP.NET v2.0 to be registered in the IIS Web Service Extensions and set to &#8220;Allowed.&#8221;  If this is not the case, the SharePoint installation will error out &#8211; simple as that.  It seems pretty common to find .NET 2.0 installed but not displaying in IIS.  I&#8217;ve found the solution a number of times over across the &#8216;net (quick and easy!) but not the answer to &#8220;why did this happen on this server but not the other?&#8221;<span id="more-212"></span></p>
<p>I haven&#8217;t narrowed it down to the <em>exact</em> particulars of the situation that causes it. I <strong>have</strong> noticed though that if you decide to be proactive during your server build (in my case Windows Server 2003) and allow Windows/Microsoft Update to install the .NET framework before you add the IIS/App server role, you&#8217;ll run into this.</p>
<p>I haven&#8217;t had a chance to do thorough enough testing to be sure if it&#8217;s the Windows/Microsoft Update method of installation that causes this (probably not), or if it&#8217;s installing it before adding it as an IIS Application server (most likely), or the combination of the two. Too avoid having to fix the issue, I&#8217;ve just started patching/updating the server, adding the server role, then manually installing the redistributable installation for the .NET framework.  If you use this method, ASP.NET v2.0 automatically registers itself as an IIS Web Server Extension and you&#8217;re ready for the SharePoint installation. Otherwise, you&#8217;ll need to manually register it using this command:</p>
<p><code>%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i</code></p>
<p><a href="http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx">More details on the aspnet_regiis command here</a>.</p>
<p>After that, you can navigate to: Start &gt; All Programs &gt; Administrative Tools &gt; IIS Manager</p>
<p>Expand the server name if needed, and select the &#8220;Web Service Extensions&#8221; note.  You should now see ASP.NET v.2x and have the ability to select it and click &#8220;Allow&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elorg.net/2009/02/aspnet-v20-not-appearing-in-iis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
