Error when selecting a Document Type

            Error Message:
            ErrorCode: 0
            Message: The given key was not present in the dictionary
                                                      OR
            Message: Object Reference not set to instance of an object

            Cause: 

            While browsing through Document Types you may encounter this error. The cause for this is the User profile (for e.g. Superadmin or user Bob) or the DB profile in SOHODOX may have gone corrupted


            Solution : 

            To solve this issue follow the steps below...
            1. Please make sure that you back up the Sohodox Databases. Backup instructions here...
            2. Close SOHODOX and Open the Windows Command Line window on the machine on which SOHODOX is installed in the Server mode..
            3. You can open the Windows Command Line by opening the RUN dialog (Windows button + R) and in the RUN dialog type 'cmd'. Press Enter, the Windows Command Line Window will be launched.
            4. In the Command Line window type the following at the cursor...
              "C:\Program Files (x86)\Sohodox Desktop\Sohodox.exe" /resetdbprofile /dbid=1
              (Assuming Sohodox is installed in the default location. If SOHODOX is installed on a 32 bit Operating System, replace Program Files (x86) with Program Files)
            5. SOHODOX will be launched prompting you to login with the credentials of the superadmin user. (By default the password for the superadmin user is superadmin)
            6. Now, hit the Enter key. SOHODOX will repair the DB profile.
            7. You will have to run another command...
              "C:\Program Files (x86)\Sohodox Desktop\Sohodox.exe" /resetuserdbprofile /dbid=1 /username=#all
              (Assuming Sohodox is installed in the default location. If SOHODOX is installed on a 32 bit Operating System, replace Program Files (x86) with Program Files)
            8. SOHODOX will be launched prompting you to login with the credentials of the superadmin user. (By default the password for the superadmin user is superadmin)
            9. Now, hit the Enter key. SOHODOX will repair the user profile.
            10. Now try logging in to SOHODOX.

            Note:
            In case none of the above commands resolves your issue, please try running the below command...
            "C:\Program Files (x86)\Sohodox Desktop\Sohodox.exe" /resetuserprofile /dbid=1 /username=superadmin 
            (You will need to replace the username with the name of the user facing the error. In the above example the 'superadmin' user is being used)

            You can drop in an email to support@sohodox.com, in case none of the above commands resolves your issue.
            Updated: 07 Feb 2017 07:25 PM
            Helpful?  
            Help us to make this article better
            0 0