Troubleshooting WilStore

From WilkWiki
(Redirected from Troubleshooting)
Jump to: navigation, search

General Guide

Firstly, we have experienced various problems associated with WilComm Archive installations on Domain Controllers. Do Not install WilComm on these servers.

Secondly, you will need to reboot after most changes to user groups (creation, deletion, add user, remove user) for the permissions to be applied - Windows doesn't do it straight away.


Q. After I install, no root node is shown in the Explorer view of WilCommCentral

A. The webservice is probably not working, try to connect to:

       http://localhost/wilstore/wilstoreengineext/webservice.asmx

If this can't display, see 'WebService trouble' below

If it does display, try the GetTreeExt function and see 'Webservice trouble' below


Q. When trying to open WilCommCentral, I get the following error: Unable to cast COM object of type 'WilRenderAPI.clsWilRenderClass'...

A. Check the following settings:

   1. Go to Computer Management -> Services and Applications -> Internet Information Services -> Web Sites -> Default Web Site
   2. Right-Click WilCommCentral and select Properties
   3. Go to the Documents tab
   4. Make sure Enable Default Document or Enable default content page is checked
   5. Make sure Index.html is at the top of the list
   6. Click OK after making any changes


Q. I can't see the repositories I created (and I'm sure I have permission) but I can see the root node

A. You can't connect to the database, see 'Database trouble' below


Q. I get fatal .Net errors in 'Event Log'

A. You may not have .Net 2.0 installed and registered

You may also get 'Failed to access IIS metabase'

       First check that IIS is installed
       Run 'aspnet_regiis -i' from within '\WINDOWS\Microsoft.NET\Framework\v2.0.50727\'


Q. Move does not work (Invalid Procedure call or argument error)

A. Database permissions are not correct

Add SQL Server permissions 'Bulkadmin' for WilStoreAdmins


Q. WilForm documents don't display when clicked

A. See 'WilForm trouble' below


Q. When attempting to load http://[servername]/wilstore/Admin.htm you receive the following error(s):

  • Server object error 'ASP 0177 : 80040111'

A. Register C:\Program Files\Wilkinson\WilStore\Bin\WilStoreEngine.dll



WebService trouble

Q. I get no repositories listed in the explorer view and the WilStoreEngine.log gives 'Could not log in with user ...' or similar

A. The user that is running WilCommArchive does not have enough permissions

Add the user listed in the error to 'WilStoreAdmins' and reboot
also add 'ASPNET' (WinXP) or 'NT AUTHORITY\NETWORK SERVICE' (Win2003) to 'WilStoreAdmins'


Q. No repositories are shown and webservice.asmx gives a 403 error

A. ASP.NET version 2 is a prohibited web service extension

Allow ASPNET v2 in web service extensions
   1. Open Computer Management (right click 'My Computer' -> 'Manage')
   2. Expand 'Internet Information Services'
   3. Expand 'Web Service Extensions'
   4. Select 'ASPNET v2' and click 'Allow'


Q. Attempting a function from wilstoreengineext/webservice.asmx gives a 500 error

A. WilStoreEngine.dll is not registered

Register WilStoreEngine.dll


Q. I get an error when opening the webservice.asmx page, it says ASP.NET v1.0... (or doesn't say ASP.NET v2.0.50727) on the error page

A. ASP.NET is not set up correctly in IIS

First check that IIS is installed
Next run 'aspnet_regiis -i' from within '\WINDOWS\Microsoft.NET\Framework\v2.0.50727\'


Q. I can load the WilStore Admin page but when I try to access any functions (e.g. Add Repository) I see a "HTTP 500 - Internal server error" or "Server Application Error" error message.

A. Set the Application Protection setting of the WilStore website to Low.

IWAM.png



Database trouble

First check ...\WilStore\Config\WilStore.ini:

   Make sure your database is filled in correctly
       - For SQL Express (MSDE):
           [Others]
           DataBaseServerName=PCNAME\WilStore
       - For SQL Server full version:
           [Others]
           DataBaseServerName=PCNAME         


For Windows 2003

   Check that the WilStoreAppPool has 'Network Service' permissions
       - If not change the setting, restart IIS and retry 


Next check the permissions in the database

   1. Get SQL Server Management Studio
   2. Under your database instance check 'Security'
       - WilStoreAdmins should be in there
   3. Under your repository database check 'Security'
       - WilStoreAdmins and your user groups should be there
       - All Archive user groups should have db_owner and db_datareader permissions
       - RepAdmins and Notators should also have db_datawriter permission 


WilForm trouble

Q. If you have added wilform documents to a drawer but they don't display or; If event viewer shows DCOM errors or; WilStoreEngine.log shows:

       'WilPDF::Class_Initialize - SendResource(... Permission denied' or;
       'WilPDF::Class_Initialize - SendResource(... ActiveX component can't create object'

A. The user running W4Filler does not have enough permissions

Change DCOM permissions:

  1. Run 'dcomcnfg' from a command prompt
  2. Select 'W4 Forms Filler data'
  3. Select the 'Identity' tab
  4. Set the user to the same user you use for WilCommArchive Monitor
  5. Refresh the browser


The following items apply to WilStore 2.3 installs:

Q. GetFormImage(1,1) [ 430] Class does not support Automation or does not support expected interface (DLL:0)

A. Register WilPage.DLL


Q. GetFormImage(598054,1) [ 429] ActiveX component can't create object (DLL:0)

A. Check and make sure no ActiveX Components produce a message box. For example, when double click W4Filler.exe, it may produce a message box saying temporary key is expired.


Q. SetGetGlobalVariablesFromFile() [ 53] File not found (DLL:0)

A. Register WilStoreEngine.DLL and/or make sure all files in "Config" folder are present.


Q. WilStoreJob.exe stops responding.

A. Re-build the index. Can be a very slow operation for a large site.


Q. Can't display form. Error: Automation error The server threw an exception.

A. There are few possible solutions:

  1. Apply Service Pack
  2. Make sure the Temporary folder is empty:
    • W4Filler uses Windows Temporary folder.
    • Also, check the temporary (TEMP or TMP) path of the Environment Variable.
      • (Right click on My Computer + Advanced + Environment Variables)
    • Run W4Cleaner.exe.
  3. Make sure your screen resolution is greater than 256 colors:
    • If in the form contains image that is 16 bits or more, the screen color must be 16bit or more.
  4. Make sure W4Filler can open the form:
    • Use WilComm to run some test for WilPrint to try to open the form to be used using the same W4Filler.


Q. GetFormImage(1,1) Automation Error

A. Make sure your C:\ root directory has permission for everyone to "List Folder Contents"


API Trouble

Q. When trying to run an API URL, I get an error similar to: Unable to cast COM object of type 'WilRenderAPI.clsWilRenderClass'...

A. Check the following settings:

   1. Go to Computer Management -> Services and Applications -> Internet Information Services -> Web Sites -> Default Web Site
   2. Right-Click WilCommCentral and select Properties
   3. Go to the Documents tab
   4. Make sure Enable Default Document or Enable default content page is checked
   5. Make sure Index.html is at the top of the list
   6. Click OK after making any changes


Questions

Security

Q. We have created repositories with no access group security defined yet Windows Authentication is enabled for WilStore. This means only admin users can view the repositories. We tried to change the folder permissions on the server to allow other users access to certain repositories but this would not work. I was told that the database is controlling access and some change needs to be made to the database. Help!

A. See Changing access permissions in WilComm Archive.


Q. When I try to view a folio it says
Can't display form Error: permission denied

A. This may be a DCOM permissions problem - see Setting DCOM permissions on W4Filler