× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



After some more digging and testing we found this was noting coming from the CGI app itself. The request never got that far. It made it to the Apache server but the Apache server never called the CGI app. We found that an asp form app that was making the call to my CGI app was translating any single quote character (') to an accent mark (’) and not encoding it so ' became ' (you can't see the difference but the ' is straight and the ' leans to the right. Apparently the Apache server does not like that character uuencoded. The group that developed the asp form said this is a standard process they do to stop cross site scripting and sql injection. That character is no longer being translated and now the Apache server is happy. This all started just before Valentine's Day on a form where we let parents send their college students a gift and the parent can enter a comment for the card on the gift. Can you guess why it started just recently and was intermittent?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, February 15, 2011 12:42 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Apache error from CGI app

Can you provide more context?

I've seen EINVAL (CPE3021): "The value specified for the argument is not correct" hundreds of times. Almost any API from the Unix-type APIs or ILE C runtime has the potential to generate this error, and it simply means "One of your parameters is wrong."

To troubleshoot this further, you need to know what's happening, and what the parameters are. But without any context, all I can say is "you did something wrong."

What is the program doing when you get this error? Is it possible that you're providing an invalid CCSID or encoding= value? Or maybe something else? Hard to say when you have no context at all!

On 2/15/2011 7:17 AM, Mike Cunningham wrote:

¬Mon Feb 14 09:11:17 2011| ¬error| ¬client 10.133.2.192| (3021)The
value specified for the argument is not correct.: ZSRV_MSG0579:
translation filter - returning error


Has anyone seen this error before and knows what it is trying to tell
us? This is coming from an ILE RPG app using CGI

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.