Re: Failover causes General network error in ASP.NET
- From: "Matt Chubb" <matthew.chubb@xxxxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 17:12:14 +0100
Thanks for the prompt response.
I've removed all session and database code from the ASP.NET test
application, but I'm still receiving the same error message as it is caused
by the session. IIS sessions are handled by SQL Server so I don't have
control over detecting whether the SQL Server connection is available. Is it
the way I've configured the session state in SQL Server?
Does session state running from SQL Server in a clustered environment not
work correctly on a failover?
Should I consider removing Session state all together from our applications?
Thanks in advance for the help.
Matt
"Mike Epprecht (SQL MVP)" <mike@xxxxxxxxxxxx> wrote in message
news:E82EA7DB-9EC4-4AE9-BB60-C3D937A75F3E@xxxxxxxxxxxxxxxx
> Hi
>
> During the failover, there is no server listening. All the DB conenctions
> are dropped, transactions that were in progress get rolled back and tempdb
> cleared.
>
> You need to in your code, handle re-connecting and then re-sumit the
> batches.
>
> If you want total transparent failover, you will have to wait for Database
> Mirroring in SQL Server 2005.
>
> Regards
> --------------------------------
> Mike Epprecht, Microsoft SQL Server MVP
> Zurich, Switzerland
>
> MVP Program: http://www.microsoft.com/mvp
>
> Blog: http://www.msmvps.com/epprecht/
>
>
>
> "Matt Chubb" wrote:
>
>> I've searched everywhere on the internet and now this newsgroup for an
>> answer to this problem and haven't managed to find a solution.
>>
>> I've built an Active/Passive cluster with two nodes, the cluster runs SQL
>> Server and IIS. IIS Session state has been configured to run from SQL
>> Server
>> using installpersistsqlstate.sql and I've written a very simple ASP.NET
>> test
>> application that inserts/updates data contained in the virtual SQL Server
>> and writes data to the session.
>>
>> The problem I'm experiencing is caused by performing a Move Group
>> operation
>> in Cluster Administrator and then refreshing my ASP.NET application,
>> after a
>> few seconds it causes a General Network Error. Once the group has been
>> moved
>> and I refresh again everything is working fine. I can see the problem is
>> because the virtual server is offline for a limited period so I increased
>> timeout on all database commands, but this still does not correct the
>> problem.
>>
>> Any help with this matter would be much appreciated, I'm thinking I may
>> have
>> to talk to Microsoft and get some answers.
>>
>> Thanks in advance
>>
>> Matt
>>
>>
>>
.
- Follow-Ups:
- Re: Failover causes General network error in ASP.NET
- From: Mike Epprecht \(SQL MVP\)
- Re: Failover causes General network error in ASP.NET
- References:
- Failover causes General network error in ASP.NET
- From: Matt Chubb
- RE: Failover causes General network error in ASP.NET
- From: Mike Epprecht (SQL MVP)
- Failover causes General network error in ASP.NET
- Prev by Date: RE: Failover causes General network error in ASP.NET
- Next by Date: Process order for changing IPs of network adapters and SQL services
- Previous by thread: RE: Failover causes General network error in ASP.NET
- Next by thread: Re: Failover causes General network error in ASP.NET
- Index(es):
Relevant Pages
|
Loading