<?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>Josh Holmes &#187; SQL Server</title>
	<atom:link href="http://www.joshholmes.com/blog/category/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshholmes.com/blog</link>
	<description>Random thoughts from a turbo nerd...</description>
	<lastBuildDate>Thu, 11 Apr 2013 15:51:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>phpBB is in the Web Application Gallery</title>
		<link>http://www.joshholmes.com/blog/2010/05/07/phpbb-is-in-the-web-application-gallery/</link>
		<comments>http://www.joshholmes.com/blog/2010/05/07/phpbb-is-in-the-web-application-gallery/#comments</comments>
		<pubDate>Fri, 07 May 2010 16:25:07 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[JumpIn Camp]]></category>
		<category><![CDATA[PHPBB]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2010/05/07/phpbb-is-in-the-web-application-gallery/</guid>
		<description><![CDATA[You might have seen me tweet about the fact that PHPBB had submitted to the Web Application Gallery a couple of weeks back. Well, it’s official – the phpBB package has been finished, tested and accepted into the Web Application Gallery. You can see the official announcement on the Microsoft Web Platform blog. That means that you can install phpBB on Windows through the Web Platform Installer (WebPI) which gives [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.joshholmes.com/blog/wp-content/uploads/2010/05/image.png"><img style="border-right-width: 0px; margin: 5px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://www.joshholmes.com/blog/wp-content/uploads/2010/05/image_thumb.png" width="174" height="97" /></a> You might have seen me tweet about the fact that <a href="http://www.phpbb.com/">PHPBB</a> had submitted to the <a href="http://www.microsoft.com/web/gallery">Web Application Gallery</a> a couple of weeks back. Well, it’s official – the phpBB package has been finished, tested and accepted into the Web Application Gallery. You can see the <a href="http://blogs.msdn.com/webplatform/archive/2010/05/07/announcing-phpbb-available-for-the-microsoft-web-platform.aspx">official announcement on the Microsoft Web Platform blog</a>. That means that you can install phpBB on Windows through the <a href="http://www.microsoft.com/web/gallery">Web Platform Installer (WebPI)</a> which gives you a very simple wizard to walk through. </p>
<p><a href="http://www.microsoft.com/web/gallery/phpBB.aspx">Try phpBB on the Microsoft Web Platform today</a>!</p>
<p>&#160;</p>
<p>The <a href="http://www.microsoft.com/web/gallery">WebPI</a> will take a look at the dependencies that the project has requested and pull those in as well. In the case of phpBB, this includes PHP 5.2.13 (and higher when the WebPI supports it), SQL Server (Yes, I said SQL Server!) and more. It will configure IIS for FastCGI support and the whole nine yards. </p>
<p>The work to accomplish all of this awesome support was done at <a href="http://www.jumpincamp.com/">JumpIn Camp</a> by <a href="http://www.naderman.de/">Nils Aderman</a>, <a href="http://www.cs278.org/">Chris Smith</a> and <a href="http://user.cs.tu-berlin.de/~hsudhof/">Henry Sudhof</a> of the phpBB core team. I’ll be talking a lot more about <a href="http://www.jumpincamp.com/">JumpIn Camp</a> over the next couple of weeks but in short, <a href="http://www.jumpincamp.com/">JumpIn Camp</a> was an event that I helped organize, along with Yuriy Zaytsev, <a href="http://twitter.com/will_coleman">Will Coleman</a> and <a href="http://blogs.msdn.com/bramveen/">Bram Veenhof</a> in Zurich, Switzerland. There were contributors from a number of the top PHP applications in the world that attended for the opportunity to work on their own projects to support various Microsoft technologies (such as IIS, WebPI, SQL Server, SQL Azure, Silverlight…) with Microsoft technology experts available for technical support. </p>
<p>The SQL Server patch was developed by Microsoft in line with our interoperability efforts in the open source community. The new SQL Server for PHP 1.1 driver that was released back in October, 2009 enables phpBB with UTF-8 on SQL Server, Multiple Active Record Sets (MARS) and the ability to leverage SQL Azure. phpBB has accepted that patch now in their 3.0.7 release. </p>
<p>There are a couple more things that are exciting about all of this to me. </p>
<p>First, it only took a handful of days at <a href="http://www.jumpincamp.com/">JumpIn Camp</a> to pull together the <a href="http://www.microsoft.com/web/gallery">WebPI</a> package + WinCache support for superior performance on Windows. For full disclosure there was some testing and a few minor bugs fixed since then but the lions share of the work was done at <a href="http://www.jumpincamp.com/">JumpIn Camp</a>. </p>
<p>Second, phpBB is the first of the PHP application that can be installed through the WebPI with SQL Server support. I’m hoping that it will become the trend now that the <a href="http://blogs.msdn.com/sqlphp/archive/2010/04/19/sql-server-driver-for-php-2-0-ctp-adds-php-s-pdo-style-data-access-for-sql-server.aspx">SQL Server Driver for PHP 2.0 CTP with PDO</a> is in CTP and people can start playing with it. I know that there are several applications that are starting testing with the new driver. </p>
<p>Third, it was a ton of fun to get to know the folks from phpBB and all of the folks that attended <a href="http://www.jumpincamp.com/">JumpIn Camp</a>. I’ve been chatting with <a href="http://www.naderman.de/">Nils</a> online for about 6-9 months now but this was the first time that I had met him in person. </p>
<p>Wrapping up – I’m looking forward to seeing a lot more of the work that came out of the JumpIn Camp wrapping up and going public over the next handful of months. It’s going to be a fun time. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2010/05/07/phpbb-is-in-the-web-application-gallery/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>.NET Rocks #199 &#8211; Josh Holmes on SQL Everywhere and More</title>
		<link>http://www.joshholmes.com/blog/2006/12/14/netrocks199joshholmesonsqleverywhereandmore/</link>
		<comments>http://www.joshholmes.com/blog/2006/12/14/netrocks199joshholmesonsqleverywhereandmore/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 14:26:00 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Podcasts]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2006/10/24/NETRocks199JoshHolmesOnSQLEverywhereAndMore.aspx</guid>
		<description><![CDATA[I had the great pleasure of being on .NET Rocks speaking about SQL Everywhere and a whole lot more! I really should have gotten them a better photo&#160;- but such is life. http://www.dotnetrocks.com/default.aspx?showID=202]]></description>
				<content:encoded><![CDATA[<p>I had the great pleasure of being on .NET Rocks speaking about SQL Everywhere and a whole lot more! I really should have gotten them a better photo&nbsp;- but such is life. </p>
<p><a href="http://www.dotnetrocks.com/default.aspx?showID=202">http://www.dotnetrocks.com/default.aspx?showID=202</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2006/12/14/netrocks199joshholmesonsqleverywhereandmore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More adventures with SQL Server Express</title>
		<link>http://www.joshholmes.com/blog/2006/03/15/moreadventureswithsqlserverexpress/</link>
		<comments>http://www.joshholmes.com/blog/2006/03/15/moreadventureswithsqlserverexpress/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 13:24:50 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2006/03/15/MoreAdventuresWithSQLServerExpress.aspx</guid>
		<description><![CDATA[This was fun. It’s a completely different database and set of circumstances than last night&#8217;s fun and frivolity. I finished an application, zipped up the folders and sent it off to a client. In this application there is a desktop app that talks to a web service that talks to a SQL Server 2005 Express database. Sounds fairly simple, right? Right. Well, the client unzips it all to a directory, [...]]]></description>
				<content:encoded><![CDATA[<p>This was fun. It’s a completely different database and set of circumstances than <a href="http://www.srtsolutions.com/public/item/118639">last night&#8217;s fun and frivolity</a>. </p>
<p>I finished an application, zipped up the folders and sent it off to a client. In this application there is a desktop app that talks to a web service that talks to a SQL Server 2005 Express database. Sounds fairly simple, right? Right. </p>
<p>Well, the client unzips it all to a directory, sets up the virtual application for the web service and starts trying to run the desktop portion. It starts up, pulls up all of the lookups that we have in the database and it all looks good. Now, I’m on the phone and elated at how smooth this is going. At this point, the client tries to create a new record which is going well (wow, even a little drop down calendar and oooh look at that, it’s all of the types of records that I could create so I don’t have to type there… wow… and more gushing) until they try to save… At this point, there is a wonderful error that pops up – </p>
<p>“Failed to update database ‘database name.mdf’ because the database is read-only.”</p>
<p>Crud! After getting them to check the file properties and other such things, I called <a href="http://weblogs.asp.net/psteele">Patrick Steele</a>, who has been working with me on this project, to see what he thought about it. It’s been a long day, especially after last night’s SQL Server Express issues, so I’m not thinking all that clearly. Patrick, after running through some of the same questions that I had so I’m feeling a little better about my thinking, has the thought that it might be a security issue and that the ASPNET user might not have permissions to write to that directory. Sure enough, since the ASPNET user doesn’t have permissions the database loads in read-only mode. Fix that and the database and the app work just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2006/03/15/moreadventureswithsqlserverexpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 Express Issues</title>
		<link>http://www.joshholmes.com/blog/2006/03/14/sqlserver2005expressissues/</link>
		<comments>http://www.joshholmes.com/blog/2006/03/14/sqlserver2005expressissues/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 13:25:11 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2006/03/14/SQLServer2005ExpressIssues.aspx</guid>
		<description><![CDATA[Yesterday I had to make a quick change to a SQL Server 2005 Express database that I&#8217;m using for an internal to SRT Solutions tool. I decided that the easiest way to do it was to leverage the auto-connect feature of SQL Server 2005 Express by just FTPing the mdb down, making my change and ftping it back up. This has worked a number of times in the past. Not [...]]]></description>
				<content:encoded><![CDATA[<p>Yesterday I had to make a quick change to a SQL Server 2005 Express database that I&#8217;m using for an internal to SRT Solutions tool. I decided that the easiest way to do it was to leverage the auto-connect feature of SQL Server 2005 Express by just FTPing the mdb down, making my change and ftping it back up. This has worked a number of times in the past. Not this time. I got a &#8220;login failed for user &#8216;USERNAME&#8217;&#8221; when I tried to run the application. That was infuriating. I spent the next 4 hours or so working with the SQL Server Management Studio Express (Enterprise Manager lite for Express) assigning, unassigning permissions, users, attaching, detaching, backing up, restoring and everything else that I knew to do. I kept getting &#8220;User could not login to user&#8217;s default database&#8221; and general login failures. My personal favorite that I saw yesterday was “Could not attach, DatabaseName is not a primary database file. (Microsoft SQL Server, Error: 5171)”. Now, I&#8217;m usually pretty good with googling the answers, but this time I&#8217;m really coming up short.</p>
<p>All of this is proving to me that I’m a programmer, not an administrator. I’m digging the new functionality in SQL Server 2005 but I’m not going to be the one to administer the databases that I write code for. </p>
<p>Long story short – I raised the white flag. I IMed <a href="http://jasonf-blog.blogspot.com/">Jason Follas</a> and asked him if he knew what was going on. He figured out that it had something to do with the master file that SQL Express was using for the auto-connect. He found <a href="http://forums.microsoft.com/msdn/showpost.aspx?postid=98346&amp;siteid=1">this forum topic</a>. Here’s the relevant snippet:</p>
<p>“When you first run SSE this way, it makes a local copy of master etc. in C:\Documents and Settings\&lt;your user account name&gt;\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS.&nbsp; That&#8217;s why it&#8217;s so slow the very first time it loads under a new user profile.&nbsp; It may even timeout the first time you ever use it under a given profile.</p>
<p>Based on your description, it&#8217;s very possible something went bad in those files for some reason.&nbsp; So, I would first make a backup and then delete the SQLExpress directory under C:\Documents and Settings\&lt;your user account name&gt;\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data.&nbsp; That will get rid of the local copy of master, etc.&nbsp; Then, reboot. ”</p>
<p>Well – Lance (the author of the post and author of <a href="http://www.amazon.com/exec/obidos/ASIN/0764589237/joshholmescom-20/102-5426319-2482506">SQL Server 2005 Express Edition Starter Kit</a>) was absolutely right. I killed the master files (after copious backups) and rebooted the machine. It’s working like a champ now. On reboot, it regenerated the master files needed and started right up. </p>
<p>Thanks Lance and <a href="http://jasonf-blog.blogspot.com/">Jason</a>.&nbsp; </p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2006/03/14/sqlserver2005expressissues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS.NET Launch in November == Free Goodies!</title>
		<link>http://www.joshholmes.com/blog/2005/09/22/vsnetlaunchinnovemberfreegoodies/</link>
		<comments>http://www.joshholmes.com/blog/2005/09/22/vsnetlaunchinnovemberfreegoodies/#comments</comments>
		<pubDate>Thu, 22 Sep 2005 13:42:47 +0000</pubDate>
		<dc:creator>joshholmes</dc:creator>
				<category><![CDATA[Speaking]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.joshholmes.com/blog/2005/09/22/VSNETLaunchInNovemberFreeGoodies.aspx</guid>
		<description><![CDATA[If you attend the VS.NET Launch in November you’ll get a free copy of VS.NET 2005 and a free copy of SQL Server 2005! &#160; Oh yeah – and you’ll get some great content on how to use those two products.]]></description>
				<content:encoded><![CDATA[<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>If you attend the VS.NET Launch in November you’ll get a free copy of VS.NET 2005 and a free copy of SQL Server 2005!</font></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><font face="Times New Roman" color=#000000 size=3>&nbsp;</font></o:p></p>
<p class=MsoNormal style="MARGIN: 0in 0in 0pt"><font face="Times New Roman" color=#000000 size=3>Oh yeah – and you’ll get some great content on how to use those two products. </font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshholmes.com/blog/2005/09/22/vsnetlaunchinnovemberfreegoodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
