Print Page | Close Window

NT authentication username issue

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=19338
Printed Date: 12 April 2026 at 6:10am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: NT authentication username issue
Posted By: -koen-
Subject: NT authentication username issue
Date Posted: 16 April 2006 at 1:49pm
I have some problems whit windows authentication. The follow error came:-
 
Server Error in Forum Application
An error has occured while writing to the database.
Please contact the forum administrator.

Support Error Code:- err_Access_windowsAuthentication()_add_new_user
File Name:- functions_windows_authentication.asp

Error details:-
Microsoft JET Database Engine
Field 'tblAuthor.Username' cannot be a zero-length string


-------------
Don't check me english spelling please...



Replies:
Posted By: WebWiz-Bruce
Date Posted: 16 April 2006 at 2:11pm
This issue means that for whatever reason the Windows Authenticated User, usersname is not being passed over to Web Wiz Forums.

Are you using the standard built in Windows login system to login into the directory?

ie. do you have a windows login pop-up when entering the directory the forum is within so you have to enter your windows login username and password?


Posted By: ljamal
Date Posted: 16 April 2006 at 6:20pm
If there is no username present and Windows Auth is enabled shouldn't the system default to the Guest account? It looks as if it's trying to insert a user.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: WebWiz-Bruce
Date Posted: 16 April 2006 at 6:36pm
I've just changed it in version 8.01 to have more error handling for the NT Authentication.

If NT Authentication is enabled then anonymous browsing shouldn't be possible.

The new error handling displays an error message to the user if NT Authentication has failed, instead of trying to insert a non existent user into the database.



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