1
Vote

Adding encryption password

description

I am using the command
                   package.Encryption.Password = "abc45th";
                    package.Save();
To add a password prior to saving my spreadsheet. All works fine when saving from my local PC to a network location. When I deploy my web app to my 64 bit server using the command to an the encryption password causes the save command to fail. If I comment out the encryption line all works OK, so I do not think it is a permissions issue.

Anyone come accross this one?

comments

JanKallman wrote Sep 19, 2012 at 2:06 PM

Never seen this, but encryption uses some windows api functions, so you must have full control permissions to able to use encryption. Please provide a stacktrace, so I can see the exception.

ewans wrote Sep 20, 2012 at 2:22 PM

OK I have domain admin permissions on the server yet it still does not work.

What additional permissions do I need?