SQL Server and IUSR account

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default SQL Server and IUSR account

    I have recently been brought on to a project that is
    integrating SQL Server 2000 as a new backend choice for
    an .asp application (now supporting both Access 2000 and
    SQL Server 2000). The primary developer OO'd the code to
    death and manages ADODB objects (i.e. connections,
    recordsets) through collections and is supposedly handling
    the closing/de-allocation of said objects in a thourough
    manner. The second issue that comes into play with our
    problem is that there is no security (user authentication)
    being used. As of now we are using the IUSR_MACHINE
    account which is granted logon access to SQL Server and
    access to the application database (the only saving grace
    is that the application is run on private networks due to
    data sensitivity reasons), which means that everyone who
    uses the application is being "authenticated" as the
    anonymous user. Everything works well with a small group
    of users but when they have about 30+ people hitting
    against the database IIS is brought to it's knees and
    stops responding/serving out the .asp pages. The
    developer in question is an Access guru and uses "SELECT
    *" for just about every query, which I know from being a
    SQL2K DBA, is bad mojo for SQL Server and does not take
    advantage of indexes and other query enhancements SQL2K
    provides. My question is, do all these combinations of
    non best-practices spell disaster to our SQL Server
    effort? Trying to convince the lead developer that these
    things are going to hurt us is like pulling teeth. Are
    there any thoughts on some performance tuning to IIS that
    may alleviate some of the problems?
    Michael Jensen Guest

  2. Similar Questions and Discussions

    1. ASPNET Account, Impersonation, SQL Server problem
      Does --------- No, the general mis conception is that it does need to be a domain account. But, in fact it doesn't. There are a lot of...
    2. How to allow a user account local login to server?
      Hi, I need to allow some local access so they can administer print jobs and print reports from a custom printing app installed on Server 2003. ...
    3. Server 2003 User Account Issues
      I just setup Windows Server 2003 Web Edition and I am having problems with the way it handles user accounts. I added a new Group (Group A) and...
    4. IUSR Permissions
      I'm made an .ASP application that uses 1 .mdb for login authentication, and 1 for my main database. My page is automated so that 1 file is created...
    5. SQL4412N The logon user account for the DB2 Administration Server is invalid.
      Did you use DB2SET to set DB2_GRP_LOOKUP=local for the admin instance? Is the Admin Server running under a local or a domain account? How is the...
  3. #2

    Default Re: SQL Server and IUSR account

    Michael Jensen wrote:
    > Are
    > there any thoughts on some performance tuning to IIS that
    > may alleviate some of the problems?
    You have got SQL Server on its own machine already?

    What else is the web server doing?

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  4. #3

    Default Re: SQL Server and IUSR account

    SELECT * will use indexes in SQL Server 2000 if they are appropriate (check
    you execution plan). The problem with SELECT * is that you could end up
    returning lots of columns that you don't need, which wastes network
    bandwidth, and SQL Server processing power.

    That said, these are probably the big killers:
    a) using expensive ADO cursors (like adOpenStatic)
    b) using cursors in Stored Procedures (
    c) concatenating large number of strings together in VBScript

    That said, I think you need to use something like SQL Server Profiler to
    work out if SQL Server is the bottleneck. If SQL Server is happily
    responding to queries quite quickly, but the pages are being returned to the
    users very slowly, then the problem is with the webserver (ie, something
    wrong with the webserver -or- badly coded ASP pages)

    Cheers
    Ken

    "Michael Jensen" <mjensen1@csc.com> wrote in message
    news:027901c36da4$79dbadd0$a601280a@phx.gbl...
    : I have recently been brought on to a project that is
    : integrating SQL Server 2000 as a new backend choice for
    : an .asp application (now supporting both Access 2000 and
    : SQL Server 2000). The primary developer OO'd the code to
    : death and manages ADODB objects (i.e. connections,
    : recordsets) through collections and is supposedly handling
    : the closing/de-allocation of said objects in a thourough
    : manner. The second issue that comes into play with our
    : problem is that there is no security (user authentication)
    : being used. As of now we are using the IUSR_MACHINE
    : account which is granted logon access to SQL Server and
    : access to the application database (the only saving grace
    : is that the application is run on private networks due to
    : data sensitivity reasons), which means that everyone who
    : uses the application is being "authenticated" as the
    : anonymous user. Everything works well with a small group
    : of users but when they have about 30+ people hitting
    : against the database IIS is brought to it's knees and
    : stops responding/serving out the .asp pages. The
    : developer in question is an Access guru and uses "SELECT
    : *" for just about every query, which I know from being a
    : SQL2K DBA, is bad mojo for SQL Server and does not take
    : advantage of indexes and other query enhancements SQL2K
    : provides. My question is, do all these combinations of
    : non best-practices spell disaster to our SQL Server
    : effort? Trying to convince the lead developer that these
    : things are going to hurt us is like pulling teeth. Are
    : there any thoughts on some performance tuning to IIS that
    : may alleviate some of the problems?


    Ken Schaefer Guest

  5. #4

    Default RE: SQL Server and IUSR account

    It is quite a big topic to discuss about IIS+SQL performance, I would like
    suggest following articles first:

    ASP Tips to Improve Performance and Style
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnasp/html/[/url]
    asptips.asp


    Maximizing the Performance of Your Active Server Pages
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnasp/html/[/url]
    maxperf.asp


    Improving ASP Application Performance
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnserv/html[/url]
    /server03272000.asp

    You may find some helpful tips for youe application. Hope this help.

    Luke
    Microsoft Online Partner Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

  6. #5

    Default RE: SQL Server and IUSR account

    For security issue, you may refer to:

    Implementing a Secure Site with ASP
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/ht[/url]
    ml/msdn_implement.asp

    Luke
    Microsoft Online Partner Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139