terminating script error

terminating script error

am 06.07.2007 11:15:32 von JensB

Hi
I have a setup on my IIS WINDOWS 2003 SP2 server working with Access
Internet replication.
All is setup according to MS internet replication, and working well for
years.
In short it works this way:
Clients sent 2 packages (.msg and .tmp) to a dropbox on the server.
MS replication manager on the server using a small program MStrai40.exe
placed in the "\Script" folder,
to detect package deliveries from the client,
then doing the replication with the local database on the server and return
result packages to the client.

Suddenly it doesn't work, and the Application eventlog report this:
"The script started from the URL '/Scripts/mstrai40.exe' with parameters
'ERRORCODE=0&MESSAGEFILE=rep7006e4.msg&MESSAGEDBFILE=Jet7006 96.tmp&' has not
responded within the configured timeout period. The HTTP server is
terminating the script."

Yesterday I deleted and rebuild the Dropbox and the Script folder, and it
worked well until this morning,
then the problem occurred again.

I have giving full permissions to those folders and netman but, it still
doesn't work.

What did miss?

JensB

Re: terminating script error

am 12.07.2007 13:36:17 von JensB

Found the reason myself.
It had nothying to do with permissions, or scripts problems, but the fact
that I changed ISP,
and placed a DSL router in front of my LAN router.
If the Internet synchronizer tries to communicate with the Web server by
using the unique external Internet Protocol (IP) address or the domain name
of the Web server. Because the Web server is in the same local area network
and is configured to use the same NAT router, the NAT router cannot map the
external IP address or the domain name of the Web server to the internal IP
address of the Web server. Therefore, the Internet synchronizer cannot
connect to the Web server to do Internet synchronization successfully....

Found the details here:
http://support.microsoft.com/kb/871061

The reason I did not look at ISP issue at the beginning, was the fact that
replication worked some few times after installing the DSL router.

Jens