The SQL-Command in the Execute SQL Task is:
CREATE DATABASE AdventureWorks2008_dbss ON
( NAME = AdventureWorks2008_Data, FILENAME = 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\AdventureWorks2008_data.ss' )
AS SNAPSHOT OF AdventureWorks2008;
When I execute this Scipt-Task, I get following error:
[Execute SQL Task] Error: Executing the query "CREATE DATABASE AdventureWorks2008_dbss ON
( NAME ..." failed with the following error: "CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 15105) while attempting to open or create the physical file 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\AdventureWorks2008_data.ss'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
The path 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\' exists, but I think, the pathname is too long. If I take a shorter path and execute this command from the SSMS, it is running. For this, If I tried to change the variable "CreateSnapshot" which hold this comand into a command, which is running in SSMS and start the execution of the package again, but the variable "CreateSnapshot" again holds its old value with the long path, as soon i start the execution of this Execute SQL Task "Create Database Snapshot".
What can I do, do get the sample run?
regards
olaf870
CREATE DATABASE AdventureWorks2008_dbss ON
( NAME = AdventureWorks2008_Data, FILENAME = 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\AdventureWorks2008_data.ss' )
AS SNAPSHOT OF AdventureWorks2008;
When I execute this Scipt-Task, I get following error:
[Execute SQL Task] Error: Executing the query "CREATE DATABASE AdventureWorks2008_dbss ON
( NAME ..." failed with the following error: "CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 15105) while attempting to open or create the physical file 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\AdventureWorks2008_data.ss'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
The path 'c:\program files\Microsoft SQL Server\100\Samples\Integration Services\Package Samples\Change Data Capture for Specified Interval Package Sample\Change Data Capture Sample\' exists, but I think, the pathname is too long. If I take a shorter path and execute this command from the SSMS, it is running. For this, If I tried to change the variable "CreateSnapshot" which hold this comand into a command, which is running in SSMS and start the execution of the package again, but the variable "CreateSnapshot" again holds its old value with the long path, as soon i start the execution of this Execute SQL Task "Create Database Snapshot".
What can I do, do get the sample run?
regards
olaf870