andy18
06-25-2003, 03:07 PM
Hi,
We are using Windows 2000 with Perl 5.6 installed on the server.One of the user has uploaded his CGI compiled in C+.When the cgi file is executed on the server, it shows the below messages :
"Unrecognized character \x90 at C:\domains\domain.com\blah blah\sample.cgi line 1"
I have made a search around and found that it is because the cgi file is being run as Perl.
Appreciate your advices.Thanks
Andy
choon
06-25-2003, 03:45 PM
Read the following links which I think might help you:
http://www.urchin.com/support/v3/faq/windows_cgiperl.html
http://www.spellchecker.net/support/faq.htm#i9
OR choose for yourself at google:
http://www.google.com/search?q=Unrecognized+character+%5Cx90
Hope this helps :)
andy18
06-25-2003, 03:47 PM
Hi,
Thanks for the link.
Yup ..I found the link before I started this post and have tried it out but no luck .. :(
Andy
choon
06-25-2003, 03:50 PM
Hi Andy,
You mean the link http://www.urchin.com/support/v3/faq/windows_cgiperl.html ?
You have tried the following?
Cut and paste part of the content from the above link:
To do this: Go to IIS. Right-click on the Urchin folder, scroll down to Properties. Choose the Virtual Directory tab and look for where it says "Application Name". If it is grayed out, click "Create", then click "Configuration". You will see a configuration box within the Application Mappings area. Look to see if there is a .cgi extension listed in the text box. If the ".cgi" extension is in the text box, delete that line. For example, if you see that .cgi has an executable path to run through Perl, delete the entry and click OK. Check if you can view your reports now.
jundy
06-25-2003, 06:15 PM
The probelm is that the programmed was not compiled on the server it is trying to run on. Very rarely do compiled scripts run on different machines.
andy18
06-25-2003, 06:17 PM
Hi,
That means the script has to be compiled on our server for it to run?
Andy
andy18
06-25-2003, 06:25 PM
Hi jundy,
Thanks for the reply.
Can you please show me how can I compile the code as we dont have any Visual application installed on the server.Is there any way round?
Andy
jundy
06-25-2003, 06:27 PM
Different kind of compiler. Windows doesn't like to make this easy for you. I've used DJGPP in the past ... it should (no garuantees) work for you.
andy18
06-25-2003, 06:30 PM
Hi Jundy,
Thanks . Your my Angel....:D
Andy