<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.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>Salman Ahmed</title><link>http://weblogs.asp.net/sahmed/default.aspx</link><description>C# Friends Webmaster</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>SQL Server database is marked Suspect</title><link>http://weblogs.asp.net/sahmed/archive/2006/06/04/SQL-Server-database-is-marked-Suspect.aspx</link><pubDate>Sun, 04 Jun 2006 04:02:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:450510</guid><dc:creator>CSharpFriends</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/sahmed/rsscomments.aspx?PostID=450510</wfw:commentRss><comments>http://weblogs.asp.net/sahmed/archive/2006/06/04/SQL-Server-database-is-marked-Suspect.aspx#comments</comments><description>&lt;P&gt;So I try and browse over to &lt;A href="http://www.csharpfriends.com/"&gt;http://www.csharpfriends.com&lt;/A&gt; and I notice that my custom error page is rendering.&amp;nbsp; I quickly terminal server into my box and open up the web.config and change the error page setting to false so I can see what's going.&amp;nbsp; It turns out my sql login is having problems, so I open up EM and I notice my database is greyed out with the label (Suspect) beside it!&lt;/P&gt;
&lt;P&gt;I quickly google to find out what's going on and it turns out there are a number of reasons why sql server flags a database as suspect.&amp;nbsp; Some of them are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the database could be curropt&lt;/LI&gt;
&lt;LI&gt;the operating system is somehow locking up the database (backup software, virus scanning?)&lt;/LI&gt;
&lt;LI&gt;database restoration fails for some reason&lt;/LI&gt;
&lt;LI&gt;log file is missing&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Anyhow, I created a backup of my database a few days ago so I quickly rolled back to that version.&amp;nbsp; I tried looking in my sqlserver log file but nothing really stood out to me, and I must admit I was a little stressed so I took the short cut! *smile*&lt;/P&gt;
&lt;P&gt;For those of you who are interested, here are some links that I found on the subject of database's being marked suspect:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.devx.com/vb2themax/Tip/18624"&gt;http://www.devx.com/vb2themax/Tip/18624&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.windowsitpro.com/Article/ArticleID/14047/14047.html"&gt;http://www.windowsitpro.com/Article/ArticleID/14047/14047.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.sqlservercentral.com/columnists/bknight/unmarksuspect.asp"&gt;http://www.sqlservercentral.com/columnists/bknight/unmarksuspect.asp&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.mssqlcity.com/FAQ/Trouble/SuspectDB.htm"&gt;http://www.mssqlcity.com/FAQ/Trouble/SuspectDB.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;180500"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;180500&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=14482"&gt;http://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=14482&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I always ran a quick checkdsk on my servers hard drive to ensure my drive was in good shape.&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=450510" width="1" height="1"&gt;</description></item><item><title>Blog Software in VB.NET</title><link>http://weblogs.asp.net/sahmed/archive/2006/04/06/442028.aspx</link><pubDate>Wed, 05 Apr 2006 23:48:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:442028</guid><dc:creator>CSharpFriends</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/sahmed/rsscomments.aspx?PostID=442028</wfw:commentRss><comments>http://weblogs.asp.net/sahmed/archive/2006/04/06/442028.aspx#comments</comments><description>&lt;p&gt;I've been doing C# development for a long time, maybe too long!&amp;nbsp; So I decided to get into the VB.NET camp so I could officially become a 'switch hitter' (that means develop in either C# or VB.NET).&lt;/p&gt; &lt;p&gt;So to force myself to learn, I decided on &lt;strong&gt;developing a VB.NET based blog application&lt;/strong&gt;.&amp;nbsp; You can check it out here: &lt;a href="http://www.freeVB.NET"&gt;http://www.freeVB.NET&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I haven't decided on how I'm going to release this puppy to the world, stay tuned for more on that later.&lt;/p&gt; &lt;p&gt;I've been developing for a couple weeks now and I must say things have gone rather smoothly.&amp;nbsp; One of the trickiest things at first was creating variables, I am so so used to putting the variable type before the variable name.&amp;nbsp; Another issue I had switching over was casting objects to various types hehe.&lt;/p&gt; &lt;p&gt;Stay tuned...&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=442028" width="1" height="1"&gt;</description></item><item><title>Forget Google, own your own Directory</title><link>http://weblogs.asp.net/sahmed/archive/2004/10/26/247754.aspx</link><pubDate>Tue, 26 Oct 2004 05:40:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:247754</guid><dc:creator>CSharpFriends</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/sahmed/rsscomments.aspx?PostID=247754</wfw:commentRss><comments>http://weblogs.asp.net/sahmed/archive/2004/10/26/247754.aspx#comments</comments><description>&lt;p&gt;Ok that's a bit of a stretch, but you can run your own little links directory at a slighly smaller scale using this cool little applciation I have been hacking away at over the past few months.&lt;/p&gt; &lt;p&gt;I have still a bit too go in terms of it being a version 1.0, but here's a sneak peak at my &lt;a href="http://www.snadtech.com/demos/directory/top/index.aspx"&gt;directory links management software&lt;/a&gt;&amp;nbsp;(that's a mouthfull isn't it, no idea what I should call it, feel free to suggest).&lt;/p&gt; &lt;p&gt;Some of the cool features include:&amp;nbsp; multi-site support on a single installation, unlimited categories, friendly-Urls, unlimited links, &lt;a href="http://snadtech.com/demos/directory/top/faqs/collapsible_sections_in_javascript.aspx"&gt;content&lt;/a&gt; associated to categories (used as knowledge base articles), multi-language support, icons for categories, last updated icons on categories, user-submission and registration, listing counts on categories, &lt;a href="http://snadtech.com/demos/directory/top/books/aspnet/index.aspx"&gt;images on listings&lt;/a&gt;, associate a listing to multiple categories, user ratings, user comments, templating to allow for easy web design modifications.&lt;/p&gt; &lt;p&gt;I also have role based security so you can hide categories and listings based on user-permissions but its still in the works.&lt;/p&gt; &lt;p&gt;I'll hopefully be starting some sort of a beta testing period once I finish the installation wizard, hope to get some feedback from you guys!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=247754" width="1" height="1"&gt;</description></item><item><title>Learning a new Language (no its not C#)</title><link>http://weblogs.asp.net/sahmed/archive/2004/10/22/246530.aspx</link><pubDate>Fri, 22 Oct 2004 22:28:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:246530</guid><dc:creator>CSharpFriends</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/sahmed/rsscomments.aspx?PostID=246530</wfw:commentRss><comments>http://weblogs.asp.net/sahmed/archive/2004/10/22/246530.aspx#comments</comments><description>&lt;p&gt;Hey!&lt;/p&gt; &lt;p&gt;I've been out of work for over 1 year now!&amp;nbsp; But before you feel sorry for me, let me just say it was by choice.&amp;nbsp;&amp;nbsp; I dediced to take 1 year off to learn a language (Arabic).&amp;nbsp; I have been in Egypt for almost 6 months now slowly progressing, my reading is much better than my speaking at this point (is that always the case with new languages?).&lt;/p&gt; &lt;p&gt;Anyhow, in my spare time I started developing a Directory Application.&amp;nbsp; Its coming along quite well, I just have the dreaded Installation Wizard to get past.&amp;nbsp; &lt;/p&gt; &lt;p&gt;One of the problems when creating an application is where to draw the line in terms of features.&amp;nbsp; One strategy is to set a deadline and do whatever you can in that timeframe, what doesn't get done then gets put back to another release.&amp;nbsp; I actually didn't set a solid deadline, but let's just say I think I should stop coding new features.&lt;/p&gt; &lt;p&gt;I have a beta version live on the net, but its certainly not the latest build which I hope to setup tommorrow.&lt;/p&gt; &lt;p&gt;Getting back to deadlines and software features,&amp;nbsp;what sort of strategies did you or your team employ?&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=246530" width="1" height="1"&gt;</description></item><item><title>Greetings; C# Related Links</title><link>http://weblogs.asp.net/sahmed/archive/2004/01/22/61454.aspx</link><pubDate>Thu, 22 Jan 2004 04:21:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:61454</guid><dc:creator>CSharpFriends</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/sahmed/rsscomments.aspx?PostID=61454</wfw:commentRss><comments>http://weblogs.asp.net/sahmed/archive/2004/01/22/61454.aspx#comments</comments><description>&lt;P&gt;Greetings,&lt;/P&gt;
&lt;P&gt;Thanks to ScottW for setting me up with a blog.&lt;/P&gt;
&lt;P&gt;For starters, my name is Salman and I'm the owner/webmaster of &lt;A href="http://www.csharpfriends.com"&gt;C# Friends&lt;/A&gt;.&amp;nbsp; My blog will center around ASP.NET, but with a bias to C#.&lt;/P&gt;
&lt;P&gt;Here are some C# related links:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=336"&gt;C# Coding Style Guide&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.csharpfriends.com/Demos/color_code.aspx"&gt;C# Code Highligher&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.csharpfriends.com/demos/csharp_class_generator.aspx"&gt;Online C# Class Generator&lt;/A&gt;&amp;nbsp; (be sure to checkout &lt;A href="http://www.ericjsmith.net/codesmith/tutorial.aspx"&gt;CodeSmith&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=16"&gt;C# Syntax Reference&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.oreilly.com/catalog/csharpess/examples/"&gt;C# Coding Samples &lt;/A&gt;(for beginners)&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=61454" width="1" height="1"&gt;</description></item></channel></rss>