Saturday, March 31, 2012
Web Server hangs
occur with similar sites created in Notepad. Whilst browsing the site,
occasionally the site hangs completely and the only way to get it going
again is by restarting the web server.
Are there any known problems along these lines that people can point me in
the direction of?
ThanksHi,
From my experience the blame is always on our code. "Debugging tools for
windows" [1] got hang state that dump the running process and let you,
with symbols, find the lines that at least generate the problem.
By the way do you have multi threaded code in your application ?
[1] - http://www.microsoft.com/whdc/ddk/d...ng/default.mspx
Natty Gur[MVP]
blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Saturday, March 24, 2012
Web service Problem
Example: I have created the webservice http://localhost/test2service.asmx
Now if a user use it like...(after adding Web reference of this service)...
localhost.test2Service a = new localhost.test2Service();
then how can we know in our webservice that on which site it is being used..[QUOTE] : It's a very genuine problem, if anyone knows plz reply me soon...
1. using Localhost, no one would be able to access your web service, it needs a LIVE IP.
To determine how many times your webservice is accessed - a simple way would be to create a log, in the webmethod itself, whenever its called
I believe the referer object should work here although I've never tried it. Try working with that object and let us know.
Thursday, March 22, 2012
Web Service Timeout
I have a problem.
I've developed a mobile application. And the application call a web service.
The web service executes a script and it takes long time (about 2 minutes)
But it the webservice throw timeout exception after 10 seconds from mobile
device.
I've set server.scripttimeout to 3600... after executiontimeout 3600... But
it doesn't work.
What can i do? Web service works about ten seconds after it raise timeout
exception.
Please help me.change the timeout on the client side.
yourproxy.Timeout = 5 * 60 *1000;
Steve
"Erencan SAIROLU" <erencans@.hotmail.coma crit dans le message de news:
O4ENsOBBHHA.4568@.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
Hi All,
I have a problem.
I've developed a mobile application. And the application call a web
service.
The web service executes a script and it takes long time (about 2 minutes)
>
But it the webservice throw timeout exception after 10 seconds from mobile
device.
>
I've set server.scripttimeout to 3600... after executiontimeout 3600...
But it doesn't work.
What can i do? Web service works about ten seconds after it raise timeout
exception.
>
Please help me.
>
>
>
>
>
It's work now.
Thanks Steve :)
"Steve B." <steve_beauge@.com.msn_swap_msn_and_comwrote in message
news:OHrrNVBBHHA.144@.TK2MSFTNGP02.phx.gbl...
Quote:
Originally Posted by
change the timeout on the client side.
>
yourproxy.Timeout = 5 * 60 *1000;
>
Steve
>
>
"Erencan SAIROLU" <erencans@.hotmail.coma crit dans le message de
news: O4ENsOBBHHA.4568@.TK2MSFTNGP04.phx.gbl...
Quote:
Originally Posted by
>Hi All,
>I have a problem.
>I've developed a mobile application. And the application call a web
>service.
>The web service executes a script and it takes long time (about 2
>minutes)
>>
>But it the webservice throw timeout exception after 10 seconds from
>mobile device.
>>
>I've set server.scripttimeout to 3600... after executiontimeout 3600...
>But it doesn't work.
>What can i do? Web service works about ten seconds after it raise timeout
>exception.
>>
>Please help me.
>>
>>
>>
>>
>>
>
>
Web services
Hello,
I have an asp.net application developed by someone else and it seems it interacts with database through web services. What is the benefit of this? Any idea?
Thanks,
Ins, outs , hows, why of web services
http://aspnet.4guysfromrolla.com/articles/100803-1.aspx