470,620 Members | 1,413 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,620 developers. It's quick & easy.

Access Forbidden 403

Hi to all,

I have a web service that is hosted on IIS 5.1. I have found that the web
service works as expected but after about 20 mins of no calls to the web
service, a call that worked earlier gives the error "Access forbidden 403".

Any clues on why this is happening?

Sham.
Apr 17 '07 #1
3 3952
Hi,

As mentioned in my previous post, the error occurs occasionally but
sometimes I continously get the error and IIS/Web Service do not
recover.

The message I get is :
The request failed with HTTP status 403: Access Forbidden

The stack trace is :

at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
PostOfficeWorkManagerWebServiceProxy.PostOfficeWor kManagerWebService.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\Web References\localhost\Reference.cs:line 49
at
PostOfficeWorkManagerWebServiceProxy.WorkManagerPr oxy.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\WorkManagerProxy.cs:line 56
at
PostOfficeEnvironmentHandler.PostOfficeEnvironment HandlerServerService.timer_Tick(Object
sender, ElapsedEventArgs e) in c:\CVS
Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\Prepare Environment
Service\PostOfficeEnvironmentHandlerService.cs:lin e 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi to all,

I have a web service that is hosted on IIS 5.1. I have found that the web
service works as expected but after about 20 mins of no calls to the web
service, a call that worked earlier gives the error "Access forbidden
403".

Any clues on why this is happening?

Sham.

Apr 23 '07 #2
I sometimes get this as well:

The underlying connection was closed: An unexpected error occurred on a
receive

at System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
PostOfficeWorkManagerWebServiceProxy.PostOfficeWor kManagerWebService.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\Web References\localhost\Reference.cs:line 49
at
PostOfficeWorkManagerWebServiceProxy.WorkManagerPr oxy.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\WorkManagerProxy.cs:line 56
at
PostOfficeEnvironmentHandler.PostOfficeEnvironment HandlerServerService.timer_Tick(Object
sender, ElapsedEventArgs e) in c:\CVS
Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\Prepare Environment
Service\PostOfficeEnvironmentHandlerService.cs:lin e 115

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:%2***************@TK2MSFTNGP03.phx.gbl...
Hi,

As mentioned in my previous post, the error occurs occasionally but
sometimes I continously get the error and IIS/Web Service do not
recover.

The message I get is :
The request failed with HTTP status 403: Access Forbidden

The stack trace is :

at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
PostOfficeWorkManagerWebServiceProxy.PostOfficeWor kManagerWebService.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\Web References\localhost\Reference.cs:line 49
at
PostOfficeWorkManagerWebServiceProxy.WorkManagerPr oxy.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\WorkManagerProxy.cs:line 56
at
PostOfficeEnvironmentHandler.PostOfficeEnvironment HandlerServerService.timer_Tick(Object
sender, ElapsedEventArgs e) in c:\CVS
Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\Prepare Environment
Service\PostOfficeEnvironmentHandlerService.cs:lin e 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Hi to all,

I have a web service that is hosted on IIS 5.1. I have found that the web
service works as expected but after about 20 mins of no calls to the web
service, a call that worked earlier gives the error "Access forbidden
403".

Any clues on why this is happening?

Sham.


Apr 23 '07 #3
I have put exception messages in the web services and cleary the exceptions
being raised are from IIS and not the web services.

Are there any other tests/tools I can use help me detect where the problems
could be?

Sham.

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:O7**************@TK2MSFTNGP05.phx.gbl...
>I sometimes get this as well:

The underlying connection was closed: An unexpected error occurred on a
receive

at
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
PostOfficeWorkManagerWebServiceProxy.PostOfficeWor kManagerWebService.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\Web References\localhost\Reference.cs:line 49
at
PostOfficeWorkManagerWebServiceProxy.WorkManagerPr oxy.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\WorkManagerProxy\WorkManagerProxy.cs:line 56
at
PostOfficeEnvironmentHandler.PostOfficeEnvironment HandlerServerService.timer_Tick(Object
sender, ElapsedEventArgs e) in c:\CVS
Code\InspirationMatters\InspiredSignage\Applicatio ns\Post Office
Server\Prepare Environment
Service\PostOfficeEnvironmentHandlerService.cs:lin e 115

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:%2***************@TK2MSFTNGP03.phx.gbl...
>Hi,

As mentioned in my previous post, the error occurs occasionally but
sometimes I continously get the error and IIS/Web Service do not
recover.

The message I get is :
The request failed with HTTP status 403: Access Forbidden

The stack trace is :

at
System.Web.Services.Protocols.SoapHttpClientProto col.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at
PostOfficeWorkManagerWebServiceProxy.PostOfficeWo rkManagerWebService.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post
Office Server\WorkManagerProxy\Web References\localhost\Reference.cs:line
49
at
PostOfficeWorkManagerWebServiceProxy.WorkManagerP roxy.PrepareEnvironment()
in c:\CVS Code\InspirationMatters\InspiredSignage\Applicatio ns\Post
Office Server\WorkManagerProxy\WorkManagerProxy.cs:line 56
at
PostOfficeEnvironmentHandler.PostOfficeEnvironmen tHandlerServerService.timer_Tick(Object
sender, ElapsedEventArgs e) in c:\CVS
Code\InspirationMatters\InspiredSignage\Applicati ons\Post Office
Server\Prepare Environment
Service\PostOfficeEnvironmentHandlerService.cs:li ne 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspirationmatters.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>>Hi to all,

I have a web service that is hosted on IIS 5.1. I have found that the
web service works as expected but after about 20 mins of no calls to the
web service, a call that worked earlier gives the error "Access
forbidden 403".

Any clues on why this is happening?

Sham.



Apr 25 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Layne L via DotNetMonster.com | last post: by
7 posts views Thread by Simon Jefferies | last post: by
8 posts views Thread by trinitypete | last post: by
1 post views Thread by Mark Sandfox | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.