Sunday, March 04, 2007

Orcas March 2007 CTP Installation Problems

Project Designer's Properties Pages Are Inoperable Many Orcas March 2007 CTP testers have reported that the Project Designer's Properties pages don't work. A red ball with an X appears and you receive this error for any page you select:

An error occurred trying to load the page. Microsoft.VisualStudio.Shell.WindowPane.OnCreate()

Update 4/25/2007: This fix does not apply to Orcas Beta 1, which doesn't exhibit the preceding problems. See SQL Server Compact Edition FAILS to connect in Server Explorer with Beta 1 in the ADO.NET Orcas forum.

I experienced the same problem with the Self-Extracting Install on Windows Server 2003 R2 and Vista, as well as the VirtualPC Image on Windows Server 2003 SP1, as the guest OS running on Virtual Server 2005 R2. The Visual Studio Code Name “Orcas” Release Notes accessible from the download pages for the Self-Extracting Install and VirtualPC Image (not the Readme that opens when you click the View Readme button of the VS Orcas setup splash screen) states:

19. Working with Project Designer (Project Properties) is unsupported when the CTP is installed on the same machine as VS 2005 or SQL Server 2005.

Project Designer is the feature responsible for configuring application settings, handling application events, managing settings, managing resources, and working with other properties of the project. This feature currently is not supported in the March CTP if the CTP is installed on the same machine (side-by-side) with VS 2005 or SQL Server 2005. This limitation is caused by a known issue in the setup authoring of this component.

To resolve this issue, it is recommended to either:

  • Use the March CTP from a VPC image
  • Install March CTP to a different machine without VS 2005 or SQL Server 2005

This defect was known to Microsoft prior to release of the installation bits, so testers should have been warned about the issue in the download pages and ReadMe file that the setup splash screen's View ReadMe button opens.

The VirtualPC Image includes SQL Server 2005 to support Team Foundation Server; removing the SQL Server components doesn't restore Properties pages operability. You must perform a custom install of the Self-Extracting Install version and clear the SQL Server 2005 Express check box to obtain operable Properties pages.

(SQL Server 2005 Compact Edition components don't cause this problem. Rafik Robeal's four Sync Services projects build and run without issues in Orcas March 2007 under Windows Server 2003 R2 and Vista.)

Note: See Feedback: Project properties Panes not created on Orcas CTP Mars for a similar issue under Vista and Forum: Microsoft.VisualStudio.Shell.WindowPane.OnCreate() for several users experiencing the problem. Side Effects of Not Installing SQL Server 2005 [Express]

1. SQL Server Native Client (Sqlncli) for OLE DB and ODBC connections to SQL Server 2000 and 2005 isn't installed.

You can install the X86, X64, or IA64 Package from links on the Feature Pack for Microsoft SQL Server 2005 - February 2007 page or the X86 package (Sqlncli.msi) directly. 2. You can't persist an SQL Server data connection in the Orcas March Server Explorer when running under Windows Vista.

Update 2/7/2007: This problem has been solved by an anonymous commenter. An extra entry in machine.config for SQL Server 2005 CE v3.1 caused the failure. See the 2/7/2007 Orcas March CTP on Vista Database Connections Problem Solved post.

The Choose Data Source dialog behaves as expected, and selecting Microsoft SQL Server as the Data Source and either .NET Framework Data Provider for SQL Server or OLE DB opens the Add Connection dialog. You can choose a networked instance of SQL Server [Express] in the Server Name list, but the Select or Enter a Database Name list isn't populated with database names. Clicking Test displays the expected (but bogus) message:

If you type a known good database name in the list and then click OK you receive this error message:

Clicking Advanced displays this defective Advanced Properties dialog:

Here's what the Advanced Properties dialog looks like when Orcas March 2007 CTP runs under Windows 2003 Server SP1 or Windows XP SP2:

The same problem occurs when using the dialog to build a connection string from the Properties/Settings page. Typing the approprate connection string in the Settings grid's Values cell doesn't add the required providerName="System.Data.SqlClient" attribute/value pair to the app.config file's <connectionStrings> element. As noted in my earlier Orcas March CTP Available from MSDN post, Windows Vista isn't a supported OS for the Self-Extracting Install version. This problem might explain why. (Vista is a supported OS for the VirtualPC Image version.)

Note: See Feedback: Unable to create data connections in server explorer for another tester with the same problem.

Build Warning about .NET Framework 2.0 update

Building a simple VB project reports in the following warning message:

vbc : warning BC42323: .NET Framework 2.0 update not found. The win32manifest will not be embedded.

The system is using the current version as indicated by this build instruction:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll

Others have reported similar warnings when building C# projects. So far, I haven't found any problems that I can attribute to an outdated .NET Framework 2.0 version.

Note: See Feedback: C# solution upgrade creates error CS1928 for a similar issue and the Properties pages problem.

7 comments:

  1. The issue with SQL Connection strings is much larger than what you elude to. It also breaks almost all visual database design tools in Orcas, SQL Server Management Studio and Visual Studio 2005. This includes the table designer, database diagrammer and the view designer.

    I have good news though. There is a fix. If you open up the machine.config file you will notice multiple entries for the SQL CE stuff in the system.data section. Comment these out (this will break SQL CE, which is fine for most people) and your SQL Server editing will return. I believe if you comment out 2 of the 3 leaving the version 9 dll intact the SQL CE stuff will remain working.

    ReplyDelete
  2. Actually, the data connections don't persists on Windows XP either. I tried it. And I got the same errors.
    In fact, there wasn't even a machine.config file for .NET 3.0 and 3.5 present, very strange indeed.

    ReplyDelete
  3. I am currently using Windows Vista Ultimate and the March CTP installed just fine. I do happen to have VS2005 installed on my system side by side so the property pages dont fill, but other than that its working just fine.

    Chris

    ReplyDelete
  4. The best mp3 player reviews are here.mp3 player Whether you're looking for your first mp3 player, or upgrading your current one to one with more features; you're in the right place to start your quest.cheap mp3 player Having a look at the best mp3 player reviews will show you every little detail you'll ever need to know about mp3 players.There was a time when,you needed to buy such a specialized device, you'd need to buy magazines or specialized trade journal, to get an inside look at it.buy mp3 player Today, you need none of those.mp3 player Internet is your best friend, and when talking about mp3 well, you won't feel the information lacking. MP3 PLAYER kaufen There are mp3 articles all around the net, from specialized detailed information for every single mp3 player out there, to comparisons, to owners comments.mp3 player Finding the best mp3 player reviews just takes a few clicks.Then, after you've read through the best mp3 player reviews, you just need to head to the last stage of it: finding the best online price for your mp3 player A few days later you'll cheap mp3 player be enjoying your mp3 songs. And the best part MP3 PLAYER kaufen is you have done it all without setting foot out of your house.

    ReplyDelete