Discussion Locked

iis 7 configuration for deploying an asp.net 3.5 website

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i have developed a asp.net website with c# scripting . The website runs fine when running from IDE(Visual Studio 2008). When I tried to deploy the same website on IIS 7 running on my windows 7 professional 32 bit, I got errors
1.authorization failed during test settings.
2.captcha unable to load saying failed to load url.

I wonder what are the exact configurations for the website to run fine!

2 replies

by robo_dev

Without going into the details, the web service user has to run under a different security context; that's called impersonation..and that is disabled by default in Win7.

http://technet microsoft com/en-us/library/cc730708%28v=ws.10%29.aspx (replace spaces with dots)

by lena weber

Hi mayatechrepublic :)
Regarding the first error
[quote]1.authorization failed during test settings.[/quote]
There are some options: There may an issue accessing an ACLs-protected Windows object (i.e., a registry or file key). You should check the ACLs to make sure the ASP.NET identity and the identity with local and network resources access have read access at the least Check that the and elements are properly configured, and ensure that the defaultProvider is properly defined in the roleManager element and the role provider is configured.
Regarding the second error:
[quote]2.captcha unable to load saying failed to load url.[/quote]
Check out this [url=???http://www.aspsnippets.com/Articles/How-to-implement-Captcha-in-ASP.Net.aspx]post[/url] or this [url=???http://www.mondor.org/captcha.aspx]post[/url], they both contain some good information about implementing captchas in ASP.NET.
Hope this helped some, Lena

This discussion is closed to new replies.