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

SQL Database Mirroring and the Session State Database

We have a number of databases mirrored including the ASPState session
database used by the websites. However the connection string to the
ASPState database does not allow you to include the 'Failover Partner =
ServerB' parameter, and it does require you to have the 'Data Source =
ServerA' parameter. (Where ServerA = Principal, ServerB = Secondary.)
Normal databases that allow you to have 'Failover Partner' parameter
work great.

How is possible to ensure that the ASPState database fails over or is
available if Server A goes down to ensure the continous operation of
the web application? The problem being that the Session connection
string has the server specified when the other db's have switched to
server B.

It is preferred but not essential that sessions remain intact - surely
there must be a workaround for this?

(Apologies for cross-post but I think this issue may have a .NET
resolution as much as SQL Server...)

TIA,
S.

Jun 26 '06 #1
1 2510
Don
Hi There,

Did you get your problem solved? I got same issue here, we have couple of
web application on .net 1.1, recently we migrated to sql 2005 db with
mirroring on couple of dbs, however, connectionstring does not like "Failover
Partner"

Thanks
Don

"Calculated" wrote:
We have a number of databases mirrored including the ASPState session
database used by the websites. However the connection string to the
ASPState database does not allow you to include the 'Failover Partner =
ServerB' parameter, and it does require you to have the 'Data Source =
ServerA' parameter. (Where ServerA = Principal, ServerB = Secondary.)
Normal databases that allow you to have 'Failover Partner' parameter
work great.

How is possible to ensure that the ASPState database fails over or is
available if Server A goes down to ensure the continous operation of
the web application? The problem being that the Session connection
string has the server specified when the other db's have switched to
server B.

It is preferred but not essential that sessions remain intact - surely
there must be a workaround for this?

(Apologies for cross-post but I think this issue may have a .NET
resolution as much as SQL Server...)

TIA,
S.

Sep 20 '06 #2

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

Similar topics

2
by: Scott Vercuski | last post by:
Hello all, I've got a question about session state. Is it possible to declare and load a session into a session object from the sql server database. Here's the scenario ... I've got a...
4
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or...
5
by: d.grabov | last post by:
Can anyone offer some advice on how to reduce the size of a database log. The database is mirrored on another server using the logs. Thanks
0
by: serge | last post by:
I have 2 SQL Enterprise Editions running SP2 and same collation. When i try to start database mirroring I get the following error message: "The remote copy of database "ABC" has not been...
0
by: umeshpotdar | last post by:
i am doing mirroring on the data base i have done every step but i got problem below "Database Mirroring Transport is disabled in the endpoint configuration." this problem occured when i...
5
by: bosko19 | last post by:
We have recently set up two SQL Server 2005 Standard Edition servers with database mirroring. The mirrors function and fail over without a problem, but the Database Mirroring Monitor Job fails...
0
by: vishnutd4u | last post by:
Hi friends, This is vishnu.Here in our company we have decided to implement database mirroring in mysql.Database mirroring means just when one database server is down the backup database server...
6
by: DNB | last post by:
I would like to know what you guys think is the best way to access data: Asp.Net session vs. Database Queries. In our application we are using asp.net tree view to display hierarchical data and...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
We are setting up a web farm and want to store session state on a SQL Server 2005 Enterprise sp2 database. But when the web sites try to access the session state we get the error... Unable to...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
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...
0
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...

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.