PDA

View Full Version : webapp mobile reindex



chuckatkinson
11-Jan-2019, 01:35 PM
Webapp Mobile right out of the box the indexes are broken and app doesn't run.

Reindexing the workspace fixes it.

Stephen W. Meeley
11-Jan-2019, 01:48 PM
Chuck,

I'm not seeing this. Can you look at the examples folder and see if the reindex.log files are there? The log files are created at installation time based on the language selected. There should be one for every example workspace and the one for WebOrderMobile should look something like this...


1/11/2019 1:08:25.05 PM - Opening WS file C:\DataFlex 19.1 Examples\WebOrderMobile\Programs\Config.ws1/11/2019 1:08:25.05 PM - Opening workspace C:\DataFlex 19.1 Examples\WebOrderMobile\Programs\Config.ws
1/11/2019 1:08:25.053 PM - Start reindexing
1/11/2019 1:08:25.053 PM - Opening OrderSystem (File Number 20)
1/11/2019 1:08:25.055 PM - Reindexing OrderSystem
1/11/2019 1:08:25.055 PM - Opening Vendor (File Number 21)
1/11/2019 1:08:25.056 PM - Reindexing Vendor
1/11/2019 1:08:25.06 PM - Opening Inventory (File Number 22)
1/11/2019 1:08:25.06 PM - Reindexing Inventory
1/11/2019 1:08:25.066 PM - Opening Customer (File Number 25)
1/11/2019 1:08:25.066 PM - Reindexing Customer
1/11/2019 1:08:25.072 PM - Opening SalesPerson (File Number 27)
1/11/2019 1:08:25.072 PM - Reindexing SalesPerson
1/11/2019 1:08:25.076 PM - Opening OrderHeader (File Number 30)
1/11/2019 1:08:25.077 PM - Reindexing OrderHeader
1/11/2019 1:08:25.088 PM - Opening OrderDetail (File Number 31)
1/11/2019 1:08:25.088 PM - Reindexing OrderDetail
1/11/2019 1:08:25.093 PM - Opening CodeType (File Number 253)
1/11/2019 1:08:25.094 PM - Reindexing CodeType
1/11/2019 1:08:25.096 PM - Opening CodeMast (File Number 254)
1/11/2019 1:08:25.096 PM - Reindexing CodeMast
1/11/2019 1:08:25.099 PM - Opening WebAppSession (File Number 263)
1/11/2019 1:08:25.099 PM - Reindexing WebAppSession
1/11/2019 1:08:25.106 PM - Opening WebAppUser (File Number 264)
1/11/2019 1:08:25.107 PM - Reindexing WebAppUser
1/11/2019 1:08:25.109 PM - Opening WebAppServerProps (File Number 265)
1/11/2019 1:08:25.109 PM - Reindexing WebAppServerProps

chuckatkinson
11-Jan-2019, 02:19 PM
Yes it's there. But I would expect it to be since I reindexed the workspace after I got the error.


1/11/2019 12:31:05.692 PM - Opening WS file C:\DataFlex 19.1 Examples\WebOrderMobile\Programs\Config.ws
1/11/2019 12:31:05.692 PM - Opening workspace C:\DataFlex 19.1 Examples\WebOrderMobile\Programs\Config.ws
1/11/2019 12:31:05.695 PM - Start reindexing
1/11/2019 12:31:05.696 PM - Opening OrderSystem (File Number 20)
1/11/2019 12:31:05.696 PM - Error 4177 occurred at line 9361
1/11/2019 12:31:05.697 PM - Could not open OrderSystem exclusively
1/11/2019 12:31:05.697 PM - Opening Vendor (File Number 21)
1/11/2019 12:31:05.702 PM - Reindexing Vendor
1/11/2019 12:31:05.707 PM - Opening Inventory (File Number 22)
1/11/2019 12:31:05.708 PM - Reindexing Inventory
1/11/2019 12:31:05.717 PM - Opening Customer (File Number 25)
1/11/2019 12:31:05.719 PM - Error 4177 occurred at line 9361
1/11/2019 12:31:05.719 PM - Could not open Customer exclusively
1/11/2019 12:31:05.72 PM - Opening SalesPerson (File Number 27)
1/11/2019 12:31:05.72 PM - Error 4177 occurred at line 9361
1/11/2019 12:31:05.721 PM - Could not open SalesPerson exclusively
1/11/2019 12:31:05.721 PM - Opening OrderHeader (File Number 30)
1/11/2019 12:31:05.722 PM - Error 4177 occurred at line 9361
1/11/2019 12:31:05.722 PM - Could not open OrderHeader exclusively
1/11/2019 12:31:05.722 PM - Opening OrderDetail (File Number 31)
1/11/2019 12:31:05.723 PM - Error 4177 occurred at line 9361
1/11/2019 12:31:05.724 PM - Could not open OrderDetail exclusively
1/11/2019 12:31:05.726 PM - Opening CodeType (File Number 253)
1/11/2019 12:31:05.73 PM - Reindexing CodeType
1/11/2019 12:31:05.733 PM - Opening CodeMast (File Number 254)
1/11/2019 12:31:05.734 PM - Reindexing CodeMast
1/11/2019 12:31:05.738 PM - Opening WebAppSession (File Number 263)
1/11/2019 12:31:05.739 PM - Reindexing WebAppSession
1/11/2019 12:31:05.748 PM - Opening WebAppUser (File Number 264)
1/11/2019 12:31:05.749 PM - Reindexing WebAppUser
1/11/2019 12:31:05.752 PM - Opening WebAppServerProps (File Number 265)
1/11/2019 12:31:05.753 PM - Reindexing WebAppServerProps

Stephen W. Meeley
11-Jan-2019, 02:40 PM
Chuck,

Just reindexing doesn't create these logs, they are made by the little reindex program we use during installation. In fact, your log has errors in it that show the index creation during installation failed. 4177 shows a file access violation, file may be in use. I'm guessing that perhaps the uninstall of the prior build was not complete and there were parts of the webordermobile application left behind and that interfered with the installation of Beta 1.

If it wouldn't be too much trouble, could you uninstall Beta 1, make sure there are no leftovers (reboot and erase any you find) and then reinstall again? If it was something wrong with the example, you should end up with the same broken indexes. If not, it should go fine.

Garret Mott
11-Jan-2019, 07:05 PM
I uninstalled an alpha, rebooted, installed the beta & all seems good. No index or com errors.

What'd you do Chuck??? :p

Marco
11-Jan-2019, 07:26 PM
No Issues with index. Did have the (unrelated) COM as per other post

chuckatkinson
12-Jan-2019, 08:03 AM
Uninstalled Beta. Removed all traces (Examples, DataFlex 19.1 in Program Files(x86)) Reinstalled and no reindex issues.


1/12/2019 6:59:54.879 AM - Verifying filelist C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\Filelist.cfg
1/12/2019 6:59:54.88 AM - Opening filelist C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\Filelist.cfg
1/12/2019 6:59:54.88 AM - Start reindexing
1/12/2019 6:59:54.882 AM - No path specified for CodeType
1/12/2019 6:59:54.882 AM - Added path C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\ to original file name
1/12/2019 6:59:54.882 AM - Opening C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\CodeType as 253
1/12/2019 6:59:54.886 AM - Reindexing CodeType
1/12/2019 6:59:54.892 AM - No path specified for CodeMast
1/12/2019 6:59:54.892 AM - Added path C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\ to original file name
1/12/2019 6:59:54.893 AM - Opening C:\Program Files (x86)\DataFlex 19.1\Usr\New\Data\CodeMast as 254
1/12/2019 6:59:54.895 AM - Reindexing CodeMast


Still have the issue with the calendar com object though :(