2/21/2025 5:00:56 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
|
Access Violation
Posted: 14 Nov 06 11:14 AM
|
fiogf49gjkf0d While customizing the SalesLogix web client 6.23 to include a "Products" tab on the Tickets page (similar to Opportunity Products), I'm receiving the following error in the Event Manager:
"Access violation at address 01249A94 in module 'slxweb.dll'. Read of address 0000000C"
Does anyone know what could be causing this? I created the Ticket Products tab several days ago, and it hasn't given me a problem until today. The full text of the Event Manager is as follows:
Event Type: Error Event Source: SLXWebHost Event Category: None Description: Error processing HTML template Server : SalesLogix Thread ID: 880 User: ADMIN IP: 10.2.5.27 tickprod Rendering Stage: Scan Pass Tag Handler: Access violation at address 01249A94 in module 'slxweb.dll'. Read of address 0000000C
|
|
|
|
Re: Access Violation
Posted: 14 Nov 06 1:02 PM
|
fiogf49gjkf0d I'm assuming this is a detail page (not a query page)? If so, do all your <#FIELD> tags start at the main table? On the URL that requests the products tab view, do you pass in the ID on the url; i.e., "&id=<12 char ID here>"?
Does it consistenly happen? Have you tried to resetting IIS?
There's an issue with the web DLL and multiple processor machines that has generated a LOT of errors like that for our customer. Usually, when those errors start happening, the whole port goes "bad" an IIS reset or reboot is required.
Jeff
|
|
|
|
Re: Access Violation
Posted: 14 Nov 06 1:56 PM
|
fiogf49gjkf0d I've also seen lots of these type of errors, which we think were related to the users not having the correct I.E settings. The error itself is pretty useless and although it points to a file its most likley a red herring, I've even had that error for the blank template.......which is, well, blank!. As Jeff said one you start seeing these errors its game over, you will need to do an iisreset before it falls over. I would be interested to know if anyone else has seen these and has any idea what causes them.
|
|
|
|
Re: Access Violation
Posted: 14 Nov 06 2:12 PM
|
fiogf49gjkf0d Duncan,
The errors are related to multiple processors. We've gone back and forth with Sage regarding the issue, culminating in us actually driving down the street to their office and proving the error in person. Basically, when we have a multi-processor machine (either hyper-threaded or true physical processors), we have multiple users run a macro at high speed to simulate usage in the web client and it breaks within five minutes.
As soon as we set either the app pool (IIS 6.0 mode) or the dllhost.ext process (IIS 5.0 mode) to use a single processor (using processor affinity in task manager - right click a process and "set affinity"), we can have multiple users run the same macro for 45 minutes with no issue. When we reset IIS (removing processor affinity) and the users running macros start running again using multiple processors, it will break again within 5 minutes.
We've shown this in the base product, so it isn't customizations.
The recommended fix from Sage (at least temporarily) was to run in IIS 6.0 mode and set processor affinity. There's a way to do it (set affinity) on Windows 2003 using a command line script.
Effectively, the code is not thread safe, which would explain why the errors appear random. Two threads racing through the same code and stepping on each other.
Jeff
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|