For the record, I just went to lunch, and when I got back this error didn't appear. It was back to the SQL0104 message that had driven us to install Client Access 6.1 on the server in the first place.

Eventually, I had Client Access SI42423 applied to the server and it started working.


John Maassel
Bob Evans Farms, Inc

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Wednesday, April 25, 2012 7:14 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: SQL0104 Token (fieldname) not valid from .NET data provider

On 23 Apr 2012 10:27, Maassel, John R. wrote:
OK, so we got the updated Client Access installed. Finally got the binding redirect to work and now we get this weird message on the traditional error page. Google was stumped. Any ideas?

Exception Details: System.UnauthorizedAccessException:
Access to the path 'CWB_MP_TI_EVENT' is denied.

ASP.NET is not authorized to access the requested resource. <<SNIP>>
IBM.Data.DB2.iSeries.iDB2NamedEvent..ctor(String eventName) +136
IBM.Data.DB2.iSeries.iDB2Trace..cctor() +89

On a whim, I decided to try my own luck with a Google web search.

While others were listed, the first listed was an APAR SE37122 with a date displayed, that was within a year, which might be of interest; i.e.
"May 11, 2011 - UnauthorizedAccessException: Access to the path is denied. System. ... IBM.Data.DB2.iSeries.iDB2NamedEvent..ctor(String
eventName) +127":
SE37122 CA400EXP-IDB2DATA EventWaitHandle UnauthorizedAccessException
"EventWaitHandle constructor throws UnauthorizedAccessException in the System i Access for .NET Managed Provider intermittently.
For example:
UnauthorizedAccessException: Access to the path is denied. ...

PTFs Available
R610 SI42423 PTF Cover Letter 1000
... component: 5761XE100"

Regards, Chuck
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at


Notice from Bob Evans Farms, Inc: This e-mail message, including any attachments, may contain confidential information that is intended only for the person or entity to which it is addressed. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and any attachments.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].