Snowflake-Labs/Excelerator

Connect Cancel Button Cause Connect Error Going Forward

Closed this issue · 12 comments

When using the SnowflakeExcelAddin.xlam Add In, if I click Connect and then Cancel. Every time afterwards I receive an error "ERROR: Problem connecting: SQL compilation error: Object does not exist, or operation cannot be performed."

This did go away once after my computer went to sleep over night but I was able to recreate by clicking Cancel from the Connect Window.

I'm not able to reproduce this one.
Does the error happen after you click OK once you entered the user/password? Are you using SSO or username and password?
Are you able to see what the last SQL executed was in Snowflake? If you look on the History tab in the Snowflake UI you should see a query executed with an error. Would you let me know what that is?
Thanks.

Good morning, I tried using the addin this morning after waking my laptop from hibernation. I was able to connect the first time. I closed excel. I launched Excel again a little later and cannot connect to Snowflake. I receive the "ERROR: Problem connecting: SQL compilation error: Object does not exist, or operation cannot be performed.".

image

Another user I am working with is having the same issue.

image

Terry,
Would you check your version of the Add-in? Click the Config button in the Ribbon. You should see the version number at the top. If you don't have the latest (1.1.15), would you download it?
image

Terry, as discussed this issue is due to the pseudo role ALL.
The latest version of the Add-in 1.1.16, will set the role to an empty string if the previous Role used was ALL. This should prevent the error from occurring.
Please download the latest version and let me know if it works for you.
Thanks.
Steve

Great to hear Terry. It was great working with you on this.
Are both issue now resolved? If so would you close them out?
Thanks.
Steve