
<?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>merill.net &#187; ASP.NET</title>
	<atom:link href="http://merill.net/category/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://merill.net</link>
	<description>My utmost for His highest, my best for His glory</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ASP.NET Tips and Tricks</title>
		<link>http://merill.net/2006/04/aspnet-tips-and-tricks/</link>
		<comments>http://merill.net/2006/04/aspnet-tips-and-tricks/#comments</comments>
		<pubDate>Thu, 06 Apr 2006 12:08:10 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Community]]></category>

		<guid isPermaLink="false">/post/2006/04/ASPNET-Tips-and-Tricks.aspx</guid>
		<description><![CDATA[I hope those of you who came to the .NET User Group meeting yesterday enjoyed my session on Cool ASP.NET Tips and Tricks. As promised the slides and demos can be downloaded from Scott Guthrie&#8217;s&#160;post or you can directly download the file.]]></description>
			<content:encoded><![CDATA[<p>I hope those of you who came to the .NET User Group meeting yesterday enjoyed my session on Cool ASP.NET Tips and Tricks.</p>
<p>As promised the slides and demos can be downloaded from Scott Guthrie&rsquo;s&nbsp;<a href="http://weblogs.asp.net/scottgu/archive/2006/04/03/441787.aspx">post</a> or you can directly <a href="http://www.4shared.com/file/1178022/ed6f1067/tipsandtricks.html">download</a> the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2006/04/aspnet-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IIS Lockdown &amp; .NET</title>
		<link>http://merill.net/2004/04/iis-lockdown-net/</link>
		<comments>http://merill.net/2004/04/iis-lockdown-net/#comments</comments>
		<pubDate>Sat, 10 Apr 2004 08:31:13 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">/post/2004/04/IIS-Lockdown--NET.aspx</guid>
		<description><![CDATA[I recently ran into quite a few problems when the IIS Lockdown tool was applied on one of our production servers. I&#8217;m listing it here so that&#160;I don&#8217;t trip over it again and also end&#160;up helping anyone who comes across the same problem. My scenario is that we have a classic asp application relying on [...]]]></description>
			<content:encoded><![CDATA[<p><P>I recently ran into quite a few problems when the <A href="http://www.microsoft.com/windows2000/downloads/recommended/iislockdown/default.asp">IIS Lockdown</A> tool was applied on one of our production servers. I&#8217;m listing it here so that&nbsp;I don&#8217;t trip over it again and also end&nbsp;up helping anyone who comes across the same problem.</P><br />
<P>My scenario is that we have a classic asp application relying on .NET components which use MSMQ. After applying the lock down tool the asp application worked fine until it called one of the .NET components that sent a message through MSMQ which threw this exeception:</P><br />
<P align=left><FONT face="Courier New">Cannot execute a program. The command being executed was &#8220;c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe&#8221;.</FONT>&nbsp;</P><br />
<P>What I found out was that the XmlSerializer which was used by System.Messaging to send the message created&nbsp;a dynamic class and compiles it on the fly. The problem is that the lockdown tool denies access to all the .exe files in the Windows system folder (and subfolders). This prevents the csc.exe&nbsp;or vbc.exe&nbsp;which is in C:\WINNT\Microsoft.NET\Framework\v1.1.4322&nbsp;from being able to dynamically compile. To fix this I gave the Web Applications group Execute permissions for this file but this threw another exception. </P><br />
<P align=left><FONT face="Courier New">File or assembly name sk-fuua9.dll, or one of its dependencies, was not found.</MESSAGE><STACKTRACE> at System.Reflection.Assembly.nLoad(AssemblyName fileName&#8230;</FONT></P><br />
<P>After spending a couple of hours trying to figure this out, I finally got around to using the excellent <A href="http://www.sysinternals.com/ntw2k/source/filemon.shtml">FileMon</A> tool which highlighted that the cvtres.exe too was used by csc.exe when attempting to compile. So I ended up giving Execute permissions for the cvtres.exe file for the Web Applications group and wallah problem solved!</P><br />
<P>The Microsoft KB recommends creating an seperate user and impersonating it in the application. But I feel that going&nbsp;this route makes it more secure since the default groups created by the lock down tool revokes most of the rights, which is not the case when you create your own user.</P></p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2004/04/iis-lockdown-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Book on ASP.NET</title>
		<link>http://merill.net/2003/10/free-book-on-aspnet/</link>
		<comments>http://merill.net/2003/10/free-book-on-aspnet/#comments</comments>
		<pubDate>Wed, 08 Oct 2003 23:13:23 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">/post/2003/10/Free-Book-on-ASPNET.aspx</guid>
		<description><![CDATA[Charles Carrol of LearnASP has released a free book on ASP.NET. This is a really good starting place for anyone learning the ropes. I can remember when I frequently visited LearnASP.com for the quick tutorials when I first started working on ASP at Lanka Online in &#8217;99.]]></description>
			<content:encoded><![CDATA[<p><body xmlns="http://www.w3.org/1999/xhtml"></p>
<p>
        Charles Carrol of <a href="http://www.learnasp.com">LearnASP</a> has released a <a href="http://www.learnasp.com/freebook/learn/index.aspx">free<br />
        book</a> on ASP.NET. This is a really good starting place for anyone learning the<br />
        ropes.
    </p>
<p>
        I can remember when I frequently visited LearnASP.com for the quick tutorials when<br />
        I first started working on ASP at <a href="http://www.lanka.com">Lanka Online</a> in<br />
        &#8217;99.
    </p>
<p></body></p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2003/10/free-book-on-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET 2.0 Will Create History</title>
		<link>http://merill.net/2003/10/aspnet-20-will-create-history/</link>
		<comments>http://merill.net/2003/10/aspnet-20-will-create-history/#comments</comments>
		<pubDate>Thu, 02 Oct 2003 22:50:54 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">/post/2003/10/ASPNET-20-Will-Create-History.aspx</guid>
		<description><![CDATA[I have a feeling that ASP .NET 2.0 is going to be truly revolutionary. Just take a look at the table of contents for this book. Microsoft will be releasing an Alpha version this month at their PDC conference. Just&#160;imagine: DataGrids without any code for sorting, paging. Project-less development in VS.NET Visual Inheritance in ASP.NET [...]]]></description>
			<content:encoded><![CDATA[<p><body xmlns="http://www.w3.org/1999/xhtml"></p>
<p>
        I have a feeling that ASP .NET 2.0 is going to be truly revolutionary. Just take a<br />
        look at the table of contents for this <a href="http://www.daveandal.net/books/8960/8960-intro-toc.htm">book</a>.
    </p>
<p>
        Microsoft will be releasing an Alpha version this month at their <a href="http://msdn.microsoft.com/events/pdc/">PDC<br />
        conference</a>.
    </p>
<p>
        Just&#160;imagine:
    </p>
<ul>
<li>
            DataGrids without any code for sorting, paging.
        </li>
<li>
            Project-less development in VS.NET
        </li>
<li>
            <span lang="EN-GB">Visual Inheritance in ASP.NET</span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB">Pre-compilation of applications</span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">Code-Free Data Binding</span></span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">The GridView<br />
            Control</span></span></span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">Master<br />
            Pages and Site Navigation</span></span></span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">Security<br />
            Server Controls</span></span></span></span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">Password<br />
            Recovery Control </span></span></span></span></span></span>
        </li>
<li>
            <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">Role<br />
            Manager</span></span></span></span></span></span></span>
        </li>
</ul>
<p>
        <span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB"><span lang="EN-GB">The<br />
        list goes on&#8230; I can&#8217;t wait to get my hands on this stuff!</span></span></span></span></span></span></span>
    </p>
<p></body></p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2003/10/aspnet-20-will-create-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Virtual Directory</title>
		<link>http://merill.net/2003/08/creating-a-virtual-directory/</link>
		<comments>http://merill.net/2003/08/creating-a-virtual-directory/#comments</comments>
		<pubDate>Tue, 19 Aug 2003 22:58:01 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">/post/2003/08/Creating-a-Virtual-Directory.aspx</guid>
		<description><![CDATA[I always wondered what the differences were between creating virtual directory using the IIS and through Windows Explorer (Web Sharing). I found out today after spending over an hour trying to figure out why I was getting this error when calling my web service from a windows client: WebException: The request failed with HTTP status [...]]]></description>
			<content:encoded><![CDATA[<p><body xmlns="http://www.w3.org/1999/xhtml"></p>
<p>
        I always wondered what the differences were between creating virtual directory using<br />
        the IIS and through Windows Explorer (Web Sharing).
    </p>
<p>
        I found out today after spending over an hour trying to figure out why I was getting<br />
        this error when calling my web service from a windows client: <em>WebException: The<br />
        request failed with HTTP status 401: Unauthorized</em>
    </p>
<p>
        The reason is that when you create a Virtual Directory through IIS the default permission<br />
        for the directory is Anonymous but when using Windows Explorer the default permission<br />
        is set to Integrated Window Authentication.
    </p>
<p></body></p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2003/08/creating-a-virtual-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET StackOverflowException</title>
		<link>http://merill.net/2003/07/aspnet-stackoverflowexception/</link>
		<comments>http://merill.net/2003/07/aspnet-stackoverflowexception/#comments</comments>
		<pubDate>Thu, 24 Jul 2003 21:00:56 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">/post/2003/07/ASPNET-StackOverflowException.aspx</guid>
		<description><![CDATA[What do you do when&#160;ASP.NET throws an exception like this? Exception of type System.StackOverflowException was thrown. Description: 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. Exception Details: System.StackOverflowException: Exception of type System.StackOverflowException was [...]]]></description>
			<content:encoded><![CDATA[<p><body xmlns="http://www.w3.org/1999/xhtml"></p>
<p>
        What do you do when&#160;ASP.NET throws an exception like this?
    </p>
<h2><i>Exception of type System.StackOverflowException was thrown.</i><br />
    </h2>
<p>
        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>An<br />
        unhandled exception occurred during the execution of the current web request. Please<br />
        review the stack trace for more information about the error and where it originated<br />
        in the code. </p>
<p>        <b>Exception Details: </b>System.StackOverflowException: Exception of type System.StackOverflowException<br />
        was thrown.</p>
<p>        <b>Source Error:</b> </p>
<table width="90%" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
                        <code>An unhandled exception was generated during the execution of the current web<br />
                        request. Information regarding the origin and location of the exception can be identified<br />
                        using the exception stack trace below.</code>
                    </td>
</tr>
</tbody>
</table>
<p>
        <b><font face="Verdana">Stack Trace:</font></b> </p>
<table width="90%" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
                        [StackOverflowException: Exception of type System.StackOverflowException was thrown.]
                        </td>
</tr>
</tbody>
</table>
<p>
        </font>
    </p>
<hr width="90%" color="silver" size="1" />
<p>
        <b><font face="Verdana">Version Information:</font></b>&#160;Microsoft .NET Framework<br />
        Version:1.1.4322.573; ASP.NET Version:1.1.4322.573<br />
        <!--<br />
[StackOverflowException]: Exception of type System.StackOverflowException was thrown.<br />
[HttpUnhandledException]: Exception of type System.Web.HttpUnhandledException was thrown.<br />
   at System.Web.UI.Page.HandleError(Exception e)<br />
   at System.Web.UI.Page.ProcessRequestMain()<br />
   at System.Web.UI.Page.ProcessRequest()<br />
   at System.Web.UI.Page.ProcessRequest(HttpContext context)<br />
   at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()<br />
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&#038; completedSynchronously)<br />
-->
    </p>
<p></body></p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2003/07/aspnet-stackoverflowexception/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

