Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Frequent IIS restart required with web service / ado.net

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  new site and virtual directory  
Author Message
chriskeller

External


Since: Jan 18, 2005
Posts: 2



(Msg. 1) Posted: Tue Jan 18, 2005 5:27 pm
Post subject: Frequent IIS restart required with web service / ado.net
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello All,

I'm looking for additional troubleshooting ideas on a persistant problem
that is cropping up 'randomly' when a web service is communicating with the
SQL server.

Both machines are running win2k Server with the most recent service packs +
..NET 1.1. The Web Service provides data to client software by connecting to
the SQL server and executing stored procedures. A fairly common scenario I'd
think.

Anyway, at random points - or so far as we can determine, IIS reports that
access to SQL server was not found or access denied. This condition will
persist until you restart IIS after which everything resumes working as
expected.

I've verified that the machines have the same mdac version, .net version,
and we've even looked for stuck open connections. I've recently setup an
entirely new domain with clean installs and the same behavior occured. There
are no error messages logged in SQL or IIS - or the event logs for either
machine.

Where else can I go with this? This feels like a fairly generic error and
the apparent random nature hints that there is a specific set of conditions
that have to be met to repro the issue - but I can't identify them as yet.

Thanks for reading and a special thank you for your valuable time.

Chris

 >> Stay informed about: Frequent IIS restart required with web service / ado.net 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Tue Jan 18, 2005 9:35 pm
Post subject: Re: Frequent IIS restart required with web service / ado.net [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

When the problematic behaviour is occuring, what do you see in SQL Server
Profiler? Is anything going across the network at all to SQL Server?

Have you used IISState to see what's happening inside IIS?

Cheers
Ken


"Chris Keller" <ChrisKeller RemoveThis @discussions.microsoft.com> wrote in message
news:F4C7B741-C841-409B-82D9-064AC5232DDE@microsoft.com...
 > Hello All,
 >
 > I'm looking for additional troubleshooting ideas on a persistant problem
 > that is cropping up 'randomly' when a web service is communicating with
 > the
 > SQL server.
 >
 > Both machines are running win2k Server with the most recent service packs
 > +
 > .NET 1.1. The Web Service provides data to client software by connecting
 > to
 > the SQL server and executing stored procedures. A fairly common scenario
 > I'd
 > think.
 >
 > Anyway, at random points - or so far as we can determine, IIS reports that
 > access to SQL server was not found or access denied. This condition will
 > persist until you restart IIS after which everything resumes working as
 > expected.
 >
 > I've verified that the machines have the same mdac version, .net version,
 > and we've even looked for stuck open connections. I've recently setup an
 > entirely new domain with clean installs and the same behavior occured.
 > There
 > are no error messages logged in SQL or IIS - or the event logs for either
 > machine.
 >
 > Where else can I go with this? This feels like a fairly generic error and
 > the apparent random nature hints that there is a specific set of
 > conditions
 > that have to be met to repro the issue - but I can't identify them as yet.
 >
 > Thanks for reading and a special thank you for your valuable time.
 >
 > Chris
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Frequent IIS restart required with web service / ado.net 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 3) Posted: Tue Jan 18, 2005 11:14 pm
Post subject: Re: Frequent IIS restart required with web service / ado.net [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Chris,

Your error message says that it can be caused by two reasons, either the
SQL Server was not found, or access was denied. The first thing we need to
find out is which one of these it is.

SQL Server has something called SQL Profiler. This is a monitoring tool
that you can use to troubleshoot. This tool should be able to tell you if
there was a request that was denied access.

You say that this is somewhat time related. That is, you need to restart
IIS, and then it will work for some time again. This makes me belive that
you have forgotten to close your connections. But you also say that you
have checked for this already.

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


Chris Keller wrote:

 > Hello All,
 >
 > I'm looking for additional troubleshooting ideas on a persistant problem
 > that is cropping up 'randomly' when a web service is communicating with
the
 > SQL server.
 >
 > Both machines are running win2k Server with the most recent service
packs +
 > .NET 1.1. The Web Service provides data to client software by connecting
to
 > the SQL server and executing stored procedures. A fairly common scenario
I'd
 > think.
 >
 > Anyway, at random points - or so far as we can determine, IIS reports
that
 > access to SQL server was not found or access denied. This condition will
 > persist until you restart IIS after which everything resumes working as
 > expected.
 >
 > I've verified that the machines have the same mdac version, .net version,
 > and we've even looked for stuck open connections. I've recently setup an
 > entirely new domain with clean installs and the same behavior occured.
There
 > are no error messages logged in SQL or IIS - or the event logs for either
 > machine.
 >
 > Where else can I go with this? This feels like a fairly generic error and
 > the apparent random nature hints that there is a specific set of
conditions
 > that have to be met to repro the issue - but I can't identify them as
yet.
 >
 > Thanks for reading and a special thank you for your valuable time.
 >
 > Chris<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Frequent IIS restart required with web service / ado.net 
Back to top
Login to vote
chriskeller

External


Since: Jan 18, 2005
Posts: 2



(Msg. 4) Posted: Wed Jan 19, 2005 8:59 am
Post subject: Re: Frequent IIS restart required with web service / ado.net [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Yes, we have used the profiler and we were not able to discover denied
connections, however I'll run it again today for a sanity check as I was not
present for that initial testing.

I'll need to take a look at state as well, I had not thought of that.

Additional ideas are also welcome, and I'll post the results here shortly.

Thanks,

Chris


"Kristofer Gafvert" wrote:

 > Hi Chris,
 >
 > Your error message says that it can be caused by two reasons, either the
 > SQL Server was not found, or access was denied. The first thing we need to
 > find out is which one of these it is.
 >
 > SQL Server has something called SQL Profiler. This is a monitoring tool
 > that you can use to troubleshoot. This tool should be able to tell you if
 > there was a request that was denied access.
 >
 > You say that this is somewhat time related. That is, you need to restart
 > IIS, and then it will work for some time again. This makes me belive that
 > you have forgotten to close your connections. But you also say that you
 > have checked for this already.
 >
 > --
 > Regards,
 > Kristofer Gafvert
 > <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
 >
 >
 > Chris Keller wrote:
 >
  > > Hello All,
  > >
  > > I'm looking for additional troubleshooting ideas on a persistant problem
  > > that is cropping up 'randomly' when a web service is communicating with
 > the
  > > SQL server.
  > >
  > > Both machines are running win2k Server with the most recent service
 > packs +
  > > .NET 1.1. The Web Service provides data to client software by connecting
 > to
  > > the SQL server and executing stored procedures. A fairly common scenario
 > I'd
  > > think.
  > >
  > > Anyway, at random points - or so far as we can determine, IIS reports
 > that
  > > access to SQL server was not found or access denied. This condition will
  > > persist until you restart IIS after which everything resumes working as
  > > expected.
  > >
  > > I've verified that the machines have the same mdac version, .net version,
  > > and we've even looked for stuck open connections. I've recently setup an
  > > entirely new domain with clean installs and the same behavior occured.
 > There
  > > are no error messages logged in SQL or IIS - or the event logs for either
  > > machine.
  > >
  > > Where else can I go with this? This feels like a fairly generic error and
  > > the apparent random nature hints that there is a specific set of
 > conditions
  > > that have to be met to repro the issue - but I can't identify them as
 > yet.
  > >
  > > Thanks for reading and a special thank you for your valuable time.
  > >
  > > Chris
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Frequent IIS restart required with web service / ado.net 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
frequent restart aspnet_wp ii6/1.0sp2 framework - I have a Windows 2003 server with 1.0sp2 framework installed in IIS5 mode. Getting frequent restarts of the aspnet_wp just like the 1.0 framework before sp2 was released. Anyone seeing the same behavior and is there a fix?

IIS 5.0 is stoping the service in frequent intervals. - IIS 5.0 is stoping the service in frequent intervals. Once we do an IISRESET, the service restarts again. Is this a problem with the load on the IIS or Due some security Updates (Windows HotFixs). Don't ask me to download some application that would d...

Permissions required for "Network Service" grp - Can someone point me to the list of permissions and files-folders that "Network Service" group requires. I can't get "Network Service" or "Local Service" identity's to work with any web. They cause a "access denied&quot...

IIs5recycle does not restart IIS Service - IIs5Recycle attempts to restart IIS Service after a recycle but fails then shuts itself down. Both run under the local system account and I have increased the IISStartTimeOutSecs to no effect. If I restart it manually all is fine. The error log says it..

How to auto-restart IIS .NET service every evening - Hi, Every couple of days the .NET stops serving out aspx pages. (html etc.., still work fine) It seems I remember reading back during .NET 0.90 that there was a way to set the .NET service to restart every evening at 3:00 (or whatnot) Can anyone..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]