Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspnet_CheckSchemaVersion

Status
Not open for further replies.

Dimitrie1

Programmer
Joined
Jan 5, 2007
Messages
138
Location
CA
I am getting the above error when attempting to use roles on an asp.net application.

We connect using an application user with dbo rights. it works locally (C drive) but not when loaded to our joint developement environment on the network.

EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'BusPass', owner 'dbo'.

Is it possible that SQL is looking at the network user instead of the database user?
 
You are suffering from a permission error.

The key will be to grant permission to the account you are using to execute the proc.

To find out who the user is, do a trace (sql profiler) and try to execute the proc.

Then grant execute on the proc to that account.

Rob
 
The account is probably the aspnet account, but it might also be the inetusr_computername account

Bottom line, if you don't know, run a trace on the server.
 
thanks I'll try the trace
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top