Visual Studio Codename "Orcas" Beta 1 Readme

This document lists known issues with the installation, uninstallation, and features of Visual Studio Codename "Orcas" Beta 1 (referred to as "Orcas" in this readme).

System Requirements

Supported Languages: Visual Studio codename “Orcas” is available in the following languages: English (United States) and Japanese

Supported Operating Systems: Microsoft Windows XP Professional x64 Edition (WOW), Microsoft Windows XP Professional SP2, Microsoft Windows XP Home Edition SP2, Microsoft Windows XP Media Center Edition 2002 SP2, Microsoft Windows XP Media Center Edition 2004 SP2, Microsoft Windows XP Media Center Edition 2005, Microsoft Windows XP Tablet PC Edition SP2, Microsoft Windows Server 2003, Standard Edition SP1, Microsoft Windows Server 2003, Enterprise Edition SP1, Microsoft Windows Server 2003, Datacenter Edition SP1, Microsoft Windows Server 2003, Web Edition SP1, Microsoft Windows Server 2003, Standard x64 Edition SP1 (WOW), Microsoft Windows Server 2003, Enterprise x64 Edition SP1 (WOW), Microsoft Windows Server 2003, Datacenter x64 Edition SP1 (WOW), Microsoft Windows Server 2003 R2, Standard Edition, Microsoft Windows Server 2003 R2, Standard x64 Edition (WOW), Microsoft Windows Server 2003 R2, Enterprise Edition, Microsoft Windows Server 2003 R2, Enterprise x64 Edition (WOW), Microsoft Windows Server 2003 R2, Datacenter Edition Microsoft Windows Server 2003 R2, Datacenter x64 Edition (WOW), Microsoft Windows Vista

Note: IA64 is not supported.

Installation Requirements:

Minimum: 1.6+ GHz CPU, 384+ MB RAM, 1024x768 Display, 5400 RPM HD. Recommended: 2.2+ GHZ CPU, 1024+ MB RAM, 1280x1024 Display, 7200 RPM HD.

For Vista: 2.4 GHz CPU, 768 MB RAM

1. Issues in Visual Studio Team System Codename "Orcas" Beta 1

1.1. Installation, Visual Studio

1.1.1. Manual uninstallation of previous versions of Orcas is required

If you have installed an earlier version of Orcas, such as a Community Technical Preview (CTP), then you must uninstall it in the following order:

  1. Go to the Control Panel and open Add or Remove Programs.
  2. Remove "Microsoft SQL Server Compact Edition 3.5".
  3. Remove "Microsoft SQL Server Compact Edition 3.5 Design Tools".
  4. Remove "Microsoft SQL Server Compact Edition 3.5 for Devices".
  5. Remove "Microsoft Visual Studio Performance Collection Tools".
  6. Remove "Windows Mobile 5.0 SDK R2 for Pocket PC".
  7. Remove "Windows Mobile 5.0 SDK R2 for Smartphone".
  8. Remove "Windows SDK NetFX Tools".
  9. Remove "Windows SDK Win32 Tools".
  10. Remove "Windows SDK Headers and Tools".
  11. Remove "Windows SDK Tools".
  12. Remove "Crystal Reports 2007".
  13. Remove "Visual Studio Asset System".
  14. Remove "Visual Web Developer Design Service Reminder Tools".
  15. Remove "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime Language Pack". This step is not required if you have only the English edition.
  16. Remove "Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime Language Pack".
  17. Remove "Microsoft Visual Studio Codename Orcas Tools for Office Runtime".
  18. Remove "Microsoft Visual Studio Codename Orcas Professional" or other related Visual Studio IDE installations, such as Professional, Standard, Enterprise Architect, or Team Suite.
  19. Remove "Microsoft Document Explorer".
  20. Remove "Microsoft Document Explorer 2005 Language Pack". This step is not required if you have only the English edition.
  21. Remove "Microsoft Device Emulator 3.0".
  22. Remove "Microsoft .Net Compact Framework 2.0 SP1".
  23. Remove ".Net Framework 2.0 SDK".
  24. Remove "Microsoft Visual Studio Codename Orcas Remote Debugger".
  25. Remove "Microsoft Visual Studio 64bit Prerequisites Beta". This step is required only if Visual Studio is installed on a 64-bit computer.
  26. Remove "Microsoft .Net Framework 3.5".

If you uninstall Visual Studio from Add or Remove programs, all prerelease components will be chain uninstalled with the product. This allows the user to uninstall an older release of Orcas then install a newer release of Orcas without manually uninstalling the product.

Note: If two or more Orcas products are installed on the same computer and one of them is uninstalled, this will break the remaining products. The chained uninstall of any pre-release version of Orcas will chain uninstall applications that are shared across the products. To fix any remaining product, run repair on it and the chain uninstalled applications will be reinstalled.

1.1.2. Installing VS Orcas as a non-administrator on a Vista box does not automatically prompt the user for elevation

When installing VS Orcas as a non-administrator on a Vista box, setup shows an error box stating that "Setup discovered the following problem: You must have administrative privileges to run Visual Studio Codename Orcas. Please contact your system administrator."

To resolve this issue:

To fix this issue, right click setup.exe and select "Run as administrator". This will prompt the user for the appropriate credentials and continue.

1.1.3. Visual Studio Setup will not resume after a reboot on Vista

During Visual Studio Setup on Vista there is a required reboot to apply an update to the OS. Visual Studio Setup will not resume automatically after the machine is restarted.

To resolve this issue:

After the machine restarts, log in and re-launch setup manually to resume Visual Studio Setup.

1.1.4. Install fonts before you install Orcas JPN on an English version of Windows XP

The installation of Orcas JPN on an English version of Windows XP will fail if East Asian Fonts have not been installed. This happens because the Visual Web Tools have a dependency on matching language fonts. If fonts are not found, the Visual Web Tools component will fail to install.

To resolve this issue:

You must install the East Asian Language Support before you install Orcas JPN on an English version of Windows XP. To install East Asian Language support, open the Regional and Language Options dialog box in the Control Panel. Click the Languages Tab, and then select "Install files for East Asian languages". Click OK to install and close the dialog box.

1.1.5. Orcas will not automatically recognize installed Windows CE and Windows Mobile 5.0/6 SDKs until they are repaired

If Orcas is installed on a computer that has Visual Studio 2005, Windows Mobile 5.0/6, and Windows CE SDKs installed, Orcas will not automatically recognize the SDKs until they are repaired.

To resolve this issue:

Use Add or Remove Programs to repair the SDKs.

1.1.6. SQL Server Compact Edition 3.5 (SSCE) is uninstalled with Orcas, which leads to broken scenarios if two or more Orcas products are installed side-by-side on the same computer

If Orcas is uninstalled, then all SSCE MSIs will be also uninstalled. This can create problems if two Orcas products are installed side-by-side on the same computer (for example, Orcas Standard and Orcas C# Express). If one of the Orcas products is uninstalled, it will uninstall all the SQL Server Compact Edition 3.5 MSIs and the other Orcas product will not function properly.

To resolve this issue:

To reinstall the SQL Server Compact Edition 3.5 MSIs, run the Orcas product installation in repair mode.

1.1.7. SharePoint Workflow Tools Product and Component requirements

To use the SharePoint Workflow Tools in this release, you must install the following products and components in the order listed as follows:

  1. Windows 2003 Server (updated with .NET Framework 2.0)
  2. Internet Information Services (IIS)
  3. .NET Framework 3.0 with Windows Workflow runtime
  4. Visual Studio Tools for Office Codename "Orcas".
  5. Windows SDK (installs Windows Workflow design time components)
  6. Optional: SMTP Service. Installing this service lets you use SharePoint’s e-mail-enabled features. To learn more about these capabilities, see the SharePoint product documentation.
  7. Microsoft Office SharePoint Server 2007

1.1.8. Reboot during VSTS setup of SQL Server Express is required

During setup of VSTS, when the installation of SQL Server Express is finished, your are prompted to reboot. If you select Restart Later, the installation stops and nothing happens on reboot. The expected behavior is for setup to resume on reboot.

To resolve this issue:

If you selected Restart Now, the installation will continue after the computer reboots.

1.1.9. Installation of Orcas Beta 1 JPN on Windows Vista requires Windows Vista OS JPN Langpack

Orcas Beta 1 JPN cannot be installed on Windows Vista unless the Windows Vista JPN Langpack is installed first.

To resolve this issue:

Make sure that Windows Vista JPN Langpack is installed before you install Orcas Beta 1 JPN on Windows Vista.

1.1.10. Uninstalling Orcas CTP does not uninstall SQL Server Compact Edition 3.5

The SQL Server Compact Edition 3.5 MSIs are not uninstalled during the uninstallation of the Orcas CTP. The MSIs are SQL Server Compact Edition 3.5 Design Tools, SQL Server Compact Edition 3.5 For Devices, and SQL Server Compact Edition 3.5. If Orcas is installed at a later time on the same computer, the installation of the SQL Server Compact Edition 3.5 MSIs will be skipped.

To resolve this issue:

Uninstall the SQL Server Compact Edition 3.5 MSIs by using Add or Remove Programs.

1.1.11. OpenMP policy error

The OpenMP policy of Orcas Beta 1 points to an incorrect version.

To resolve this issue:

In the OpenMP policy file, remove the redirection or change the redirection value to something that exists on the computer. Use the following steps to change values:

  1. In the <WINDOWS>\WinSxS\Policies\amd64_policy.8.0.Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_x-ww_dd406c19\8.0.57094.44800.policy file, find the line <bindingRedirect oldVersion="8.0.50608.0-8.0.50608.0" newVersion="8.0.57080.4096"/>. In that line, change the value of newVersion to 8.0.57094.44800
  2. In the <WINDOWS>\WinSxS\Policies\amd64_policy.8.0.Microsoft.VC80.DebugOpenMP_1fc8b3b9a1e18e3b_x-ww_cab99c98\8.0.57094.44800.policy file, find the line <bindingRedirect oldVersion="8.0.50608.0-8.0.50608.0" newVersion="8.0.57080.4096"/>. In that line, change the value of newVersion to 8.0.57094.44800

1.1.12. Orcas Setup Will Fail if a pre-RTM Version of Office 2007 is Installed

When installing Orcas, if a user has a pre-RTM version of Office 2007 installed, setup will fail while installing the Viwual Web Tools component.

To resolve this issue:

Uninstall the pre-RTM version of Office 2007 and setup will work.

1.1.13. Installing Orcas on a Vista machine that has had previous versions of Orcas may fail

When installing Orcas on a Vista machine that has had previous versions of Orcas, setup fails during the installation of the .NET Framework 3.5 component.

To resolve this issue:

Open the Control Panel, select Programs & Features, click on the “View installed updates” located on the Tasks pane. Select and uninstall the following Windows updates:

- Hotfix for Microsoft Windows (KB110806)

- Hotfix for Microsoft Windows (KB930264)

- Hotfix for Microsoft Windows (KB929300)

1.1.14. Initial Orcas setup dialog on a Vista machine may temporarily appear to be “Not Responding”

This issue can be safely ignored and setup will resume shortly.

1.1.15. Orcas install on Vista machine may bring up a dialog that prompts to close running applications

Installing Orcas on Vista may prompt to close running applications such as Machine Debug Manager.

To resolve this issue:

Select the Ignore button and continue with the installation. This may require a reboot at the end of setup.

1.1.16. Visual Studio Tools for Office (VSTO): Office 2007 PIAs installed by the Office 2007 PIA redistributable package are not recognized by this release

If you install Office 2007 before you install the .NET Framework, the required Office 2007 PIAs are not installed. If you try to create a VSTO project when the PIAs are not installed, you will get an error asking you to install the required Office 2007 PIAs. If you then install the Office 2007 PIAs by running the Office 2007 PIA redistributable package, the PIAs are installed but are not recognized by the VSTO projects and you will get an error saying the PIAs are missing, even though they are really installed.

To resolve this issue:

Restart Office2007 setup and then choose Add or Remove features. Select Custom installation and then add the .NET programmability support feature for all Office applications.

1.2. Uninstallation, Visual Studio 

1.2.1. Uninstalling Orcas may affect Visual Studio 2005

If you install Orcas on the same computer as Visual Studio 2005 and then uninstall Orcas, some Visual Studio 2005 features might stop working.

To resolve this issue:

Use Add or Remove Programs to repair Visual Studio 2005. For more information, click here.

1.2.2. Uninstalling Orcas breaks Database projects in Visual Studio 2005

An error appears if you install Orcas on the same computer as Visual Studio 2005, uninstall Orcas, and then try to create a database project. The error states that the SqlServer.targets file cannot be found and that the project could not be created.

To resolve this issue:

Use Add or Remove Programs to repair Visual Studio 2005.

1.2.3. Uninstalling Orcas removed .NET Compact Framework 2.0 and Device Emulator

If you install Orcas on a computer that has Visual Studio 2005 and then uninstall Orcas, .NET Compact Framework v2.0 and Device Emulator will also be uninstalled. 

To resolve this issue:

Reinstall .NET Compact Framework v2.0 and Device Emulator.

1.2.4. Refactoring and Code Generation fails in Visual Studio 2005 C# projects after Orcas is uninstalled

Uninstalling Orcas on a computer that has Visual Studio 2005 installed will cause C# refactoring and code generation features (for example, Implement Interface, Auto-event hookup, Generate Method Stub) to fail in Visual Studio 2005. The problem occurs because the .NET 2.0 SDK is uninstalled and the following registry keys are removed: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\VS]
"VS7CommonBinDir"="D:\\Program Files\\Microsoft Visual Studio 8\\Common7\\Tools\\"
"ProductDir"="D:\\Program Files\\Microsoft Visual Studio 8\\"

To resolve this issue:

To restore refactoring and code generation features in Visual Studio 2005:

  1. On the Tools menu, click Code Snippet Manager.
  2. Select Language = "Visual C#".
  3. Select the "Refactoring" folder.
  4. Click "Add".
    Navigate to the correct location of these snippets on disk.
    The incorrect path is:
    <MyInstallLocation>\Microsoft Visual Studio 8\Common7\IDE\VC#\Snippets\1033\Refactoring
    The correct path is:
    <MyInstallLocation>\Microsoft Visual Studio 8\VC#\Snippets\1033\Refactoring
    Repeat this step for all code snippet folders.

A repair of Visual Studio 2005 will also resolve this issue.

1.2.5. Uninstalling any Orcas product triggers an uninstallation of the .NET 3.5 Framework and causes all other Orcas installations to break

The .NET 3.5 Framework is removed on uninstallation of any Orcas product. This breaks any other installed Orcas product because all Orcas products depend on the .NET 3.5 Framework.

To resolve this issue:

Repair the installation by using Add or Remove Programs, or by downloading and running the Orcas product installer.

1.2.6. Uninstalling Orcas on a computer that has both Visual Studio 2005 and Orcas installed breaks desktop-to-device connectivity

When Orcas is uninstalled on a computer that has both Visual Studio 2005 and Orcas, all scenarios that involve desktop-to-device connectivity will be broken. Examples include connect to device, native/managed project deployment, and debugging.

To resolve this issue:

After you uninstall Orcas, do the following:

  1. Open the Visual Studio 2005 Command window.
  2. Change directory to "%ProgramFiles%\Common Files\Microsoft Shared\Corecon\1.0"
  3. Type "rd /s /q Bin" and then execute the command. This will remove the bin directory.
  4. Change directory to "%ProgramFiles%\Common Files\Microsoft Shared\Visual Studio\"
  5. Type 'rd /s /q "Device SDK Installer"'
  6. By using Add or Remove Programs, repair your Visual Studio 2005 installation.

1.3. Design-time, Visual Studio 

1.3.1. Inherited User Control and Inherited Form C# item templates are missing

The Inherited Form and Inherited User Control C# item templates are missing in the Add New Item dialog box.

To resolve this issue:

To create your own Inherited Form:

  1. Add a Form to your project.
  2. Switch to the Code View.
  3. Change "class <YourFormName> : Form" to "class <YourFormName> : <FormToInheritFrom>".

To create your own Inherited User Control:

  1. Add a User Control to your project.
  2. Switch to the Code View.
  3. Change "class <YourUserControlName> : UserControl" to "class <YourUserControlName> : <UserControlToInheritFrom>".

1.3.2. Visual Studio Tools for Office (VSTO): Building a VSTO Office 2007 solution requires a certificate

ClickOnce requires that the manifest files for an Office 2007 add-in are signed at build time. When you create an Office 2007 add-in project, a temporary certificate is created, added to the project, and installed into your personal certificate store. When you attempt to build the project, if the project’s certificate cannot be found in the certificate store, the project cannot be built and you will receive build errors. This can happen if you remove the certificate from the store or if the project is copied to another development computer.

To resolve this issue:

Either reinstall the certificate in the personal certificate store or create a new certificate. For more information, see How to: Sign Application and Deployment Manifests.

1.3.3. Smart Device Unit Testing: Code generation for private members and types is not supported in Orcas

Generating unit test code for non-public members and methods that have non-public parameters is not supported in this release of Orcas. This will be fixed in a later release.

To resolve this issue:

Use the PrivateType/PrivateObject classes in the Smart Device Unit Test Framework to access non-public members.

1.3.4. Profiler Monitor may not start after initial install

On some computers, when you try to start the profiler monitor by using vsperfcmd, it will fail with no indication of the problem.

To resolve this issue:

Open a profiling target in the Performance Explorer and then click Yes when asked to elevate your credentials.

1.3.5. No automatic upgrade experience for SQL Server 2005 Mobile Edition (version 3.0) or SQL Server Compact Edition (version 3.1) to SQL Server Compact Edition 3.5

Upgrade of an existing Visual Studio 2005 project that is based on NETCF2.0 and SQL Server 2005 Mobile Edition or SQL Server 2005 Compact Edition will not upgrade the SQL Server 2005 Mobile Edition /SQL Server 2005 Compact Edition version to SQL Server Compact Edition 3.5. The project will not compile if either SQL Server 2005 Mobile Edition or SQL Server 2005 Compact Edition is not already installed.

To resolve this issue:

Install SQL Server 2005 Mobile Edition /SQL Server 2005 Compact Edition or replace SQL Server 2005 Mobile Edition /SQL Server 2005 Compact Edition references in the project with SQL Server Compact Edition 3.5 references.

1.3.6. The Windows Mobile 5.0 platform name is shown incorrectly in Visual Studio 2005 Smart Device Native IDE when Orcas, Visual Studio 2005, and Windows Mobile 5.0 SDK are installed on the same computer

Visual Studio 2005 Smart Device Native IDE will show the Windows Mobile 5.0 PPC/SP platform name as "Windows Mobile 5.0 Pocket PC SDK 2" when Orcas, Visual Studio 2005, and Windows Mobile 5.0 PPC/SP SDK are installed on the same computer. An incorrect platform name can affect you in one of the following ways:

To resolve this issue:

  1. Open Visual Studio 2005 command prompt.
  2. Change directory to "%VCINSTALLDIR%\vcpackages".
  3. Open "WCE.VCPlatform.config" file in VS and edit the file to make the following changes:
    For Windows Mobile 5.0 Pocket PC SDK
    Replace "<PlatformName>Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I)</PlatformName>"
    With "<PlatformName>Windows Mobile 5.0 Pocket PC SDK (ARMV4I)</PlatformName>"
    For Windows Mobile 5.0 Smartphone SDK
    Replace "<PlatformName>Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I)</PlatformName>"
    With "<PlatformName>Windows Mobile 5.0 Smartphone SDK (ARMV4I)</PlatformName>"

1.3.7. SQL Server Compact Edition 3.5 does not support server-generated keys and server-generated values

When you use the ADO.NET Entity Framework, an entity's keys may be marked as server generated. This enables the database to generate a value for the key on an insert (entity creation). Additionally, zero or more properties of an entity may be marked as server generated values. A SQL Server Compact Edition database may generate default values for null-valued properties when an entity is created or updated, if a default value has been specified as part of the column definition.

This release of SQL Server Compact Edition, when it is used with the ADO.NET Entity Framework, does not support entities with server-generated keys or values, even though such entity types might be defined in the Model (.csdl) or Target (.ssdl) files.

1.3.8. SQL Server Compact Edition 3.5 does not support SKIP expressions in paging queries

LIMIT and TOP expressions are supported in Paging queries. Paging queries are intended to support stateless paging (scrolling or windowing) through the results of a query. Paging queries in the ADO.NET Entity Framework can be specified by using the LINQ Skip and Take operators. For example:

customers.OrderBy(c => c.Name).Skip(100).Take(20)

Paging queries can also be expressed by using the SKIP, LIMIT, and TOP constructs of Entity SQL. For example:

SELECT value c
FROM NW.Customers AS c
ORDER BY c.Name skip 100 limit 20;

This release of SQL Server Compact Edition, when it is used with the ADO.NET Entity Framework, does not support SKIP expressions in the paging queries. The LIMIT and TOP expressions are supported.

1.3.9. SQL Server Compact Edition 3.5 does not support COLLATE subclauses in the ORDER BY clause of an Entity SQL query

Entity SQL enables a COLLATE subclause to be specified as part of each key in an ORDER BY clause. The COLLATE subclause is applicable only for string-valued expressions, and determines the comparison semantics to use for that expression.

This release of SQL Server Compact Edition, when it is used with the ADO.NET Entity Framework, does not support the use of a COLLATE subclause in the ORDER BY clause of an Entity SQL query. The following query will not be supported:

SELECT value c
FROM NW.Customers AS c
ORDER BY c.Name COLLATE Traditional_Spanish_ci_ai

1.3.10. SQL Server Compact Edition 3.5 does not support command time-outs

The ADO.NET Entity Framework enables time-outs for commands to be specified by using the ObjectContext.QueryTimeout property or the EntityCommand.CommandTimeout property.

This release of SQL Server Compact Edition, when it is used with the ADO.NET Entity Framework, does not support time-outs. That is, the command time-out must not be set to a value other than zero. If a connection time-out property is set, a NotSupportedException("CommandTimeout") exception is raised by the SQL Server Compact Edition database.

1.3.11. SQL Server Compact Edition supports only Unicode strings

The ADO.NET Entity Framework provides support for both Unicode and non-Unicode strings. This release of SQL Server Compact Edition supports only Unicode strings. Literal of type "String" is not supported by the current provider. The 'near constant literal’ exception is raised by SQL Server Compact Edition in non-Unicode strings.

1.3.12. SQL Server Compact Edition 3.5 limitation for time-out in transaction scope

If the queries in a transaction scope take too long to finish and the transaction scope times out, the data might get committed to the database. To resolve this issue: To avoid data getting committed to the database, increase the time-out value.

1.3.13. SQL Server Compact Edition 3.5 crashes when ESCAPE NULL is used in a query

SQL Server Compact Edition stops responding when an index is created on the column specified in the WHERE clause and NULL is used in the ESCAPE clause.

To resolve this issue:

Remove the index on the column specified in the WHERE clause.

1.3.14. Side-by-side limitation in using SQL Server 2005 Compact Edition and SQL Server Compact Edition 3.5

SQL Server Compact Edition 3.5 is supported side-by-side on desktop computers and devices that run SQL Server 2005 Compact Edition. The behavior of side-by-side execution differs for desktop computers and devices.

To resolve this issue:

SQL Server 2005 Compact Edition should be installed side-by-side with SQL Server Compact Edition 3.5 on mobile devices. On desktops, the same process should not load both the SQL Server 2005 Compact Edition and SQL Server Compact Edition 3.5 library.

1.3.15. The Add Web Reference menu item is missing for Smart Device projects that are based on .NET Compact Framework 3.5

The Add Web Reference menu item is missing for following types of Smart Device projects:

To resolve this issue:

The following workaround will enable Add Web Reference menu item for Smart Device Projects based on .NET Compact Framework version 3.5:

  1. Create a new Smart Device project based on .NET Compact Framework version 2.0, add a Web reference and upgrade the project to .NET Compact Framework version 3.5.
  2. Add a Web reference to the project before upgrading its .NET Compact Framework version from 2.0 to 3.5

1.3.16. Uninstalling Orcas breaks Database Diagrams from Visual Studio 2005

If you install Visual Studio 2005 on the same computer as Orcas and then uninstall Orcas, the database diagrams in Visual Studio 2005 might not function correctly.

To resolve this issue:

Use Add or Remove Programs to repair Visual Studio 2005.

1.3.17. Uninstallation of Orcas breaks database projects in Visual Studio 2005

An error appears if you install Orcas on the same computer as Visual Studio 2005, uninstall Orcas, and then try to create a database project. The error states that the SqlServer.targets file cannot be found and that the project could not be created.

To resolve this issue:

Use Add or Remove Programs to repair Visual Studio 2005.

1.3.18. Unable to use Object Test Bench

The Object Test Bench feature for Visual C#, Visual Basic, and Visual J# languages is not included in Orcas Beta 1.

To resolve this issue:

No workaround is available for this issue.

1.3.19. Orcas Client cannot publish test results to Visual Studio 2005 Server

This problem occurs in the following scenario:

  1. Install Orcas client with Orcas Team Foundation Client.
  2. Install Visual Studio 2005 Team Foundation Server.
  3. Try to publish test results from the client to the server.
  4. Test results fail to publish successfully in this scenario.

To resolve this issue:

There is no workaround.

1.3.20. Issues with suppress message and navigate to source in some code analysis targets

Code Analysis in Orcas is currently unable to distinguish between all attributes that made a member different from other members. Attributes such as custom modifiers, generic arity, and calling convention are not used to distinguish between targets. This causes the following legal declarations to be seen as the same method:

class Foo
{
void Bar()
{
}

void Bar() // Overloaded based on generic arity
{
}

void Bar(__arglist) // Overloaded based on calling convention
{
}
}

Because the above members are seen as the same method, global suppressions applied against any are seen as applying to all. This limits the ability to find the correct location of the desired target and causes in-source suppression to be either placed against the incorrect member, or prevents in-source suppression altogether.

To resolve this issue:

There are no workarounds for this issue.

1.3.21. Visual Studio Tools for Office (VSTO): Cannot drag and drop from DataSourceWindow to Form Region designer

After you create a data source, you should be able to select it from the Data Sources window and drag and drop it onto the Form Region designer. This cannot be done as expected, and instead the "not-allowed" icon is displayed when the data source is being dragged.

To resolve this issue:

After you create the data source, instead of dragging it to the Form Region designer directly, drag the corresponding control from the toolbox (for example, the DataGridView) to the designer and then set the data source from the "Choose Data Source" drop-down list associated with the control.

Like the UserControl, you then must call the DataAdapter.Fill() function to fill the control with data. Add this in the FormRegionShowing event handler as in the following example:

C#:
private void myFormRegion1_FormRegionShowing(object sender, EventArgs e)
{
    this.categoriesTableAdapter.Fill(this.northwindDataSet.Categories);
}
Visual Basic:
Private Sub FormRegion1_FormRegionClosed(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.FormRegionClosed
    Me.categoriesTableAdapter.Fill(Me.northwindDataSet.Categories)
End Sub

1.3.22. Visual C# Codename "Orcas" Beta 1 Express Edition (C#) editor and compiler performance degrades when code contains deeply nested lambda or query expressions

The C# compiler and editor may not perform well when code that contains deeply nested lambdas or queries is used. Slowdown may be observed at five to ten levels of nesting, but other aspects of the code may also have an affect. At deeper levels of nesting, the C# compiler and editor may appear to hang.

To resolve this issue:

Reduce the nesting of lambdas and queries in the source code.

1.3.23. Orcas LINQ samples are online

LINQ samples and some other C# and VB samples for Orcas are online. To get the latest information about the samples, go to Orcas Samples Page.

These samples are not included in the documentation that is installed with Orcas. However, the documentation does include a link to the samples.

1.3.24. The IndexOutofRange error dialog box prevents you from using Visual Studio Team Edition for Software Architects

An IndexOutofRange error dialog box might appear when the Settings and Constraints Editor or Web Service Details window is visible. This error might prevent you from using Orcas.

To resolve this issue:

  1. Use Windows Task Manager to end the Devenv.exe process.
  2. Restart Orcas.

1.3.25. Typed Dataset: Update and delete rules for relations is set to Cascade Always

Typed datasets include a new feature called hierarchical update that processes changed data in related data tables and sends those changes back to the database in the correct order. For the hierarchical update feature to function correctly, all relations (DataRelations) between data tables are set to Both Relation and Foreign Key Constraint by default.

When Foreign Key Constraint is enabled, Update Rule and Delete Rule are set to Cascade regardless of the setting in the database. Update Rule and Delete Rule will match the rules specified in the database.

To resolve this issue:

Use the Dataset Designer to change Update Rule and Delete Rule to match the constraint rules in the database. Double-click a relation line on the Dataset Designer to bring up the Relation dialog box, where you can modify the constraint rules in the dataset.

1.3.26. The Object Relational Designer (O/R Designer)

The file format for the DBML file generated by the O/R Designer is being changed. The current format that uses GUIDs will be replaced by a more readable format. There is currently no plan to provide upgrade tools that migrate to subsequent file formats. Entity classes created with the Orcas of the O/R Designer will not be supported in subsequent releases.

1.3.27. "Add Web Reference" fails for projects that target .NET Framework 3.0 or .NET Framework 3.5

Adding a Web reference to a project that targets .NET Framework 3.0 or .NET Framework 3.5 is not possible from Solution Explorer if a Web reference does not already exist.

To resolve this issue:

To add a Web reference, downgrade the project to target the .NET Framework 2.0. This can be done in the Property pages for the project by changing the Target Framework to ".NET Framework 2.0" on the Application tab. Once the project has been downgraded to .NET Framework 2.0, add a Web reference. Then upgrade the project to target .NET Framework 3.0 or .NET Framework 3.5. From that point on, the Web reference menu items will be available on the Project and Web References folder in Solution Explorer.

1.3.28. Consuming an ASMX Web service with a Service reference

The ASMX Web service supports two protocols, Soap and Soap 1.2. By default, Web references select Soap. Service references do not select a default protocol to use. Therefore, you must select the endpoint (and hence protocol) to consume an ASMX Web service.

To resolve this issue:

You can provide the endpoint name when you instantiate the proxy class. The example below shows the Soap12 endpoint being used:

(C#)
ServiceReference.ServiceSoapClient proxy = new ServiceReference.ServiceSoapClient("ServiceSoap12");

(Visual Basic)
Dim proxy As New ServiceReference.ServiceSoapClient("ServiceSoap12")

1.3.29. wcfSvchost.exe requires Administrator permissions

The wcfSvcchost.exe tool requires administrator permissions to run. The Windows Communication Foundation service library template in Orcas will not run correctly if wcfSvchost.exe is not available.

To resolve this issue:

Run Orcas under an Administrator account when you author services by using wcfSvchost.exe.

1.3.30. Windows Communication Foundation (WCF) Service Configuration Editor does not exist on the Orcas Tools menu

The svcConfigEditor.exe is not available on the Tools menu of Orcas. The tool cannot be started from the IDE.

To resolve this issue:

Install the Windows SDK, which includes the editor. The svcConfigEditor.exe is located on the Windows Start menu.

1.3.31. Consuming an ASMX or Windows Communication Foundation (WCF) service for a file-based Web site or application requires NTLM credentials when the user is a not an administrator and is using Remote Desktop

When you use a Web site or application over a Remote Desktop as non-Admin, NTLM authentication is automatically enabled. Therefore, when an ASMX or WCF service is consumed, the following error occurs:

"The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'."

To resolve this issue:

  1. Open the property pages for the Web sites
  2. In the Start Options tab, uncheck NTLM Authentication

    Note: This is only advised for Web sites that exclusively have WCF services. WCF services security is managed through the configuration in the web.config file, which makes NTLM Authentication unnecessary.

1.3.32. IDE crashes when the TestResult directory is deleted after all the test results have been deleted from TestRun UI

This problem occurs in the following scenario:

  1. Create a Test Project with one unit test.
  2. Run the test until it is finished.
  3. Open Test Run window and connect to this local run.
  4. Select the run just finished and delete it. If you have done multiple runs, you must delete all of them.
  5. Go to the solution directory through Windows Explorer and delete the TestResults sub-directory.
  6. The IDE crashes.

To resolve this issue:

There is no workaround for this issue.

1.3.33. Microsoft Expression Blend cannot build Orcas solutions and projects

Solutions and projects created in Orcas can be opened and edited in Microsoft Expression Blend, but solutions and projects will not build.

To resolve this issue for pre-release (Beta and RC) versions of Microsoft Expression Blend:

Upgrade to the final release of Microsoft Expression Blend (when available) or build solutions and projects in Orcas.

To resolve this issue for the final release Microsoft Expression Blend:

See Issue 1.3.34 for a resolution to this problem.

1.3.34. If you open and save Microsoft Expression Blend projects in Orcas, then they will no longer build in Microsoft Expression Blend

When you open Microsoft Expression Blend projects in Orcas they will be upgraded to the Orcas format. Once this upgrade is complete the project will no longer build in Microsoft Expression Blend. You can still open and edit the project in Microsoft Expression Blend, but the project will not build in Microsoft Expression Blend.

To resolve this issue for pre-release (Beta and RC) versions of Microsoft Expression Blend:

Upgrade to the final release of Microsoft Expression Blend (when available) or build solutions and projects in Orcas.

To resolve this issue for the final release of Microsoft Expression Blend:

Apply the following (one-time only) workaround. This workaround applies only if Orcas is installed.

  1. Close Microsoft Expression Blend.
  2. Navigate to \Program Files\Microsoft Expression\Blend 1.0\.
  3. Create a new XML file in that folder and then rename the file to Blend.exe.config.
  4. Paste the following XML snippet into Blend.exe.config.

    <?xml version ="1.0"?>
    <configuration>
        <startup>
            <supportedRuntime version="v2.0.50727" safemode="true"/>
            <requiredRuntime version="v2.0.50727" safemode="true"/>
        </startup>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                    <assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="3.5.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="Microsoft.Build.Engine" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="3.5.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
    </configuration>

  5. Save Blend.exe.config and close it.
  6. Open Microsoft Expression Blend. Now you should be able to successfully build your projects and solutions.

    Note: If you uninstall Orcas and .Net Framework 3.5, you should also delete Blend.exe.config.

1.3.35. Project upgrade does not back up XAML files

When you open a Windows Presentation Foundation (WPF) project that was created in an earlier version of Visual Studio or in Microsoft Expression Blend, the Orcas upgrade wizard will upgrade the project. As part of this process, you can choose to back up the project before migration. This migration process does not back up .XAML files.

To resolve this issue:

Back up the project manually before you open the project in Orcas.

1.3.36. Windows Presentation Foundation (WPF) Designer ("Cider") limitations and issues

The latest information about limitations and issues with the use of the Windows Presentation Foundation (WPF) Designer ("Cider") in Orcas can be found here.

1.3.37. Importing code snippets by using the Code Snippets Manager does not work on Windows Vista

If you attempt to import Code Snippets on Windows Vista, the attempt will fail with the following message: "The snippet files chosen were not valid."

To resolve this issue:

Manually add the snippets to the existing snippets folder.

1.3.38. Very large Windows Presentation Foundation (WPF) XAML files cause high memory and CPU usage while they are being edited in the WPF Designer ("Cider") in Visual Studio

If you edit very large XAML files in the WPF Designer ("Cider"), the designer will use large amounts of memory and CPU time. Our recommendation is to avoid editing very large XAML files in the WPF Designer in this release. "Very large" means files larger than 150KB or files with over 1000 elements; for example, a XAML file of a vector drawing that contains large numbers of Path elements.

1.3.39. In Windows Presentation Foundation (WPF) projects, Visual Basic and C# IntelliSense for objects declared in XAML files only works after the XAML file is saved

When you add an element (for example a Button with Name="btnSave") to your XAML file, that named element will only appear in C# or Visual Basic IntelliSense in the code-behind file after you have saved the XAML file.

To resolve this issue:

Save the XAML file before you code against objects that are declared in the XAML file.

1.3.40. Database applications fail to build because MDAC SDK content is missing

MDAC SDK is not installed with Orcas. As a result, ATL and MFC projects for OLE DB applications fail to build.

To resolve this issue:

  1. Download MDAC SDK from here.
  2. Add: "%systemdrive%\Program Files\Microsoft Data Access SDK 2.8\Inc" to an additional include folder.

1.3.41. Applications fail to build due to missing tools, headers and libraries

Visual Studio 2005 projects upgraded to Orcas as well as new projects created in Orcas fail to build due to missing Windows SDK files.

To resolve this issue:

The following solution options are available:

A. From the IDE:

On the Tools menu, click Options, and then navigate to Projects & Solutions, VC++ Directories.

In each case add to end of list

Platform:Win32

  1. Show Directories for: Executable Files
    $(VCInstallDir)\PlatformSDK\bin
  2. Show Directories for: Include files
    $(VCInstallDir)\PlatformSDK\include
  3. Show Directories for: Library files
    $(VCInstallDir)\PlatformSDK\lib
Platform:x64
  1. Show Directories for: Executable Files
    $(VCInstallDir)\PlatformSDK\bin\win64\AMD64
  2. Show Directories for: Include files
    $(VCInstallDir)\PlatformSDK\include
  3. Show Directories for: Library files
    $(VCInstallDir)\PlatformSDK\lib\AMD64 B.

B. From the Command Line:

  1. set path=%PATH%;%VCINSTALLDIR%\PlatformSDK\bin (\win64\AMD64 for x64)
  2. set include=%INCLUDE%;%VCINSTALLDIR%\PlatformSDK\include
  3. set lib=%LIB%;%VCINSTALLDIR%\PlatformSDK\lib(\AMD64 for x64)

1.3.42. Applications built on a 64-bit system under Windows on Windows (WOW) fail to build

The registry key that references the Windows SDK include path is not populated in the WOW registry hive. This prevents projects from being built.

To resolve this issue:

The following solution options are available:

1.3.43. Projects that reference winable.h and oleacc.idl will fail to build

Projects that reference winable.h and oleacc.idl will fail to build because files are missing. Winable.h has been deprecated in Orcas. Oleacc.idl is not available in Orcas Beta 1.

To resolve this issue:

Reference winuser.h instead of winable.h.

1.3.44. ADO.NET Entities does not support ASP.NET for Orcas

ADO.NET Entities does not support ASP.NET for Orcas and none of the item templates that support the ADO.NET Entity Data Model will appear in Visual Web Developer Express.

1.3.45. .NET Compact Framework 3.5 Messaging CABs may not be installed to the device project

The messaging CABs provide all error strings and are required to quickly solve runtime issues because they include descriptions of the exceptions. These CABs may not be deployed because entries are missing in the microsoft.netcf.3.5.xsl file.

To resolve this issue:

  1. Copy the language specific .cab file to your device from "\program files\microsoft.net\SDK\CompactFramework\v3.5\WindowsCE\Diagnostics" (NETCFv35.Messages.EN.Wm.cab for English Windows Mobile 5.0 or 6.0 and NETCFv35.Messages.JA.WM.cab for Windows Mobile 5.0 or 6.0 for Japanese).
  2. Run the .cab file on the device by clicking it.
  3. The next time you hit an exception, you will receive the message description.

1.3.46. Content Installer issues

The Orcas Content Installer may not install certain 2.0 content types correctly. Furthermore, installation of Code Snippets will not work since the "My Code Snippets" folder will not appear when importing code snippets.

To resolve this issue:

Manually unzip the content file and copy the contents to the appropriate folders based on their type. For example, add-ins can be copied to "\My Documents\Visual Studio Codename Orcas\Addins".

1.3.47. In upgraded Windows Presentation Foundation (WPF) projects, Visual Basic and C# IntelliSense for objects declared in XAML files only works after the project is built

When you open a Windows Presentation Foundation (WPF) project created in an earlier version of Orcas or in Microsoft Expression Blend, the Orcas upgrade wizard will upgrade the project. However, this process does not correctly set the "custom tool" option on XAML files. This means that IntelliSense for named elements will only appear in C# or Visual Basic IntelliSense in the code-behind file after you have built the project.

To resolve this issue:

Build the project or set the Custom Tool in the file properties to Custom Tool = "MSBuild:Compile".

1.3.48. Refactoring does not support C# 3.0 language constructs

The use of C# Refactoring features (for example, Rename, Extract Method, Reorder/Remove Parameter) is not yet supported for C# 3.0 language constructs. The following examples illustrate some unsupported scenarios:

To resolve this issue:

There is no workaround. Refactoring will still work as expected when it is used with language constructs from previous versions of C#.

1.3.49. Projects created by using the Crystal Reports project template for Visual Basic Windows applications do not build successfully

When you use the Crystal Reports .NET 3.5 project template "Crystal Reports Application" to create a Visual Basic Windows application, the project will not build successfully and the Form1.vb design view displays the following errors:

Could not find type 'CrystalReportsApplication1.CrystalReport1'
The variable 'CrystalReport11' is either undeclared or was never assigned.

To resolve this issue:

  1. Close "Form1.vb".
  2. From Solution Explorer, select the VB project and add a reference to "System.Xml".
  3. Rebuild the project.
  4. Re-open "Form1.vb".

1.3.50. Visual Basic LINQ in Windows Communication Foundation (WCF) Projects and through MSBuild: Option Infer is not propagated

LINQ relies on a new feature called Local Variable Type Inference to implicitly infer strongly-typed local variables based on the value of the right-hand side of an assignment. This feature is controlled by a compiler setting, Option Infer, which by default is on for most new projects. In WCF projects and in MSBuild compilations, the setting for Option Infer is not propagated.

To resolve this issue:

Put "Option Infer On" at the top of all source files that use LINQ.

1.3.51. Step-into and highlighting of breakpoints does not work correctly when workflows in Orcas are debugged

Step-into and highlighting of breakpoints does not work correctly when you are debugging workflows.

To resolve this issue:

Disable the advanced thread debugging features of Orcas when you are debugging workflows. On the Tools menu, click Options, and then navigate to Debugging, Enable advanced debugging features. Disable the feature.

1.3.52. F11 in Visual Basic does not step into the Code Beside in the Workflow designer

While you are debugging a workflow, it is not possible to step into the activity code from a breakpoint set on the activity.

To resolve this issue:

Set a breakpoint in the code handler for the activity.

1.3.53. Windows Presentation Foundation (WPF) Browser applications crash when they are run under the debugger on Windows Vista

When run under the debugger, WPF Browser applications can crash on Windows Vista. This displays an error message instead of stopping the debugger. When this happens, Orcas must be closed and restarted.

To resolve this issue:

The registry must be modified to disable the Func-Eval Quick Abort feature. This feature fixes a problem that typically occurs during the debugging of multi-threaded WinForm applications. Therefore, you must restore the registry keys and restart Orcas before you debug a multi-threaded WinForm application.

1.3.54. Macros functionality will be disrupted in Visual Studio 2005 if Service Pack 1 is not installed

The problem is caused by a recent design change to the common language runtime (CLR) components for the .NET Framework 2.0 that are installed with this release of Orcas. This change causes compatibility issues for the design-time engine of Microsoft Visual Studio for Applications as described in KB article 938209. Visual Studio 2005 uses the design-time engine of Visual Studio for Applications for macro capabilities. These compatibility issues may prevent the macro script from being compiled successfully or from being loaded successfully. Therefore, the macro does not run.

To resolve this issue:

Install Microsoft Visual Studio 2005 Team Suite Service Pack 1 here.

1.3.55. Compiling a Work project that contains activities fails

The compilation of Workflow projects that contain SReceive or Send activities fails even when they are configured correctly.

To resolve this issue:

Delete the SMDiagnostics.dll file from the References section for the Workflow project.

1.3.56. Visual Studio Tools for Office: By default, SharePoint activities do not appear in Orcas toolbox

When you load a Microsoft Office SharePoint Server workflow project in Visual Studio Tools for Office, you should see the SharePoint activities added to the toolbox in a separate tab. Currently, only the Windows Workflow activities appear in the toolbox. In this release, you must add the activities manually.

To resolve this issue:

To add a tab and items to the Orcas toolbox, see Managing Tabs and Items in the Toolbox.

The SharePoint activities that you must add to the toolbox are located in the Microsoft.SharePoint.WorkflowActions namespace. When you follow the directions in the Managing Tabs and Items in the Toolbox help topic, you will see the Choose Toolbox Items dialog box when you add items to the toolbox. To display only the SharePoint workflow activities that you want to add, type the Microsoft.SharePoint.WorkflowActions namespace in the dialog's Filter textbox.

1.3.57. Visual Studio Tools for Office: Error in loading workflow when starting a debug session with a break point on the workflow state or activity in the designer

When you view the workflow design, you can set breakpoints both on lines of code and on activities or workflow states. However, when you set a breakpoint on an object in the workflow designer, you will see the following error when you press F5 to begin debugging your project:

Error loading workflow. An error occurred while loading the workflow. Please correct the following error and try reloading the document to view the workflow. Could not deserialize object. The type "CustomWorkflow.Workflow1" could not be resolved.

To resolve this issue:

To avoid this error, remove any breakpoints on activities or states in the workflow designer. Use breakpoints in code procedures instead.

1.3.58. F1 in local Help returns incorrect topics in some cases

When you press F1 for help on language elements or UI while you are using local Help, you may receive the incorrect topic or a topic-not-found message. Dynamic Help may also display incorrect topics.

To resolve this issue:

Use Online Help as the primary source for Help. This is the default setting. To change the primary source to Online Help, do the following:

  1. On the Tools menu, click Options.
  2. Navigate to Environment, Help, Online.
  3. Select "Try online first, then local."
  4. Click OK to save the setting.

1.3.59. JScript IntelliSense performance degrades when there are many script blocks in an HTML file

Triggering IntelliSense in the script block of an HTML file may be slow when there are many script blocks in the HTML file. A similar performance degradation is also observed when a JScript file references an HTML file that contains many script blocks. The slowdown can be observed when there are more than 10 script blocks. When there are even more script blocks, triggering IntelliSense may appear to hang the system.

To resolve this issue:

Combine script blocks or otherwise decrease the number of script blocks in the HTML file.

1.3.60. Visual Studio Tools for Office: Issues when debugging Office 2003 projects with breakpoints

In this release, there are known issues when you use breakpoints in the debugger with some Office 2003 projects. If you complete the debugging process when you have breakpoints, then the Office application may not close correctly and you may receive an Office error. When you debug without using breakpoints, this is not an issue.

If you stop the debugging process before it completes, Orcas may crash.

To resolve this issue:

There is no workaround at this time. To avoid receiving the Orcas error, do not stop the debugging process until it has completed.

1.3.61. Visual Studio Tools for Office: Excel 2003 shut down errors

In this release, if you close an Excel 2003 project while the Excel designer is still open, then Excel cannot close correctly and you will receive an error. Nevertheless, the project will be saved correctly.

To resolve this issue:

Before you close an Excel 2003 project, manually close the designer window.

1.3.62. Adding a reference to System.DirectoryServices.AccountManagement.dll

System.DirectoryServices.AccountManagement.dll does not appear on the .Net tab of the Add Reference dialog box.

To resolve this issue:

To add a reference to System.DirectoryServices.AccountManagement.dll, use the Browse tab of the Add Reference dialog box to locate the System.DirectoryServices.AccountManagement.dll in %windir%\Microsoft.NET\Framework\v3.5\.

1.3.63. Visual Studio Tools for Office: Some settings in the Outlook Form Region Wizard do not persist

When you are developing Outlook form regions, the only FormRegionMessageClass attribute that will be generated is for a Mail Message (IPM.Note) whether multiple standard message classes are checked, custom message classes are entered, or both.

To resolve this issue:

Manually add a FormRegionMessageClass attribute for each message class that you want the form region to be associated with.

1.3.64. Visual Basic Upgrade Wizard fails to run in the Professional version of Orcas

When the Upgrade Wizard is run on the Professional version, it will cause the following exception to occur:

Unexpected exception occurred during upgrade engine operation: Retrieving the COM class factory for component with CLSID {EB29F2BC-A843-4C09-9355-03E58D51EC29} failed due to the following error: 800736b1.

To resolve this issue:

There is no workaround for this issue.

1.3.65. Generation of unit tests is currently broken for ASP.NET Venus projects

Source code can be generated but it cannot be compiled because it will contain an invalid reference to a Private Accessor assembly.

To resolve this issue:

There is no workaround for this issue.

1.3.66. Using a Receive activity in the WF designer results in an error in Orcas

Using a Receive activity in the Workflow Foundation designer results in an error in Orcas because the shell cannot find a dependency.

To resolve this issue:

Copy SMDiagnostics.dll in the C:\Windows\Microsoft.NET\Framework\v3.0\Windows CommunicationFoundation\ folder. Paste it in the location required by the compiler (for example, C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0). Doing this should solve the problem.

1.3.67. Visual Studio Tools for Office: Some Settings in Sharepoint Workflow Wizard are not persisted

Changes made to some settings in the Sharepoint Workflow Wizard are not persisted. As a result, the project is created by using the default values instead of the changed values.

To resolve this issue:

Specify any properties you want to change on the first and second pages of the wizard, but do not click Finish on the second page. Instead, click Next to continue to the final page of the wizard. After you click Finish on the final page and the wizard finishes, the changes that you made are respected, except for any that you made on the final page. If you want to change any settings that appeared on the final page, you can do so by manually changing them in the Properties window.

1.3.68. Cannot generate unit test for Web application projects

In the Create Unit Tests dialog box for a Web application project, the tree cannot be expanded. Therefore, you cannot select the methods for which you want to generate unit tests.

To resolve this issue:

In the Create Unit Tests dialog box, click the Add Assembly button and then add the appropriate Web Application Project Assembly. Doing this will open the Create Unit Tests dialog box so that you can select the methods for which you want to generate tests. After you select the methods you want and generate the tests, you must add the proper attributes to the test method so that the test will execute correctly. The required attributes include Host Type (set to ASP.NET), AspNetDevelopmentServerHost (set to the path to the web site), and UrlToTest (set to the URL to test) .

1.3.69. Orcas cannot generate unit tests when device projects and desktop projects exist in the same solution

Orcas may not be able to generate unit tests when device projects and desktop projects exist in the same solution.

To resolve this issue:

Do not add both types of projects to the same solution.

1.3.70. Orcas does not show a progress bar when tests are being generated

Orcas currently does not show a progress bar when tests are being generated.

To resolve this issue:

There is no workaround for this issue

1.3.71. Inheritance of test classes is not supported when inheritance spans classes that are defined outside the active test project

Inheritance of test classes is not supported when inheritance spans classes that are defined outside the active test project.

To resolve this issue:

Put all the classes that will use inheritance into the same test class.

1.3.72. Although Orcas supports the inheritance of test classes, inheritance of test class attributes ([ClassInitialize], [ClassCleanup]) has been disabled in Beta 1

Although Orcas supports the inheritance of test classes, inheritance of test class attributes ([ClassInitialize], [ClassCleanup]) has been disabled in Beta 1.

To resolve this issue:

Copy the initializations in external classes so that inheritance is not required.

1.3.73. Access Modifier ‘Public’ is not working in the managed resource editor

After you set the Access Modifier drop-down in the resource editor for a .resx file or for the Resources project properties page, you receive one of the following warnings in the task list:

To resolve this issue:

  1. Create a file on your computer named “FixPublicRes.reg” and then add the following contents to it (Windows Registry Editor Version 5.00):

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{74d398e9-7cc3-4ff2-9a4d-acd177f40b58}] "InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll" "Class"="Microsoft.VisualStudio.Design.Serialization.PublicVBMyResXFileCodeGenerator" "Assembly"="Microsoft.VisualStudio.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" "ThreadingModel"="Both" @="Microsoft.VisualStudio.Design.Serialization.PublicVBMyResXFileCodeGenerator"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{69b6a86d-ef43-4d9e-a758-8a18b38a7384}] "InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll" "Class"="Microsoft.VisualStudio.Design.Serialization.PublicResXFileCodeGenerator" "Assembly"="Microsoft.VisualStudio.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" "ThreadingModel"="Both" @="Microsoft.VisualStudio.Design.Serialization.PublicResXFileCodeGenerator"
  2. Click Start, and then click Run. Type <Path where you saved the file>\FixPublicRes.reg and then click OK.
  3. You will be asked whether you want to add the information from FixPublicRes.reg into the registry. Click Yes.
  4. In Solution Explorer, right-click the .resx file, and then click Run Custom Tool.

1.3.74. ASP.NET unit tests fail to run against ASP.NET Development Server, and the following error message is generated: "Could not find WebDev.Webserver.exe"

ASP.NET unit tests fail to run against ASP.NET Development Server, and the following error message is generated: "Could not find WebDev.Webserver.exe".

To resolve this issue:

If you receive the error "Could not find WebDev.Webserver.exe," then do the following:

  1. Make sure that Visual Studio 2005 is not installed.
  2. In the Orcas IDE directory, find WebDev.Webserver.exe, and then copy it.
  3. Paste WebDev.Webserver.exe in %windir%\Microsoft.NET\Framework\v2.0.50727.

1.3.75. Event handlers for Windows Presentation Foundation (WPF) controls are not added by the designer

If you want to add event handlers to WPF controls, you cannot do so by using the WPF Designer (for example double-clicking on the control).

To resolve this issue:

You must use the code editor features to add event handlers to WPF controls. In Visual Basic you can use the event drop-down lists in the code editor. In Visual C# you can use statement completion in the code editor.

1.3.76. The CSS Property Grid is disabled

The CSS Property Grid in Orcas Beta 1 is missing a file. Therefore, it is disabled.

To resolve this issue:

Copy the CSS schema file C:\Program Files\Common Files\Microsoft Shared\OFFICE12\SCHEMAS\CSS\css21.xml, and then paste it in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\.

1.3.77. The native compiler's use of Vector Floating Point (VFP) registers is not compatible with Exception Handling (SEH and C++ EH)

The Orcas Beta 1 ARM compiler supports native code generation of Vector Floating Point (VFP) instructions if the -QRfpe- switch is used. However, the compiler’s use of VFP registers is not compatible with Exception Handling (SEH and C++ EH). If a function that uses VFP throws an exception, catches an exception, or is on the callstack between the functions where an exception is thrown and caught, stack corruption may result. This situation could lead to unpredictable behavior or process termination.

To resolve this issue:

Mixing EH and VFP is not recommended. Either use __try/__except or try/catch to stop an exception from propagating, or do not compile by using the -QRfpe- switch when you are using exception handling.

1.4. Run-time, Visual Studio 

1.4.1. IntelliSense does not work in Immediate Window for C# projects

IntelliSense in the Immediate window has been disabled for Beta 1 in C# projects. This is because support for C# 3.0 language features is not yet supported in IntelliSense in the Immediate window.

To resolve this issue:

There is no workaround. The Immediate window can still be used for evaluation.

1.4.2. Visual Studio Tools for Office (VSTO): Office 2007 add-ins created with this release will not run under 64-bit operating systems

If you run an Office 2007 application add-in created with this release on a 64-bit environment, you will receive a runtime error. This includes both running the add-in from the IDE, and installing and using the add-in outside of the IDE. This is because the cache for the add-in is not created correctly in this release.

To resolve this issue:

Before you run an Office 2007 add-in project, or install an Office 2007 add-in, create and publish a Windows Forms application. Then install that application on the computer on which you want to run the Office 2007 add-in. Running a Windows Form application creates the cache that Office 2007 add-ins can use.

1.4.3. Device Unit Test Execution fails with the error "attempted to read or write protected memory"

Device Test Project execution may fail with error message "attempted to read or write protected memory" if the test project contains any combination of Unit Tests and Ordered Tests.

To resolve this issue:

  1. Open the <project> run.testrunconfig file in Notepad or any XML editor.
  2. Add the following line:
    <ExecutionThread apartmentState="1></ExecutionThread>
  3. Save the file.
  4. Rerun the tests.

1.4.4. CEditView::FindText Method call on Pocket PC does not work as expected

On the PocketPC platform, FindText method of CEditView class will fail to locate a string if the text on the edit control is set by using SetWindowText.

To resolve this issue:

Type some text in the Edit Control or send message WM_CHAR before you invoke FindText method. For normal UI-based operations, no workaround is required.

1.4.5. Smart Device Unit Test execution on a device hangs when any of the running tests causes a thread to abort

The most common cause of this is when the code under test or the assembly under test raises a ThreadAbortException. This can also be seen in any situation when a test run receives a ThreadAbortException. For example, the following Test causes the test that is running on device to hang:

[TestMethod()]
public void abortTest()
{
System.Threading.Thread.CurrentThread.Abort();
}

To resolve this issue:

There is no known workaround. If possible, remove the Thread.Abort from the code under test or the assembly under test, and then restart the run.

1.4.6. Unable to open/create/execute Visual J# applications/projects/solutions

The run-time and design-time features for the Visual J# language are not supported in Orcas. For more information, click here.

To resolve this issue:

No workaround is available.

1.4.7. Windows Communication Foundation (WCF) debugging is not enabled by default

By default, the debugging of WCF Services is not enabled in Orcas because that would break some important non-debugging scenarios, including partial trust HTTP hosting of services and Workflow-first authored services.

As a result, the following debugging scenarios are not enabled out of the box:

To resolve this issue:

Orcas provides a tool to enable and disable the debugging of WCF client-service applications.

To enable WCF debugging:

  1. Open a command prompt and navigate to the location where the Orcas executable is located, typically %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE.
  2. Run vsdiag_regwcf.exe –i
  3. The command will output "Command completed successfully." if WCF debugging was successfully enabled.

To disable WCF debugging:

  1. Open a command prompt and navigate to the location where the Orcas executable is located, typically %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE.
  2. Run vsdiag_regwcf.exe –u
  3. The command will output "Command completed successfully." if WCF debugging was successfully disabled.

To determine whether WCF debugging is enabled:

  1. Open a command prompt and navigate to the location where the Orcas executable is located, typically %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE.
  2. Run vsdiag_regwcf.exe –s
    This is a sample of the command's output:

    Microsoft (R) Visual Studio (R) Diagnostics WCF Registration tool - Version 9.0.20104.0
    (C) Microsoft Corporation. All rights reserved.

    Current status .NET Framework configuration file

    Registered D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config

    Command completed successfully.

1.4.8. Visual Studio Tools for Office: An instance of FormRegionControl is being created at the startup of Outlook before any form regions are displayed

In order to return the form region manifest to Outlook during startup, an instance of FormRegionControl is created and cached for the lifetime of the add-in. This instance is not associated with any specific Outlook form region or item, and it will cause controls or other objects to be instantiated one more time than the number of current Outlook form regions.

To resolve this issue:

If there are any controls, components, or objects that will cause visual, memory, or performance issues if an extra instance is created, make sure to instantiate these in the FormRegionShowing event.

1.4.9. Device Emulator installation on X64 Windows Vista Systems will require a patch of SerDMAASPlugin.dll for successful cradling

On x64 Windows Vista systems, a change in the architecture of the Windows Mobile Device Center (WMDC) application requires customers to patch their SerDMAASPlugin.dll to its x64 version. If this patch is not applied, users will not be able to cradle the device emulator to the desktop. Cradling is fundamental to Device Emulator application scenarios and is dependent on users having SerDMAASPlugin.dll.

To resolve this issue:

Install the 64-bit version of SerDMAASPlugin.dll here.

1.4.10. The next version of ADO.NET does not support Visual Web Developer Orcas Express Edition

The next version of ADO.NET only supports Visual Basic Codename "Orcas" Beta 1 Express, Visual C# Codename "Orcas" Beta 1 Express and Visual Studio Codename "Orcas" Beta 1 Standard Edition, Professional Edition, and Team System Editions.

1.4.11. Orcas may not function properly following an OS upgrade such as Windows XP to Windows Vista

The .Net Framework 2.0 and 3.0 updates are not migrated as part of the OS upgrade leaving Orcas in a partially functional state.

To resolve this issue:

Uninstall the .Net Framework 3.5 and repair Orcas.

2. Issues with .NET Framework

2.1. Installation, .NET Framework 

2.1.1. .NET Framework 3.0 Release Notes

See .NET Framework 3.0 Release Notes.

2.1.2. Repair of the .NET FX 3.5 Redistributable does not update the IIS configuration files that are used by Windows Workflow Foundation or Windows Communication Foundation Web host features

If IIS is installed after .NET FX 3.5 or is reinstalled to repair the IIS configuration files (machine.config, web.config and applicationhost.config), CFXInstaller.exe has to be run manually from a command prompt.

To resolve this issue:

  1. Locate CFXInstaller.exe x86: %progamfiles%\reference assemblies\Microsoft\framework\v3.5 x64: %progamfiles(x86)%\reference assemblies\Microsoft\framework\v3.5
  2. Run "CfxInstaller /i" from a command prompt.

2.1.3. Manual uninstallation of langpacks for earlier versions of .NET Framework is required before installation of .NET Framework 3.5

.NET Framework 2.0 and .NET Framework 3.0 langpacks must be manually uninstalled before .NET Framework 3.5 langpacks can be installed.

To resolve this issue:

Uninstall .NET Framework 2.0 and .NET Framework 3.0 langpacks

2.2. Uninstallation, .NET Framework

There are no known uninstalling issues.

2.3. Design-time, .NET Framework

2.3.1. SQL Server Authentication in ADO.NET Entity Data Model wizard

There is a known issue in the ADO.NET Entity Data Model wizard. When you use SQL Server authentication and choose "Yes, include the sensitive data in the connection string" and click OK, the wizard disappears.

To resolve this issue:

Either use Windows Authentication or choose "No, exclude sensitive data from the connection string".

2.3.2. ADO.NET Entity Data Model wizard disappears if user clicks Next without entering anything in Connection combo box or text box

This is a known issue and will be fixed in a subsequent release.

To resolve this issue:

Choose a valid connection and ensure that the entity connection text box contains a valid connection name.

2.3.3. Some WCF samples that ship with the .NET Framework 3.5 SDK (Orcas Beta 1) are broken and will not run

The following WCF samples will not work on Orcas:

To resolve this issue:

To run these samples, use .NET Framework 3.0.

2.4. Run-time, .NET Framework

2.4.1. BigInteger removed from Orcas

After we released the BigInteger type in earlier CTPs, we received some constructive feedback from customers and partners who are interested in extended numerical types. We have learned that we must make some improvements so that this type better serves their needs. We decided to remove BigInteger from Orcas so that we can address these issues and concerns. Please let us know how this affects you and what would you expect in a BigInteger class. You can e-mail us at bclpub@microsoft.com.

2.4.2. TimeZoneInfo class incorrectly referred to as TimeZone2 in documentation code examples

The code snippets included in the documentation for Beta 1 were finalized before the Beta 1 bits, and therefore did not reflect the change of the type's name from TimeZone2 to TimeZoneInfo. As a result, if you copy the code from the documentation and paste it into Visual Studio, your attempts to compile it will produce "type or namespace not found" compiler errors.

To resolve this issue:

Rename all occurrences of TimeZone2 to TimeZoneInfo after you paste the code into an Orcas project.

2.4.3. Root namespace must be empty in Visual Basic Model Object library projects

The root namespace must be set to an empty string for Visual Basic projects that have ADO.NET Models. The ADO.NET Entity Data Model wizard will automatically set the root namespace to empty for Visual Basic projects.

2.4.4. ADO.NET Entity Framework: Model and Target must be in different namespaces

The Namespace attribute in the Schema element of the Model (.csdl) file must be different from the one in the Target (.ssdl) file. The next version of ADO.NET throws an exception at runtime if they are the same.

2.4.5. ADO.NET Entity Framework: one-to-one relationships are not supported

One-to-one relationships cannot be mapped in the conceptual models of the Entity Data Model.

To resolve this issue:

If a one-to-one relationship is present in the database, it can be mapped to a single entity (by using entity splitting) if the two tables share the same primary keys.

2.4.6. Assemblies that contain ADO.NET Entity Data Models must be compiled outside the ASP.NET Web site project

Assemblies that contain ADO.NET Entity Data Models must be compiled outside the ASP.NET Web site project. They can be used in ASP.NET projects by copying the assembly into the "bin" Web site directory or by adding a reference to them. The CSDL, MSL and SSDL files should also be copied into "bin".

To resolve this issue:

Please refer to the next version of the ADO.NET Web sample for more information about how to deploy, locate, and load the appropriate CSDL, MSL, and SSDL files.

2.4.7. Entity Framework requires all tables to have primary keys

The Entity Data Model requires all entities to have keys. When the ADO.NET Entity Data Model Wizard generates files from a database table without a primary key, the project will not compile until a key is specified in the model files.

To resolve this issue:

The wizard will mark the places in the files with element names prefixed with the string "TODO". The wizard also adds warning messages to the Orcas task window.

2.4.8. LINQ to Entities sample: Working with the modified database

The sample application should automatically mount the modified Northwind Database. If it is not successful or if you want to use a different version, you can manually mount the database and change the connection string.

To resolve this issue:

To change the database that is used by the LINQ to Entities Samples, change the connection string that is contained in the "Provider Connection String" setting of the Entity Framework connection string. If you use the App.config for a connection string, please see the documentation.

2.4.9. LINQ to Entities sample: Adding or changing Entity Framework files

If you add or change Entity Framework files (for example, .csdl or .msl), make sure that you have set the "Copy To Output" setting so that the files are included with any builds.

2.4.10. Microsoft Synchronization Services for ADO.NET Books Online

Customers can get updated documentation for Microsoft Synchronization Services for ADO.NET here.

2.4.11. Running ASP.NET applications with a debugger attached could misfire loader lock MDA

If you are calling managed code exposed as a COM object and this throws an exception followed by abnormal thread termination, then a spurious Managed Debug Assistant may fire and warn about managed code being run under the operating system’s loader lock. Such a warning during thread termination can be safely ignored.

To resolve this issue:

Turn off the loader lock Managed Debug Assistant.

2.4.12. WCF Samples setup script Setupvroot.bat will not work on Windows Vista if the NetMsmqActivator service is enabled and Message Queuing (MSMQ) is not installed.

The iisreset utility does not work unless MSMQ is installed or the NetMsmqActivator service is disabled. The WCF Samples setup script Setupvroot.bat will not run unless MSMQ is installed or the NetMsmqActivator service is disabled.

To resolve this issue:

Make sure MSMQ is installed or disable the NetMsmqActivator service on Windows Vista before you run the WCF Samples setup script Setupvroot.bat.

2.4.13. The WebScriptServiceHostFactory class does not work with HTTP GET operations

The WebScriptServiceHostFactory class is designed to enable Windows Communication Foundation services to be used to serve data to AJAX-enabled Web pages without having to write WCF configuration settings. In this Orcas release, the WebScriptServiceHostFactory class does not work with WCF operations that have been configured so that the HttpTransferContractAttribute attribute uses the HTTP GET verb. You may get an error about an AddressFilter mismatch if you attempt to use it with such operations.

To resolve this issue:

Avoid using HTTP GET operations and use HTTP POST instead. If this is impossible, then instead of using the WebScriptServiceHostFactory, create a WCF configuration section in web.config or another configuration file as appropriate and then use it to enable an AJAX endpoint. (Also see note 2.4.15 about endpoint URLs that end directly with ".svc".)

2.4.14. The existing WMI Provider Extension2.0 Model does not support singleton classes

There is no way to implement classes as singleton in the existing WMI Provider Extension 2.0.

2.4.15. Windows Communication Foundation (WCF) AJAX endpoints at URLs immediately ending with ".svc" do not work with HTTP GET operations

In this release, it is possible to use the Windows Communication Foundation to write IIS-hosted services that can be consumed from AJAX-enabled Web pages. These services can be hosted at endpoints with URLs that end directly with ".svc" (for example, "http://example.com/myService.svc") or at endpoints with URLs that end with an additional suffix (for example, "http://example.com/myService.svc/myEndpoint"). In this release, the URLs without a suffix do not work with WCF operations that have been configured with the HttpTransferContractAttribute attribute to use the HTTP GET verb, unless a workaround is applied. You may get an error about an AddressFilter mismatch if you try to use such URLs with GET operations.

To resolve this issue:

There are three ways to resolve this issue.

2.4.16. Adding a Windows Communication Foundation (WCF) service to the ASP.NET AJAX Script Manager Control does not work in Script Inlining mode

In this release, it is possible to use the Windows Communication Foundation to write services that can be consumed from AJAX-enabled pages. To work with the ASP.NET AJAX framework, references to such WCF services must be added to the Script Manager control. The Script Manager control enables you to inline service references by setting the InlineScript property to "true" on a particular service reference in the Services collection. In this release, WCF services are incompatible with the InlineScript="true" mode. You may get an InvalidCastException if you attempt to use this mode.

To resolve this issue:

Set the InlineScript property for all WCF services in the Script Manager control to "false".

2.4.17. Modifications required to support 64bit applications that use WF or WCF

To support native 64bit applications that use WF or WCF, manual modifications to the configuration are required.

To resolve this issue:

For selfhosted applications, the following modification to machine.config is required:

  1. Navigate to: %windir%\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config in any text editor, such as Notepad.exe
  2. Add the following content at the end of the file just before </configuration>
    <system.serviceModel> 
        <extensions> 
            <behaviorExtensions> 
                <add name="persistenceProvider" type="System.ServiceModel.Configuration.PersistenceProviderElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="workflowRuntime" type="System.ServiceModel.Configuration.WorkflowRuntimeElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="enableWebScript" type="System.ServiceModel.Configuration.WebScriptEnablingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="syndication" type="System.ServiceModel.Configuration.SyndicationElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
            </behaviorExtensions> 
            <bindingElementExtensions> 
                <add name="jsonMessageEncoding" type="System.ServiceModel.Configuration.JsonMessageEncodingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="context" type="System.ServiceModel.Configuration.ContextBindingElementExtensionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
            </bindingElementExtensions> 
            <bindingExtensions> 
                <add name="wsHttpContextBinding" type="System.ServiceModel.Configuration.WSHttpContextBindingCollectionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="netTcpContextBinding" type="System.ServiceModel.Configuration.NetTcpContextBindingCollectionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
                <add name="webHttpBinding" type="System.ServiceModel.Configuration.WebHttpBindingCollectionElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
            </bindingExtensions> 
        </extensions> 
        <client> 
            <metadata> 
                <policyImporters> 
                    <extension type="System.ServiceModel.Channels.ContextBindingElementImporter, system.workflowservices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/> 
                </policyImporters> 
                <wsdlImporters> 
                    <extension type="System.ServiceModel.Channels.ContextBindingElementImporter, system.workflowservices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/> 
                </wsdlImporters> 
            </metadata> 
        </client>
    </system.serviceModel>

For applications hosted within IIS, there are two possible workarounds:

A. Configure IIS to run in WOW mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

Windows XP, Windows 2003

  1. Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory.
  2. Type the following command: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"
  3. Press ENTER
  4. Enable 32-bit aspnet by using %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i –enable
  5. Reset iis by using iisreset

Windows Vista

  1. Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory.
  2. Type the following command: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
    Note: If this script is not already available, turn on Internet Information Services, Web Management Tools, IIS 6 Management Compatibility, IIS 6 Scripting Tools. This will place the scripts in the above mentioned location.
  3. Press ENTER

B. Update %windir%\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config by adding the following:

  1. Add the following to the end of the Xml element "system.web/compilation/assemblies":
    <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add assembly="System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  2. Add the following to the end of the xml element "system.web/compilation/buildProviders":
    <add extension=".xoml" type="System.ServiceModel.Activation.WorkflowServiceBuildProvider, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  3. Add the following to the beginning to the xml element "system.web/httpHandlers":
    <add path="*.rules" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/>
    <add path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false"/>

2.4.18. Schema generation should not force objects to be created during InstallUtil before the actual Mofcomp call is done

InstallUtil is used to execute the installers in each given assembly. Some information is written during schema generation on the computer that is running InstallUtil even if the mof file is generated, and as a result, Mofcomp is not called. This causes the class to be created but not the registration. The result is a "Not Found" error on enumeration and a WMIInfraException when you try to register the class.

2.4.19. Windows Communication Foundation (WCF) Samples setup script Setupvroot.bat will not work on Windows Vista if the NetMsmqActivator service is enabled and Message Queuing (MSMQ) is not installed

The iisreset utility does not work unless MSMQ is installed or the NetMsmqActivator service is disabled. The WCF Samples setup script Setupvroot.bat will not run unless MSMQ is installed or the NetMsmqActivator service is disabled.

To resolve this issue:

Make sure that MSMQ is installed or disable the NetMsmqActivator service on Windows Vista before you run the WCF Samples setup script Setupvroot.bat.

2.4.20. Hosting XOML Services when IIS6 Compatibility Mode was installed on Windows Vista

If IIS 6 Metabase Compatibility is enabled when Orcas is installed, additional configuration steps are required to webhost .xoml services in Integrated Mode (default) because not all the necessary HTTP Handlers will be installed.

To resolve this issue:

To install the necessary handlers, do the following:

  1. In Windows Features, turn off IIS 6 Management Compatibility. Completely clear IIS 6 Management Compatibility in Internet Information Services, Web Management Tools.
  2. Restart the computer.
  3. Uninstall the existing handlers by running CFxInstaller.exe /u. This executable may be found in \Program Files\Reference Assemblies\Microsoft\Framework\v3.5\ (or in Program Files (x86) on 64-bit computers).
  4. Install the proper handlers by running CFxInstaller.exe /i in the same directory.
    You can ensure that you have the proper handlers installed by double-clicking Handler Mappings in IIS Manager. The following should be listed: Two *.rules handlers (rules-Integrated and rules-ISAPI-2.0) and two *.xoml handlers (xoml-Integrated and xoml-ISAPI-2.0).

2.4.21. Only the online version of the Windows Communication Foundation (WCF) and Workflow Foundation (WF) samples for .NET Framework 3.5 will compile and run

The offline WCF and WF samples that are included with Orcas Beta 1 do not compile or run.

To resolve this issue:

Download the online versions of the Orcas Beta 1 samples for .NET Framework 3.5.

2.4.22. To serialize LINQ to SQL entity classes, deferred loading should be disabled

When you serialize objects returned from the database by LINQ to SQL, all related objects will also be serialized. Because of this, all the related objects will be defer-loaded from the database into memory. The serializer triggers this deferred loading automatically by accessing members that are defer-loadable relationship properties.

To resolve this issue:

Use DataShape.LoadWith() to pre-load the data you want, and turn off deffered loading by setting DeferredLoadingEnabled = "False" on your DataContext.

3. Issues with Windows SDK

3.1. Installation, Windows SDK 

3.1.1. System Requirements

The documentation and tools provided in the Windows SDK support the application programming interfaces (APIs) available in the Windows Vista, Windows XP Service Pack 2 (SP2), and Microsoft Windows Server 2003 Service Pack 1 (SP1) versions of Windows. Not all APIs are supported on all platforms. See the specific API documentation to determine which platform the API supports.

This release of the Windows SDK for Orcas includes headers and libraries for Win32 development on x86 and x64 platforms only. IA64 Win32 development is not supported.

3.1.2. Installation

The Orcas release of the Windows SDK installs Windows Vista RTM headers and libraries as well as Windows Server 2003 SP1 headers and libraries. By default, Orcas uses Windows Vista headers and libraries.

3.2. Uninstallation, Windows SDK

3.2.1. Uninstalling Orcas also removes the .Net Framework SDK 2.0

When Orcas is uninstalled, the .Net Framework SDK 2.0 will also be removed. This may break other Visual Studio installations. To work around this issue, repair the other Visual Studio installations, or re-install .Net Framework SDK 2.0.

3.3. Design-time, Windows SDK

3.3.1. Applications fail to build because the Windows SDK registry path is incorrect 

The registry key that references the Windows SDK include path [$(WindowsSDKDir)] is incorrectly set. This prevents projects from being built.

To resolve this issue:

Set the $(WindowsSDKDir) path correctly:

  1. Add this key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs
  2. Set the value of the key to:
    "%systemdrive%\Program files\Microsoft SDKs\windows\v6.0\"

3.3.2. Database applications fail to build because MDAC SDK content is missing

MDAC SDK is not installed with Orcas. As a result, ATL and MFC projects for OLE DB applications fail to build.

To resolve this issue:

  1. Download MDAC SDK from here.
  2. Add:
    "%systemdrive%\Program Files\Microsoft Data Access SDK 2.8\Inc" to an additional include folder.

3.3.3. Applications fail to build due to missing tools, headers and libraries

Visual Studio 2005 projects upgraded to Orcas as well as new projects created in Orcas fail to build due to missing Windows SDK files.

To resolve this issue:

The following solution options are available:

A. From the IDE:

On the Tools menu, click Options, and then navigate to Projects & Solutions, VC++ Directories.

In each case add to end of list

Platform:Win32

  1. Show Directories for: Executable Files
    $(VCInstallDir)\PlatformSDK\bin
  2. Show Directories for: Include files
    $(VCInstallDir)\PlatformSDK\include
  3. Show Directories for: Library files
    $(VCInstallDir)\PlatformSDK\lib
Platform:x64
  1. Show Directories for: Executable Files
    $(VCInstallDir)\PlatformSDK\bin\win64\AMD64
  2. Show Directories for: Include files
    $(VCInstallDir)\PlatformSDK\include
  3. Show Directories for: Library files
    $(VCInstallDir)\PlatformSDK\lib\AMD64 B.

B. From the Command Line:

  1. set path=%PATH%;%VCINSTALLDIR%\PlatformSDK\bin (\win64\AMD64 for x64)
  2. set include=%INCLUDE%;%VCINSTALLDIR%\PlatformSDK\include
  3. set lib=%LIB%;%VCINSTALLDIR%\PlatformSDK\lib(\AMD64 for x64)

3.3.4. Projects that reference winable.h and oleacc.idl will fail to build

Projects that reference winable.h and oleacc.idl will fail to build because files are missing. Winable.h has been deprecated in Orcas. Oleacc.idl is not available in Orcas Beta 1.

To resolve this issue:

Reference winuser.h instead of winable.h.

3.3.5. Applications built on a 64-bit system under Windows on Windows (WOW) fail to build

The registry key that references the Windows SDK include path is not populated in the WOW registry hive. This prevents projects from being built.

To resolve this issue:

The following solution options are available:


3.4. Run-time, Windows SDK

3.4.1. Build tools fail on x64

Make sure the x64 tools are being used, and not the x86 tools. The x64 tools are located in "Program Files" directory and the x86 tools are located in the "Program Files (x86)" directory.

3.4.2 Windows PowerShell can be downloaded directly

Windows PowerShell was available to customers and partners as a part of the Windows SDK. This is no longer the case. Now, Windows PowerShell can be downloaded directly.

3.4.3. The TAPI Browser (Tb3x.Exe) has been deprecated and removed from the Windows SDK

Tb3x.exe has been deprecated and removed from the Windows SDK.

To resolve this issue:

There is no workaround for this issue.

3.4.4. The Application Verifier Tool is not available in the Windows SDK

The Application Verifier tool is not available in the Windows SDK. It ships as part of the Windows Application Compatibility Toolkit.

To resolve this issue:

Download the Windows Application Compatibility Toolkit.

3.4.5. The Configuration Editor Tool (SvcConfigEditor.exe) reloads the configuration file when it is changed by another entity

If you are using SvcConfigEditor.exe to edit a configuration file and another process or editor accesses that file, SvcConfigEditor.exe will automatically reload the file. For example, this can happen when anti-virus software scans the configuration file. The reload will cause you to lose any changes you made to the configuration file since SvcConfigEditor.exe last saved it.

To resolve this issue:

Make sure SvcConfigEditor.exe is the only process that accesses the file during a session.

3.4.6. Possible Application Exception after localIssuer address is removed by using the Configuration Editor Tool (SvcConfigEditor.exe)

If you use SvcConfigEditor.exe to delete the address value in the localIssuer element of clientCredential in the Windows Communication Foundation Endpoint Behavior, the tool will create an invalid configuration file and your application will throw an exception. This is because SvcConfigEditor.exe does not remove localIssuer when the localIssuer value is an empty string, which is an unexpected value.

To resolve this issue:

Remove the localIssuer element by using some other editor, such as Notepad.

3.4.7. The TraceViewer Tool (SvcTraceViewer.exe) does not display Arabic characters correctly

In traces that contain Arabic characters, the XML view in SvcTraceViewer.exe may render the characters in reverse order.

To resolve this issue:

Use the Formatted View, which displays the traces in the correct character order. You can also copy the text from the XML view and paste it into some other editor that displays the characters in the correct order.

3.4.8. Code generation language support in Service Model Metadata Utility Tool (SvcUtil.exe)

SvcUtil.exe can generate code for Web service proxies and data types from metadata in any language that has a managed code provider. SvcUtil.exe has been tested with the C#, Visual Basic, and C++ managed code providers. Other code providers have not been tested and may generate code that does not compile or may be otherwise unusable.

3.4.9. Service Model Metadata Utility Tool (SvcUtil.exe) Can Throw InvalidChannelBindingException when importing WSDL from certain endpoints

Although Windows Communication Foundation (WCF) allows the setting of the ReliableSession Binding Element InactivityTimeout or AcknowledgementInterval properties to TimeSpan.MaxValue, WCF will not consume WSDL generated by an endpoint with such settings. Instead, the import will fail and SvcUtil.exe will throw an InvalidChannelBindingException.

To resolve this issue:

After you download the WSDL, manually change the TimeSpan.MaxValue to 2147483647 (Int32.MaxValue). Then, in the generated configuration file, change the inactivityTimeout or acknowledgementInterval attribute from "24.20:31:23.6470000" to "Infinite".

3.4.10. Managed C++ Code generated by using the Service Model Metadata Utility Tool (SvcUtil.exe) Tool may not compile

You can use the SvcUtil.exe tool to generate code for Web service proxies and data types from metadata. However, there are known issues with the C++ code provider in Visual Studio 2005 and the .NET Framework 2.0 SDK that can cause the tool to generate Managed C++ code that may not compile.

3.4.11. Service Model Metadata Utility Tool (SvcUtil.exe) cannot generate Data Contracts from a running service

An example at the end of the svcutil.exe help output indicates that you can use the /dataContractOnly (/dconly) option to generate Data Contracts from a running service:

svcutil /dconly http://service/metadataEndpoint
- Generate Data Contract types from a running service or online metadata documents.

This usage does not work. You can only use the /dconly option to generate Data Contracts from local metadata files.

3.4.12. MSBuild will use the build tools shipped with Orcas (for example, VCBuild) even when it is used from the Windows SDK build environment

If Orcas is installed, MSBuild is hard-coded to use the tools installed with Orcas. These may not be the latest versions. To ensure that you are using the latest tools installed by the Windows SDK, use the tools located in the Bin directory of the Windows SDK install directory. By default, this is "C:\Program Files\Microsoft SDKs\Windows\v6.0 ".

3.4.13. Undecoded Windows Communication Foundation traces appear on Windows Vista

On Windows Vista, some ETW providers use manifests instead of MOF registrations. For such providers without the trace schema in the WMI catalog, the current version of SvcTraceViewer.exe cannot decode the trace output.

To decode Windows Vista-specific binary traces with no CIM schema, use the command-line tool TraceRpt.exe, which ships with Windows Vista.

3.4.14. .NET Framework 3.5 IntelliSense content is missing

IntelliSense for .NET Framework 3.5 is missing.

To resolve this issue

  1. In %windir%\Microsoft.Net\Framework\v3.5.20316\en\, copy all .xml files.
  2. Paste the .xml files in %progamfiles%\reference assemblies\Microsoft\framework\v3.5\.