SQL Session Database Name?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Has anyone seen a problem with connection to a sql session database that has
an underscore "_" in the name such as:
aspnetstate_it

.... if you look at the error message it says that the object
'aspnetstate.dbo.aspstatetempapplications' is invalid.

thanks!
Bill
 
in asp.net 2.0, If you renamed the default ASPState database, you'll need to
specify the name in your connection string's database= parameter.

<sessionState mode="SQLServer" sqlConnectionString="Data
Source=YourServer;Integrated Security=True; database=aspnetstate_it"
sqlCommandTimeout=30; allowCustomSqlDatabase="true">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top