Is it the infinitely usefull "Page Cannot Be Displayed" error? It's possible that there's an error in the ASP somewhere that only surfaces when User.Identity.Name actually has a value. Whatever the cause, if Anonymous Access is enabled in IIS, there is no way to automatically detect the user from the Web server. In the right environment, you might be able to use Client-side Javascript to detect the user and pass the username through a hidden form. Check out the "WScript.Network" ActiveX Object for details.
Brandon
|