473,830 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4154
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.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at
PostOfficeWorkM anagerWebServic eProxy.PostOffi ceWorkManagerWe bService.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\Web References\loca lhost\Reference .cs:line 49
at
PostOfficeWorkM anagerWebServic eProxy.WorkMana gerProxy.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\WorkMa nagerProxy.cs:l ine 56
at
PostOfficeEnvir onmentHandler.P ostOfficeEnviro nmentHandlerSer verService.time r_Tick(Object
sender, ElapsedEventArg s e) in c:\CVS
Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\Prepare Environment
Service\PostOff iceEnvironmentH andlerService.c s:line 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspi rationmatters.c omwrote in message
news:%2******** ********@TK2MSF TNGP04.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.Serv ices.Protocols. WebClientProtoc ol.GetWebRespon se(WebRequest
request)
at
System.Web.Serv ices.Protocols. HttpWebClientPr otocol.GetWebRe sponse(WebReque st
request)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at
PostOfficeWorkM anagerWebServic eProxy.PostOffi ceWorkManagerWe bService.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\Web References\loca lhost\Reference .cs:line 49
at
PostOfficeWorkM anagerWebServic eProxy.WorkMana gerProxy.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\WorkMa nagerProxy.cs:l ine 56
at
PostOfficeEnvir onmentHandler.P ostOfficeEnviro nmentHandlerSer verService.time r_Tick(Object
sender, ElapsedEventArg s e) in c:\CVS
Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\Prepare Environment
Service\PostOff iceEnvironmentH andlerService.c s:line 115

"Shamresh" <sh******@inspi rationmatters.c omwrote in message
news:%2******** *******@TK2MSFT NGP03.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.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at
PostOfficeWorkM anagerWebServic eProxy.PostOffi ceWorkManagerWe bService.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\Web References\loca lhost\Reference .cs:line 49
at
PostOfficeWorkM anagerWebServic eProxy.WorkMana gerProxy.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\WorkMa nagerProxy.cs:l ine 56
at
PostOfficeEnvir onmentHandler.P ostOfficeEnviro nmentHandlerSer verService.time r_Tick(Object
sender, ElapsedEventArg s e) in c:\CVS
Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\Prepare Environment
Service\PostOff iceEnvironmentH andlerService.c s:line 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspi rationmatters.c omwrote in message
news:%2******** ********@TK2MSF TNGP04.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******@inspi rationmatters.c omwrote in message
news:O7******** ******@TK2MSFTN GP05.phx.gbl...
>I sometimes get this as well:

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

at
System.Web.Serv ices.Protocols. WebClientProtoc ol.GetWebRespon se(WebRequest
request)
at
System.Web.Serv ices.Protocols. HttpWebClientPr otocol.GetWebRe sponse(WebReque st
request)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at
PostOfficeWorkM anagerWebServic eProxy.PostOffi ceWorkManagerWe bService.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\Web References\loca lhost\Reference .cs:line 49
at
PostOfficeWorkM anagerWebServic eProxy.WorkMana gerProxy.Prepar eEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\WorkMana gerProxy\WorkMa nagerProxy.cs:l ine 56
at
PostOfficeEnvir onmentHandler.P ostOfficeEnviro nmentHandlerSer verService.time r_Tick(Object
sender, ElapsedEventArg s e) in c:\CVS
Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post Office
Server\Prepare Environment
Service\PostOff iceEnvironmentH andlerService.c s:line 115

"Shamresh" <sh******@inspi rationmatters.c omwrote in message
news:%2******** *******@TK2MSFT NGP03.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.Ser vices.Protocols .SoapHttpClient Protocol.ReadRe sponse(SoapClie ntMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters)
at
PostOfficeWork ManagerWebServi ceProxy.PostOff iceWorkManagerW ebService.Prepa reEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post
Office Server\WorkMana gerProxy\Web References\loca lhost\Reference .cs:line
49
at
PostOfficeWork ManagerWebServi ceProxy.WorkMan agerProxy.Prepa reEnvironment()
in c:\CVS Code\Inspiratio nMatters\Inspir edSignage\Appli cations\Post
Office Server\WorkMana gerProxy\WorkMa nagerProxy.cs:l ine 56
at
PostOfficeEnvi ronmentHandler. PostOfficeEnvir onmentHandlerSe rverService.tim er_Tick(Object
sender, ElapsedEventArg s e) in c:\CVS
Code\Inspirati onMatters\Inspi redSignage\Appl ications\Post Office
Server\Prepa re Environment
Service\PostOf ficeEnvironment HandlerService. cs:line 115

Any help would be appreciated.

Sham.

"Shamresh" <sh******@inspi rationmatters.c omwrote in message
news:%2******* *********@TK2MS FTNGP04.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
2144
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 worked fine on XP systems and multiple Windows 2000 servers. This is what I have tried so far: -Verified Execute Permissions on both Default Web Site and the application's
22
3819
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 am now thinking about upgrading the database from Access to SQL Server. If I do, how can I implement the custom row functions? Is Visual Basic integrated with SQL Server just as it is with Access? Or does T-SQL in SQL Server offer the...
7
3912
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 set to file share, but the project folder at "http://..." cannot be opened with the path "C:\inetpub\...." The error returned was:
1
6860
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 WebserviceTest with a method called Service1 that only returns the string "Hello World". I have enabled Anonymous Access and have a user called ASPNET set up with normal permissions for this user.
8
5051
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 web directories. This is all on a windows 2003 server. We add the intranet site to the intranet zone so the windows credentials will automatically get passed to IIS 90% of the time it works fine, but Intermittently we get access forbidden -...
3
9966
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. I can browse to the service and appear to be getting through However, from my server page I cannot access the web service. The call to the service generates the exception "Request failed with HTTP status 403: Forbidden". I had previously...
2
11212
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, this will work fine if the virtual directory is named in "abc.com.sg" or others. Why it can't be created with the name "xxxxxx.com"?? Thanks & Best Regards, Edward
1
13312
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 receiving this error when opening a web project that I created on another machine. I have a development machine on which I created an ASP.NET application. By default, it was created in inetpub/wwwroot. I copied this source code (including the...
1
1776
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 does not work. Sorry for repeating the questions, the other string got to long. This type of page is not served. Description: The type of page you have requested is not served because it has been explicitly forbidden.
0
9786
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9641
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10769
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10479
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10523
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10199
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5778
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4409
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3073
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.