“Object reference not set to an instance of an object.” when opening Substruct on a workstation.
Thursday, January 22nd, 2009This error is easily fixed by installing XP SP3 on your workstation.
This error is easily fixed by installing XP SP3 on your workstation.
Problem
When trying to run Substruct Utiilities (substruct.exe) over the network for the first time, you may receive an error:
The application failed to initialize properly (oxc0000135). Click on OK to terminate the application.
This is due to the Microsoft .NET Framework Runtime Security Policy no being configured correctly.
Solution
On a Windows XP computer, do the following:
1. Open Control Panel.
2. Open Administrative Tools.
3. Open Microsoft .NET Framework 1.1 Configuration.
4. Expand Runtime Security Policy.
5. Expand Machine.
6. Expand Code Groups.
7. Right-click on All_Code and click Properties.
8. Click the Permission Set tab.
9. Change the Permission Set drop down to “Full Trust”.
10. Click OK to save this change.
11. Close the .NET Configuration 1.1 window.
This problem is due to items being scanned too quickly in Cougar Mountain. To prevent this, adjust the “Reread” and “Good Read” delays on your barcode scanner. For the Handheld 3800g (Substruct’s recommend barcode imaging device) print or scan the barcode bellow. “Medium” speed is recommended for both.
Occasionally, Accounts Receivable total will be off. This is caused by Cougar Mountain for unknown reasons. To check for discrepancies, do the following:
Â
Short barcodes on some merchandise may not scan correctly by default. These barcodes use the UPCE (usually UPCE0) symbology, and most aliases are stored in your Cougar Mountain installation in the standard 12 digit UPCA format. For reference, Ace sends down UPC information in UPCA format. To enable your scanner to convert UPCE to UPCA, do the following:
Print and scan the following “On” barcode.
Â
Â
�
Substruct Mobile will not load on a handheld. Error message may be something allow these lines:
“The Page Cannot Be Displayed. There are too many people accessing the website at this time. Please try the following: Click the refresh button or try again later.
HTTP 403.9 - Access forbidden.”
Â
To fix, open the Windows Task Manager, click the “Processes” tab, then find and end “inetinfo.exe”
The process will restart it self and Substruct Mobile should work correctly.
Trying to connect a Symbol MC wireless unit to a wireless network may result in this message: “The profile you are trying to connect to may not connect due to regulatory issues.”
Â
To fix:
Problem
“Cannot Lock…” error Substruct Importer. Most likely cause is that there is more than one Windows user locally logged on to the server. The first user runs SubstructImporter.exe fine(runs automatically on loggon), and any consecutive users after the first cause an error on the respective users screen.
Solution
Log off all other users beside the first. It is a good idea to deny local log on for unnecessary users using the Windows Group Policy Editor
To deny log on locally:
Run > gpedit.msc
Computer Configuration > Windows Settings > Local Policies > User Rights Assignment > Deny logon locally > Right click > Properties. Then add users you don’t want logging on.
The scanner will not work on a Symbol device (ie. MC50, MC9000)
ScanWedge.exe needs to be installed and running. This can be installed by navigating to it on the server over the network. IIS(Internet Information Services) must be set to “Scripts only” in order to download an EXE instead of trying to “run”. Copy this file to the “Start Up” folder of the handheld. Then either run the EXE or restart the device.
1)Â Open the IIS 7.0 Manager on the server
2)Â Select the site and click on “Handler Mappings”
3)Â Select “Add Module Mapping”
4)Â Enter the fields on the window:
a) Request Path:  where are the files to be found don’t put a leading slash. Example: “_myVirtPath/*.exe” to allow all files ending in .exe to be downloaded when the request is for and executable file within the virtual path that you would have defined earlier.
b)Â Module:Â StaticFileModule - this will handle requests containing your request path and return the file to you.
c)Â Executable:Â don’t enter anything.
d)Â Name:Â whatever you want to call it:Â “ClientSide Executables”
5) Click on “Request Restrictions” and click on the “Invoke handler only if request is mapped to:” checkbox and ensure that “File” option is selected. (This will only apply to files)
6) Click on the “Access” tab. Ensure that “Script” is selected.
7)Â Click on “OK” to close this window
8)Â Click on “OK” to close the main Handler screen.
Problem:
Paid out report in Substruct Utilities shows change given for a specific invoice and that amount is short in Cougar Mountain when closing a register.
Solution:
This is a bug in CMS. Whenever you recalled a paid out, it clears the tender field. Either don’t recalled paid outs, or if you do, hit “F6″ then “+” and then “Enter” to reclose out the sale.
Â
Download the file here:Â