472,993 Members | 3,041 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 software developers and data experts.

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 4096
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Layne L via DotNetMonster.com | last post by:
Trying to install a .NET application on a Windows 2003 Server ( .NET v1.1) and for any . aspx file get the following error: 403.1 Forbidden: Execute Access Forbidden The application has...
22
by: TC | last post by:
I have an Access database application with a lot of custom row functions written in VBA. In other words, a lot of queries contain calculated fields which use functions defined in the modules. I...
7
by: Simon Jefferies | last post by:
Hello, I'm trying to create a new ASP. NET Web Application project, when I enter a name and press OK i get the following: Web Access Failed. The default web access mode for this project is...
1
by: DotNetter | last post by:
I have two computers. Both computers have Windows 2003 installed as well as Visual Studio.Net 2003 installed. Computer A has active directory set and also has .Net and the webservice called...
8
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all...
3
by: JerryK | last post by:
Hi, I have an ASP.net page, written in VB.net. In that code I want to access a validator web services that is secured via SSL. I have installed the certificate, via a .pfx file, on the system....
2
by: Edward Low | last post by:
Hi all, When creating a virtual directory in IIS 5.0 win xp Pro with the name like "abc.com", an error HTTP 403.1 Forbidden: Execute Access Forbidden will return when accessing the web page. But,...
1
by: PK9 | last post by:
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am...
1
by: Mark Sandfox | last post by:
I have a need to allow an extrenal IT department to download 1 specific database. I have treid direct link and webclient methods but both get permission errors. Setting the MIME to handle this...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.