views:

93

answers:

1

I'm trying to get the current logged on web user to use in an Online forms application. I'm running Server 2008 x86 with IIS7. There is a special field with in the application called User - Domain User that is supposed to return the username. I've enabled window authentication on the default website and on the application itself (PerfectForms). I am running all of this over SSL although for testing I tried disabling SSL with the same result. The issue is that it doesn't seem to pass the username variable to the application. I get null values. I've sent the form to their support engineer and when he runs it against a IIS6 server is works. I've tried changing the Application Pool to classic with no success. Any ideas? Also as a side question do any of you know why the windows authentication work with a WINS name such as "https://formsserver" but prompts me for username and password when using the full DNS name such as "https://formsserver.domain.net"? The server is part of the same domain. Thanks for any help you can offer.

+1  A: 

Do you also allow Anonymous access to the site? I think turning off Anonymous access will force the username to be populate.

No I don't allow Anonymous Access.In the IIS Log I see the username.Example:2009-10-01 16:01:25 10.36.2.52 GET /perfectforms/ - 443 DOIMAIN\USER 10.36.6.25 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+InfoPath.2) 200 0 0 15
Josh