Solved

sqlConnectionString with no Inital Catalog specified

Posted on 2014-01-17
2
179 Views
Last Modified: 2014-01-19
in web.config using a SessionState element like so :

<system.web>
<sessionState cookiesless="UseUri"
       mode="SQLServer"
       sqlConnectionString="Data Source=localhost; Integrity Security=SSPI"


Now up above they leave out the Initial Catalog in the sqlConnectionString. So what database is being used for the sqlConnectionString?
0
Comment
Question by:metro156
2 Comments
 
LVL 35

Assisted Solution

by:Miguel Oz
Miguel Oz earned 250 total points
Comment Utility
The Aspnet_regsql.exe tool create create a database named ASPState containing stored procedures that support SQLServer mode.check links below for more details:
Explain the diffrent session modes (In your case SQL Server Mode):
http://msdn.microsoft.com/en-US/library/ms178586(v=vs.80).aspx
How to enable this mode:
http://support.microsoft.com/kb/317604
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 250 total points
Comment Utility
If you don't specify the database name it will use the default database configured for the user who is connecting.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now