nguyen hung

nguyen hung

  • NA
  • 277
  • 0

How can i Implementing a Session-State Store Provider

Oct 27 2015 12:36 AM
Hi all, 
 
i want to implement  a Session-State Store Provider using mode = "custom" and using MSSQL 2008 from this link:
https://msdn.microsoft.com/en-us/library/ms178587.aspx
 
but there is an error from this demo:
"
An exception of type 'System.Data.Odbc.OdbcException' occurred in App_Code.v9izyd2w.dll but was not handled in user code
Additional information: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
"
Please help me to resolve this problem.
I run this demo on: win7 64 bit and sql server 2008 and .net framework is 4.5 and visual studio ultimate 2013
this is my sample code:
https://www.mediafire.com/?e11d16qee4yihd5
Thank you very much!