IIS and SqlServer permissions

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,
I developed an ASP.NET application with VS2005. And now I would like to deploy it on IIS (5.1 on windows XP) to give access, to everyone in my LAN network, on it. During development I used Windows Security authentication but when I deployed web site on IIS an error occurred: Login failed for user 'SERVERNAME\ASPNET'.
I have looked for any solution many hours till I understand that it is better to use Sql server authentication. I did all operations and now my website works well.
But, if I want to use Windows authentication, what I have to do?
I tried:
Inside Web.Config :
<authentication mode="Windows"/>
<identity impersonate="true"/>

on IIS i turned on:
Anonymous access(with IUSR_NAME), integrated Windwos authentication

and finally:
osql -E -S (local)\NetSDK -d puthereyourdatabasename -Q "sp_grantdbaccess 'YourServer\ASPNET'"
osql -E -S (local)\NetSDK -d puthereyourdatabasename -Q "sp_addrolemember 'db_owner', 'YourServer\ASPNET'"

but I can't run my application anyway!!

Thanks.
Bye.


.



Relevant Pages

  • Re: Windows Authentication method on IIS6
    ... The microsoft.public.windows.server.* groups deal with Windows 2003 ... The microsoft.public.inetserver.* groups deal with IIS ... > the authentication button, ... You can configure either one or multiple realm names on a server running IIS ...
    (microsoft.public.win2000.security)
  • Re: How to access Windows IIS User Info with Perl
    ... but the IIS server is configured for Windows ... allowed for Basic Authentication, Windows Authentication (or whatever ... Do you know if they are part of a standard ...
    (comp.lang.perl.misc)
  • Windows Authentication with IIS on separate machines
    ... Yes, setting Basic Authentication in IIS works, but the ... >in SQL server but doesn't work if user account was ... >imported from a Windows account. ...
    (microsoft.public.sqlserver.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... IIS Resource Guide). ... I next looked a little into Windows 2003. ... IMHO, the label on the option, "Enable Integrated Windows Authentication", ... the documentation leads one to ...
    (microsoft.public.inetserver.iis.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... IIS Resource Guide). ... I next looked a little into Windows 2003. ... IMHO, the label on the option, "Enable Integrated Windows Authentication", ... the documentation leads one to ...
    (microsoft.public.windows.server.security)