![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How can I define a working connection to a secured excel document within DTS. Where and how can I provide the excel password to access the secured document as a data source (named data ranges within the document) Regards, Adri |
#3
| |||
| |||
|
|
There are UserID and Password properties on the Excel connection object which may be of help. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Adri Cleymans" <Adri Cleymans (AT) discussions (DOT) microsoft.com> wrote in message news:FAD24AAA-EDB4-4C0D-A12F-03440A7FB06C (AT) microsoft (DOT) com... How can I define a working connection to a secured excel document within DTS. Where and how can I provide the excel password to access the secured document as a data source (named data ranges within the document) Regards, Adri |
#4
| |||
| |||
|
|
Alan, thanks for your reply, however I do not find any userid or password property when defining an excel connection. Perhaps I also did not describe the problem correctly. It concerns an excel (oe multiple excels) which are 'shared and secured'. When trying to connect to such an excel, I get the message 'Error source: Microsoft Jet database engine, Error mesage: Can not decode the file' How can I dynamically override this security issue ? Thanks in advance. "Allan Mitchell" wrote: There are UserID and Password properties on the Excel connection object which may be of help. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Adri Cleymans" <Adri Cleymans (AT) discussions (DOT) microsoft.com> wrote in message news:FAD24AAA-EDB4-4C0D-A12F-03440A7FB06C (AT) microsoft (DOT) com... How can I define a working connection to a secured excel document within DTS. Where and how can I provide the excel password to access the secured document as a data source (named data ranges within the document) Regards, Adri |
#5
| |||
| |||
|
|
You can access the userid and password using disconnected edit. In the designer, go to Package, select disconnected edit. Expand the connections node and then select the Microsoft Excel connection. On the right, you will see the userid and password properties. -Sue On Tue, 5 Apr 2005 00:55:03 -0700, "Adri Cleymans" AdriCleymans (AT) discussions (DOT) microsoft.com> wrote: Alan, thanks for your reply, however I do not find any userid or password property when defining an excel connection. Perhaps I also did not describe the problem correctly. It concerns an excel (oe multiple excels) which are 'shared and secured'. When trying to connect to such an excel, I get the message 'Error source: Microsoft Jet database engine, Error mesage: Can not decode the file' How can I dynamically override this security issue ? Thanks in advance. "Allan Mitchell" wrote: There are UserID and Password properties on the Excel connection object which may be of help. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Adri Cleymans" <Adri Cleymans (AT) discussions (DOT) microsoft.com> wrote in message news:FAD24AAA-EDB4-4C0D-A12F-03440A7FB06C (AT) microsoft (DOT) com... How can I define a working connection to a secured excel document within DTS. Where and how can I provide the excel password to access the secured document as a data source (named data ranges within the document) Regards, Adri |
![]() |
| Thread Tools | |
| Display Modes | |
| |