dbTalk Databases Forums  

Client Safety Options do not allow pass through statements to be issued to the data s

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Client Safety Options do not allow pass through statements to be issued to the data s in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AndreaC
 
Posts: n/a

Default Client Safety Options do not allow pass through statements to be issued to the data s - 10-17-2003 , 09:31 AM







After the installation of SP3 SQLServer 2000,

when I try to update a pivotTable from a cube, Excel send this message:

"Client Safety Options do not allow pass through statements to be issued
to the data source" .

The content of .OQY file is:

"

QueryType=OLEDB

Version=1

CommandType=Cube

Connection=Provider=MSOLAP;DATA SOURCE=\\Server01\ANA.cub;Initial
Catalog=ANA;Client Cache Size=25;Auto Synch Period=10000

CommandText=ANA

"

The INSERT statement in the .cub contains the PASSTHROUGH option, but

I can't change this.



What can I do?



Thanks, Andrea


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Bas Kersten [MSFT]
 
Posts: n/a

Default RE: Client Safety Options do not allow pass through statements to be issued to the data s - 10-20-2003 , 03:19 AM






Hi Andrea,

Excel security is controlled by a registry value, in the
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\<Offic e Version>\Excel\Options
registry key.

You should be able to enable passthrough functionality by adding the values
below to the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\<Offic e
Version>\Excel\Options registry key.

Value Name OLAPUDFSecurity
Data Type REG_DWORD
Value 1

The value 1 allows any DLL to run (note using this setting security is low
and any user defined function is allowed to pass through, which may present
a security risk).

The value 2 only allows DLLs marked as safe for scripting to be executed.
The value 3 does not allow any UDF to run.

The default value (if not present) is 2.

HTH,
Bas

"This posting is provided "AS IS" with no warranties, and confers no
rights."


Reply With Quote
  #3  
Old   
mjhillman@msn.com
 
Posts: n/a

Default Re: Client Safety Options do not allow pass through statements to be issued to the data s - 12-14-2004 , 10:00 AM



This did not work for me.

Using Office 2000, Windows 2000 Pro

Error appears when trying to refresh Excel cube data


"Bas Kersten [MSFT]" wrote:
Quote:
Hi Andrea,

Excel security is controlled by a registry value, in the
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\<Offic e
Version>\Excel\Options
registry key.

You should be able to enable passthrough functionality by adding the
values
below to the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\<Offic e
Version>\Excel\Options registry key.

Value Name OLAPUDFSecurity
Data Type REG_DWORD
Value 1

The value 1 allows any DLL to run (note using this setting security
is low
and any user defined function is allowed to pass through, which may
present
a security risk).

The value 2 only allows DLLs marked as safe for scripting to be
executed.
The value 3 does not allow any UDF to run.

The default value (if not present) is 2.

HTH,
Bas

"This posting is provided "AS IS" with no warranties, and confers no
rights."


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.