Michel Posseth [MCP] a présenté l'énoncé suivant :
"Amirallia" <bn**@bluewin.chschreef in bericht
news:mn***********************@bluewin.ch...
>Michel Posseth [MCP] avait écrit le 05.10.2008 :
>>And is your webservice installed in IIS ???? ( i guess not )
Cause if you are running it from the IDE it runs in Cassini and Cassini
doesn`t allow multiple connections or connections from other computers
so install your service in IIS and everything should work fine
running it from a non virtual directory in the IDE = Cassini
regards
hth
Michel Posseth [MCP]
http://www.vbdotnetcoder.com
"Amirallia" <bn**@bluewin.chschreef in bericht
news:mn***********************@bluewin.ch...
Hi,
I consume my webservice with the IE browser and all is ok when I call it
with one browser. But when I call it a the same time with two browsers,
the IE page tells me that the apllication server is not available!!
Any idea ?
Yes my webservice is installed in IIS 6.0
But is not possible to execute the webservice with two browsers at the same
time, the server becomes unavailable
In the event viewer, I've got an error on ASP.NET 2.0.50727.0 with the
message :aspnet_wp.exe (PID : 888) stopped unexpectedly
Any idea ?
Hello,
Does it access a external resource , maybe a file that is locked by the
previous call that is still running
ofcourse above is just wild guessing as you do not provide info about what
your webservice does so the question from my side is
what does your webservice code ?
Michel Posseth [MCP]
http://www.vbdotnetcoder.com
In resume, my webservice code calls a function in a DLL. This DLL is
created with a RAD(Clarion). In this function there is a query to a
Oracle Database and it returns the content of a field's table (a
integer number)
Here my webservice code :
<WebMethod()Public Function TotoWait(ByVal intIn As Int32) As String
Dim hInst As Integer
Dim intClock As Int32
Try
intClock = ps_totowait(intIn)'call the Clarion's DLL
TotoWait = intClock.ToString
Catch ax As AccessViolationException
TotoWait = ax.Message
Catch ex As Exception
TotoWait = ex.Message
End Try
End Function
When I run my webservice at the same time, the first call returns the
right result and the second returns this error "Attempted to read or
write protected memory. This is often an indication that other memory
is corrupt."
Any idea ?