11/16/2007 3:52:03 PM

The most up-to-date version of this file is available online at the Microsoft Download Center Web site on the November CTP Readme download page.

The Microsoft SQL Server™ documentation team welcomes your documentation feedback. We view and investigate all documentation issues but do not answer technical support questions. To provide feedback on SQL Server 2008 issues that are not related to documentation, see the Microsoft Connect Web site SQL Server Feedback page.

When possible, please submit feedback to us in English.

Contents

1.0 Introduction

2.0 Installing SQL Server 2008

This section describes how to access SQL Server 2008 installation information and system requirements, and any late-breaking information or setup issues that can affect successful installation of SQL Server 2008.

2.1 Installation Requirements

For information about how to install SQL Server 2008, see the s10ch_setup.chm on November CTP installation. This file is available on your installation media in the following path: <drive>:\Servers\help\1033\s10ch_setup.chm. Typically, this file is installed in the following path: <drive>:\%Program Files%\Microsoft SQL Server\100\Setup Bootstrap\Help\1033\s10ch_setup.chm.

2.2 Obtaining SQL Server 2008

2.3 Installing or Upgrading to SQL Server 2008

When installing or upgrading to the November CTP, consider the following issues:

  • Upgrade From SQL Server 7.0 is not supported.
  • Installation side-by-side with SQL Server 2000 is not supported.
  • Upgrade From SQL Server 2000 MSDE is not supported.
  • Upgrade from SQL Server 2000 (64-bit) is not supported.
  • SQL Server failover cluster instances are not supported.
  • SQL Server Reporting Services cannot be installed side-by-side in 32-bit and 64-bit cross-platform scenarios.
  • SQL Server Integration Services cannot be installed side-by-side in 32-bit and 64-bit cross-platform scenarios.
  • SQL Server Shared Components must be upgraded every time that a SQL Server instance is upgraded through the user interface.
  • Side-by-side installations of SQL Server 2005 Business Intelligence Development Studio and SQL Server 2008 November CTP Business Intelligence Development Studio are not supported.
  • Upgrade and uninstall operations will fail on SQL Server instances where RANU instances are running. Manually stop RANU instances before upgrading or uninstalling SQL Server.
  • Upgrade is not supported on computers that have been renamed. Setup will fail.

Installation and upgrade are blocked if any of the following are true:

  • SQL Server 2008 January CTP was ever installed on the computer.
  • The computer is not running a supported operating system (Windows XP SP2 or a later version, Windows Server 2003 SP2 or a later version, Windows Vista, or Windows Server 2008)
  • Windows Installer services are not started and running.
  • PerfMon counters are not available.
  • There are any pending restarts.

Upgrade is blocked in the following situations:

  • From SQL Server 2000 earlier than SP4.
  • From SQL Server 2005 earlier than SP2.
  • For SQL Server Database Engine, if the system databases folder is inaccessible, for example, read-only, in stand-by, or encrypted.
  • From SQL Server 2005 Express with Advanced Services

[Top]

2.4 Supportability Considerations

Consider the following issues when you run the SQL Server 2008 November CTP:

2.4.1 Side-by-Side Support

SQL Server 2000 - Existing instances of SQL Server 2000 are not supported on the same computer together with SQL Server 2008.

SQL Server 2005 - Existing instances of SQL Server 2005 SP2 are supported on the same computer together with SQL Server 2008.

SQL Server 2008 – Previous versions of SQL Server 2008 January CTP are not supported side-by-side with this release of SQL Server 2008. You can install multiple instances of this release on the same computer.

2.4.2 How to Remove a Failed SQL Server 2008 November CTP Installation When Upgrading

To determine if there is an upgrade failure that can be uninstalled then reinstalled, search for the following string in the detailed Setup log located at <drive>:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\<YYYYMMDD_HHMM>\<ComputerName>_YYYYMMDD_HHMM_Detail.txt:

Feature <<Name of feature>> failed, upgrade for all instance products will be terminated.

You must uninstall each SQL Server 2008 November CTP component individually. You will also need the Instance ID to run the uninstall command. To determine the Instance ID, search the detail Setup log for "Instance ID." For example, you will see something similar to this in Setup logs:

10/30/2007 09:53:54 Slp: Using instance id 'MSSQL10.KATMAI' for product SQL Server Database Services

10/30/2007 09:53:54 Slp: Using instance id 'MSAS10.KATMAI' for product Analysis Services

10/30/2007 09:53:54 Slp: Using instance id 'MSRS10.KATMAI' for product Reporting Services

To uninstall and reinstall SQL Server 2008 November CTP, follow these steps:

  1. Individually uninstall each component of SQL Server 2008 November CTP using the following syntax:
    • For the Database Engine: Setup100.exe /Action=uninstall /SQLInstanceID=<enter the Instance ID for the Database Engine>/Features=SQL
    • For Analysis Services: Setup100.exe /Action=uninstall /ASInstanceID=<enter the Instance ID for Analysis Services>/Features=AS
    • For Reporting Services: Setup100.exe /Action=uninstall /RSInstanceID=<enter the Instance ID for Reporting Services>/Features=RS
  2. Review the Setup summary log and detailed Setup log files to identify blocking issues.
  3. Remove blocking issues.
  4. Run the upgrade operation again.

2.4.3 Repair Process Requires Manual Execution of Replication Upgrade Scripts

If upgrade fails, you might be prompted to run a repair operation. The repair operation will not run Replication upgrade scripts correctly. Users should not do DML or run Replication agents on the Distributor, Publisher, or Subscribers now. Replication upgrade scripts must be run manually after the repair process has been completed. To run these upgrade scripts to repair a failed Replication upgrade, execute the stored procedure sp_vupgrade_replication in the master database. After sp_vupgrade_replication has successfully run, DML and Replication agents can continue operation. For more information about sp_vupgrade_replication, see SQL Server Books Online.

2.4.4 Surface Area Configuration Tool Removed from SQL Server 2008

The Surface Area Configuration tool for SQL Server has been removed from SQL Server 2008. Replacement functionality in this release is as follows:

Settings and component features How to configure

Protocols, connection, and startup options

Use SQL Server Configuration Manager.

Database Engine features

Use Declarative Management Framework, the property settings in SQL Server Management Studio, or sp_configure.

SSAS features

Use the property settings in SQL Server Management Studio.

SSRS - Enable Integrated Security property

Use the property settings in SQL Server Management Studio.

SSRS - "Schedule events and report delivery" and "Web service and HTTP access"

Edit the RSReportServer.config configuration file.

Command line options

No support in this release.

2.4.5 Full-Text Search Upgrade Results in Loss of Previous Configuration Settings

Upgrading Full-Text Search to the November CTP5 will uninstall and reinstall Full-Text service. After upgrade, Full-Text Search will lose previous configuration and will require manual steps to get it working again. After upgrade, follow these steps:

  1. Open SQL Server Configuration Manager.
  2. Change Full-Text service account to a different account.
  3. Change Full-Text service account and password again to match the Engine service account and password.
  4. Copy files in the FTData directory from the SQL Server 2008 instance directory to previous version's FTData directory (for example, from C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\FTData\ to C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData\)
  5. Then, configure SQL Server 2008 Full-Text Search for use with SQL Server 2008.

2.4.6 Installation Fails When Specifying a Case-Sensitive Collation

When upgrading to SQL Server 2008 November CTP from a SQL Server instance with case-sensitive collations, do not use domain accounts for SQL Server system administrator accounts. To provision system administrator accounts, configure the accounts after upgrade finishes.

2.4.7 Support for Custom Report Items Temporarily Suspended

The Custom Report Item (CRI) interface has changed for the November CTP. Earlier versions of the CRI interfaces are not supported in the November CTP. Additional CRI support may be available in a later CTP release. For more information, see the section "Temporary Breaking Changes in SQL Server 2008 CTP Releases" in the topic "Breaking Changes in SQL Server Reporting Services" on MSDN. Some existing Dundas Chart CRIs can be upgraded in this release. For more information, see "Upgrading Reports" on MSDN.

2.4.8 Object Identifiers in RDL Limited to 256 Characters

Identifiers for objects in RDL (for example, textboxID) were previously unrestricted in length. In this release, the length of object identifiers is restricted to 256 characters. Identifiers still must be CLS-compliant.

2.4.9 Installing SQL Server 2008 on a Domain Controller

You can install SQL Server 2008 on a domain controller. The following limitations apply:

  • Due to security concerns, installation of SQL Server 2008 on a domain controller is not recommended.
  • On Windows Server 2003, SQL Server services can run under a domain account or a local system account.
  • You cannot run SQL Server services on a domain controller under a local service account or a network service account.
  • After SQL Server is installed on a computer, you cannot change the computer from a domain member to a domain controller. You must uninstall SQL Server before you change the host computer to a domain controller.
  • After SQL Server is installed on a computer, you cannot change the computer from a domain controller to a domain member. You must uninstall SQL Server before you change the host computer to a domain member.
  • SQL Server is not supported on a read-only domain controller.

2.4.10 Error and Feature Usage Reporting Is Enabled by Default

By default, Error and Usage Reporting is enabled in the November CTP. This setting will remain enabled for future CTP releases.

To disable Error and Feature Usage Reporting after Setup is finished, use the SQL Server Error and Usage Reporting tool on the Configuration Tools menu. To run the reporting tool, click Start, point to All Programs, point to Microsoft SQL Server 2008, point to Configuration Tools, and then click SQL Server Error and Usage Reporting.

2.4.11 Uninstalling SQL Server Browser

In SQL Server 2005, SQL Server Browser was an integrated installation together with Database Engine or Analysis Services. In SQL Server 2008, SQL Server Browser is a separate installation, performed automatically with Database Engine or Analysis Services. If you have installed multiple instances of SQL Server 2008, SQL Server Browser will uninstall automatically when the last instance of SQL Server 2008 is uninstalled.

However, if SQL Server 2005 exists on the system with one or more instances of SQL Server 2008, SQL Server Browser will not be removed automatically when the last instance of SQL Server 2008 is uninstalled. The SQL Server Browser installed with SQL Server 2008 will remain on the system to improve connections to the instance of SQL Server 2005. You can leave SQL Server Browser installed with SQL Server 2005 and it will continue to function correctly.

To uninstall all components of SQL Server 2008, you must uninstall SQL Server Browser manually by using Add or Remove Programs in Control Panel. If you remove SQL Server Browser when a named instance of SQL Server 2005 is present, connectivity to SQL Server 2005 might become disrupted. If this occurs, you can re-install SQL Server Browser in one of the following ways:

  • Repair the instance of SQL Server 2005 through Add or Remove Programs.
  • Install an instance of SQL Server 2005 Database Engine or Analysis Services.

2.4.12 Sample Code and Sample Databases Are Not Installed in This Release

2.4.13 SQL Server 2005 Configuration Manager and SQL Server 2008 Configuration Manager Support Side-by-Side Configuration

SQL Server 2005 Configuration Manager uses the SQL Native Client 9 configuration. SQL Server 2008 Configuration Manager uses SQL Server Native Client 10. Both versions can function in a side-by-side configuration.

2.4.14 Reporting Services in SharePoint Integrated Mode Is Not Supported

Reporting Services in SharePoint integrated mode is not supported in the November CTP.

2.4.15 Start SQL Server Services Before Upgrading Reporting Services

The SQL Server services on the computer that hosts the Reporting Services database must be started before upgrading Reporting Services to the November CTP. Otherwise, validation will fail during the upgrade.

2.4.16 Upgrade Leaves Reporting Services Virtual Directories in IIS

Following upgrade to SQL Server 2008 November CTP Reporting Services, check Reporting Services virtual directories in IIS. If necessary, remove the virtual directories.

2.4.17 SQL Server 2005 Reporting Services Configuration Tool May List SQL Server 2008 November CTP Reporting Services Instances

Do not use the SQL Server 2005 Reporting Services Configuration Tool to configure instances of SQL Server 2008 November CTP Reporting Services.

2.4.18 Reporting Services Performance Counters Are Erroneously Removed During Failed Upgrade

If a build-to-build upgrade fails, Reporting Services performance counters are incorrectly removed from the instance being upgraded.

2.4.19 Upgrade Removes Reporting Services Execution Log Data

Upgrade does not preserve Reporting Services execution log data. Back up execution log data before upgrading to the November CTP.

2.4.20 SQL Server 2008 November CTP Upgrade Advisor Does Not Detect IIS Settings on 64-bit Computers

Use the RS config tool to create the URL.

2.4.21 Upgrade from SQL Server 2000 Does Not Upgrade Management Tools

Upgrading an instance of SQL Server 2000 will succeed, but will not include Management Tools, even if they were included as part of the SQL Server 2000 instance. To add Management Tools to an instance of SQL Server 2008 November CTP that was upgraded from SQL Server 2000, run Setup after upgrade finishes and add Management Tools.

2.4.22 Upgrade from SQL Server 2005 Installs Management Tools Side-by-Side

Upgrading an instance of SQL Server 2005 that includes SQL Server Management Tools will install SQL Server 2008 November CTP Management Tools side-by-side with SQL Server 2005 Management Tools.

2.4.23 Upgrade from SQL Server 2005 Installs Integration Services Side-by-Side

Upgrading an instance of SQL Server 2005 that includes SQL Server Integration Services will install SQL Server 2008 November CTP Integration Services side-by-side with SQL Server 2005 Integration Services.

2.4.24 Upgrading to SQL Server 2008 Fails When the Updatable Subscribers Feature Is Enabled

If you are running SQL Server on Windows on Win32 (WOW) mode and you have a database published for transactional replication with the updatable Subscribers, an upgrade to SQL Server 2008 will fail. As a workaround, before you upgrade the server, you must remove the updatable subscriptions and the corresponding publications. Before you remove the subscription, make sure that all transactions have been replicated from the Subscriber. For more information about how to remove publications and subscriptions, see the following topics in SQL Server 2008 Books Online:

  • "How to: Delete a Pull Subscription (Replication Transact-SQL Programming)"
  • "How to: Delete a Push Subscription (Replication Transact-SQL Programming)"
  • "How to: Delete a Publication (Replication Transact-SQL Programming)"

2.4.25 Change Data Capture Cleanup Process Has Been Modified

The change data capture cleanup process has been modified to ensure that during cleanup DELETE statement will not remove more than a configurable number of rows from a change table. The default threshold value is 5,000 rows. You can configure the threshold value by using the sp_cdc_change_jobs stored procedure and specifying the new parameter @threshold = 'delete threshold'. This parameter is also supported by sp_cdc_add_jobs. Use sp_cdc_help_jobs to determine the current setting for this parameter. The current setting is returned in the results set as the column threshold.

2.4.26 You Cannot Add SQL Server 2008 November CTP Replication Components to a SQL Server Instance That Has Been Upgraded

The add feature operation will be blocked.

2.4.27 Some Command Prompt Parameters Are Not Supported in This Release

The following command prompt parameters are not supported in this release:

  • REBUILDDATABASES is not functional in this release.
  • USESYSDB/SAVESYSDB are not functional in this release.
  • /? Will open the Microsoft Software License Terms page and component update before it displays Help. in this release. Instead of /?, use /? /q to suppress UI dialogs, or reference command prompt parameters in the Setup documentation: s10ch_setup.chm on the installation media.

2.4.28 SQL Server Native Client Might Not Install with SQL Server 2008 November CTP

If you install only Analysis Services, Reporting Services, or BI Development Studio components, Setup might not install the SQL Server Native Client component. To install the SQL Server Native Client component after Setup finishes, perform one of the following steps:

  • Start Setup from the SQL Server 2008 November CTP installation media and install Client Components.
    Or
  • Install SQL Server Native Client directly from the SQL Server 2008 November CTP installation media by running sqlncli.msi from <Installation media root:>\Servers\Setup\.

2.4.29 Installs of SQL 2008 in WOW or Upgrades to SQL 2008 in WOW Fail to Open Registry Key

You cannot upgrade from SQL Server 2005 or earlier to SQL Server 2008 when running WOW because a registry key cannot be accessed. You may also not be able to install side by side with other SQL Server instances in WOW.

Before you install or upgrade SQL Server 2008 in WOW, please refer to the online version of the readme available at the Microsoft Download Center Web site on the November CTP Readme download page.

[Top]

3.0 Additional Information

For more information about new or improved features in the SQL Server 2008 November CTP, see "What's New" in SQL Server 2008 Books Online.

3.1 Getting Assistance

3.2 Books Online Issues

3.3 Using CTP Samples

Code samples and sample databases for SQL Server are no longer included with the product. Instead, download the samples and sample databases from Microsoft SQL Server Samples and Community Projects on CodePlex. On the Home tab, "Microsoft SQL Server Product and Community Samples" contains links to samples for the SQL Server components and to the official SQL Server sample databases. This page also contains sections with links to samples and projects from the SQL Server community.

3.3.1 Installing Samples and Sample Databases

To install the complete set of product samples, go to Microsoft SQL Server Samples and Community Projects, and click the Releases tab.

To install the product samples for a specific technology area of SQL Server, click the link for the technology you want on the Microsoft SQL Server Samples and Community Projects Home tab. After the technology page loads, click the Releases tab, and then click the Windows Installer package to download the set of samples in that technology area. To view the code for samples in that technology area, click the Source Code tab, and then click the folder icon in the Browse column.

Note:
If you choose to install the samples, the sample files are installed in the following location by default: C:\Program Files\Microsoft SQL Server\100\Samples\technology_name.

To install the official sample databases for SQL Server, go to Microsoft SQL Server Product Samples: Database, click the Releases tab, and then click the links for the databases that you want.

3.3.2 Providing Feedback

On CodePlex you can report issues and ask questions about the samples for each technology area. To report problems or check on the status of problems that you have reported, click the Issue Tracker tab and choose the appropriate option. To discuss or provide feedback about samples, click the Discussions tab and choose the appropriate option.

3.3.3 Updating the Location for the .NET Framework CLR Samples

Before you compile the .NET Framework common language runtime (CLR) samples for SQL Server, verify that the path of the version of the .NET Framework compiler is the first Framework directory in the PATH environment variable. The location of the compiler that is shipped with this release of SQL Server is C:\<Windows root directory>\Microsoft.NET\Framework\v2.0.x. Drive C is the installation drive, <Windows root directory> is either Windows or WINNT, and x is five digits.

[Top]

3.4 Planned Removal of SQLXML

3.5 Providing Feedback

You can provide suggestions and bug reports on SQL Server 2008 in three ways:

[Top]

4.0 Documentation Notes

This section covers significant issues that can occur after you apply SQL Server 2008 and any late-breaking items that are not reflected in the updated SQL Server 2008 Books Online documentation.

4.1 Database Engine

The following issues apply to the Database Engine when SQL Server 2008 is installed.

4.1.1 Changes to the xml Data Type and XML DML

The following changes have been made to the xml data type and XQuery support, but have not yet been reflected in SQL Server Books Online.

XML Schema Support: Improved Support for xs:dateTime, xs:date, and xs:time

In SQL Server 2008, the xs:dateTime, xs:date, and xs:time types are based on the new date and time data types. This means that SQL Server now supports values with and without time zone offsets, and preserves the originally provided time zone offsets for all these types.

Because the new date and time types do not support negative dates, the new XML Schema types do not support negative dates, either. Negative dates were, however, supported in SQL Server 2005. Section 4.1.1.2, below, describes the upgrade and usability impact of this change.

Database Upgrade from SQL Server 2005: Working with Negative Dates

During the upgrade from SQL Server 2005 to SQL Server 2008, any xml data type that is constrained with an XML schema collection that allows values of the xs:date, xs:time, or xs:dateTime types will have its indexes disabled. The upgrade only uses schema information to determine whether to disable the indexes; it does not read the xml data type instances themselves.

We recommend that you recreate the indexes after the upgrade. Recreating an index should succeed, unless the xml data type instance contained negative dates.

If a value with a negative date is found, any statement that applies an XQuery, XML DML expression, or XML index creation on such an xml data type instance will fail. You can still select the full value without applying an XQuery expression.

To remove invalid values, we recommend that you remove the XML Schema collection constraint from the column, and either change the type of the value to a data type that allows negative dates or change the value itself to a non-negative date.

XML Schema Support: Improved Support for xs:list and xs:union

XML schema collections in SQL Server 2008 support the xs:list and xs:union types, and their acceptable combinations.

XQuery Support: Calling instance of on the xs:list and xs:union Types Provides Correct Results

In SQL Server 2008, you can now use the XQuery instance of expression on values that are validated as part of a union or list type and are of a non-primitive member type. In SQL Server 2005, this returns an incorrect result.

XML DML Support: sql:variable() and sql:column() Can Refer to an xml Data Type in an Insert Statement

SQL Server 2005 does not support sql:variable() or sql:column() on an XML data type. This restriction has been lifted in SQL Server 2008 when both of the following conditions are true:

  • The sql:variable() or sql:column() is used as the sole source expression for XML DML insert statements.
  • The referenced xml data type is either not constrained by an XML schema collection or is constrained by the same XML schema collection as the xml data type that is getting modified.

4.1.2 Object Explorer Errors on Itanium 64-Bit Computers

When using an Itanium 64-bit computer, SQL Server Management Studio might throw a Null Reference exception when it expands the object explorer tree for an instance of the Database Engine. To resolve this issue, reconnect to the instance of the Database Engine until the exception is no longer thrown. Or, connect to the instance of the Database Engine from a non-Itanium computer.

4.1.3 Language Reference

  • MERGE is a fully reserved keyword when the database compatibility level is set to 100. The MERGE statement is also available under both 90 and 100 database compatibility levels, but the keyword is not fully reserved when the database compatibility level is set to 90.
  • Full-text predicates are no longer allowed in the OUTPUT clause when the database compatibility level is set to 100.
  • A user-defined function cannot be created if it contains an OUTPUT INTO clause whose target is a table.

4.1.4 Potential Parsing Errors in ExpressionNodeList Parameter Lists

The ExpressionNodeList class accepts only a comma as a parameter separator and only a period as a decimal separator. Using other characters can cause unexpected results.

4.1.5 Scripting a Database for Transfer Fails If the Database Name Contains Quotation Marks

In the SQL Server 2008 November CTP, if you script a database for transfer and the database name contains quotation marks, the script operation fails. The transfer operation will appear to run successfully, but the script that was generated to transfer the database objects will be empty. No objects will be transferred.

This can occur when you use the Copy Database Wizard and when you use SMO:

  • When you use the Copy Database Wizard, this error occurs only if you select the SQL Management Object option on the Select the Transfer Method page. This error does not occur when you use the detach-and-attach transfer method.
  • When you use SMO, this error occurs in the Transfer.ScriptTransfer method. No exception will be thrown, but the script will be empty.

To transfer the database in the SQL Server 2008 November CTP, you must rename the database, and remove the quotation marks.

4.1.6 Transact-SQL Query Editor

The language parser for the Transact-SQL Editor has been redesigned to provide IntelliSense support. As part of that work, the parser in the November CTP has temporarily disabled the following functionality:

  • Color coding is disabled for any syntax other than Transact-SQL keywords.
  • Colorization of sqlcmd syntax is disabled.
  • Parenthesis matching and highlighting is disabled.

4.1.7 Turning Off IntelliSense for the Transact-SQL Query Editor

4.1.8 SQL Server Native Client

The SQL Server Native Client component in SQL Server 2008 is equivalent to SQL Native Client in SQL Server 2005. Both contain the ODBC driver and the OLE DB provider for SQL Server. You can have both versions of the component installed on the same computer, because each version uses a different ODBC driver name and different OLE DB progIDs and classIDs. Therefore, existing applications can continue to use SQL Native Client from SQL Server 2005. To use the new data types and features introduced in SQL Server 2008, you must rebuild your applications and reference sqlncli.h from SQL Server 2008, and you must revise connection strings to target SQL Server Native Client by updating the OLE DB ProgIDs to SQLNCLI10 and the ODBC driver names to SQL Server Native Client 10.0. For more information, see the "Building Applications with SQL Server Native Client" section of SQL Server 2008 Books Online.

4.1.9 Possible Elevation of Credentials When You Use Declarative Management Framework

Users in the PolicyAdministratorRole role can create policies that contain a condition that uses the ExecuteSql or ExecuteWql functions. If a user that has sysadmin permissions later executes the policy, the Transact-SQL that is provided by the Policy Administrator will be executed with the sysadmin permission of the user that is executing it.

4.1.10 Declarative Management Framework Might Block Replication

When replication is configured, several user tables are created, and then the new tables are marked as system tables. The process of enabling replication could be blocked if there are Declarative Management Framework policies that prevent certain tables from being created, for example policies that require tables to have names in a specific format. If this occurs, disable the appropriate Declarative Management Framework policies while enabling replication, and then re-enable the policies.

4.1.11 FILESTREAM Issues

When you use FILESTREAM, consider the following issues:

  • FILESTREAM cannot be enabled on instances of SQL Server that are running on Windows on Windows 64 (WOW64).
  • If you add a FILESTREAM filegroup to an existing database and do not take another database snapshot, a REVERT DATABASE statement will fail.
  • After you run a REVERT statement, FILESTREAM filegroups will appear offline in the database snapshot.
  • FILESTREAM is not supported on tables that use table-valued parameters. In these tables, columns that have the FILESTREAM attribute are treated as varbinary(max) columns.
  • When you use ALTER DATABASE to set an empty FILESTREAM filegroup to default for the first time, the Database Engine will not return an error. This is by design.
  • A DROP DATABASE statement can take a long time to complete if the database contains FILESTREAM filegroups that contain lots of BLOBs.
  • In rare cases, computers that are running antivirus products can cause an SQL Exception. This occurs during a DROP DATABASE or ALTER DATABASE statement when the Database Engine cannot delete the FILESTREAM data container. The data container must be removed manually.
  • FILESTREAM data container paths that are longer than 160 characters must be prefixed with the following characters: \\?\.
  • In the following scenario, the call to OpenSqlFileStream() fails because the SELECT query has not completed when the call is made to OpenSqlFileStream().
    BEGIN TRANSACTION
    SELECT col1, convert(varchar(max), col2) col2 from t_FS_MARS_02_2 order by col1
    SafeFileHandle readHandle = NativeMethods.OpenSqlFilestream(…);
    COMMIT
  • FILESTREAM data containers are not automatically added to the system access control list. If you detach a FILESTREAM database from instance A and try to attach it to instance B, the operation will fail if instance A and B are using different service account groups. In this case, a member of the service account group for instance A must manually add the directories to the system access control list.
  • On Windows Vista or Windows XP Service Pack 2, if you set the FILESTREAM access level to 2 or 3, the server message block (SMB) port in the Windows firewall will be opened for out-of-band data. For more information, see the topic "sp_filestream_configure" in SQL Server 2008 Books Online.

4.1.12 Data Collector

4.1.12.1 Server Activity Collection Set May Stop After Configuring the Management Data Warehouse the First Time

After configuring the management data warehouse the first time, the Server Activity system collection set may fail to collect data on the first collection task. This causes the collection set to stop. To remedy this, right-click Server Activity and issue the Start Data Collection Set command to restart the collection set. The collection set should continue to run without any problems.

4.1.12.2 Exploring the Error History for a Collection Set Causes an Exception

An exception occurs when you explore the error history for a collection set. This happens because the Log File Viewer is looking for a table in msdb named "[msdb].[dbo].[sysssislog100]". The actual table is named "[msdb].[dbo].[sysssislog]". As a result you cannot use the Log File Viewer to view the detailed log messages created by SSIS. As a workaround you can use the fn_syscollector_get_execution_details() function and Log Id to retrieve log content. This workaround is illustrated in the following code example:

use msdb
go
select * from fn_syscollector_get_execution_details(40) – where 40 is the Log Id value.

4.1.13 Partitioned Indexes Fail on Views That Perform Aggregations

The following error message is generated if you attempt to create a clustered index that is partitioned on a view that performs aggregations:

Msg 8661, Level 16, State 0, Line 1Cannot create the clustered index [index_name] on view [view_name] because the index key includes columns that are not in the GROUP BY clause. Consider eliminating columns that are not in the GROUP BY clause from the index key.

Though the error message refers to missing columns in the GROUP BY clause, the failure of the clause is not related to columns you have included either in the index key or GROUP BY.

There is no workaround for this issue in the November CTP.

You can successfully use or create indexed views in the following scenarios:

  • Partitioned index views that perform aggregations and were created in a SQL Server 2005 database can be successfully upgraded to SQL Server 2008. However, if you later drop and re-create the partitioned index after migration to the November CTP, re-creation of the index will fail.
  • Nonpartitioned index views can still be created.
  • Indexes on views that do not perform aggregations can still be partitioned.

4.1.14 Replicating Columns That Contain the New Data Types to SQL Server Compact Is Not Supported

You cannot currently replicate to SQL Server Compact any columns that contain the new data types in SQL Server 2008. The new data types are as follows:

  • date
  • datetime2
  • datetimeoffset
  • FILESTREAM attribute
  • geography and geometry
  • hierarchyid
  • time

Replication will fail even if you use article schema options or the publication compatibility level to specify that these data types should be mapped to data types that are supported by SQL Server Compact. You can replicate tables that contain columns with the new data types by filtering out these columns. For more information about filtering, see SQL Server Books Online.

4.1.15 Replication Subscriber Support for Web Synchronization

SQL Server 2008 supports Web Synchronization for Subscribers that are running SQL Server 2005, SQL Server 2008, and SQL Server Compact versions 3.0, 3.1, and 3.5. The following table lists the publication compatibility level and the server components that are required for each type of Subscriber.

Subscriber version Required publication compatibility level Required components on the IIS server

SQL Server 2008

100RTM

SQL Server 2008 IIS components

SSCE 3.0, SSCE 3.1, SSCE 3.5

90RTM

SQL CE 3.5 IIS components and SQL Server 2008 IIS components

SQL Server 2005

90RTM

SQL Server 2008 IIS components

[Top]

4.2 Analysis Services

4.3 Integration Services

The following issues apply to Integration Services when SQL Server 2008 is installed.

4.3.1 Version Change for SQL Server Native Client

SQL Server 2008 uses a different version of the SQL Native Client from the one included in SQL Server 2005. (SQL Native Client is called SQL Server Native Client in SQL Server 2008.) Therefore, Integration Services packages that use SQL Server Native Client and were created in SQL Server 2005 cannot run automatically in SQL Server 2008. To run these packages, follow one of these steps:

  • On the computer that is running SQL Server 2008, install SQL Native Client (sqlncli.dll) from SQL Server 2005.
    Note:
    You can install SQL Native Client side by side with SQL Server Native Client.

  • Revise the connection strings in the package to specify SQL Server Native Client. To revise the connection strings, replace SQLNCLI with SQLNCLI10.

4.3.2 Version Change for Analysis Services OLE DB Provider

SQL Server 2008 includes a different version of the Analysis Services OLE DB provider from the one included in SQL Server 2005. Therefore, Integration Services packages that use the Analysis Services OLE DB provider and were created in SQL Server 2005 cannot run automatically in SQL Server 2008. To run these packages, follow one of these steps:

  • On the computer that is running SQL Server 2008, install the Analysis Services 9.0 OLE DB provider. The Analysis Services 9.0 OLE DB provider is the version of the provider that SQL Server 2005 includes.
    Note:
    You can install the Analysis Services 9.0 OLE DB provider side by side with the Analysis Services 10.0 OLE DB provider. The Analysis Services 10.0 OLE DB provider is the version that SQL Server 2008 uses.

  • Revise the connection strings in the package to specify the Analysis Services 10.0 OLE DB provider. To revise the connection strings, do the following steps:
    • Replace MSOLAP.3 with MSOLAP or MSOLAP.4. If you specify MSOLAP, your packages will use the latest installed version of the provider.
    • Replace MSOLAP90 with MSOLAP100.

4.3.3 Installing SQL Server 2008 Removes Support for DTS in SQL Server 2005 Integration Services Packages

For the November CTP release, you must uninstall SQL Server 2005 Workstation Components before installing the SQL Server 2008 Workstation Components. Uninstalling the SQL Server 2005 Workstation Components removes three Integration Services components: the SQL Server 2005 version of the Execute DTS 2000 Package task and two supporting assemblies. These three Integration Services components support backward compatibility between SQL Server 2005 and SQL Server 2000 Data Transformation Services (DTS). Without these three components, SQL Server 2005 packages and tools that require DTS support will not run.

However, SQL Server 2008 Integration Services includes a version of the Execute DTS 2000 task and the two supporting assemblies. Therefore, you can upgrade SQL Server 2005 packages that require DTS support to the SQL Server 2008 format by opening them in the SQL Server 2008 version of Business Intelligence Development Studio, and then running those packages as SQL Server 2008 packages.

4.3.4 Custom Applications That Use Both Integration Services and System.Data.SqlClient APIs Might Fail

A custom application that uses both Integration Services and the .NET Framework Data Provider for SQL Server (System.Data.SqlClient) APIs will fail if the following conditions are true:

  • The custom application uses the .NET Framework Data Provider for SQL Server APIs before the application uses the Integration Services APIs.
  • The custom application runs on a computer that has both SQL Server 2008 and an edition of SQL Server 2005 that does not support some or all of the features of Integration Services.

Under these conditions, the custom application incorrectly detects the version of SQL Server as the edition of SQL Server 2005 that does not support Integration Services. This erroneous detection causes the custom application to fail when it calls the Integration Services APIs and to generate a DTS_E_PRODUCTLEVELTOLOW error. This error indicates that Integration Services is not supported on the detected version of SQL Server.

This failure does not occur in the following situations:

  • When running packages in the design environment.
  • When using dtexec.exe to run packages outside the design environment.
  • When the custom application uses Integration Services APIs, but does not use the .NET Framework Data Provider for SQL Server APIs.

4.3.5 Custom Components Developed in SQL Server 2005 Integration Services Must Be Edited and Recompiled for SQL Server 2008

If you developed a SQL Server 2005 Integration Services (SSIS) custom component, that custom component must be modified before it can be used in SQL Server 2008 Integration Services packages. You can either modify the component to run only in SQL Server 2008 packages or to run in both SQL Server 2005 and SQL Server 2008 packages.

4.3.5.1 Use the Custom Component Only in SQL Server 2008 Packages

After completing the following procedure, you can use the component in SQL Server 2008 packages, but can no longer use the component in SQL Server 2005 Integration Services (SSIS) packages.

To use a SQL Server 2005 Integration Services custom component only in SQL Server 2008 packages

  1. In the component, change the references that point to the SQL Server 2005 versions of the Integration Services assemblies to point to the SQL Server 2008 versions (version 10.0) instead.
  2. Change any code that uses the IDTSxxx90 interfaces to use the corresponding IDTSxxx100 interfaces.
  3. Rebuild the component.
  4. Reinstall the component in the global assembly cache (GAC).
  5. For use in the Toolbox, redeploy the component to the appropriate subfolder under C:\Program Files\Microsoft SQL Server\100\DTS.
  6. If you have changed the assembly version of the component, you must also manually edit packages to use the new version.
4.3.5.2 Use the Custom Component Only in Both SQL Server 2005 and SQL Server 2008 Packages

After completing the following procedure, you will have two versions of the custom component: the original version and a SQL Server 2008 version. You can still use the original version in SQL Server 2005 packages, but you will have to use the SQL Server 2008 version in SQL Server 2008 packages.

To create a separate SQL Server 2008 version of the custom component

  1. Change the file name (assembly name) of the component.
  2. In the component, change the references that point to the SQL Server 2005 versions of the Integration Services assemblies to point to the SQL Server 2008 versions (version 10.0) instead.
  3. Change any code that uses the IDTSxxx90 interfaces to use the corresponding IDTSxxx100 interfaces.
  4. Build the component with a new ProgID and CLSID.
  5. Install the component in the global assembly cache (GAC).
  6. For use in the Toolbox, deploy the component to the appropriate subfolder under C:\Program Files\Microsoft SQL Server\100\DTS.
  7. Manually edit packages to use the new version.

4.3.6 Installing Microsoft Visual Studio 2005 Tools for Applications (VSTA)

To install VSTA when you install the November CTP, select the Software Development Kit option, and install either Integration Services or SQL Server Management Studio. If you only select the Software Development Kit option, VSTA will not be installed.

If VSTA was not installed when you installed the November CTP, you can manually install VSTA by running the VSTA_Aide.msi tool. The VSTA_Aide.msi tool is in the SQLDEV\Tools\Setup folder of the November CTP.

4.3.7 Cannot Use SQL Server 2008 to Connect to the SQL Server 2005 Version of the Integration Services Service

You cannot connect from the version of SQL Server Management Studio that SQL Server 2008 installs to an instance of the Integration Services service that SQL Server 2005 installs.

In this CTP release, you also cannot use the Integration Services service that SQL Server 2008 installs to manage SQL Server 2005 packages that are stored in an instance of SQL Server 2005.

4.3.8 Analysis Services Components Used by Integration Services Might Cause an Exception to Be Raised If This Version of Integration Services Is Installed Side-by-Side with an Earlier Version

If SQL Server 2008 Integration Services is installed side-by-side with SQL Server 2005 Integration Services, the Analysis Services components that are used by Integration Services might cause an exception to be raised. When using the earlier version of Integration Services, the exception System.Runtime.InteropServices.COMException at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.ProvideComponentProperties() might occur. If you must use the Analysis Services components in SQL Server 2005 Integration Services, do not install SQL Server 2008 side-by-side.

4.3.9 Package with Microsoft Visual Studio 2005 Tools for Applications (VSTA) Scripts

In the November CTP and earlier CTP releases of SQL Server 2008, the Script task and Script component used a version of Visual Studio for Applications (VSTA) that is no longer supported. Therefore, the scripts that the Script task and Script component contain are not supported in the following cases:

  • You used the November CTP or an earlier CTP release of SQL Server 2008 to open a SQL Server 2005 package, convert the existing scripts, and then save the converted package.
  • You used the November CTP or an earlier CTP release of SQL Server 2008 to open a SQL Server 2005 package and add a script to the package.
  • You used the November CTP or an earlier CTP release of SQL Server 2008 to create a new package and add a script.

If the script is not supported, SQL Server 2008 Integration Services will display an error message when you open the package. To run the package, create a new Script task or Script component and create a new VSTA script.

When you migrate a SQL Server 2005 package to SQL Server 2008, the migration process automatically converts the scripts in the package to the current version of VSTA. (The package migration feature for SQL Server 2005 packages will be available in a future release of SQL Server 2008.)

4.3.10 Packages May Fail on a Computer That Is Running Windows Server 2008 Beta or the .NET Framework 2.0 SP1

4.4 Reporting Services

The following issues apply to Reporting Services when SQL Server 2008 is installed.

4.4.1 HTTP 500 Error When Accessing a Report Server Instance in a Multi-Instance Deployment

In the November CTP, if you install multiple instances of Reporting Services and both report server instances run under different service accounts, an "HTTP 500 Internal Server Error" might be displayed when accessing the report server URL. The report server trace log will contain the following additional information: "An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_0. Failed to create HTTP Runtime." The exception for this message is: "The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception. ---> System.InvalidOperationException: Mutex could not be created."

The error occurs when one of the report server instances runs under an account that has fewer permissions than the other; for example, one instance runs as Local System and the second server instance runs as Network Service. The error is the result of an ASP.NET grant rights permission issue.

To work around this error, you can either configure both server instances to run under the same account, or you can run the following command to grant permissions to the service account of the instance that you cannot access:

  1. Open a command prompt window and navigate to %windir%\microsoft.net\framework\v2.0.50727
  2. Type aspnet_regiis.exe –ga and specify the account for which you want to grant permissions.
    If it is a domain account, specify it as <domain>\<user>. If it is Network Service, the command should be specified as "NT AUTHORITY\NetworkService". The following example demonstrates the syntax you should use:
    aspnet_regiis.exe –ga "NT AUTHORITY\NetworkService"
  3. Press ENTER.
  4. Restart both instances of the report server.
    You can use the Reporting Services Configuration tool to connect to and restart the services.
    Type the report server URL to verify access. Be sure to restart both server instances before you retry access to the report server. You can use the URL pages in the Reporting Services Configuration tool to verify access to the Report Server Web service and Report Manager applications.

4.4.2 New Reporting Services Report Authoring Features Accessible Only Via Report Designer Preview Tool

The version of SQL Server Books Online that is included with the November CTP release of SQL Server 2008 includes documentation that refers to the SQL Server Business Intelligence Development Studio version of Report Designer, while documentation of new features refers to the stand-alone Report Designer Preview report authoring tool.

You can continue to author reports in Business Intelligence Development Studio just as you could in SQL Server 2005 Reporting Services. However, you cannot use Business Intelligence Development Studio to access the new report features described in the "What's New" topic. To author reports that use new features, you must use the Report Designer Preview client application that is included with this release.

4.4.3 Report Designer Preview Does Not Support Microsoft SQL Server Analysis Services Data Sources

For the November CTP, Report Designer Preview cannot access SQL Server Analysis Services data sources. The Data Source dialog box does not include Microsoft SQL Server Analysis Services.

4.4.4 Formulas Not Preserved When Exporting Reports to Excel

In SQL Server 2008, when you export a report to Microsoft Office Excel, expressions in the report are no longer translated to Excel formulas.

4.4.5 Redesigned CSV Data Renderer

In earlier versions of Reporting Services, when you exported a report to a CSV file format, the data was formatted in a way that preserved the way the data appeared on the report page. For matrix data regions, this resulted in a data format that was inconvenient to import into other applications in order to continue to work with the data.

In this release, when you export a report to a CSV file, you can choose between two supported formats: Default mode and Compliant mode. Default mode is optimized for Excel. Compliant mode is optimized for third-party applications. For more information, see "Exporting to a CSV File" in SQL Server Books Online.

The earlier format for CSV files is no longer available. However, for reports that do not use matrix data regions, you can use Compliant mode to get a file format closest to the earlier CSV file format.

4.4.6 Aggregates with Conditional Visibility in Page Headers and Footers

In earlier versions of Reporting Services, different renderers used different rules to determine which items with conditional visibility to include on a report page. For example, aggregate calculations were not performed for hidden items in printed reports, but were calculated for hidden items in reports that you viewed with a browser or in Excel.

In this release, all renderers use the same set of rules to determine which items are on a page.

4.4.7 Subreports Are Not Visible in Report Designer Preview

In the Report Designer Preview stand-alone client, there is no support for viewing subreport report items when you preview a report locally. To view subreports in a report, first publish the report to the report server, and then navigate to the Report Manager URL (for example, http://localhost/reports) to view the main report.

4.4.8 Report Object Model Namespace Change

In this release, the Report Object Model namespace has changed. This namespace provides read-only access from custom code to global collections like Fields, Parameters, and ReportItems. If existing custom code explicitly uses a fully qualified reference to an earlier namespace, this change is a breaking change.

We recommend that you do not use fully qualified references to access built-in collections from your code. By not explicitly specifying the namespace, custom code references resolve to the version of the report object model for the currently installed version of Reporting Services.

For example, in SQL Server 2005 Reporting Services, the following two examples contrast the use of a fully qualified reference to a parameter (Microsoft.ReportingServices.ReportProcessing.ReportObjectModel.Parameter) and a default reference to a parameter (Parameter) for passing a report parameter to a custom function that returns the report parameter label.

The following example shows a fully qualified reference for a report parameter. This example is NOT RECOMMENDED.

'DO NOT USE FULLY QUALIFIED NAMESPACE REFERENCES FOR RUN-TIME COLLECTIONS
Public Function ShowParams(ByVal reportparameter As _
Microsoft.ReportingServices.ReportProcessing.ReportObjectModel.Parameter) _
 As String
       Return reportparameter.Label
End Function

The following example shows the recommended way to access a run-time collection.

Public Function ShowParams(ByVal reportparameter As Parameter) _
 As String
       Return reportparameter.Label
End Function

4.4.9 Report Builder Fails to Start on a Report Server Configured for Basic Authentication

In this CTP release, you cannot use Report Builder if you configure the report server to use Basic authentication.

4.4.10 Foreign Key Relationships Between Database Tables Are Not Detected When Creating Report Models

In the November CTP, the Data Source View wizard does not detect the relationships between SQL Server 2000 or later database tables when SQL Server Native Client (SQLCNLI) is not installed on the database server. To automatically detect the relationships, install SQLCNLI on the computer that you are running Model Designer on. If you cannot install SQLCNLI, the relationships will not be detected and you will be prompted to create relationships by name matching. If your database is not designed with foreign key relationships that can be determined based on name matching, you will need to manually define the relationships before generating your report model. For more information, see the “Installing SQL Server Native Client” topic in Books Online.

4.4.11 Upgrading a Report with Subreports

When you publish, deploy, or upload a report to a SQL Server 2008 report server, the report server tries to upgrade the report to the new report definition schema on first use. A report that is successfully upgraded is processed by the SQL Server 2008 Reporting Services report processor. A report that cannot be upgraded is processed by the SQL Server 2005 Reporting Services report processor. A report cannot be processed by both report processors.

When a report contains subreports, one of four possible states can occur during upgrade:

  • The main report and all subreports can be successfully upgraded. They are processed by the SQL Server 2008 Reporting Services report processor.
  • The main report and all subreports cannot be upgraded. They are processed by the SQL Server 2005 Reporting Services report processor.
  • The main report can be upgraded but one or more subreports cannot be upgraded. The main report is processed by the SQL Server 2008 Reporting Services report processor, but the rendered report shows the message "Error: Subreport could not be processed" in the location where the subreport that could not be upgraded would appear.
  • The main report cannot be upgraded but one or more subreports can be upgraded. The main report is processed by the SQL Server 2008 Reporting Services report processor, but the rendered report shows the message "Error: Subreport could not be processed" in the location where the subreport would appear.

If you see the error "Error: Subreport could not be processed", you must change the definition of the main report or the subreport so that the reports can be processed by the same version of the report processor. For more information, see " Breaking Changes in SQL Server Reporting Services" on MSDN.

Drillthrough reports do not have this limitation because they are processed as independent reports.

4.4.12 Using the Default Dataset Scope in a Text Box in a Report

In SQL Server 2005 Reporting Services, a text box added to the report design surface with the expression =Fields!FieldName.Value renders without error if the report includes a single dataset. By design, the report processor evaluates the expression using the scope set to the name of the dataset.

When a report has more than one dataset, the expression is undefined. The SQL Server 2008 report processor detects the condition when no default dataset scope is set for an expression and more than one dataset exists in the report. The error message you see depends on how you view the report. In local preview, you see the message: "An error occurred during local report processing. The definition of the report 'TextBox' is invalid." In Report Manager, you see the message: "The Value expression for the textbox 'Textbox1' refers to the field 'FieldName'." Additionally, each message includes this explanation: "Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope."

To correct this error, provide the scope for the expression in the text box. For example, =First(Fields!FieldName.Value, "DataSet1").

4.4.13 Infinite Clickthrough from the First Column of a Table Is Not Available in Report Builder

4.5 All Business Intelligence Technologies

The following issues apply to all of the business intelligence technologies—Analysis Services, Integration Services, and Reporting Services—when SQL Server 2008 is installed.

4.5.1 Remove SQL Server 2005 Workstation Components Before Installing SQL Server 2008

In the SQL Server 2008 version of Business Intelligence Development Studio, the designers that you use to create projects for Integration Services, Analysis Services, and Reporting Services cannot be installed side by side with the SQL Server 2005 designers. For both SQL Server 2008 and SQL Server 2005, these designers are part of the Workstation Components that SQL Server installs. However, for this CTP release, you cannot install the SQL Server 2008 designers if the SQL Server 2005 Workstation Components are already installed on the computer. You must uninstall the SQL Server 2005 Workstation Components before installing SQL Server 2008. If you try to install SQL Server 2008 without first uninstalling the SQL Server 2005 Workstation Components, you will be notified that the existing components on the computer are blocking the installation. To uninstall the existing Workstation Components, in Control Panel, open Add or Remove Programs, select SQL Server 2005, click Remove, and on the Component Selection page of the wizard, select Workstation Components. After you have uninstalled the SQL Server 2005 Workstation Components, you can install the SQL Server 2008 designers by installing SQL Server 2008.

4.5.2 Cannot Edit SQL Server 2005 Business Intelligence Projects in SQL Server 2008

5.0 Deprecated Features