BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
snooz Offline
New Member
 
Posts: 4
Join Date: May 2005
Model: 7520
Default BBCorrectorServer.cgi Help - 06-10-2005, 11:35 AM

Well guys a need a fresh set of eyes on this because I cannot get it to work. Here is what I have done so far;

1) Install Perl (http://www.activestate.com/Products/ActivePerl/)

2) Install Aspell (http://aspell.net/win32/)

3) Create you IIS web site via the Microsoft Management Console

- right click your web site and select "Properties"
- select the "Home Directory" tab
- choose your "Local Path"
- in the "Application Settings" box, select "Configuration"
- select the "Mappings" tab
- make sure the extension ".cgi" is mapped to the Perl executable
"C:\perl\bin\perl.exe %s" (replace path as necessary)
- create a directory under your "Local Path" called cgi-bin and place
BBCorrectorServer.cgi there
- execute the following two commands:
adsutil.vbs SET w3svc/CreateCGIWithNewConsole "1"
adsutil.vbs SET w3svc/CreateProcessAsUser "0"
I found "adsutil.vbs" under C:\Inetpub\AdminScripts. Your mileage may vary but these
two commands MUST be run.
- restart your web site

4) Modify BBCorrectorServer.cgi to reflect your system configuration

- change perl executable path. Example:
#!d:/perl/bin/perl
- change path to aspell executable. Example:
my $cmdAspellExe = "\"D:/Program Files/Aspell/bin/aspell\"";

After visiting the original thread here I am confused as to what the settings should be;
http://www.pdastreet.com/forums/show...pagenumbe r=5

"C:\perl\bin\perl.exe %s" or C:\perl\bin\perl.exe "%s" %s

my $cmdAspellExe = "\"C:/Program Files/Aspell/bin/aspell\""; or

my $cmdAspellExe = "\"C:\\Program Files\\Aspell\\bin\\aspell\"";

Aspell install location;
C:\Program Files\Aspell\bin

Perl install location;
C:\Perl\bin

I keep getting BBCorrector Error HTTP response code 404.
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
tateu Offline
Talking BlackBerry Encyclopedia
 
Posts: 209
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Default 06-10-2005, 03:11 PM

404 means page not found. If you open internet explorer and browse to http://yourserver/yourpath/BBCorrectorServer.cgi what happens? Do you get a 404 error?

If you just get a blank page, this should mean that the path is set up correctly and viewable by your local computer. If you browse to http://yourserver/yourpath/BBCorrectorServer.cgi from a computer not on your local network what happens? Is your server reachable from the internet? Did you open your firewall/router and forward the correct ports?

Did you set BBCorrector on your blackberry to point to http://yourserver/yourpath/BBCorrectorServer.cgi ?
   
  (#3 (permalink)) Old
snooz Offline
New Member
 
Posts: 4
Join Date: May 2005
Model: 7520
Default 06-10-2005, 04:55 PM

Quote:
Originally Posted by tateu
404 means page not found. If you open internet explorer and browse to http://yourserver/yourpath/BBCorrectorServer.cgi what happens? Do you get a 404 error?[/url] ?
Yes but only to the cgi file extension. TXT and ZIP work fine.

Quote:
Originally Posted by tateu
If you just get a blank page, this should mean that the path is set up correctly and viewable by your local computer. If you browse to http://yourserver/yourpath/BBCorrectorServer.cgi from a computer not on your local network what happens??[/url] ?
Same behavior cgi extension does not work but the others do.

Quote:
Originally Posted by tateu
Is your server reachable from the internet? Did you open your firewall/router and forward the correct ports?
Yes open to the internet.

Quote:
Originally Posted by tateu
Did you set BBCorrector on your blackberry to point to [url]http://yourserver/yourpath/BBCorrectorServer.cgi]
Yep

Last edited by snooz : 06-10-2005 at 04:57 PM.
   
  (#4 (permalink)) Old
jwaters Offline
Talking BlackBerry Encyclopedia
 
jwaters's Avatar
 
Posts: 265
Join Date: May 2005
Location: Michigan
Model: 7520
Carrier: Nextel
Default 06-10-2005, 06:53 PM

The first thing I would check is make sure that all your caps and lowercase are correct. I don't work on Windows servers, but I know on Linux it makes a difference. If you put the BBCorrectorServer.cgi on your server as BBCorrectorServer.cgi but are typing the url as http://yourserver/yourpath/BBcorrectorserver.cgi it won't find it and you'll get a 404 error. Also make sure that the reference to the file in your script has the correct upper/lowercase. I've accidentally done that and not realized it and looked for the mistake for a long time.

Other than that ..... hmmmmmm
   
  (#5 (permalink)) Old
snooz Offline
New Member
 
Posts: 4
Join Date: May 2005
Model: 7520
Default 06-11-2005, 12:28 AM

I feel stupid guys it was the web service extensions in IIS. CGI was set to prohibited so I set to allow and its working now.
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.