Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 17th, 2005, 02:23 AM
denisw denisw is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 denisw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy ASP Problems Post Win 2003 Server Upgrade

Hi,

We recently upgraded our PDC, which has the Active Directory data on, to Windows 2003 Server, the web server remains on Windows 2000 server. Since the upgrade our ASP code is giving errors, the error on the HTML page, this is called from the hyperlink to the default page, is:

Technical Information (for support personnel)
  • Error Type:
    (0x80070035)
    /illuminator/webreports/general/.../Library/securitycheckL4Members.asp, line 35
I have attached the securitycheckL4Members.asp for the full code, but here is an extract of the problem part. We use this similar security code to manage access to many other pages so until we get it sorted out we have had to remove this security from all the pages.

Dim strUsername, GrpList, adsUser, group, bValid
strUsername = Replace(ucase(Session("Uname")) , "\", "/")
'Response.Write strUserName
'Response.End


If Len(Trim(strUsername)) = 0 Then Response.Redirect("../noaccess.asp?err=1") 'No ID supplied
bValid = false
Set adsUser = getobject("WinNT://" & strUsername)


For Each group In adsUser.groups
'Response.Write group.name & "<br>"
If Trim(UCase(group.name)) = Trim(UCase("shr - NEWL Production Level 4 Team - gs")) Then
bValid = True
End If
Next

If strUsername = "BEERSA/DENISW01NEW" OR strUserName = "BEERSA/MICHAELR01NEW" Then
bValid = True
End If
'Response.Write bValid
'Response.End

If bValid Then
'Do nothing, grant access to pages.
Else
Response.Redirect("../noaccess.asp?err=2&username=" & strUsername) 'User not in SPPAdministrator group
End If


Line 35 is Set adsUser = getobject("WinNT://" & strUsername) in the extract of the code above.

What is the changes from Windows 2000 to 2003 that would make the validation against Active Directory fail in the ASP code?

We have tried:

1. Switching integrated Security off, reset IIS and switch it back on again.
2. TheConfiguration of IIS changed the "cache IISAPI Applications is off".
3. Switched off HTTP-KeepAlives.

We have rebooted the server, restarted IIS (many times). What else can we try. We are looking at upgrading the web server to Window 2003 but are waiting to confirm whether other applications on that server will run correctly under 2003. It may not cure the underlying problem anyway.

Any help would be appreciated.
Attached Files
File Type: zip securitycheckL4Members.zip (967 Bytes, 210 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > ASP Problems Post Win 2003 Server Upgrade


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway