Re: emergency about SQL Server connection
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 02/07/05
- Next message: Andrew Robinson: "Breakpoint on Field Change"
- Previous message: james: "Re: Delegates vs. Events vs. AsyncCallback"
- In reply to: Shawn Zheng: "emergency about SQL Server connection"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Feb 2005 15:01:35 -0500
Shawn,
You should not use the ASPNET account. It is a local account that
doesn't have access to the network. Rather, you should create a distinct
user that can connect to the db, and impersonate that user in the page.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"Shawn Zheng" <szhenge897@rogers.com> wrote in message
news:u2AyuxUDFHA.3256@tk2msftngp13.phx.gbl...
>I got a problem with connecting to SQL 2000 Server in Windows 2003. I have
> created ASPNET login account and granted to a database that I need to
> connect. but I still do not have permission to connect with C# ASP.NET.
> Does
> any one can do a help for me?
>
> Shawn
>
>
- Next message: Andrew Robinson: "Breakpoint on Field Change"
- Previous message: james: "Re: Delegates vs. Events vs. AsyncCallback"
- In reply to: Shawn Zheng: "emergency about SQL Server connection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|