Welcome to Sol 3 Sign in | Join | Help
CS Search | Live Search Search

Sol 3

Home of Barrows Software Solutions, LLC

Browse by Tags

All Tags » SQL Server   (RSS)
Showing page 1 of 3 (22 total posts)
  • Installing Team Foundation Server 2008 on SQL Server 2008

    One of the prerequisites for TFS 2008 is that it must be installed to work with SQL Server 2005 SP2 or SQL Server 2008. However, TFS 2008, by itself, will not work with SQL Server 2008. You’ll receive an error message that your SQL Server instance is not compatible as I’ve mentioned at http://tinyurl.com/4shjod. You’ll receive other error messages ...
    Posted to ASPInsiders (Weblog) by Anonymous on September 24, 2008
  • Use LINQ to XML to Generate Excel Documents

    I was looking for a quick and easy solution to export data from SQL into an Excel format from within my ASP.NET application. I came across a great video posted by Beth Massi on the asp.net website (Video #7 at the bottom at http://www.asp.net/learn/linq-videos/). Beth steps through creating the LINQ to XML and how you can populate your Excel ...
    Posted to ASPInsiders (Weblog) by Anonymous on August 11, 2008
  • Using the LINQ Keyword "First"

    All day I was stumped on why there wasn't a simple way to grab the first object in a sequence other than using: .Take(1).Single Then I discovered the keyword First. I'm still a little puzzled as to why .Single would throw an exception if more than a single element would be returned. I can't really see a practical use for it unless you ...
    Posted to ASPInsiders (Weblog) by Anonymous on July 8, 2008
  • LINQ to SQL and MS Small Business Server 2008 Talks at .NET Valley

    The next .NET Valley User Group event will be on June 18th at Scranton University in Scranton, Pennsylvania. There will be two talks that evening. The first will begin at 6pm and will be presented by Michael Murphy. Michael will talk about the ins and outs of Microsoft Small Business Server 2008. The second talk will begin at 7:15pm or so and will ...
    Posted to ASPInsiders (Weblog) by Anonymous on June 13, 2008
  • Performance Tip: Return Only Necessary Columns Using LINQ

    I was running into an issue where one of my webmethods was taking a large amount of time to return a small set (5-10 objects). I was using LINQ to SQL. I noticed that the LINQ to SQL query was returning all of the rows. After looking into the table a bit further, I noticed that the table included some columns with a larger type (old text column, ...
    Posted to ASPInsiders (Weblog) by Anonymous on June 10, 2008
  • A circular reference was detected while serializing an object of type 'XXX'

    I ran into an issue earlier when trying to return an entity class through a web service for use in an AJAX page. After some quick research, I came across a post by Darren Neimke that referenced Rick Strahl's post about LINQ to SQL and Serialization. For me, performing the first work-around and setting the relationship to 'Friend' worked. Thanks ...
    Posted to ASPInsiders (Weblog) by Anonymous on June 9, 2008
  • Sql Server 2008 RC0 for MSDN Subscribers

    If you are an MSDN Subscriber (MVP or otherwise), you can go get the RC0 release of Sql Server 2008.  
    Posted to ASPInsiders (Weblog) by Anonymous on June 6, 2008
  • Retrieving SQL Type Image Using LINQ

    LINQ views the Image type in SQL Server as Binary. So, there are a few options that we have. We can either (a) modify our LINQ to SQL class and change the property to Byte() instead of Binary or we can (b) convert the Binary to an array. To do the latter, you can use a lambda expression to obtain the image you are looking for and grabbing just the ...
    Posted to ASPInsiders (Weblog) by Anonymous on May 27, 2008
  • SQL Management Studio Shows All Databases

    This has "bugged" me for awhile. When you log into any version of SQL (2000, 2005, and even 2008) as a user with restricted access to just a single database (or even a few databases), you can still see a complete list of all the databases on that server. There have been times when I needed to share a database with a customer or have ...
    Posted to ASPInsiders (Weblog) by Anonymous on May 21, 2008
  • Using "Like" in LINQ to SQL

    I've recently discovered that LINQ and VB can be confusing. I was attempting to pull the top 10 rows of a table where the column started with 'W'. You'd think after I typed that, I'd figure out the solution. That's not the case. Instead, I struggled. Here's what I originally came up with: Dim q = From t In db.Employees Where t.LastName Like ...
    Posted to ASPInsiders (Weblog) by Anonymous on May 21, 2008
1 2 3 Next >
CS Build: 2.1.61129.2
1999
Listed on the CS Listings Powered By Community Server Themed by nb development