Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Getting Error while overiting the excel sheet

$
0
0

Hello,

My requirement is to overwrite the excel sheet instead of appending the next records. What I do to achieve this is drop sheet first then create sheet again. While doing this in execute sql task I am getting errors.

[Execute SQL Task] Error: Executing the query "CREATE TABLE `testtt` ( `case` VARCHAR(10), `case1` VARCHAR(50) ) " failed with the following error: "Cannot modify the design of table 'testtt'. It is in a read-only database.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. 

Same error for drop too. This is working fine when I do locally but when deploy it on server I get this type of errors. I assume this might be issue with accesses.

Please suggest me.


Ramu Gade


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>