473,378 Members | 1,347 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,378 software developers and data experts.

Webservice becomes unresponsive

Hi,

I have a problem accessing a web service.

The problem consists in that after a couple of hours (approx. 3 hours) the
web service is non-responsive.
I have then tried accessing it through Internet Explorer and when I invoke a
method exposed by the web service I recieve
a "FileNotFound"-exception referring to a specific DLL in c:\windows\temp
(the filename of the DLL is always different every time I recieve the
exception).

If I restart the IIS (through a command prompt I issue the command
"iisreset") then the web service is functioning again.

I tried searching for this error on Google and every item I found on this
issue refers to the issue as a security problem.
(User does not have enoungh permissions for c:\windows\temp).
But I checked this and permissions are fine (I have tried with modify and
full permissions for the user running the web service).
Moreover, I tried adding the user running the web service to the
Administrators-group and the problem still occurs.

My setup is as follows:
- Windows 2003 Server Service pack 1
- IIS 6.0
- Created new application pool called WS_Pool (checked "use existing as
template" during creation
- Identity of WS_Pool is user "WebServiceUser" which is member of "IIS_WPG"
- My WebService is installed below "Default Web Site". Settings for Web
Site is:
x Connection timeout = 0
x HTTP Keep-Alives unchecked
x Authentication and Access Control: Enable anonymous access
(WebServiceUser is specified as identity when anonymous connections are made)
x Configuration options: "Enable session state" unchecked, "Enable
buffering" unchecked
- ASP.NET:
x Version: 2.X
x State Management Configuration: "Session State Mode" set to "Off"
- Permissions on directories:
x Directory “c:\Windows\temp” WebServiceUser: “modify” permissions
x Directory “c:\Windows\temp” Network Service: “modify” permissions
x Directory “c:\Windows\temp” IIS_WPG: “modify” permissions
- Web service is being accessed every 5 seconds from a client application
on another computer
Does anyone know why I keep getting the exception?

Thank you in advance.

Jess
Jun 21 '07 #1
1 1724
=?Utf-8?B?SmVzcyBMdW5kYWdlciBBbmRlcnNlbg==?=
<Je******************@discussions.microsoft.comwro te in
news:F4**********************************@microsof t.com:
Hi,

I have a problem accessing a web service.

The problem consists in that after a couple of hours (approx. 3 hours)
the web service is non-responsive.
I have then tried accessing it through Internet Explorer and when I
invoke a method exposed by the web service I recieve
a "FileNotFound"-exception referring to a specific DLL in
c:\windows\temp (the filename of the DLL is always different every
time I recieve the exception).

If I restart the IIS (through a command prompt I issue the command
"iisreset") then the web service is functioning again.

I tried searching for this error on Google and every item I found on
this issue refers to the issue as a security problem.
(User does not have enoungh permissions for c:\windows\temp).
But I checked this and permissions are fine (I have tried with modify
and full permissions for the user running the web service).
Moreover, I tried adding the user running the web service to the
Administrators-group and the problem still occurs.
I recall having a similar issue ... I believe you need to give IIS
(IUSR/IWAM/ASPNET/Network Service) full access to the temp dir? I
believe it creates files in there - and when it can't you get these
strange errors.
Jun 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: olafmol | last post by:
Hello, i have a problem using a .NET WSDL Webservice from PHP. Using both the NuSOAP lib for PHP4, and the build-in SOAP lib for PHP5 it seems that the SOAP client cannot pass a variable amount...
14
by: Brian Keating EI9FXB | last post by:
I wonder can anyone reccomment a solution to this problem. Let me explain, I've services running on my system, my application receives diagnostic messages from these services, what i want to do...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
2
by: DenoxiS | last post by:
Hi, I'm having problem with this internet application. It's a simple form with a button and couple text boxes where I can enter parameters like timeout etc. Once I push the button, it starts...
2
by: twotoed | last post by:
Hi, Does anyone have any experience with/suggestions for using a webservice for product licensing? What I have in mind is something like where the client app sends their product key to the...
3
by: Peter Longstaff | last post by:
Hi All, I am having trouble with my first effort at developing a web service. I have a methods, outlined below which should return a DataTable. public DataTable...
4
by: dan655t | last post by:
Hello, I've come here to get some advise from the experts. Currently I am tasked with modifying a web service that currently supports one product to support multiple products. It needs to be...
2
by: geowhe | last post by:
I am writing a VB6 application that opens with a Login form that allows the user to select one of several databases. Clicking 'OK' on the Login form opens the Main form. Something has happened...
7
by: Amirallia | last post by:
Hi, I consume my webservice with the IE browser and all is ok when I call it with one browser. But when I call it a the same time with two browsers, the IE page tells me that the apllication...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.