Thank you. That is exactly what I am seeing!
Main Topics
Browse All TopicsI have a ColdFusion application that was working fine until a few days ago. For some reason it is no longer picking up the NT authentication. It is installed on IIS.
I get this error message when going to the first page:
"The second parameter (StartPos) of the function RemoveChars(String, StartPos, Count), which is now equal to 1, must be less than or equal to the length of the first parameter (String), which is now equal to and has length of 0
The Error Occurred in C:\Inetpub\wwwroot\eTAD\ta
21 : <p>Username:<cfoutput>#CGI
22 :
23 : <cfset user=LCase(RemoveChars(CGI
24 :
25 : <!--- <cfoutput>dompos=#dompos#<
As you can see in line 21 , I am printing out CGI.Auth_User. It comes back blank. In IIS, this application's directory is set to NT Authentication and is NOT set for anonymous. "dompos" is the position of the first "\" character. This is used to separate the domain from the user when the Auth_User is being populated properly.
This problem is fairly time-sensitive for me, so any help would be great!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
it sounds like the ntfs permissions for the directory has changed...perhaps allowing too much access...thus your users are not having to login using their nt authenication...so check the directory security itself(not through iis) and see if there is anything fishy there...it should be restricted to admins, IUSR, system, and perhaps ColdFusion service....
Business Accounts
Answer for Membership
by: anandkpPosted on 2003-11-03 at 20:36:09ID: 9676195
I tried this :<cfoutput>#CGI.Auth_User# </cfoutput > & its outputting a NULL value
hence ur RemoveChars() is throwing up a error !
I'll chk up with my sysadmin & get back to u.