Re: Cannot access databases

From: Mary Chipman (mchip_at_online.microsoft.com)
Date: 08/21/04


Date: Sat, 21 Aug 2004 10:27:13 -0400

When running an ASP.NET, it's not your administrative rights that are
considered, but the rights granted to the ASPNET worker process that
count. So you need to grant the ASPNET windows account login
permissions in SQL Server, and read/write ACLs on the share that
contains the Access mdb. This is explained in detail in the ASP.NET
security best practices wp, which you can download from
http://www.microsoft.com/downloads/release.asp?ReleaseID=44047

--Mary

On Fri, 20 Aug 2004 08:47:04 -0700, "Goreyman"
<Goreyman@discussions.microsoft.com> wrote:

>I cannot get past ASP.NET security.
>
>I am running W2K Pro with IIS5 on a standalone deskktop. I log on with full
>administrative rights. I created a VB.NET project with one form containing a
>datagrid control and attempted to execute a simple SQL query against an
>unprotected copy of Biblio.mdb (Access 2000) using Oledb objects. Web page
>loaded blank, Refresh brought up an error page with message that attempt to
>login username failed.
>
>I then tried running a query against Northwind on Sql Server using SqlClient
>objects. Page does not load - I get a message box stating "Error while trying
>to run the project: Unable to start debugging on the web server. You do not
>have permissions to debug the server. Verify that you are a member of the
>'Debugger Users' group on this server". Event viewer shows the error
>"aspnet_wp.exe could not be launched because the username and/or password
>supplied in the processModel section of the config file are invalid". When I
>reverted to the Access version, page no longer loads - I now get the message
>box error.
>
>In trying to solve the problem I ran into other issues which may or may not
>be related. When I try to add a user to a group, MMC.EXE generates this
>messsage "The instruction at "0x6992375e" referenced memory at "0x00000000".
>The memory could not be "read". All memory diagnostics pass and I swapped out
>all memory modules but still get message. Tried to reinstall IIS from disk
>but nothing happens. (Incidentally, when I look at group members I get just
>icons with no descriptive text - is this normal?)
>
>I am completely stumped at this stage. Have looked at various forums,
>refernece books etc but am getting nowhere.
>
>Any help would be greatly appreciated.
>
>
>



Relevant Pages

  • Re: Connection to Sql-7 Database Fails
    ... Since i have a SQL2000 database on the server, ... Now if i give the user Administrative rights on my SBS ... In older SQL Server versions, administrators were automatically added to the SysAdmin role on the SQL Server, giving them complete permissions to do anything. ...
    (microsoft.public.windows.server.sbs)
  • generating the outlook profile automatically
    ... The profile can then be created with this command line: ... It also works without administrative rights when he logs on directly ... user logs on to a remote session ... "Only administrators have the right to add, remove or configure server ...
    (microsoft.public.office.setup)
  • Re: Wierd Problem with SBS Launcher
    ... >> This user has administrative rights and on one computer, ... >> log in I get an error message that SBS Launcher has encountered a ... Unjoin the workstation from the domain. ... Delete and recreate the computer account on the server ...
    (microsoft.public.windows.server.sbs)
  • RE: MS SUS on SBS Using Group Policy
    ... The following document describes how to updata an SBS environment using SUS: ... administrative rights and permissions. ... Start, click Administrative Tools, and then click Server Management. ... http://YourServerName is the URL that you recorded when you installed SUS. ...
    (microsoft.public.windows.server.sbs)
  • Re: Terminal services and login interactively policy
    ... Regards ... Andrew ... > Log in to your ts with administrative rights. ...
    (microsoft.public.windows.server.sbs)