KP (7/30/2009)
I ran exec sp_helpuser 'newUser'I got back UserName as newUser
GroupName as db_owner
LoginName as newUser
DefDBName as MyDB
DefSchemaName as dbo
UserId
SID
Please help.
This looks correct.
You say this id cannot create stored procs etc but if it cannot even see the database how are you getting that far to test? Are you able to issue the use mydb command in a query window and switch to the database?
I suggest you run profiler as the id logs on and track what happens. Include errors and warnings in the trace. If its a permissions problem on some system object that will be the last command issued and the trace will stop there.
Post any erors you haave received if any because what you report so far does not add up.
---------------------------------------------------------------------