Re: Login fails. Login failed for user 'LAPTOP\ASPNET'.

From: Ed Kaim [MSFT] (edkaim_at_online.microsoft.com)
Date: 03/03/04


Date: Wed, 3 Mar 2004 02:10:21 -0800

You need to give the ASPNET user permission to access the database.

"Will" <anonymous@discussions.microsoft.com> wrote in message
news:B900FB5D-B123-4EA4-B135-3FF6DF507044@microsoft.com...
> I get the following eror message when I try to access a web site on my
local computer (computer name, Laptop). The site's start page includes
script to access an SQLServer database, Certainteed.dbo:
> Cannot open database requested in login 'Certainteed'. Login fails. Login
failed for user 'LAPTOP\ASPNET'.
>
> In the property pages for IIS, under the Directory Tab, I have checked
"Read" and selected to allow execute permissions for scripts: under the
"Directory Security Tab, I checked "Allow anomyous Access".
>
> In the property page for the Web site folder in Windows Explorer, under
the tab "Web Sharing", I checked "Share this folder".
>
> How can I cure this login failure?
>
> Thanks in advance



Relevant Pages

  • RE: Login not working but New account logs user in
    ... Can you register the same user name twice? ... > I'm working on a web site and I would like to use the VS login controls. ... > gets added to the database and is logged in to the web site. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Problem connecting FP2000 ASP to SQL 2000
    ... I am reconstructing a web site for a remote customer and have a login ... problem with an FrontPage 2000 database results page. ... SQL Server, which is configured for Mixed Authentication. ...
    (microsoft.public.sqlserver.connect)
  • Re: aspMemeberShip db help
    ... You must configure your web.config file, then login contol will get ... Use google to search ... objects to a database: aspnet_regsql (a google search will give you the ... If you have not yet created the SQL Server database, exit the Web Site ...
    (microsoft.public.dotnet.framework.aspnet)
  • Login not working but New account logs user in
    ... I'm working on a web site and I would like to use the VS login controls. ... gets added to the database and is logged in to the web site. ... I'm not using the SQL express database but a SQL 2000 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Login not working but New account logs user in
    ... I'm working on a web site and I would like to use the VS login controls. ... gets added to the database and is logged in to the web site. ... I'm not using the SQL express database but a SQL 2000 ...
    (microsoft.public.dotnet.framework.aspnet.security)