SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The process exit code was "-1073741819" while the expected was "0".


The process exit code was "-1073741819" while the expected was "0".

Author
Message
dstanger-666122
dstanger-666122
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 360
This is a great solution and works for me when run through BIDS or SSIS on the server from MSDB. When I run it as a SQL Server Agent job as CmdExec or SQL Server Integration Services Package for the job step type, I get the following error when the program to password protect an Excel task/file is run:

Error: 2011-07-12 11:35:15.58
Code: 0xC0029151
Source: Password Protect Excel File Execute Process Task
Description: In Executing "\\myServer\e$\DBA\Programs\ExcelPasswordProtect\PasswordProtectExcel.exe " "0 "\\myServer\e$\DBA\Data Pulls\file.xlsx" 1234511" at "\\myServer\e$\DBA\Programs\ExcelPasswordProtect", The process exit code was "-1073741819" while the expected was "0".
End Error

I've looked all over and tried numerous things regarding the exit code error of "-1073741819", but haven't found a solution. I've really opened up permissions on the server. Used a proxy, tried local system, tried my domain account (admin group).

Server:
Windows 2008 R2 Enterprise
SQL Server 2008 R2 Enterprise

Any help or more questions to stimulate ideas would be most appreciated!

Thanks,
Darren
jeremyking77
jeremyking77
Grasshopper
Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)Grasshopper (20 reputation)

Group: General Forum Members
Points: 20 Visits: 97
The error number 1073741819 in hex is 0xC0000005 which indicates an access violation in windows.
An access violation means your process has tried to access memory (ie dereference a pointer) that does not belong to it.

Is it a script task that is throwing the error?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search