<?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>Glavs Blog : SQL Server</title><link>http://weblogs.asp.net/pglavich/archive/tags/SQL+Server/default.aspx</link><description>Tags: SQL Server</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>WiX - Painful at best</title><link>http://weblogs.asp.net/pglavich/archive/2008/04/29/wix-painful-at-best.aspx</link><pubDate>Tue, 29 Apr 2008 05:35:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6140210</guid><dc:creator>Glav</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/pglavich/rsscomments.aspx?PostID=6140210</wfw:commentRss><comments>http://weblogs.asp.net/pglavich/archive/2008/04/29/wix-painful-at-best.aspx#comments</comments><description>&lt;p&gt;So I finally got WiX to create an installer for me after many hours of poor documentation, obscure errors and bizarre angle bracket syntax.&lt;/p&gt; &lt;p&gt;The latest error I have really annoyed me as there was no obvious indication what the error was and how to resolve it, which is really the purpose of this post. To share this so that others may benefit, and because my memory is so poor, I need to record it for later use :-)&lt;/p&gt; &lt;p&gt;Basically I got this:&lt;/p&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;candle.exe : error CNDL0001: Cannot set column 'Attributes' with value 239 because it is greater than the maximum allowed value for this column, 127.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;Nice. I wont bore you with the vulgarities that I produced trying to decipher this message, but it ended up being the fact that I had put a &lt;font size="2" face="Courier New"&gt;&amp;lt;sql:sqlDatabase&amp;gt;&lt;/font&gt; server definition was inside a feature element rather than outside on its own.&lt;/p&gt; &lt;p&gt;So I had put this:&lt;/p&gt; &lt;p&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;sql:sqlDatabase Id="SqlDatabase" Server="[DATABASESERVERNAME]" Database="[DATABASENAME]" /&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;inside a &lt;font size="2" face="Courier New"&gt;&amp;lt;Component&amp;gt;&lt;/font&gt; tag. &lt;/p&gt; &lt;p&gt;Placing the &lt;font size="2" face="Courier New"&gt;&amp;lt;sql:sqlDatabase&amp;gt;&lt;/font&gt; tag back outside the &lt;font size="2" face="Courier New"&gt;&amp;lt;Component&amp;gt;&lt;/font&gt; tag fixed this issue.&lt;/p&gt; &lt;p&gt;Hope it saves others similar frustration.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6140210" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/pglavich/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>ASP.NET Podcasts</title><link>http://weblogs.asp.net/pglavich/archive/2007/07/20/asp-net-podcasts.aspx</link><pubDate>Fri, 20 Jul 2007 03:57:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:3230575</guid><dc:creator>Glav</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/pglavich/rsscomments.aspx?PostID=3230575</wfw:commentRss><comments>http://weblogs.asp.net/pglavich/archive/2007/07/20/asp-net-podcasts.aspx#comments</comments><description>&lt;p&gt;After going on holidays, feeling relaxed and generally not doing much tech related stuff, I have fallen behind in a number of things. One was my inbox, something like 1400+ messages I have had to wade through, and they keep coming.&lt;/p&gt; &lt;p&gt;However, the other is the podcasts. &lt;a href="http://weblogs.asp.net/wallym"&gt;Wally&lt;/a&gt; has been producing some podcasts and I have been out of the loop, and being the slacker that I am, have not listed them here on my blog. So without further ado, here's the recent list:&lt;/p&gt; &lt;p&gt;( As usual, &lt;a href="http://www.scalabledevelopment.com/ftp/ScalabilityWithDotNet.xml"&gt;Subscribe here&lt;/a&gt; )&lt;/p&gt; &lt;p&gt;&lt;a href="http://weblogs.asp.net/wallym/archive/2007/07/13/asp-net-podcast-show-97-jim-wooley-on-link-part-iii-video-and-audio.aspx"&gt;&lt;font size="4"&gt;ASP.NET Podcast Show #97 - Jim Wooley on Link Part III (video and audio)&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Original URL: &lt;a href="http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/07/12/asp-net-podcast-show-97-jim-wooley-on-link-part-iii-video-and-audio.aspx"&gt;http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/07/12/asp-net-podcast-show-97-jim-wooley-on-link-part-iii-video-and-audio.aspx&lt;/a&gt; &lt;p&gt;&lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070711-LINQPart3WithJimWooley.wmv"&gt;Download WMV File&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070711-LINQPart3WithJimWooley.m4v"&gt;MP4 File (iPod and Zune)&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/PodcastFiles/ASPNETPodcast20070711-LINQPart3WithJimWooley.mp3"&gt;MP3 Audio File&lt;/a&gt;.  &lt;p&gt;Show Notes: &lt;p&gt;In the past, working with data has required learning a number of different API sets for each kind of data you needed to access. Relational data requires ADO. XML uses Xpath, XQuery and the XML Dom. Objects require you to write your own manipulation code. In this video, Jim Wooley (MVP in VB) continues to look at&amp;nbsp;the Language Integrated Query (LINQ) project and demonstrates how to leverage it to use a single API to work against XML, objects and relational data. In it, we continue exploring the ThinqLinq web site by demonstrating&amp;nbsp;creating and querying XML to create and consume RSS feeds using ASP.Net with Visual Studio code name "Orcas".&amp;nbsp;The video concludes with an overview of the language changes in C#3.0 and VB 9.0 which enable the querying functionality.&lt;br&gt;This video is part&amp;nbsp;3 of 3.&amp;nbsp;The code samples and slides are available at &lt;a href="http://devauthority.com/files/13/jwooley/entry38500.aspx"&gt;http://devauthority.com/files/13/jwooley/entry38500.aspx&lt;/a&gt;. Jim can be contacted via his web site at &lt;a href="http://devauthority.com/blogs/jwooley"&gt;http://devauthority.com/blogs/jwooley&lt;/a&gt; or at the site for his upcoming LINQ book at &lt;a href="http://linqinaction.net/"&gt;http://LinqInAction.net&lt;/a&gt;. &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://weblogs.asp.net/wallym/archive/2007/07/08/asp-net-podcast-show-96-jim-wooley-on-link-part-ii-video-and-audio.aspx"&gt;&lt;font size="4"&gt;ASP.NET Podcast Show #96 - Jim Wooley on Link Part II (video and audio)&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Direct Download format: &amp;nbsp;&lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070708-LINQPart2WithJimWooley.wmv"&gt;WMV File&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070708-LINQPart2WithJimWooley.m4v"&gt;Ipod/Zune&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/PodcastFiles/ASPNETPodcast20070708-LINQPart2WithJimWooley.mp3"&gt;MP3 audio File&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Show Notes&lt;/u&gt;:&lt;/p&gt; &lt;p&gt;In the past, working with data has required learning a number of different API sets for each kind of data you needed to access. Relational data requires ADO. XML uses Xpath, XQuery and the XML Dom. Objects require you to write your own manipulation code. In this video, Jim Wooley (MVP in VB) continues to look at the Language Integrated Query (LINQ) project and demonstrates how to leverage it to use a single API to work against objects or relational data. In it, we continue exploring the ThinqLinq&lt;br&gt;&amp;lt;&lt;a href="http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/07/09/asp-net-podcast-show-96-jim-wooley-on-link-part-ii-video-and-audio.aspx"&gt;http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/07/09/asp-net-podcast-show-96-jim-wooley-on-link-part-ii-video-and-audio.aspx&lt;/a&gt;&amp;gt; web site by demonstrating joining in-memory object structures from System.IO with relational data from SQL Server. We also look at updating data back to the database using ASP.Net with Visual Studio code name "Orcas". &lt;br&gt;This video is part 2 of 3. The code samples and slides are available at &lt;a href="http://devauthority.com/files/13/jwooley/entry38500.aspx"&gt;http://devauthority.com/files/13/jwooley/entry38500.aspx&lt;/a&gt;. Jim can be contacted via his web site at &lt;a href="http://devauthority.com/blogs/jwooley"&gt;http://devauthority.com/blogs/jwooley&lt;/a&gt; or at the site for his upcoming LINQ book at &lt;a href="http://LinqInAction.net"&gt;http://LinqInAction.net&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://weblogs.asp.net/wallym/archive/2007/06/28/asp-net-podcast-show-95-jim-wooley-on-linq-part-i-video-and-audio.aspx"&gt;&lt;font size="4"&gt;ASP.NET Podcast Show #95 - Jim Wooley on LINQ Part I (video and audio)&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Original url: &lt;a href="http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/06/28/asp-net-podcast-show-95-jim-wooley-on-linq-part-i-video-and-audio.aspx"&gt;http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/06/28/asp-net-podcast-show-95-jim-wooley-on-linq-part-i-video-and-audio.aspx&lt;/a&gt; &lt;p&gt;&lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070628-LINQPart1WithJimWooley.wmv"&gt;Download WMV video&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/VideoFiles/ASPNETPodcast20070628-LINQPart1WithJimWooley.m4v"&gt;iPod video&lt;/a&gt;, &lt;a href="http://www.aspnetpodcast.com/PodcastFiles/ASPNETPodcast20070628-LINQPart1WithJimWooley.mp3"&gt;MP3 audio&lt;/a&gt;. &lt;p&gt;Show Notes: &lt;p&gt;Part 1: &lt;br&gt;In the past, working with data has required learning a number of different API sets for each kind of data you needed to access. Relational data requires ADO. XML uses Xpath, XQuery and the XML Dom. Objects require you to write your own manipulation code. In this video, Jim Wooley (MVP in VB) introduces the Language Integrated Query (LINQ) project and demonstrates how to leverage it to use a single API to work against objects or relational data. In it, we explore extending an existing web site to add the ability to load a set of web links from a database and display them using ASP.Net with Visual Studio code name "Orcas". He starts with a standard object collection populated by a DataReader and demonstrates how to eliminate the &lt;a href="http://aspnetpodcast.com/CS11/blogs/asp.net_podcast/archive/2007/06/28/asp-net-podcast-show-95-jim-wooley-on-linq-part-i-video-and-audio.aspx#"&gt;plumbing&lt;/a&gt; code using LINQ and LINQ to SQL. &lt;p&gt;Originally recorded on 3/21. Link to the Beta 1 download page: &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx"&gt;http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx&lt;/a&gt;&lt;br&gt;This video is part 1 of 3 recorded at the Atlanta Visual Basic Study Group (www.avbsg.net). If it stops abruptly, it is because we didn't realize pressing F10 to step through code in a VPC would cause our recording tool to stop. The code samples and slides are available at &lt;a href="http://devauthority.com/files/13/jwooley/entry38500.aspx"&gt;http://devauthority.com/files/13/jwooley/entry38500.aspx&lt;/a&gt;. Jim can be contacted via his web site at &lt;a href="http://devauthority.com/blogs/jwooley%20"&gt;http://devauthority.com/blogs/jwooley &lt;/a&gt;or at the site for his upcoming LINQ book at&lt;a href="http://linqinaction.net/"&gt; http://LinqInAction.net&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3230575" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/pglavich/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/podcast/default.aspx">podcast</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/Architecture/default.aspx">Architecture</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/Windows/default.aspx">Windows</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/SQL/default.aspx">SQL</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>VSTS for Database Professionals on my current project</title><link>http://weblogs.asp.net/pglavich/archive/2007/05/28/vsts-for-database-professionals-on-my-current-project.aspx</link><pubDate>Mon, 28 May 2007 12:24:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2671941</guid><dc:creator>Glav</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/pglavich/rsscomments.aspx?PostID=2671941</wfw:commentRss><comments>http://weblogs.asp.net/pglavich/archive/2007/05/28/vsts-for-database-professionals-on-my-current-project.aspx#comments</comments><description>&lt;p&gt;On a current project I was interested in using &lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/aa718807.aspx"&gt;VSTS for Database professionals&lt;/a&gt; to see if it could add any value with database management. Traditionally its been a very manual process as Visual Studio has not had any real support for it.&lt;/p&gt; &lt;p&gt;I also knew that &lt;a href="http://msmvps.com/blogs/nickwienholt/Default.aspx"&gt;Nick Weinholt&lt;/a&gt; is due to present at &lt;a href="http://www.sdnug.org/"&gt;SDNUG&lt;/a&gt; on the topic of all things data related, one of which is VSTS for DB Pros, at the next meeting of &lt;a href="http://www.sdnug.org/"&gt;SDNUG&lt;/a&gt; next Thursday, June 7th.&lt;/p&gt; &lt;p&gt;So I pinged Nick on MSN IM to get some of the early lowdown on the product. He quite liked the product and pointed out a few of its strengths like the Database schema comparisons (and by that I mean comparing db schema to another db schema OR to the schema defined in your Db project - its just another comparison), data generation, current data script generation, playing nice with source control tools, and full recognition of all the database aspects and objects.&lt;/p&gt; &lt;p&gt;So I installed it and started playing. All in all it looks very cool. Very script oriented in that everything works against .SQL scripts. There are .SQL scripts that represent all the objects within your DB and the final build produces a single .SQL script that is used to execute against your DB, or in the case of deploying your Db project, it just gets executed on your behalf. This includes any data related scripts, everything. That's right everything. Think of the project as an offline image of your database in script form.&lt;/p&gt; &lt;p&gt;One thing I did notice is that it keeps a temporary connection to a database that it seems to use for working with. This database gets created when you open the project, and removed when you close it. Not sure exactly as I haven't had time to figure out if its absolutely necessary yet.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.theglavs.com/article_Images/VSTSDBProandmycurrentproject_FA4E/image05.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="137" src="http://www.theglavs.com/article_Images/VSTSDBProandmycurrentproject_FA4E/image0_thumb1.png" width="513" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;The image here shows the -Database project with a GUID after it which is the temporary Db that DB Pro creates when I open the project.&lt;/p&gt; &lt;p&gt;I will say that it does take some getting used to. If you are going to use it, first install it, then download one of the many videos available from the &lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/aa718807.aspx"&gt;DB Pro site&lt;/a&gt; that show what its all about. Work through the videos with the tool open, then you can apply it to a project of your own. I have also used &lt;a href="http://www.red-gate.com/"&gt;red-gates SQL Compare&lt;/a&gt; tool and I think that Red-Gates tool is definitely easier to use. Without thinking, I can use the red-gate tool to compare a DB in a few minutes. VSTS DB Pro takes some getting used to. As to a proper comparison, VSTS DB Pro integrates fully with Visual Studio so its on a winner there but a full comparison is not something I could comfortably do just yet. At any rate, I am pretty impressed thus far.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2671941" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/pglavich/archive/tags/.NET/default.aspx">.NET</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/Architecture/default.aspx">Architecture</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/SQL/default.aspx">SQL</category><category domain="http://weblogs.asp.net/pglavich/archive/tags/SQL+Server/default.aspx">SQL Server</category></item></channel></rss>