I had posted this message on the forum:
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/20097/scope/posts/Default.aspx
Oddly, I haven't done a thing about this until today when I decided to try and work on it again. However, it worked. I haven't changed a thing, and now its working, as long as I provide a legitimate user id and password. Hmm, makes me nervous about moving forward with rolling this out on the intranet.
But, I am getting an error message if the authentication fails. If I enter a legitimate user id with the wrong password, or an invalid user id with a password, I get the following error message:
A critical error has occurred.
StartIndex cannot be less than zero. Parameter name: startIndex
Interestingly, this is the same error message I was getting that I referenced in the post above. However, in my post above, the error caused an ASP.NET level exception and I got the stack dump along with the error message. This time, something is apparently catching the exception and displaying it on the page. In the post above, I saw no sign of DNN, just an error page with the excetpion and stack dump. In this scenario, I get the DNN skin with page rendered just fine, but with the error message displayed in one of the panes.
Can anyone help me resolve this? I can't roll this out if the user gets an exception when they enter their password wrong.
Thanks.