Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / July 2005

Tip: Looking for answers? Try searching our database.

SDK Quickstart

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
myleslawrence - 18 Jul 2005 22:38 GMT
I hope this is the correct forum for this because I'm at wits end.
I have a Win 2003 server, SQL server 2000 and the .Net framework sdk
installed.

The ASP.NET VB Quickstart tutorials have web form examples some of which
connect to the database.
They do not work and I get 'server does not exist or access denied' when I
try to run any of the database examples.

If I revert back to asp and write a simple asp program that does an ADODB
connections and select, it works just fine. Anybody help me on this? Is
there an in which these are supposed to be installed?
Tony - 19 Jul 2005 10:36 GMT
Hi,

IIRC you have to assign permissions to the ASPNET user along the lines of -

osql -E -S (local)\NetSDK -Q "sp_grantlogin '<machinename>\ASPNET'"
osql -E -S (local)\NetSDK -d <database> -Q "sp_grantdbaccess 'DEVTOP\ASPNET'"
osql -E -S (local)\NetSDK -d <database> -Q "sp_addrolemember 'db_owner',
'<database>\ASPNET'"

There is information about this under a link called "Configuration Details"
in the "Step 2: Set up the Quickstarts " paragraph on the Quickstarts opening
page. That takes you to "ConfigDetails.htm" which has a para called "Granting
Access to the ASPNET user".

HTH.

> I hope this is the correct forum for this because I'm at wits end.
> I have a Win 2003 server, SQL server 2000 and the .Net framework sdk
[quoted text clipped - 8 lines]
> connections and select, it works just fine. Anybody help me on this? Is
> there an in which these are supposed to be installed?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.