Print Page | Close Window

Issues after upgrade

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21256
Printed Date: 09 April 2026 at 2:54am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Issues after upgrade
Posted By: polysulfide
Subject: Issues after upgrade
Date Posted: 08 September 2006 at 9:05pm
I upgraded my database from version 7 to version 8
Version 7 was running on IIS5
Version 8 is running on IIS6
I am using SQL Server and Windows Authentication
 
Windows usernames are not resolved in a compatible way.
 
Legacy users show up as "domain\username"
 
When logging in users are now referenced as "username" without the domain portion so they do not match their existing user account.
 
Is there a quick fix for this or do I need to update my database with non domain user names?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 September 2006 at 9:14am
Edit the file functions/functions_windows_authentication.asp and remove the following lines at line 136:-

'Use the last part of the windows authentication (bit without domain) as the forum username
        If InStrRev(strAuthenticatedUser, "\") = 0 Then
            strUserName = strAuthenticatedUser
        Else
            strUserName = Mid(strAuthenticatedUser, InStrRev(strAuthenticatedUser, "\")+1, Len(strAuthenticatedUser))
        End If


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net