Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I was trying to write back to the database using a macro, but I get this error message: Safety settings on this computer prohibit accessing a data source on another domain.
Can anyone tell me if this is a QlikView Setting or a Setting on the server itself that needs to be changed?
Thanks!
Seems to be an IE security issue. Try to adjust IE security settings for Local intranet - enable Access data sources across domains.
Regards,
Joachim
Hi,
This is something to do with user access rights on that computer, please check the user access rights on that server and retry. Thanks!
Regards,
Prasad
Prasad,
Could you be a bit more specific. Where are the access rights located and on which computer the one that has the QlikView or the one that has the database?
I have also tried running this from the script (which gives no error message but does not add the row)
Insert:
SQL
Test:
LOAD *;
SQL
I have tried running this from a macro which gives the error above. I can connect fine to the database in the QlikView script for selecting the data. I can add the row using SQL Server Management studio using the same username and password from the same machine.
I set the permissions on the settings tab on the script to "open database in read/write mode" and also checked the ""can execute external progams" box. I've checked the User Accounts settings on my machine and it is set to Administrator. I'm at a loss as to where else to look for "user access rights".
Seems to be an IE security issue. Try to adjust IE security settings for Local intranet - enable Access data sources across domains.
Regards,
Joachim
If you are running it as a macro from the local Developer, open the Module Editor in QlikView and check "Current Local Security" on the bottom left side. Make sure it says "Allow System Access".
Thanks Joachim and Oleg. I think it was a combination of both of these. It now works fine from the macro. It still doesn't work from the script but the macro was really where I wanted to use it anyway.
This post is in regard to using a SELECT statement to write back to a database table.
I was exploring how to update an iSeries table from Qlikview yesterday and noticed these posts. I know this is a little late, but better late than never.
I eventually was able to write to a database table. In addition to what you mention about the script setup that you used, you have to add ", mode is write" to the end of the ODBC statement in your script, after the user ID and password parameters, and set the ODBC connection definition up to allow for writes, ie not restrict to reads.
Jerry
Seems to be an IE security issue. Try to adjust IE security settings for Local intranet - enable Access data sources across domains.
Regards,
Joachim
If you are running it as a macro from the local Developer, open the Module Editor in QlikView and check "Current Local Security" on the bottom left side. Make sure it says "Allow System Access".
Oleg Troyansky
Natural Synergies, Inc.
Thanks Joachim and Oleg. I think it was a combination of both of these. It now works fine from the macro. It still doesn't work from the script but the macro was really where I wanted to use it anyway.
Community
.
I was exploring how to update an iSeries table from Qlikview yesterday and noticed these posts. I know this is a little late, but better late than never.
I eventually was able to write to a database table. In addition to what you mention about the script setup that you used, you have to add
", mode is write"
to the end of the ODBC statement in your script, after the user ID and password parameters, and set the ODBC connection definition up to allow for writes, ie not restrict to reads.
Jerry
thank you OLEG
"Current Local Security" solved the problem