The EXECUTE permission was denied on the object

Posted By toomuchpresha Tue 23 Nov 2010
Add to Favorites1
Author Message
toomuchpresha
 Posted Tue 23 Nov 2010
Supreme Being

Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)Supreme Being - (36,431 reputation)

Group: Forum Members
Last Active: Thu 12 May 2016
Posts: 50, Visits: 86
Hi all,
Im having a nightmare installing this thing!

I have upgraded from 6.1pro and first I couldnt do the upgrade on my 64bit machine so I had to do it on another machine then when I backed up the upgrade and database and transferred it back to my 64bit development machine it all goes pear shaped!

I keep getting the error

The EXECUTE permission was denied on the object '_spKartrisConfig_GetforCache', database 'ryansdirect', schema 'dbo'.

Can anyone help me before I decide to bin it and go back to the 6.1pro??

Thanks in advance!

Rog


H4 Interactive is a North Wales based Web Design and Development Agency specialising in e-commerce systems and content managed websites
Reply
Paul
 Posted Tue 23 Nov 2010
große Käse

große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)große Käse - (684,830 reputation)

Group: Administrators
Last Active: Fri 12 Sep 2025
Posts: 807, Visits: 2,753
Hi Rog

This is a permissions problem. Typically an ASP site will run as the IUsr account on the machine (sometimes it will be called 'IUSR_[machinename]'). But an ASP.NET one will normally run as one of the following users:

ASPNET
Network Service

It is also possible to get an ASP.NET site to run using the IUSR account if you have the following in the web.config file:

<identity impersonate="true"/>


(this tag should be present already, but with 'false' set as default)

Keep it as false for now.

Whichever user your site runs as needs to be given permission to use the database.

To do this, open up SQL Server management studio, and under the SQL server find the 'security', then 'logins' folder. Right click it and do 'New Login'.

Keep 'windows authentication' selected and click 'search'. A dialogue will appear - click 'advanced' and then 'find now' and then select both the following accounts:

ASPNET (if there is one)
NETWORK SERVICE

Once these are added, expand the database itself and then in the security folder under it, you should find a 'users' folder. You should now see ASPNET (if there was one) and NETWORK SERVICE listed.

Right click each and do 'properties'. For both, in the 'role owners' window, check 'db_owner'.

This should give your web site permissions to use the database now.

Let me know if this works - if not, be patient, we will definitely get it working.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top