Last post Oct 15, 2007 09:15 AM by johram
Oct 10, 2007 04:21 PM|blast|LINK
i have problem, please help! im able to connect to the active directory in my asp.net application. it work fine when i run and compile it but when i see it in the published site then its not working....my site name is
http://cade.ca.com --its not working here - doesnt pull any information from the AD for the user but when i run it using Visual web developer - then it pulls all the information.....
can anybody help please! eagerly waiting for the reply, thanks
Oct 15, 2007 09:15 AM|johram|LINK
Classic permission problem. This question has been answered before. At least a zillion times. Please search the forum for answers.
Basic theory is that there's a difference in how your Asp.NET process runs locally (through VS) and in the IIS. When you run locally you run as yourself, and if you are a member of the domain your AD calls will go without hassle. But when you put your web
in the IIS, your ASP.net code will run with an ASP account which has no access to the AD. So you need to make sure your AD code is executed with an account that has AD permissions. Either by using integrated security, or by using a dedicated service account
that you use for this purpose.