473,581 Members | 2,638 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Consumming a WebService in the same time

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 ?
Sep 29 '08 #1
7 2158
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.c hschreef 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 ?


Oct 5 '08 #2
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.c hschreef 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 ?
Oct 8 '08 #3

"Amirallia" <bn**@bluewin.c hschreef 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.c hschreef 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


Oct 8 '08 #4
Michel Posseth [MCP] a présenté l'énoncé suivant :
"Amirallia" <bn**@bluewin.c hschreef 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.c hschreef 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()Pub lic Function TotoWait(ByVal intIn As Int32) As String
Dim hInst As Integer
Dim intClock As Int32

Try
intClock = ps_totowait(int In)'call the Clarion's DLL

TotoWait = intClock.ToStri ng
Catch ax As AccessViolation Exception
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 ?
Oct 9 '08 #5


"Amirallia" <bn**@bluewin.c hschreef in bericht
news:mn******** *************** @bluewin.ch...
Michel Posseth [MCP] a présenté l'énoncé suivant :
>"Amirallia" <bn**@bluewin.c hschreef 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.c hschreef 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()Pub lic Function TotoWait(ByVal intIn As Int32) As String
Dim hInst As Integer
Dim intClock As Int32

Try
intClock = ps_totowait(int In)'call the Clarion's DLL

TotoWait = intClock.ToStri ng
Catch ax As AccessViolation Exception
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 ?
Hello Amirallia

If the source of the exception is source="Oracle. DataAccess"
then the cause is probably that you are not calling .Read() on your
OracleDataReade r before calling .GetValue

Michel Posseth [MCP]
http://www.vbdotnetcoder.com


Oct 9 '08 #6
Michel Posseth a exposé le 09.10.2008 :
>
"Amirallia" <bn**@bluewin.c hschreef in bericht
news:mn******** *************** @bluewin.ch...
>Michel Posseth [MCP] a présenté l'énoncé suivant :
>>"Amirallia" <bn**@bluewin.c hschreef 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
>
>
>
"Amiralli a" <bn**@bluewin.c hschreef 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()Pu blic Function TotoWait(ByVal intIn As Int32) As String
Dim hInst As Integer
Dim intClock As Int32

Try
intClock = ps_totowait(int In)'call the Clarion's DLL

TotoWait = intClock.ToStri ng
Catch ax As AccessViolation Exception
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 ?

Hello Amirallia

If the source of the exception is source="Oracle. DataAccess"
then the cause is probably that you are not calling .Read() on your
OracleDataReade r before calling .GetValue

Michel Posseth [MCP]
http://www.vbdotnetcoder.com
Thanks for your help !!!!

The source of the exception is the name of the web service and ot
Oracle.DataAcce ss.

The StackTrace of the exception pointed to the line intClock =
ps_totowait(int In).
Oct 9 '08 #7

"Amirallia" <bn**@bluewin.c hschreef in bericht
news:mn******** *************** @bluewin.ch...
Michel Posseth a exposé le 09.10.2008 :
>>
"Amirallia" <bn**@bluewin.c hschreef in bericht
news:mn******* *************** *@bluewin.ch...
>>Michel Posseth [MCP] a présenté l'énoncé suivant :
"Amirallia " <bn**@bluewin.c hschreef 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
>computer s
>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.c hschreef in bericht
>news:mn*** *************** *****@bluewin.c h...
>>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()P ublic Function TotoWait(ByVal intIn As Int32) As String
Dim hInst As Integer
Dim intClock As Int32

Try
intClock = ps_totowait(int In)'call the Clarion's DLL

TotoWait = intClock.ToStri ng
Catch ax As AccessViolation Exception
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 ?

Hello Amirallia

If the source of the exception is source="Oracle. DataAccess"
then the cause is probably that you are not calling .Read() on your
OracleDataRead er before calling .GetValue

Michel Posseth [MCP]
http://www.vbdotnetcoder.com

Thanks for your help !!!!

The source of the exception is the name of the web service and ot
Oracle.DataAcce ss.

The StackTrace of the exception pointed to the line intClock =
ps_totowait(int In).

I am confused now ,,, did you solved the error or is it still occuring ?
as you mentioned Oracle i had a lightbulb moment as the combination Oracle
is known to throw this error
if read is not called before getvalue . in the data access code

HTH

Michel


Oct 9 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
425
by: DraguVaso | last post by:
Hi, I'm new to WebServices, and I'm doing some tests (with a small VB.NET-application) to know the performance-difference between a WebService and the 'normal'-way of getting data (just connecting directly with a SqlDataAdapter to the SQL Server). The WebMethod simply gives a DataSet back, and does exactly the same actions as the...
1
2100
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS) First project is a webService. Second consumes the webservices by the first.
1
1163
by: Ricardo | last post by:
Hi. I have a web service with complex params. I need call this web service from a page .asp. How to create this complex param? Thanks in advanced. Ricardo
8
4178
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do this without .config file only with some configuration
6
1222
by: Arpicheck | last post by:
Hi, I wrote a webservice, that creates a timer thred. This thread is used to execute common tasks from time to time. The timer starts after the first call of web service. Everithing works fine, but after a while (>10mins) the thread stops. It seems, that the webservice is in "uninitalized" state. If i call it again, the thred work fine...
7
2913
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure out to create a "DataSet" as the return type from the webservice?
5
6264
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
5
2925
by: Jonathan Kay | last post by:
Hi, I'd like to my WCF webservice to work both on SSL and without. Unfortunately searching has led to dead ends, references to changes that only work on the old previous beta versions and I admit I am rather confused and frustrated. That being said, I'd like some direction in how exactly I'm supposed to accomplish this. Thanks very...
0
810
by: Amirallia | last post by:
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 ?
0
7873
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8153
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8178
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5679
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5365
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3806
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3830
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1405
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.