C
charles
I used a web service (or dll) to create a socket/send some data in a
thread within a function in a page. After this operation, the
operation in this page continues. This approach works when the page
starts. But it often fails after running this thread a few times. The
error I got is as follows:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
==========================
The error message in the event log is "aspnet_wp.exe (PID: 3960)
stopped unexpectedly".
I doubt that this was due to the statelessness of the HTTP protocol,
since this will not happen in a desktop application. Am I right?
In order to make this operation more reliable, can I use Session
variable or Viewstate to save something before call this thread then
recover afterwards? I did try once but seems no effect. Please help.
Thank you for your time.
thread within a function in a page. After this operation, the
operation in this page continues. This approach works when the page
starts. But it often fails after running this thread a few times. The
error I got is as follows:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
==========================
The error message in the event log is "aspnet_wp.exe (PID: 3960)
stopped unexpectedly".
I doubt that this was due to the statelessness of the HTTP protocol,
since this will not happen in a desktop application. Am I right?
In order to make this operation more reliable, can I use Session
variable or Viewstate to save something before call this thread then
recover afterwards? I did try once but seems no effect. Please help.
Thank you for your time.