<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xp.codebetter.com/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>Peter&amp;#39;s Gekko  - All Comments</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/default.aspx</link><description>public Blog MyNotepad : Imho
{
}</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2003/11/20/Fixing-a-broken-asp.net-installation.-_2800_The-Web-server-reported-the-following-error-when-attempting-to-create-or-open-the-Web-project-located-at-the-following_2E002E002E002E002900_.aspx#182333</link><pubDate>Wed, 27 Aug 2008 03:59:09 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182333</guid><dc:creator>Ankur</dc:creator><description>&lt;p&gt;hi guys ,here is the solution to your problem&lt;/p&gt;
&lt;p&gt;if you are not able to create ASPWEBAPPLICATION &amp;nbsp;-:&lt;/p&gt;
&lt;p&gt;when u create new webapplication project the Default url which come is &lt;a rel="nofollow" target="_new" href="http://localhost/webapplicationname"&gt;localhost/webapplicationname&lt;/a&gt; where localhost points to port 80 just change it to localhost:portnumber &amp;nbsp;and then u should be able to create a webapplication.&lt;/p&gt;
&lt;p&gt;if you are not able to open your existing site in server then there can be DNS mismatch &amp;nbsp;the ipaddress given in url will be of DNS IP just change it to localhost IP . Your web application should run fine&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;ankur&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182333" width="1" height="1"&gt;</description></item><item><title>re: Valid date-time values in sql server. SqlDateTime vs DateTime</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2008/08/21/valid-date-time-values-in-sql-server-sqldatetime-vs-datetime.aspx#182294</link><pubDate>Tue, 26 Aug 2008 11:28:11 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182294</guid><dc:creator>Hans Kesting</dc:creator><description>&lt;p&gt;Instead of casting SqlDateTime.MinValue (which returns a SqlDateTime) you could also use SqlDateTime.MinValue.Value, which converts the SqlDateTime to a regular DateTime.&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182294" width="1" height="1"&gt;</description></item><item><title>re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2003/11/20/Fixing-a-broken-asp.net-installation.-_2800_The-Web-server-reported-the-following-error-when-attempting-to-create-or-open-the-Web-project-located-at-the-following_2E002E002E002E002900_.aspx#182292</link><pubDate>Tue, 26 Aug 2008 10:22:43 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182292</guid><dc:creator>Ankur</dc:creator><description>&lt;p&gt;The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'localhost/WebApplication1'. 'HTTP/1.1 400 Bad Request'&lt;/p&gt;
&lt;p&gt;Can anyone help me in finding why this error is coming while creating a ASP web app in visual studio 2003 on window server 2003&lt;/p&gt;
&lt;p&gt;also i am not able to open any aspx page on this machine&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182292" width="1" height="1"&gt;</description></item><item><title>re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2003/11/20/Fixing-a-broken-asp.net-installation.-_2800_The-Web-server-reported-the-following-error-when-attempting-to-create-or-open-the-Web-project-located-at-the-following_2E002E002E002E002900_.aspx#182283</link><pubDate>Tue, 26 Aug 2008 07:18:21 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182283</guid><dc:creator>Ankur</dc:creator><description>&lt;p&gt;I am facing a problem while creating and while viewing asp site in window server 2003 Can anyone help me with this. i am getting following error while creating Asp web application. &amp;quot;The web server reported the following error when attempting to create or open the web project located at the following URL: &lt;a rel="nofollow" target="_new" href="http://localhost/webapplication1"&gt;localhost/webapplication1&lt;/a&gt;.'HTTP/1.1 403 Forbidden'. &amp;quot;&lt;/p&gt;
&lt;p&gt;whle opening a web application IE throws an error that Cannot view the webpage&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182283" width="1" height="1"&gt;</description></item><item><title>re: Valid date-time values in sql server. SqlDateTime vs DateTime</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2008/08/21/valid-date-time-values-in-sql-server-sqldatetime-vs-datetime.aspx#182270</link><pubDate>Mon, 25 Aug 2008 20:27:40 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182270</guid><dc:creator>pvanooijen</dc:creator><description>&lt;p&gt;Paw, &lt;/p&gt;
&lt;p&gt;I'm not very happy for such a solution as it requires some external code to understand what's in your database. &lt;/p&gt;
&lt;p&gt;FI, the moment you start approaching your db with nHibernate (rather sooner than later) theres is going to be some hacking to do..&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182270" width="1" height="1"&gt;</description></item><item><title>re: Connecting to a remote SQL express instance</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2006/01/05/136261.aspx#182209</link><pubDate>Sat, 23 Aug 2008 14:42:19 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182209</guid><dc:creator>rg</dc:creator><description>&lt;p&gt;Here's a way to setup sql from the command line :&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.dataportweb.com/post/Setting-up-sql-server-express-from-the-command-line.aspx"&gt;www.dataportweb.com/.../Setting-up-sql-server-express-from-the-command-line.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182209" width="1" height="1"&gt;</description></item><item><title>Recent Faves Tagged With "visualsvn" : MyNetFaves</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2008/06/30/visualsvn-and-tortoisesvn.aspx#182193</link><pubDate>Fri, 22 Aug 2008 13:17:52 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182193</guid><dc:creator>Recent Faves Tagged With "visualsvn" : MyNetFaves</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Recent Faves Tagged With &amp;quot;visualsvn&amp;quot; : MyNetFaves&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182193" width="1" height="1"&gt;</description></item><item><title>re: Valid date-time values in sql server. SqlDateTime vs DateTime</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2008/08/21/valid-date-time-values-in-sql-server-sqldatetime-vs-datetime.aspx#182180</link><pubDate>Thu, 21 Aug 2008 20:56:30 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182180</guid><dc:creator>Paw</dc:creator><description>&lt;p&gt;I stoped using SQL DateTime a long time ago, unless I really need it for a SP. I save them as varchar and write my own converters to handle the conversion to eg. C#.&lt;/p&gt;
&lt;p&gt;The format could be yyyyMMdd-hhmmss or yyyyMMddhhmmss. That way you can still do an ORDER BY on them.&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182180" width="1" height="1"&gt;</description></item><item><title>re: Smartnavigation not so smart when it comes to a Response.Redirect</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2003/09/15/1609.aspx#182177</link><pubDate>Thu, 21 Aug 2008 19:51:20 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182177</guid><dc:creator>pvanooijen</dc:creator><description>&lt;p&gt;Larry that's just bullshit.&lt;/p&gt;
&lt;p&gt;Have you seen what they did with smartnavigation in asp.NET 2.0 ? &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://codebetter.com/blogs/peter.van.ooijen/archive/2008/01/17/upgrading-an-asp-net-1-1-app-to-2-0.aspx"&gt;codebetter.com/.../upgrading-an-asp-net-1-1-app-to-2-0.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That's quite more than just a workaround or fix,&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182177" width="1" height="1"&gt;</description></item><item><title>re: Valid date-time values in sql server. SqlDateTime vs DateTime</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2008/08/21/valid-date-time-values-in-sql-server-sqldatetime-vs-datetime.aspx#182175</link><pubDate>Thu, 21 Aug 2008 19:46:20 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182175</guid><dc:creator>Will Shaver</dc:creator><description>&lt;p&gt;I've found that storing DateTime.MaxValue can cause trouble on comparison as well. Here's the extension method that I use for this:&lt;/p&gt;
&lt;p&gt;public static class DateTimeExtensions&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static DateTime ToSQLDateTime(this DateTime dt)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return new DateTime(dt.Ticks - (dt.Ticks % 10000000)); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182175" width="1" height="1"&gt;</description></item><item><title>re: Smartnavigation not so smart when it comes to a Response.Redirect</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2003/09/15/1609.aspx#182171</link><pubDate>Thu, 21 Aug 2008 18:31:04 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182171</guid><dc:creator>Larry</dc:creator><description>&lt;p&gt;I don't think the Microsoft people are paid to &amp;quot;fix&amp;quot; code, but rather to create convoluted work-arounds. &amp;nbsp;It's like a leaky pipe. &amp;nbsp;You or I would replace the pipe or at least fix the section with the leak. &amp;nbsp;Microsoft wraps duct tape around the leak, creating two new leaks.&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182171" width="1" height="1"&gt;</description></item><item><title>re: A back button for asp.net pages</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2005/07/19/129384.aspx#182098</link><pubDate>Tue, 19 Aug 2008 07:27:56 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182098</guid><dc:creator>Reza Shirazi</dc:creator><description>&lt;p&gt;Very nice! Thank you&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182098" width="1" height="1"&gt;</description></item><item><title>re: Getting information out of active directory: DirectorySearcher, Properties and DirectoryEntry</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2006/12/12/Getting-information-out-of-active-directory_3A00_-DirectorySearcher_2C00_-Properties-and-DirectoryEntry.aspx#182065</link><pubDate>Mon, 18 Aug 2008 15:57:24 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182065</guid><dc:creator>marcinsvr</dc:creator><description>&lt;p&gt;Peter - good job! &lt;/p&gt;
&lt;p&gt;Helped me a lot, thank you.&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182065" width="1" height="1"&gt;</description></item><item><title>re: Timeout on a (sql) database: SqlConnection.ConnectionTimeOut and SqlCommand.CommandTimeOut.</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2006/03/20/141459.aspx#182046</link><pubDate>Mon, 18 Aug 2008 08:36:48 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:182046</guid><dc:creator>Avinash</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am also having similar problem. I am getting data from the SYBASE database using Sproc. Problem is the SProc need more than 5 hrs to execute depending on the parameters. Its always giving timeout after 5 hrs with following exception. &lt;/p&gt;
&lt;p&gt;&amp;quot;Method: ExecuteCommandTextForMultpleResults; Cause: Timeout exceeded. &amp;quot;&lt;/p&gt;
&lt;p&gt;Could any one please help me with this? Thanks in advance.&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=182046" width="1" height="1"&gt;</description></item><item><title>re: Disable an asp.net LinkButton (or HyperLink) without graying it out</title><link>http://xp.codebetter.com/blogs/peter.van.ooijen/archive/2005/09/28/132561.aspx#181898</link><pubDate>Wed, 13 Aug 2008 23:26:03 GMT</pubDate><guid isPermaLink="false">d21fbbc9-c112-4f32-ad14-95939a2c53d4:181898</guid><dc:creator>matthew</dc:creator><description>&lt;p&gt;Ok, so how do you re-enable the linkbutton? &amp;nbsp;I need to have it hooked up to a server-side function, which you cannot assign with attributes[&amp;quot;onclick&amp;quot;]&lt;/p&gt;
&lt;img src="http://xp.codebetter.com/aggbug.aspx?PostID=181898" width="1" height="1"&gt;</description></item></channel></rss>