NotePage, Inc. Forum Index

webgate.exe problem

 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support
View previous topic :: View next topic  
Author Message
geoff.ph



Joined: 25 Apr 2005
Posts: 8

PostPosted: Mon Apr 25, 2005 10:57 pm    Post subject: webgate.exe problem Reply with quote

hi all!

we have webgate installed on IIS 6.0 on a Windows Server 2003, and we have already turned-on the CGI features, and Scripts and Executables.

everytime we send message using the following script in htm/html:

<FORM ACTION ="http://10.20.37.125/scripts/webgate.exe" METHOD=POST>

after sending the message, we've got this error:

ERRORR!!!
Internal Error #1004

any help would be highly appreciated. thanks lot!


Back to top
View user's profile
geoff.ph



Joined: 25 Apr 2005
Posts: 8

PostPosted: Tue Apr 26, 2005 1:18 am    Post subject: Reply with quote

hi all! i've already solved the problem below... i can now send message, but the messages is not being redirected to pagers, it was stocked in the www root directory as follows:

tmp1.new
tmp2.new
tmp3.new

and so on...

and when you open the tmp1.new, the contents of the file are as follows

#### File Opened ####
###########################################
# Program Environment #
###########################################
###########################################
# Message Environment from the web server #
###########################################
# ALLUSERSPROFILE=C:\Documents and Settings\All Users
# APP_POOL_ID=DefaultAppPool
# ClusterLog=C:\WINDOWS\Cluster\cluster.log
# CommonProgramFiles=C:\Program Files\Common Files
# COMPUTERNAME=PAGINGSRV
# ComSpec=C:\WINDOWS\system32\cmd.exe
# NUMBER_OF_PROCESSORS=2
# OS=Windows_NT
# Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
# PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
# PROCESSOR_ARCHITECTURE=x86
# PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
# PROCESSOR_LEVEL=15
# PROCESSOR_REVISION=0401
# ProgramFiles=C:\Program Files
# SystemDrive=C:
# SystemRoot=C:\WINDOWS
# TEMP=C:\WINDOWS\TEMP
# TMP=C:\WINDOWS\TEMP
# USERPROFILE=C:\Documents and Settings\LocalService
# windir=C:\WINDOWS
# HTTP_CACHE_CONTROL=no-cache
# HTTP_CONNECTION=Keep-Alive
# HTTP_CONTENT_LENGTH=42
# HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
# HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
# HTTP_ACCEPT_ENCODING=gzip, deflate
# HTTP_ACCEPT_LANGUAGE=en-us
# HTTP_HOST=10.20.37.125
# HTTP_REFERER=http://localhost/anyuser.htm
# HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
# APP_POOL_ID=DefaultAppPool
# AUTH_TYPE=
# AUTH_PASSWORD=
# AUTH_USER=
# CERT_COOKIE=
# CERT_FLAGS=
# CERT_ISSUER=
# CERT_SERIALNUMBER=
# CERT_SUBJECT=
# CONTENT_LENGTH=42
# CONTENT_TYPE=application/x-www-form-urlencoded
# GATEWAY_INTERFACE=CGI/1.1
# HTTPS=off
# HTTPS_KEYSIZE=
# HTTPS_SECRETKEYSIZE=
# HTTPS_SERVER_ISSUER=
# HTTPS_SERVER_SUBJECT=
# INSTANCE_ID=1
# LOCAL_ADDR=10.20.37.125
# LOGON_USER=
# PATH_INFO=
# PATH_TRANSLATED=c:\inetpub\wwwroot
# QUERY_STRING=
# REMOTE_ADDR=10.20.37.125
# REMOTE_HOST=10.20.37.125
# REMOTE_USER=
# REQUEST_METHOD=POST
# SCRIPT_NAME=/scripts/webgate.exe
# SERVER_NAME=10.20.37.125
# SERVER_PORT=80
# SERVER_PORT_SECURE=0
# SERVER_PROTOCOL=HTTP/1.1
# SERVER_SOFTWARE=Microsoft-IIS/6.0
# UNMAPPED_REMOTE_USER=
###########################################
# Message form data from the web server #
###########################################
# USER=9992
# FRM=test
# MSG=test
# SEND=SEND+PAGE
###########################################
USER=9992
FRM=test
VALIDATE_USER=TRUE
MSG=test


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4407

PostPosted: Wed Apr 27, 2005 7:23 am    Post subject: Reply with quote

The machine's default Web Guest (IUSR) account may not have permission to "Modify" files in the "CGI Data Path" directory. The "webgate.exe" creates a "tmp*.new" file, then renames the file extension to ".msg", once all of the data is completely written to the file. The GetWeb executable polls the "CGI Data Path" directory and reads the ".msg" files.

You may need to explicitly add the IUSR account to the "CGI Data Path" directory Security and give Read/Write/Modify permissions.


Back to top
View user's profile
geoff.ph



Joined: 25 Apr 2005
Posts: 8

PostPosted: Sat Apr 30, 2005 11:00 pm    Post subject: webgate.exe problem Reply with quote

hello! thanks for the reply... i had already set the READ/WRITE/MODIFY and FULL permission to the IUSR account in "CGI Data Path", but still it doesnt get thorugh the pager, i already noticed that there's a "tmp*.msg" in the root directory of IIS, but it never forwarded to the pager.

i also noticed that the "tmp*.msg" is located in the C:\Inetpub\wwwroot\.

my HTML path looks like this:
C:\Inetpub\wwwroot\

and the CGI path as follows:
C:\Inetpub\wwwroot\scripts

i run the paging admin as application with the local administrator account.


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4407

PostPosted: Mon May 02, 2005 10:49 am    Post subject: Reply with quote

Change the "CGI Data Path" to " C:\Inetpub\wwwroot\ ".

Sometimes, IIS runs the webgate.exe, but forces the generated files into the web root, versus the "Scripts" directory.


Back to top
View user's profile
geoff.ph



Joined: 25 Apr 2005
Posts: 8

PostPosted: Mon May 23, 2005 8:19 am    Post subject: Reply with quote

Dear Tech Support,

Sorry for not replying to you sooner, the problem above was already solved using your advised, million thanks!

However, i have a small problem again, because my boss requesting me if it is possible for pager message to look like the one sample below, if a user recieved a page message.

Frm: Sender Msg: Test message...

My boss wants the "Frm:" and the "Msg:" to appear in the pager if someone send a page message.

Is that possible? do you have any idea how to that?

Thanks a lot and more power to you!:)


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4407

PostPosted: Mon May 23, 2005 8:35 am    Post subject: Reply with quote

A feature for custom message formatting is not currently available, but is being evaluated for inclusion into a future version of PageGate.


Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin