Re: Storing/saving sessions on SQL Server



Hi,

Thanks for the information, I Did give the "Username" permissions to the
tables, I tried a couple of them like reader, writer as well as owner but it
gave me the same error... I am definetely doing something wrong

Thanks,
Stephen

"Ciaran O''''Donnell" <CiaranODonnell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:1593B94C-CF7A-4FB9-A8BE-CFCE75B216C7@xxxxxxxxxxxxxxxx
You need to give the user name someUname access to the database ASPState
with
enterprise manager. If you dont have enterprise manager, download SQL
Server
Management Studio Express


--
Ciaran O''''Donnell
http://wannabedeveloper.spaces.live.com


"stephen" wrote:

Hi all,

I am trying to work with SessionState mode="SQLServer" and have run the
installSQL Script and the good stuff...
While running the program I get
"SQL Server does not exist or access denied. "error

if I have either
sqlConnectionString="data source=localhost;user
id=someUname;password=somePwd"
or sqlConnectionString="data source=127.0.0.1;user
id=someUname;password=somePwd"
setting

and

"Cannot open database requested in login 'ASPState'. Login fails. Login
failed for user 'someUname'. " error
if i use this
sqlConnectionString="data source=(local);user
id=someUname;password=somePwd"
setting

Please advice,
Stephen






.



Relevant Pages

  • Re: Login with no Fixed Server Role and DB Role can stop SQL Agent Service?
    ... a Window 2000 Login with Domain User default permissions, ... > actually answered the question about the permissions the user has re: ... Forget about SQL Server for the moment. ... >> Enterprise Manager, but he is still able to stop the SQL Agent ...
    (microsoft.public.sqlserver.security)
  • Re: Log in problem
    ... Open Enterprise Manager and right click on the server node. ... Select Edit SQL Server Registration Properties. ... You may also just be experiencing a login time...it's hard ... >not log into my local database however I can log into a ...
    (microsoft.public.sqlserver.clients)
  • Re: MSSQL$MSFW :: How to connect to it with SQL Server Enterprise Manager?
    ... > The question is - can I connect to this instance with either SQL Server ... The firewall MSDE is a SQL 2000 instance. ... W3WALL\MSFW as the SQL Server in Enterprise Manager. ... Install the client tools on the firewall, login as ...
    (microsoft.public.isaserver)
  • Re: Login with no Fixed Server Role and DB Role can stop SQL Agent Service?
    ... If it turns out to be a bug in Enterprise Manager, ... > a Window 2000 Login with Domain User default permissions, ... Forget about SQL Server for the moment. ...
    (microsoft.public.sqlserver.security)
  • Re: Unexpected Login Screen When Accessing SQL Data Via .NET Intra
    ... >> data and the SQL Server is on the same server. ... >> My problem is that one user has started getting a login popup ... >> right in via Windows Authentication like everyone else and like they ...
    (microsoft.public.sqlserver.connect)