SharpSync
  • Welcome
  • Fundamentals
    • Getting Started
      • Registration
      • Landing Page
      • Support
      • Subscription
    • Data Sources
    • Property Mappings
      • Adding Property Mapping
      • Property Mapping Settings
    • Rules
      • Import / Export
        • Append text
        • Calculate number
        • Export manipulation
        • Format as decimal number
        • Prepend text
        • Remove property
        • Replace all instances
        • Replace first instance
        • Round to nearest X
        • Select from JSON
        • Set cell value
        • Set empty cells
        • Text manipulation
      • Display
        • Number between
        • Text contains
        • Text ends with
        • Text evaluation
        • Text is a number
        • Text is exactly
        • Text is in list
        • Text is not a number
        • Text is not empty
        • Text is not in list
        • Text length between
        • Text length is exactly
        • Text maximum length
        • Text minimum length
        • Text not contains
        • Text not ends with
        • Text not starts with
        • Text starts with
      • Advanced Scripting
    • BOM Comparison
    • Data Safety
    • Troubleshooting
      • Duplicate component paths
      • OAuth 2.0
  • Data Sources
    • Autodesk Inventor
    • CSV
      • Getting Started
      • Importing a Bill of Materials (BOM)
    • MS Dynamics 365 Business Central
      • Getting Started
      • Item Fields Json & Internal Names
      • Resource Fields Json & Internal Names
      • List Names For nestedObject Mappings
    • NetSuite
      • OAuth Setup
        • Permissions
      • RESTlet Script Setup
        • SharpSync RESTlet Script
      • Thumbnail Folder Setup
      • Authentication + Configuration
      • Common setup
        • Configure quantity mapping
        • Configure accounts mappings
        • Configure itemType mapping
        • Configure isPhantom mapping
        • Configure subsidiary mapping
        • Configure price mapping
        • Configure Where Used Link mapping
        • Configure thumbnail mapping
        • Read-Only NetSuite Fields
        • Common Mapping Rules
        • Common List names
      • Advanced Bill of Materials
      • Configure Routings
      • Integration tips
      • Troubleshooting
    • Odoo
      • Getting Started
        • Authentication + Configuration
        • Debugging tips
      • Common Setup
        • Map BOM Codes
        • Map BOM Types
        • Map Attribute Values
          • Reading Attributes - Overview
          • Display All Attribute Names
          • Display Single Attribute Values
          • Writing attributes
      • Product Management
      • Hosting Options
      • List Names
      • Permissions
      • Troubleshooting
    • Onshape
      • Getting Started
      • Setting up Derivatives
    • Propel PLM
      • Getting Started
    • SolidWorks
    • SolidWorks PDM
      • Downloading and installing the add-in
      • Configure the add-in
      • Setting up the Solidworks PDM Web 2
      • Troubleshooting
      • Submitting a BOM for update
  • Advanced
    • Derivatives
  • User management
    • User Management
    • Application Permissions
Powered by GitBook
On this page
  • Issue: Testing a connection to SQL fails
  • Issue: Add-in fails to extract or register on load
  1. Data Sources
  2. SolidWorks PDM

Troubleshooting

PreviousSetting up the Solidworks PDM Web 2NextSubmitting a BOM for update

Last updated 2 months ago

Issue: Testing a connection to SQL fails

When testing your connection to your SQL server, the SharpSync add-in tries to connect to the server using the specified credentials.

To connect to just use {serverName}

If your instance of SQL is the default instance but there are more than 1 instances on the box, use the scheme {serverName}\MSSQL

In the setup, on the SQL Config Tab, when clicking Test Connectivity you may receive this error message:

If that is the case, try adding / removing the instance name

Issue: Add-in fails to extract or register on load

It is possible that when the SharpSync add-in is installed with insufficient permissions, that the installation fails.

The way SolidWorks PDM add-ins are distributed in a vault are:

  • The client view starts up (viewserver.exe)

  • It checks the database for add-in versions

  • If the installed versions of the add-in does not match, it copies a new version of the addin to the local machine.

  • The new version is copied to

%localAppData%\SolidWorks\SOLIDWORKS PDM\Plugins\{vaultName}\{CLSID}{version}

  • The addin is then registered.

  • During activation (logging into the vault), the registration process can fail if insufficient permissions are available or the registration process is interrupted.

Any subsequent activation of the add-in may fail with the below error

Failed to extract add-in from

%localAppData%\SolidWorks\SOLIDWORKS PDM\Plugins\{vaultName}\{CLSID}{version}

Class not registered.

The fix

Should this happen, do the following

  • Log out of the vault on the machine

  • Run Registry Editor as administrator (regedit.exe)

  • Find the key in the HKCR\CLSID folder for the broken add in here

Computer\HKEY_CLASSES_ROOT\CLSID\{4B1265A4-C784-4CC5-991F-2AD1442538F3}

  • Delete the key

  • Sometimes you might have to restart the machine, but simply logging back in to the vault should complete the registration process.

Connection to SQL server failed