<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Damien McGivern</title>
    <link>http://mcgiv.com/blog/</link>
    <description>[Something Witty]</description>
    <language>en-gb</language>
    <copyright>Damien McGivern</copyright>
    <lastBuildDate>Wed, 03 Aug 2005 16:34:29 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>damien@mcgiv.com</managingEditor>
    <webMaster>damien@mcgiv.com</webMaster>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=cc09f1b6-6298-4551-8fc8-794c72455f81</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,cc09f1b6-6298-4551-8fc8-794c72455f81.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,cc09f1b6-6298-4551-8fc8-794c72455f81.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=cc09f1b6-6298-4551-8fc8-794c72455f81</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I came across this very strange error today while working with the <a href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=295a464a-6072-4e25-94e2-91be63527327">Enterprise
Library</a><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/security1.asp">Security
Block</a> on an ASP.Net application:
</p>
        <p>
          <font color="#ff0000">System.Data.SqlClient.SqlException: Cannot initialize SSPI package.</font>
        </p>
        <p>
I'd never come across this error before and was a bit confused as everything seemed
OK on the SQL server and the permissions were set correctly (as far as I could make
out at lease)
</p>
        <p>
After a bit of searching I found the KB <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253577">http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253577</a> which
states that cause for this error is that you have a custom application dynamic-link
library (DLL) file that is named Security.dll - which is exactly the name of my dll. 
</p>
        <p>
So I renamed the dll but got the same error when I ran the app again - only to realise
that the rebuild still left the old Security.dll in the bin directory, after deleting
the dll everything worked fine.
</p>
        <p>
 
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=cc09f1b6-6298-4551-8fc8-794c72455f81" />
      </body>
      <title>System.Data.SqlClient.SqlException: Cannot initialize SSPI package. </title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,cc09f1b6-6298-4551-8fc8-794c72455f81.aspx</guid>
      <link>http://mcgiv.com/blog/2005/08/03/SystemDataSqlClientSqlException+Cannot+Initialize+SSPI+Package.aspx</link>
      <pubDate>Wed, 03 Aug 2005 16:34:29 GMT</pubDate>
      <description>&lt;p&gt;
I came across this very strange error today while working with the &lt;a href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=295a464a-6072-4e25-94e2-91be63527327"&gt;Enterprise
Library&lt;/a&gt; &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/security1.asp"&gt;Security
Block&lt;/a&gt; on an ASP.Net application:
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#ff0000&gt;System.Data.SqlClient.SqlException: Cannot initialize SSPI package.&lt;/font&gt; 
&lt;/p&gt;
&lt;p&gt;
I'd never come across this error before and was a bit confused as everything seemed
OK on the SQL server and the permissions were set correctly (as far as I could make
out at lease)
&lt;/p&gt;
&lt;p&gt;
After a bit of searching I found the KB &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253577"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;q253577&lt;/a&gt;&amp;nbsp;which
states that cause for this error is that you have a custom application dynamic-link
library (DLL) file that is named Security.dll - which is exactly the name of my dll. 
&lt;/p&gt;
&lt;p&gt;
So I renamed the dll but got the same error when I ran the app again - only to realise
that the rebuild still left the old Security.dll in the bin directory, after deleting
the dll everything worked fine.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=cc09f1b6-6298-4551-8fc8-794c72455f81" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,cc09f1b6-6298-4551-8fc8-794c72455f81.aspx</comments>
      <category>ASP.Net;SQL</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=8047ae11-a7b0-4ee0-a1b8-14131ac170fa</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,8047ae11-a7b0-4ee0-a1b8-14131ac170fa.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,8047ae11-a7b0-4ee0-a1b8-14131ac170fa.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8047ae11-a7b0-4ee0-a1b8-14131ac170fa</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Here's a few photos from last nights NIMTUG meeting. Sam Gentile gave a talk
on eXtreme.Net and stayed behind afterwards answering questions. We had a turnout
of 45 which is our best so far.
</p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new 029.jpg" border="0" />
        </p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new%20028.jpg" border="0" />
        </p>
        <p>
A good turn out :)
</p>
        <p>
 
</p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new 030.jpg" border="0" />
        </p>
        <p>
Myself (left) and Sam
</p>
        <p>
 
</p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new 031.jpg" border="0" />
        </p>
        <p>
Garth McFarland: one of the lucky winners of the meetings draw. Garth's prize was <a href="http://www.microsoft.com/mspress/books/5957.asp">Writing
Secure Code</a> and a USB mobile phone charger.
</p>
        <p>
 
</p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new 033.jpg" border="0" />
        </p>
        <p>
          <img src="http://mcgiv.com/blog/content/binary/new 032.jpg" border="0" />
        </p>
        <p>
The reception after the talk
</p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=8047ae11-a7b0-4ee0-a1b8-14131ac170fa" />
      </body>
      <title>NIMTUG June Meeting Photos</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,8047ae11-a7b0-4ee0-a1b8-14131ac170fa.aspx</guid>
      <link>http://mcgiv.com/blog/2005/07/26/NIMTUG+June+Meeting+Photos.aspx</link>
      <pubDate>Tue, 26 Jul 2005 20:23:29 GMT</pubDate>
      <description>&lt;p&gt;
Here's&amp;nbsp;a few photos from last nights NIMTUG meeting. Sam Gentile gave a talk
on eXtreme.Net and stayed behind afterwards answering questions. We had a turnout
of 45 which is our best so far.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new 029.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new%20028.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
A good turn out :)
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new 030.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
Myself (left) and Sam
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new 031.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
Garth McFarland: one of the lucky winners of the meetings draw. Garth's prize was &lt;a href="http://www.microsoft.com/mspress/books/5957.asp"&gt;Writing
Secure Code&lt;/a&gt; and a USB mobile phone charger.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new 033.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/new 032.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
The reception after the talk
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=8047ae11-a7b0-4ee0-a1b8-14131ac170fa" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,8047ae11-a7b0-4ee0-a1b8-14131ac170fa.aspx</comments>
      <category>NIMTUG</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=c1fe6173-3579-484b-acf5-dc0be29c8e8b</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,c1fe6173-3579-484b-acf5-dc0be29c8e8b.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,c1fe6173-3579-484b-acf5-dc0be29c8e8b.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=c1fe6173-3579-484b-acf5-dc0be29c8e8b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
At next months <a href="http://nimtug.org">NIMTUG</a> meeting <a href="http://benjaminm.net/">Benjamin
Mitchell</a> will be talking about <a href="http://lab.msdn.microsoft.com/vs2005/">Visual
Studio 2005</a> and <a href="http://msdn.microsoft.com/netframework/">.NET 2.0</a>.
The talk will be in <a href="http://maps.google.com/maps?q=BT7+1HL&amp;spn=0.017483,0.041757&amp;hl=en">Dukes
Hotel</a> from 19:30 - 21:30 on Monday 22nd August 2005.
</p>
        <p>
Talk Summary: <em>This talk with be an A-Z of tips and tricks that will save you time
and make development easier with Visual Studio 2005 and .NET 2.0. We’ll cover how
to deal with common real-life hurdles, and how to effectively utilize the .NET Framework
and Visual Studio, by presenting a set of tools, tips, tricks, <a href="http://msdn.microsoft.com/practices/">best
practices</a>, utilities and ideas that can enhance your productivity significantly.
We’ll tour the new features of the Visual Studio 2005 editor for both VB 2005, such
as the new Visual Basic lightweight application model for client applications, the <a href="http://msdn.microsoft.com/msdnmag/issues/05/07/My/default.aspx">My
namespace</a>, Data, Settings and Resources, as well as <a href="http://www.refactoring.com/">refactoring</a>, <a href="http://msdn.microsoft.com/library/en-us/vsintro7/html/vcovrAutomaticStatementCompletion.asp">IntelliSense</a> improvements,
Code Snippets and enhanced navigation.</em></p>
        <p>
          <a href="http://www.niimtug.org/22-august-2005.aspx">Register for the talk (free)
or find out more information about the talk </a>
        </p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=c1fe6173-3579-484b-acf5-dc0be29c8e8b" />
      </body>
      <title>NIMTUG - August 2005 - Benjamin Mitchell - Visual Studio 2005 and .NET 2.0 </title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,c1fe6173-3579-484b-acf5-dc0be29c8e8b.aspx</guid>
      <link>http://mcgiv.com/blog/2005/07/20/NIMTUG+August+2005+Benjamin+Mitchell+Visual+Studio+2005+And+NET+20.aspx</link>
      <pubDate>Wed, 20 Jul 2005 23:47:30 GMT</pubDate>
      <description>&lt;p&gt;
At next months &lt;a href="http://nimtug.org"&gt;NIMTUG&lt;/a&gt; meeting&amp;nbsp;&lt;a href="http://benjaminm.net/"&gt;Benjamin
Mitchell&lt;/a&gt; will be talking about &lt;a href="http://lab.msdn.microsoft.com/vs2005/"&gt;Visual
Studio 2005&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/netframework/"&gt;.NET 2.0&lt;/a&gt;.
The talk will be in &lt;a href="http://maps.google.com/maps?q=BT7+1HL&amp;amp;spn=0.017483,0.041757&amp;amp;hl=en"&gt;Dukes
Hotel&lt;/a&gt;&amp;nbsp;from 19:30 - 21:30 on Monday 22nd August 2005.
&lt;/p&gt;
&lt;p&gt;
Talk Summary: &lt;em&gt;This talk with be an A-Z of tips and tricks that will save you time
and make development easier with Visual Studio 2005 and .NET 2.0. We’ll cover how
to deal with common real-life hurdles, and how to effectively utilize the .NET Framework
and Visual Studio, by presenting a set of tools, tips, tricks, &lt;a href="http://msdn.microsoft.com/practices/"&gt;best
practices&lt;/a&gt;, utilities and ideas that can enhance your productivity significantly.
We’ll tour the new features of the Visual Studio 2005 editor for both VB 2005, such
as the new Visual Basic lightweight application model for client applications, the &lt;a href="http://msdn.microsoft.com/msdnmag/issues/05/07/My/default.aspx"&gt;My
namespace&lt;/a&gt;, Data, Settings and Resources, as well as &lt;a href="http://www.refactoring.com/"&gt;refactoring&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/library/en-us/vsintro7/html/vcovrAutomaticStatementCompletion.asp"&gt;IntelliSense&lt;/a&gt; improvements,
Code Snippets and enhanced navigation.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.niimtug.org/22-august-2005.aspx"&gt;Register for the talk (free)
or find out more information about the talk &lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=c1fe6173-3579-484b-acf5-dc0be29c8e8b" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,c1fe6173-3579-484b-acf5-dc0be29c8e8b.aspx</comments>
      <category>NIMTUG</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://samgentile.com/blog/">Sam Gentile</a> is in town and will be giving
a talk on <a href="http://en.wikipedia.org/wiki/Extreme_programming">Extreme Programming</a> in
.Net to <a href="http://nimtug.org">NIMTUG</a> members on Monday 25th July at
the Dukes Hotel, Belfast.
</p>
        <p>
Talk Summary: <em>Extreme programming practices such as <a href="http://www.refactoring.com/">Refactoring</a>, <a href="http://www.extremeprogramming.org/rules/unittests.html">Unit
Testing</a>, and <a href="http://www.extremeprogramming.org/rules/integrateoften.html">Continuous
Integration</a> have now become mainstream. This code-intensive session shows you
to how to use XP practices with <a href="http://msdn.microsoft.com/vstudio/">VS.NET
2003</a> and tools such as RefactorIt!, <a href="http://www.nunit.org/">Nunit</a>, <a href="http://www.nant.org/">NAnt</a>,
and <a href="http://confluence.public.thoughtworks.org/display/CCNET">CruiseControl.NET</a>.
We'll develop some code and use the tools to create unit tests, refactor, and automate
the build.</em></p>
        <p>
For more <a href="http://nimtug.org/25-july-2005.aspx">information and to register
for the talk (free) check out the NIMTUG site</a></p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0" />
      </body>
      <title>NIMTUG - Sam Gentile - Extreme Programming in .Net</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0.aspx</guid>
      <link>http://mcgiv.com/blog/2005/07/20/NIMTUG+Sam+Gentile+Extreme+Programming+In+Net.aspx</link>
      <pubDate>Wed, 20 Jul 2005 23:28:03 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://samgentile.com/blog/"&gt;Sam Gentile&lt;/a&gt; is in town and will be giving
a talk on &lt;a href="http://en.wikipedia.org/wiki/Extreme_programming"&gt;Extreme Programming&lt;/a&gt; in
.Net to &lt;a href="http://nimtug.org"&gt;NIMTUG&lt;/a&gt;&amp;nbsp;members on Monday 25th July at
the Dukes Hotel, Belfast.
&lt;/p&gt;
&lt;p&gt;
Talk Summary: &lt;em&gt;Extreme programming practices such as &lt;a href="http://www.refactoring.com/"&gt;Refactoring&lt;/a&gt;, &lt;a href="http://www.extremeprogramming.org/rules/unittests.html"&gt;Unit
Testing&lt;/a&gt;, and &lt;a href="http://www.extremeprogramming.org/rules/integrateoften.html"&gt;Continuous
Integration&lt;/a&gt; have now become mainstream. This code-intensive session shows you
to how to use XP practices with &lt;a href="http://msdn.microsoft.com/vstudio/"&gt;VS.NET
2003&lt;/a&gt; and tools such as RefactorIt!, &lt;a href="http://www.nunit.org/"&gt;Nunit&lt;/a&gt;, &lt;a href="http://www.nant.org/"&gt;NAnt&lt;/a&gt;,
and &lt;a href="http://confluence.public.thoughtworks.org/display/CCNET"&gt;CruiseControl.NET&lt;/a&gt;.
We'll develop some code and use the tools to create unit tests, refactor, and automate
the build.&lt;/em&gt; 
&lt;/p&gt;
&lt;p&gt;
For more &lt;a href="http://nimtug.org/25-july-2005.aspx"&gt;information and to register
for the talk (free) check out the NIMTUG site&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,5b8b7ab4-09e9-4c23-ae55-a526bf8e11d0.aspx</comments>
      <category>NIMTUG</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=9412e2e8-c430-4a1b-bfa9-bb1574b22d32</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,9412e2e8-c430-4a1b-bfa9-bb1574b22d32.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,9412e2e8-c430-4a1b-bfa9-bb1574b22d32.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9412e2e8-c430-4a1b-bfa9-bb1574b22d32</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Reading Assembly Embedded Resource Files - GetManifestResourceStream</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,9412e2e8-c430-4a1b-bfa9-bb1574b22d32.aspx</guid>
      <link>http://mcgiv.com/blog/2005/06/16/Reading+Assembly+Embedded+Resource+Files+GetManifestResourceStream.aspx</link>
      <pubDate>Thu, 16 Jun 2005 00:53:00 GMT</pubDate>
      <description>&lt;p&gt;
I was finally getting some time to update my AJAX library but hit a snag when attempting
to read an embedded resource file. I was using the following test code:
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;private&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;string&lt;/span&gt; GetResourceText(&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;string&lt;/span&gt; filename)&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;using&lt;/span&gt;(Stream
stream &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; Assembly.GetCallingAssembly().GetManifestResourceStream(filename))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;if&lt;/span&gt;(stream
== &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;null&lt;/span&gt;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;throw&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;new&lt;/span&gt; HttpException(404, &lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"File
Not found"&lt;/span&gt;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;using&lt;/span&gt;(StreamReader
sr &lt;span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;=&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;new&lt;/span&gt; StreamReader(stream)
)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;return&lt;/span&gt; sr.ReadToEnd();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;
}&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;I
was passing in the name of the file ('ajax.js') which was located in the 'JS' folder
within the project but I got a 404 error so assumed that the assembly had renamed
the resource 'JS\ajax.js' within the manifest so I tried that but got the same error.
It turns out that embedded resource files are arranged within namespaces and it uses
the default namespace of the project as the base namespace, which in this case was
'&lt;st1:City w:st="on"&gt;
&lt;st1:place w:st="on"&gt;Ajax&lt;/st1:place&gt;
&lt;/st1:City&gt;
' so the correct filename was 'Ajax.JS.ajax.js'. You can check and change the default
namespace in the project properties under Common Properties &amp;gt; General &amp;gt; Default
Namespace in C#&amp;nbsp;or Root Namespace in VB.Net.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;As for the AJAX
library I've vastly improved the performance and added some new features, I'll post
an update once I've finished testing.&lt;/span&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;
&lt;/p&gt;
&gt;&gt;&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=9412e2e8-c430-4a1b-bfa9-bb1574b22d32" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,9412e2e8-c430-4a1b-bfa9-bb1574b22d32.aspx</comments>
      <category>AJAX;C#</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=61b59a22-0620-4ce8-b032-bf6100f1e6f7</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,61b59a22-0620-4ce8-b032-bf6100f1e6f7.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,61b59a22-0620-4ce8-b032-bf6100f1e6f7.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=61b59a22-0620-4ce8-b032-bf6100f1e6f7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I had to reinstall SQL Server 2000 on my Windows XP Dev machine - but I had
a few problems.
</p>
        <p>
On my first couple of attempts setup would hang with the message "setup is starting
the server and installing your chosen configuration". I left if on this screen for
about 30 minutes the first time and ended up having to kill the process and the second
time around after a reboot I gave it 5 minutes before killing it again.
</p>
        <p>
After <span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">goggling my</span> problem
I found this KB <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;290991&amp;Product=sql2k#4">http://support.microsoft.com/default.aspx?scid=kb;en-us;290991&amp;Product=sql2k#4</a>.
After another restart I followed it's instructions but during <span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">installation </span>I
was informed that my installation had failed and to check the <strong>C:\WINDOWS\sqlstp.log
log</strong> file. It was only when I looked through the log that I realised my mistake.
Instead of deleting the contents of <strong>C:\WINDOWS\TEMP</strong>  I'd deleted
the contents of <strong>C:\Documents and Settings\Damien\Local Settings\Temp</strong> as I'd typed <strong>%TEMP%</strong> when
navigating to it. After another reboot I then following the KB's instructions
again, properly this time, and the installation worked.
</p>
        <p>
I'm not sure why this problem <span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">occurred </span>in
the first place as SQL Server had been uninstalled successfully before the reinstall
- another little Windows <span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA">mystery</span>.
</p>
        <p>
 
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=61b59a22-0620-4ce8-b032-bf6100f1e6f7" />
      </body>
      <title>Reinstalling MS SQL Server 2000</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,61b59a22-0620-4ce8-b032-bf6100f1e6f7.aspx</guid>
      <link>http://mcgiv.com/blog/2005/06/07/Reinstalling+MS+SQL+Server+2000.aspx</link>
      <pubDate>Tue, 07 Jun 2005 14:20:56 GMT</pubDate>
      <description>&lt;p&gt;
Today I had to reinstall SQL Server 2000 on my Windows XP Dev machine - but I had
a few problems.
&lt;/p&gt;
&lt;p&gt;
On my first couple of attempts setup would hang with the message "setup is starting
the server and installing your chosen configuration". I left if on this screen for
about 30 minutes the first time and ended up having to kill the process and the second
time around after a reboot I gave it&amp;nbsp;5 minutes before killing it again.
&lt;/p&gt;
&lt;p&gt;
After &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"&gt;goggling&amp;nbsp;my&lt;/span&gt; problem
I found this KB &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;290991&amp;amp;Product=sql2k#4"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;290991&amp;amp;Product=sql2k#4&lt;/a&gt;.
After another restart I followed it's instructions but during &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"&gt;installation &lt;/span&gt;I
was informed that my installation had failed and to check the &lt;strong&gt;C:\WINDOWS\sqlstp.log
log&lt;/strong&gt; file. It was only when I looked through the log that I realised my mistake.
Instead of deleting the contents of &lt;strong&gt;C:\WINDOWS\TEMP&lt;/strong&gt;&amp;nbsp; I'd deleted
the&amp;nbsp;contents of &lt;strong&gt;C:\Documents and Settings\Damien\Local Settings\Temp&lt;/strong&gt;&amp;nbsp;as&amp;nbsp;I'd&amp;nbsp;typed &lt;strong&gt;%TEMP%&lt;/strong&gt; when
navigating to it. After another reboot I then&amp;nbsp;following the KB's instructions
again, properly this time, and the installation worked.
&lt;/p&gt;
&lt;p&gt;
I'm not sure why this problem &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"&gt;occurred &lt;/span&gt;in
the first place as SQL Server had been uninstalled successfully before the reinstall
- another little Windows &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: ZH-TW; mso-bidi-language: AR-SA"&gt;mystery&lt;/span&gt;.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=61b59a22-0620-4ce8-b032-bf6100f1e6f7" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,61b59a22-0620-4ce8-b032-bf6100f1e6f7.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4</wfw:commentRss>
      <title>NIMTUG June Meeting - Paul Fallon talking about Indigo</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4.aspx</guid>
      <link>http://mcgiv.com/blog/2005/06/05/NIMTUG+June+Meeting+Paul+Fallon+Talking+About+Indigo.aspx</link>
      <pubDate>Sun, 05 Jun 2005 00:09:25 GMT</pubDate>
      <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://nimtug.org"&gt;&lt;img src="http://mcgiv.com/blog/content/binary/round_logo.jpg" border=0&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;a href="http://www.paulfallon.com/"&gt;Paul
Fallon&lt;/a&gt; will be giving a talk on &lt;a href="http://www.microsoft.com/indonesia/msdn/indigofaq1.asp"&gt;Idigo &lt;/a&gt;at
the next &lt;a href="http://nimtug.org/"&gt;NIMTUG &lt;/a&gt;meeting (Monday 20th June). For more
information and to register for the talk visit &lt;a href="http://nimtug.org/20-june-2005.aspx"&gt;http://nimtug.org/20-june-2005.aspx&lt;/a&gt;.
If you're not a member you'll have to &lt;a href="http://nimtug.org/join.aspx"&gt;join &lt;/a&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;first
before registering for the talk. Membership and registration for the talks are free
&amp;amp; there's usually a social gathering after the talk with some food &amp;amp; drink.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,9ea2aa82-3cbd-4a60-af54-7ed698d1e0f4.aspx</comments>
      <category>NIMTUG</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=5bd1ccad-d827-421e-821a-17c1a3bab2e1</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,5bd1ccad-d827-421e-821a-17c1a3bab2e1.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,5bd1ccad-d827-421e-821a-17c1a3bab2e1.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5bd1ccad-d827-421e-821a-17c1a3bab2e1</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img src="http://mcgiv.com/blog/content/binary/AspnetWhidbey.jpg" border="0" />
        </p>
        <p>
          <a href="http://www.irishdev.com/blogs/kieranlynam/default.aspx">Kieran Lynam</a> will
be giving a talk on <a href="http://msdn.microsoft.com/asp.net/beta2/default.aspx">ASP.Net
2.0</a> to <a href="http://nimtug.org">NIMTUG</a> members on Monday 16th May in Belfast.
For more information and to register for the talk (which is free) visit <a href="http://nimtug.org/16-May-2005.aspx">http://nimtug.org/16-May-2005.aspx</a></p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=5bd1ccad-d827-421e-821a-17c1a3bab2e1" />
      </body>
      <title>NIMTUG May 2005 Meeting - Kieran Lynam talking about ASP.Net 2.0</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,5bd1ccad-d827-421e-821a-17c1a3bab2e1.aspx</guid>
      <link>http://mcgiv.com/blog/2005/05/05/NIMTUG+May+2005+Meeting+Kieran+Lynam+Talking+About+ASPNet+20.aspx</link>
      <pubDate>Thu, 05 May 2005 08:54:35 GMT</pubDate>
      <description>&lt;p&gt;
&lt;img src="http://mcgiv.com/blog/content/binary/AspnetWhidbey.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.irishdev.com/blogs/kieranlynam/default.aspx"&gt;Kieran Lynam&lt;/a&gt; will
be giving a talk on &lt;a href="http://msdn.microsoft.com/asp.net/beta2/default.aspx"&gt;ASP.Net
2.0&lt;/a&gt; to &lt;a href="http://nimtug.org"&gt;NIMTUG&lt;/a&gt; members on Monday 16th May in Belfast.
For more information and to register for the talk (which is free) visit &lt;a href="http://nimtug.org/16-May-2005.aspx"&gt;http://nimtug.org/16-May-2005.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=5bd1ccad-d827-421e-821a-17c1a3bab2e1" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,5bd1ccad-d827-421e-821a-17c1a3bab2e1.aspx</comments>
      <category>ASP.Net;NIMTUG</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=8d382204-aa7b-4b63-990b-056e3100c698</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,8d382204-aa7b-4b63-990b-056e3100c698.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,8d382204-aa7b-4b63-990b-056e3100c698.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8d382204-aa7b-4b63-990b-056e3100c698</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>AJAX library for ASP.Net Update (V1.4)</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,8d382204-aa7b-4b63-990b-056e3100c698.aspx</guid>
      <link>http://mcgiv.com/blog/2005/04/25/AJAX+Library+For+ASPNet+Update+V14.aspx</link>
      <pubDate>Mon, 25 Apr 2005 08:01:17 GMT</pubDate>
      <description>&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;This
will probably be the last feature update of my 
&lt;st1:City w:st="on"&gt;
&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;
&lt;/st1:City&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
library as it does all I need the moment, but please keep sending me your suggestions
as you never know.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;Update:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;New feature: you
now have the ability to pass complex types as parameters. The IAjaxJavaScriptObjectConverter
interface has been enhanced and now allows you to define format functions for formatting
JavaScript objects into strings that can be passed as parameters.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;Web.config: the
attribute for adding converters has been changed from 'type' to 'converter'&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;New Demo: I've
created a DateTime converter and extended the StringCollection to include the new
features. You can use these as your skeleton converters.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;I've also included
another demo that allows you to send a complex type as a parameter.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;Online demos:
The demos are now online after a couple of requests.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Verdana"&gt;Potential
Problem&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Verdana"&gt;:
When converting an object to be returned into JavaScript the default converter loops
through all the properties and fields and converts them too. Some types reference
their parents and these types will cause a memory problem as they will be caught in
an infinite loop. To ensure that this does not happen only return types that are known
not to do this and if you do require a type that references it parent (or its children
which causes the same problem) then write a custom converter and control the conversion
process. I was considering requiring that all return types must be referenced in the
web.config - but due to the added complexity decided not too. So check all types before
returning them!&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
&lt;o:p&gt;
&lt;font face="Times New Roman" color=#000000 size=3&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;
&lt;a href="http://mcgiv.com/blog/ajax/"&gt;Download&lt;/a&gt;&amp;nbsp; &lt;a href="http://mcgiv.com/blog/ajax/demos.aspx"&gt;Demos&lt;/a&gt;
&lt;/p&gt;
&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=8d382204-aa7b-4b63-990b-056e3100c698" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,8d382204-aa7b-4b63-990b-056e3100c698.aspx</comments>
      <category>AJAX;ASP.Net</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=15bc1913-00a2-451c-ab52-ca3d91213e70</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,15bc1913-00a2-451c-ab52-ca3d91213e70.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,15bc1913-00a2-451c-ab52-ca3d91213e70.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=15bc1913-00a2-451c-ab52-ca3d91213e70</wfw:commentRss>
      <slash:comments>7</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Update:
</p>
        <p>
It was pointed out to me by Manu Seiber that not everyone has write access to
the /aspnet_client/system_web/[framework version]/ directory and so can't upload
the 'ajax.js' file making the library useless. Now I've added the ability to
set the javascript directory that the 'ajax.js' file is located. For backward compaitability
it defaults to /aspnet_client/system_web/[framework version]/ if not set.
</p>
        <p>
See <a href="http://mcgiv.com/blog/ajax/#javascriptFile">JavaScript File</a> section
in Read Me file.
</p>
        <p>
          <a href="http://mcgiv.com/blog/ajax/#download">Download</a>
        </p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=15bc1913-00a2-451c-ab52-ca3d91213e70" />
      </body>
      <title>AJAX library for ASP.Net Update (V1.3a)</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,15bc1913-00a2-451c-ab52-ca3d91213e70.aspx</guid>
      <link>http://mcgiv.com/blog/2005/04/23/AJAX+Library+For+ASPNet+Update+V13a.aspx</link>
      <pubDate>Sat, 23 Apr 2005 02:40:18 GMT</pubDate>
      <description>&lt;p&gt;
Update:
&lt;/p&gt;
&lt;p&gt;
It was pointed out to me by Manu Seiber that not everyone has&amp;nbsp;write access to
the&amp;nbsp;/aspnet_client/system_web/[framework version]/ directory and so can't upload
the 'ajax.js' file making the library useless.&amp;nbsp;Now I've added the ability to
set the javascript directory that the 'ajax.js' file is located. For backward compaitability
it defaults to&amp;nbsp;/aspnet_client/system_web/[framework version]/ if not set.
&lt;/p&gt;
&lt;p&gt;
See &lt;a href="http://mcgiv.com/blog/ajax/#javascriptFile"&gt;JavaScript File&lt;/a&gt; section
in Read Me file.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://mcgiv.com/blog/ajax/#download"&gt;Download&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=15bc1913-00a2-451c-ab52-ca3d91213e70" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,15bc1913-00a2-451c-ab52-ca3d91213e70.aspx</comments>
      <category>AJAX;ASP.Net;C#</category>
    </item>
    <item>
      <trackback:ping>http://mcgiv.com/blog/Trackback.aspx?guid=98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1</trackback:ping>
      <pingback:server>http://mcgiv.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://mcgiv.com/blog/PermaLink,guid,98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://mcgiv.com/blog/CommentView,guid,98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1.aspx</wfw:comment>
      <wfw:commentRss>http://mcgiv.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Changes:
</p>
        <ul>
          <li>
You now export types with the method TypeExporter.Export instead of MethodHelper.Register 
</li>
          <li>
Exceptions now work properly 
<br /></li>
        </ul>
        <p>
A coupe of people mentioned a bug when pressing F5 could they please give me more
details on this and check if the bug is in this release.
</p>
        <p>
          <a href="http://mcgiv.com/blog/ajax/">http://mcgiv.com/blog/ajax/</a>
        </p>
        <p>
          <u>
            <font color="#0000ff">
            </font>
          </u> 
</p>
        <img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1" />
      </body>
      <title>AJAX library for ASP.Net Update (V1.3)</title>
      <guid isPermaLink="false">http://mcgiv.com/blog/PermaLink,guid,98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1.aspx</guid>
      <link>http://mcgiv.com/blog/2005/04/21/AJAX+Library+For+ASPNet+Update+V13.aspx</link>
      <pubDate>Thu, 21 Apr 2005 01:49:20 GMT</pubDate>
      <description>&lt;p&gt;
Changes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
You now export types with the method TypeExporter.Export instead of MethodHelper.Register 
&lt;li&gt;
Exceptions now work properly 
&lt;br&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
A coupe of people mentioned a bug when pressing F5 could they please give me more
details on this and check if the bug is in this release.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://mcgiv.com/blog/ajax/"&gt;http://mcgiv.com/blog/ajax/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;u&gt;&lt;font color=#0000ff&gt;&lt;/font&gt;&lt;/u&gt;&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://mcgiv.com/blog/aggbug.ashx?id=98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1" /&gt;</description>
      <comments>http://mcgiv.com/blog/CommentView,guid,98c9adab-0d7b-4e2e-a5a0-5c2e6e2558c1.aspx</comments>
      <category>AJAX;ASP.Net;C#</category>
    </item>
  </channel>
</rss>