|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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)
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. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > ASP Problems Post Win 2003 Server Upgrade |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|