Started by DigPeter, September 15, 2017, 07:48:35 PM
Quote from: Mario on September 15, 2017, 08:00:41 PMThere should be other log files as well (see the log files help topic).Also check the Windows Event log for errors reported by the IMatchWebService.
QuoteEither iMWS fails to start or is so slow that Windows gives up waiting after 30 seconds.
QuoteHow large is your database?
QuoteWindows version?PC spec?Did you reboot after installing?Virus Checker?...
Quote from: Mario on September 22, 2017, 06:26:04 PM1. Uncommon. How large is your database. The IMWS log file would be helpful.On my computer, IMWS loads a 100,000 files database in ~ 6 seconds. Total startup time: < 10s.Just checked. IMWS loads databases with the same routines as IMatch and is usually faster because it does not need to initialize a Windows user interface.Show us the log file, then we'll know more.3. When IMatch WebServices is active, it locks the database exclusively. This is required for various reasons, especially since IMatch WebServices will allow updates to the database from the browser in the future.It cannot be allowed that the user has the same database open in IMatch desktop.This is explained in the documentation in detail. The documentation also explains a typical "publish" workflow. You work with one database in IMatch desktop, but publish another version of the database via IMWS.
Quote4. What does "does not work" mean?+ IMatch WebServices is a Windows application. It cannot run on Android.+ Or do you mean you cannot connect to IMWS from your tablet?+ Or do you mean that IMatch WebViewer does not work in the browser?+ In that case: Android 4.4 is really old. Which browser do you use on that table? A modern browser is required. Try Chrome or Firefox. The built-in browser in Android 4.4 is oooold and buggy.
Quote from: Mario on September 24, 2017, 08:08:41 AMDo you use many very complex categories? Formulas? Many data-driven categories?
QuoteTry this:Make notes of your settings in IMWS Controller (databasem port, etc.). Just make a screen shot of the settings and paste it into your image editor.While IMWS is not running, rename the file C:\ProgramData\photools.com\IMatchAnywhere\IMWS\storage.db to C:\ProgramData\photools.com\IMatchAnywhere\IMWS\storage.db.BAK. Then start the IMWS Controller again and re-do your settings.On the Configuration > Advanced tab change the Log file setting to verbose.Then start IMWS. Since it has no categories to pre-load it should start up in < 20 seconds.
Quote from: DigPeter on September 24, 2017, 01:35:39 PMIn the viewer the title is shortened. See Attachment - the top line has omitted the characters on the end of the line: "ernina, 4000m". I cannot see a method of showing the whole title.
Quote from: DigPeter on September 24, 2017, 01:18:58 PMDone that - it took about 20 secs to load. Verbose log file is attached.
Quote from: Mario on September 23, 2017, 01:45:18 PMIf your tablet is not part of your WLAN, it cannot reach your computer running IMWS.Or maybe it is just a DNS lookup problem?If you are trying to connect via COMUTER-NAME:8081/.... your tablet may not be able to resolve the COMPUTER-NAME to the IP address.In that case just configure IMWS to use the IP address instead of the computer name. IMatchWebViewer will then know how to find IMWS and will be able to connect.See My browser cannot connect to IMatch WebServices in the IMatch Anywhere FAQ for more info.Try to use the /info URL from your tablet via the IP address of the computer running IMatch WebServices. For example, if your Windows PC has the IP address 192.168.100.10 you can use this URL to test if your tablet can connect to it:192.168.100.10:8081/info?prettyprint=trueThis should return a page of information about IMWS. If this works, your tablet can connect but cannot resolve computer names to IP adresses.Change the IMatch WebViewer config.json to use the IP address instead of the computer name in that case.Disadvantage: If your Windows PC sometimes gets a different IP address from your router/DNS server, you will have to change the config.json again to match.
Quote from: Mario on September 24, 2017, 01:54:12 PMQuote from: DigPeter on September 24, 2017, 01:18:58 PMDone that - it took about 20 secs to load. Verbose log file is attached.NOTE: Please don't mix unrelated topics in one thread. Now we're discussionIMWS does not start at allCannot connect to IMWSIMWS starts to slowandThe text does not fit into the Viewer. This will get confusing soon.Does the slow startup re-appear when you use IMWS for some time then shut-down the service and restart? IMWS will then re-calc the last 10 categories again during the startup phase.I will look into this, maybe I can detach the cache pre-load better from the server startup procedure. To reduce the overall startup time for slow machines or large databases.On my machine the pre-calc takes less than 2 seconds, even for a 100,000 files database.