sql server - SSIS Exec T-Sql Statement Task connection string -


I have executed the T-SQL statement from the toolbox. New and new connection made clicked when I executed it successfully executed, it was showing a DB in which the cone string was not visible.

I changed the connection string to point to the new server in the connections tab above. When I executed it, I errr recv

Description: Query "performed DBCC SHRINKFILE (AppDB_log, 300);" Failed with the following error: "The file 'AppDB_log' could not be located in the sys.database_files for the database 'master', the file either exists, or was omitted." Possible failure reason: The problem with the query, the "ResultSet" property is not set correctly, the parameters are not set correctly, or the connection is not installed correctly. End error

I am using the DBCC shrink database command.

Try to run queries directly in SSMS in the database where you think This will be played on your connection basis. If this fails then it is probably a problem with the query (i.e. the data file actually does not exist). If this is successful then there is probably a problem with your connection.

If this is a problem with the connection, try the profiler running on your server and see what pops up when you run an SSIS package.

/ div>

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -