Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2003, 04:13 PM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default SELECT permission denied on object 'Shippers'

This question was posted previously at
http://p2p.wrox.com/archive/aspx_beg...2002-12/16.asp

Thread: SELECT permission denied on object 'Shippers', database 'Northwind', owner 'dbo'.

Question: I installed the samples for ASP.NET 1.0 Professional and I am getting this error from my netSDK SQL Server using Windows
Authentication...searched web and here but could find answer. Thanks in advance!

Best solution:

First read this
http://web.lemoyne.edu/courseinforma...SDE_ReadMe.doc

and do this step by step

1. CONFIGURING THE PATH VARIABLE for
C:\Program Files\Microsoft SQL Server\80\Tools\Binn

2. CONFIGURING THE ASPNET USER ACCOUNT - at the command prompt do this

osql -E -S (local)\NetSDK -Q "sp_grantlogin 'MACHINENAME\ASPNET'"

3. CONFIGURING INDIVIDUAL DATABASES - at the command prompt do this

osql -E -S (local)\NetSDK -d Northwind -Q "sp_grantdbaccess 'MACHINENAME\ASPNET'"

osql -E -S (local)\NetSDK -d Northwind -Q "sp_addrolemember 'db_owner', 'MACHINENAME\ASPNET'"

Note: Replace the 'MACHINENAME' with the name of your server.

Enjoy
Regards
 
Old September 18th, 2006, 12:24 PM
Registered User
 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thx for the solution. It work for sql server 2005 express and .Net Framework 2.0.

Great job.





Similar Threads
Thread Thread Starter Forum Replies Last Post
(0x800A0046) Permission denied,not IIS permission! David Hay Classic ASP Basics 3 April 30th, 2006 10:47 PM
Permission denied zah_amir Classic ASP Databases 1 January 24th, 2006 11:45 PM
Permission denied tksarun Classic ASP Components 0 March 11th, 2005 03:01 AM
Permission Denied hamidmq Javascript How-To 2 March 10th, 2005 09:41 AM
EXECUTE permission denied on object 'sp_person_isp lennart ADO.NET 1 June 29th, 2003 04:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.