Groups | Blog | Home
all groups > asp.net > january 2005 >

asp.net : accessing sql server (OT?)


Patrick Olurotimi Ige
1/12/2005 10:53:19 PM
Mark i guess it must be a permission problem.
U neither don't have permission to the Database or u don't have ASPNET
acct..
Since u have .net framework installed you must have ASP.NET acct so make
sure it has access to ur SQL server.
Patrick



*** Sent via Developersdex http://www.developersdex.com ***
Mark
1/12/2005 11:47:49 PM
I have a SQL server on my small development lan, and also a webservere, both
running Win2kServer. When I try to accessss a sql db from an asp.net page, I
get an access denied error. (the slq server is a fresh os install, I lost my
old server, but the db's are backups). What access needs to be allowed for
an asp.net page to be able to open a connection to the sql server?

Eliyahu Goldin
1/13/2005 9:37:01 AM
If you connect with SQL Server authentication you don't need any special
rights for asp.net.

Eliyahu

[quoted text, click to view]

Joyjit Mukherjee
1/13/2005 10:53:25 AM
Hi Mark,

Make sure the ASP .NET worker process has permissions to access SQL Server
or, create a user, give it access to your SQL Server, and run the worker
process under the contexts of this account.

Are you running MSDE. There are a number of MSDE configurations problem
reported in newsgroup, so see them.

Let me know if this works.

Thanks

Joyjit

[quoted text, click to view]

Patrick Olurotimi Ige
1/13/2005 9:23:24 PM
By the way Mark..
Have u solved the connection problem?
Patrick



*** Sent via Developersdex http://www.developersdex.com ***
Mark
1/14/2005 7:13:47 PM
Not yet, getting to it now........
[quoted text, click to view]

AddThis Social Bookmark Button