5/21/2011

Autocomplete extender not working with IIS 7 + and website with role based authorization defined : ASP.NET

Last week I came across a very weird scenario on my website which I am trying to migrate to IIS 7.5 . My website is configured on anonymous authentication and authorization is only restricted to specified roles in the application. E.g as shown in fig below.


But unfortunately my autocomplete extender stopped working. My Autocomplete.asmx is located in a folder called " Services " . I am getting a authentication challenge " 401.2 " when I tried to access the service ( .asmx ) through the URL.I tried to check all my handlers in IIS whether .asmx is a allowed extension and everything is configured correctly. Since I am receiving a authentication challenge , I decided to play with the authorization of the folder. I dont know the exact reason but unlike IIS 6 , IIS 7 + accesses the folder under a different user context ( May be network service, IUSR or something else ) . I tried to set the authorization to either "all users" or "all anonymous users " like in the figure below. If you come across this kind of situation, you can try.
I am trying to find out the user context under which autocomplete accesses its asmx.... but this one should help you..

If you are facing problems with autocomplete extender and its usage , let me know.


Need more asp.net tips and tricks ? For more Subscribe here or click here to get updates via email

8 comments:

I’m facing exactly the same problem. Looking for solutions. We’ll share it with you soon.

Huntington Beach wooden shutters

There are always fads in necklaces, and it seems that the hottest tickets in neckwear change from year to year. One of the most http://www.tiffanyjewelrycheap.us/tiffany-rings.html popular trends right now is initial necklaces. They are everywhere this season, and they're perfect for any special woman in your life. These necklaces make for great gifts, whether it for a birthday, graduation, an anniversary, or a wedding - an initial necklace is http://pandoraukbeadscharms.blogspot.com/ the perfect way to make a woman feel special and unique. After all, the necklace will be personalized with her initial - a gift with her name on it.

Purchasing shoes Cheap Nike Shoes online is easy once you understand Nike Air Shoes how the Nike shoes size chart works. Nike Shox Shoes Using the chart will help you to get the correct shoe Nike SB Shoes size for the child without having to try them Nike ID on and reducing the chance that they will trueoutletrjeansr need to be returned

Purchasing shoes Cheap Nike Shoes online is easy once you understand Nike Air Shoes how the Nike shoes size chart works. Nike Shox Shoes Using the chart will help you to get the correct shoe Nike SB Shoes size for the child without having to try them Nike ID on and reducing the chance that they will trueoutletrjeansr need to be returned

Try...this

go to start>run>inetmgr>

In the connections sidepane..select application pools

select the application pool that u hav assigned when deployed that project into iis(to check that go to sites>in connections pane...and right click on website that u have deployed and select manage website >advanced settings then at the top u wil able to see application pool)

then comeback and select that particular application pool in application pools in connections pane right click on that particular application pool and select advanced settings..find out process model in that and select identity and browse through it and goto built in account and select local system.......then click ok...and get out of it...

I think it will work..it worked for me.....

Try...this

go to start>run>inetmgr>

In the connections sidepane..select application pools

select the application pool that u hav assigned when deployed that project into iis(to check that go to sites>in connections pane...and right click on website that u have deployed and select manage website >advanced settings then at the top u wil able to see application pool)

then comeback and select that particular application pool in application pools in connections pane right click on that particular application pool and select advanced settings..find out process model in that and select identity and browse through it and goto built in account and select local system.......then click ok...and get out of it...

I think it will work..it worked for me.....

hello
change your blogger designing in premium themes for your blog free download thank you please visit my website

this is such a nice and useful information for us...i appreciate urs word Free Blogger premium Themes

Post a Comment