Skip to Main Content

SQL Developer for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Installing Extension stuck at "Activating Oracle SQL Developer Extension for VSCode"

Shay CollingsJan 21 2024

Repost from my Q&A post on the VS marketplace

Both of my work devices get stuck on "Activating Oracle SQL Developer Extension for VSCode" after installing the extension. My personal devices do not do this.

Investigation of the extension log file shows that dbtools.bat is blocked from running by group policy.
[dbtools.bat(29824)] [WARN ] #stderr This program is blocked by group policy. For more information, contact your system administrator.

This can be circumvented by running VSCode as admin with --no-sandbox (to prevent it crashing when run as admin) however this is not an ideal final solution as this process needs to run each time VS Code is opened which means it cannot be run once as admin and then as a standard user thereafter, some users do not have local admin access either. You also cannot install extension updates when running VS Code as admin.

This could be a significant issue for enterprise users (of which Oracle has a huge customer base) as almost any IT security department worth their salt is going to have .bat files disabled by group policy.

This post has been answered by thatJeffSmith-Oracle on Jan 22 2024
Jump to Answer

Comments

Post Details

Added on Jan 21 2024
9 comments
3,355 views