473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 4126
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.