Re: IIS 6.0 and SQL server

From: Karl Levinson [x y], mvp (levinson_k_at_despammed.com)
Date: 08/21/03

  • Next message: vlad: "Authenticated_Users Group"
    Date: Thu, 21 Aug 2003 11:40:03 -0400
    
    

    I don't know much about IIS 6, but I would think either IUSR needs to be a
    domain account, or it needs to be a local account on both machines with
    identical name and password. [This requirement for having a Windows account
    should be true both if you are using Windows authentication in SQL, and also
    if you are using SQL authentication in SQL but the SQL client on the IIS
    server is set to use Named Pipes or Multi Protocol instead of TCP/IP.] This
    means IIS MMC cannot be set to manage the password, and you might need to
    use the MMC or the ADSUTIL.VBS command to change the password in the IIS
    Metabase and the Windows MMC to change the Windows local user password. You
    might also enable Windows auditing, for example on the target SQL server, to
    see if the account you think is being used is the one that is actually being
    used.

    Info on ADSUTIL.VBS [assuming this still works under IIS 6?]
    http://securityadmin.info/faq.htm#iwam

    http://securityadmin.info/faq.htm#auditing

    "Matthew Willey" <mwilley@msdpt.k12.in.us> wrote in message
    news:fb68deec.0308210455.28ade52c@posting.google.com...
    > Ok, I am pulling my hair out here. I have a 3rd party app, that uses
    > ASP.NET. I cannot make it happy with authentication to our SQL
    > server. The vendor can barely support the product, but I am stuck
    > with it.
    >
    > Both machines are in the same domain, and I have tried adding IIS_WPG,
    > IUSR_..., etc to the enterprise manager and giving database rights,
    > but the program still says unable to connect. The vendor keeps
    > telling me this will only work in a standalone server environment as
    > it depends on local users, but this makes no sense to me. Ideally, I
    > would like both of these machines to be domain controllers for my AD
    > domain. There has to be some way to make asp.net and SQL work on
    > seperate boxes in a domain environment. Sorry this is vague, but I am
    > stuck trying to make bad code work. Thanks for any advice.


  • Next message: vlad: "Authenticated_Users Group"

    Relevant Pages

    • Re: Connect problem MSDE ADO ASP
      ... problems on setting the IIS User password. ... result - and both can access the MSDE SQL via the webinterface (I am aware I ... > your connection string, and put in a valid SQL USER ACCOUNT, not a Windows ...
      (microsoft.public.sqlserver.programming)
    • Re: Cannot view SSI on IIS
      ... > We have a Windows 2000 Server running IIS. ... enable auditing on the server and then enable file ... How to set secure NTFS Permissions on IIS directories and log files - ... IWAM_computername account instead of the IUSR_computername account. ...
      (microsoft.public.inetserver.iis.security)
    • RE: Integrated Authentication (Kerberos) Problem
      ... Verify the SPN for the SQL service account is registered such as the ... >Thread-Topic: Integrated Authentication Problem ... A Windows XP SP1 with IE6 client machine ...
      (microsoft.public.inetserver.iis.security)
    • Re: User authentication
      ... I was able to change the owner of a backup to the backup operator (Windows ... account) on a backup job configured on SQL Agent, ... If I set a backup job on SQL Server Maintenance Plan on SQL Server 2005, ... I am not able to assign the job to a different Windows account. ...
      (microsoft.public.sqlserver.clients)
    • Re: User authentication
      ... I was able to change the owner of a backup to the backup operator (Windows ... account) on a backup job configured on SQL Agent, ... If I set a backup job on SQL Server Maintenance Plan on SQL Server 2005, ... I am not able to assign the job to a different Windows account. ...
      (microsoft.public.sqlserver.clients)