Groups | Blog | Home
all groups > sql server dts > june 2006 >

sql server dts : import password protected file into SQL


Schuml
6/27/2006 1:06:02 PM
I would like to create a DTS package that will import a password protected
excel file into SQL. But I get get an unable to decrypt the file error when
I try to link it to either a file dsn, or system connection. Does anybody
have any ideas on how this can be accomplished.
It should be simple but I am not finding any way to accomplish this.
v-xuwen NO[at]SPAM online.microsoft.com
6/28/2006 12:00:00 AM
Hi,

Check following article:

XL2000: "Could Not Decrypt File" Error with Password Protected File
http://support.microsoft.com/?id=211378

I don't think you can open a password protected excel.

The following also has a reference to this issue if you want to open it
with ADO.
http://support.microsoft.com/?id=257819

Hope this helps.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
[quoted text, click to view]
Schuml
6/28/2006 8:04:02 AM
Thank You for the information, I beleive you are right, I havent found
anyway to succesfully import the data other than the methods mention in the
articles you provided. The articles you provided are helpful and we will
utilize the workarounds that are in article :
http://support.microsoft.com/?id=211378
Darren Green
6/28/2006 6:46:28 PM
Hello Schuml,

[quoted text, click to view]

HOWTO: Use ADO with Excel Data from Visual Basic or VBA
http://support.microsoft.com/?kbid=257819


You Cannot Open a Password-Protected Workbook


If the Excel workbook is protected by a password, you cannot open it for
data access, even by supplying the correct password with your connection
settings, unless the workbook file is already open in the Microsoft
Excel application. If you try, you receive the following error message:


Could not decrypt file.
For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
211378 XL2000: "Could Not Decrypt File" Error with Password Protected
File "

XL2000: "Could Not Decrypt File" Error with Password Protected File
http://support.microsoft.com/default.aspx?scid=kb;EN-US;211378

v-xuwen NO[at]SPAM online.microsoft.com
6/29/2006 3:06:30 AM
Hi,

Glad to provide information. :)

Have a good day!


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
[quoted text, click to view]
AddThis Social Bookmark Button