VS 2008 on Vista 64-Bit

by agrace 3. August 2008 19:58

Vista Desktop Carousel I've been uncharacteristically quiet lately but kept busy with the creation of a new County SharePoint Intranet. I've also been busy on the home front, building up a new development machine which is the topic of this posting.

Although I have been working with VMs for the last year or so, and find them amazingly powerful to work with, a couple of things contributed to ongoing hirsutical challenges. Firstly, external drives simply don't cut it performance-wise and secondly, you really need ample RAM, storage and raw horsepower to develop SharePoint on VM's and still carry out normal development on the host machine in Visual Studio. At work, my problem was solved by an investment in VM servers and a SAN. At home, I felt like the Slowsky snail in the Comcast ad :-S

I upgraded from an XP Pro machine with 2MB of Ram, half of which was added a few months back, to a new HP D5000t 64-bit PC with a Quad Q9450 2.66 GHz processor, 8 GB of RAM and a 500GB SATA drive. I've hooked up a 500GB external Western Digital drive, mainly for back-ups and graphics storage. And I have purchased an extra internal SATA Seagate 750GB drive which I will use for all my VM work. More than anything, I wanted to work with VS 2008 on my host PC and this was the main carrot on the stick for upgrading.

Here are a few things to remember if you are moving to VS 2008 on Vista:

1) You need to get a version above Vista Home or Home Premium, such as Vista Ultimate, if you want IIS7 to play nice. This is reminiscent of having to use XP Pro over XP Home with IIS 5.0. If you try to install SQL Server 2005 on anything less than Ultimate you will start getting install errors relating to missing IIS7 features. Ultimate is $319 off the shelf so it's cheaper to include the upgrade when purchasing the PC.

2) Add the required components to IIS7 by going to Control Panel, Programs and Features, and clicking on "Turn Windows features on or off" on the left of the screen. See here and here for more details.

3) Your development tools have to be installed in this order: SQL Server 2005, SQL Server 2005 SP2 service pack, and finally VS 2008. Do not open anything in SQL Server 2005 before the service pack is installed. If you do not follow this order of install, you will have real problems installing the SQL Server Management Studio (SSMS) IDE. After VS 2008 is installed open it once to initialize it before checking for any Windows updates.

4) When installing SQL Server 2005, you may start getting compatibility errors; ignore these. After everything is installed you may notice some errors in your event log like this code 10 error:

"Event filter with query "SELECT * FROM __InstanceModificationEvent WITHIN 60 WHERE TargetInstance ISA "Win32_Processor" AND TargetInstance.LoadPercentage > 99" could not be reactivated in namespace "//./root/CIMV2" because of error 0x80041003. Events cannot be delivered through this filter until the problem is corrected."

KB 950375 contains a script to easily resolve this.

 

It was pretty painless to grab one of my existing 2.0 Web application projects from back-up and get it to work in VS 2008, using the multi-targeting feature.

Database Publishing Wizard 2.0

One of the lesser-known VS 2008 gems is the built-in Database Publishing Wizard 2.0. While developing with VS 2005 / SQL Server 2005, I have always used the standalone Database Publishing Wizard 1.1 to deploy SQL Server databases to production. It was a bit hacky but worked very well for a long time. Now the new wizard is built in and can be accessed in Server Explorer. Just add a connection, right-click it and select "Publish to Provider". You can use this to deploy complete databases both ways between a hosted server and your local IDE.... very nice :-)

kick it on DotNetKicks.com   PHP, ASP, .NET, JSP Resources, Reviews   vote it on Web Development Community



Comments (7) -

Walter Worsfold
Walter Worsfold United Kingdom
9/5/2008 5:17:21 AM #

Nice notes about vs 2008 install on vista 64-bit, but you missed a cheaper version above home premium and ultimate, namely vista business, which I use for 64-bit development with vs 2005 pro and sql server 2005, and it also comes with IIS v7.

agrace
agrace United States
9/7/2008 7:16:05 AM #

Hi Walter,

Thanks for pointing that out.

Anthony Smile

laptop cases
laptop cases United States
9/25/2008 7:38:19 PM #

namely vista business, which I use for 64-bit development with vs 2008 too

Dr_No
Dr_No United States
2/10/2009 6:37:17 PM #

Thanks for the tip.

Too bad VS2008 is 32-Bit application. It is also missing some components like compiling Web Apps in 64-bit through the GUI?

agrace
agrace United States
2/10/2009 7:10:18 PM #

Hi Doc Smile

Correct, VS 2008 is a 32-bit application. My only concern to date has been to have it work correctly on either architecture:
blogs.iis.net/.../...t-applicationhost-config.aspx

We will probably have to wait for the device driver people to catch up!

Anthony Smile

Yui
Yui Canada
2/11/2009 12:12:33 PM #

Thanks! It was pretty helpful.
I am hoping to get runnign my ms sql 2008 with vs 2008 in a Windows server 2008 64x
*crossing fingers*

peace
peace United States
3/4/2009 4:09:22 PM #

Can I migrate the code (functions to support excel add ins in VBA) in VC ++ 6.0 to VS 2008 in VISTA?

Pingbacks and trackbacks (1)+

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading