I'm getting XSS errors when trying to consume a .NET web service and I'm sure I can fix it with a bit of proxying. However, I've never proxied IIS before. Can anyone point me in the right direction for a good guide/tutorial please?
UPDATE
First off my apologies for being so vague!
I have a website that is calling a web service in order to populate an AJAX drop-down list. When I call the code below I don't get an exception as such, I get an pop-up that gives the message "This page is accessing information that is not under its control. This poses a security risk ...".
In .apsx file
<asp:DropDownList ID="DocCategoryDropDown"
runat="server"
OnSelectedIndexChanged="DocCategoryDropDown_SelectedIndexChanged"
AutoPostBack="true">
</asp:DropDownList>
<ajaxToolkit:CascadingDropDown ID="DocCategoryCascadingDropDown"
runat="server"
TargetControlID="DocCategoryDropDown"
LoadingText="[Loading...]"
Category="CategoryId"
UseContextKey="True"
ContextKey="NY"
PromptText="Select a Category"
ServiceMethod="GetDocCategory"
ServicePath="tba">
</ajaxToolkit:CascadingDropDown>
in C# file
DocCategoryCascadingDropDown.ServicePath = path;
If path is on the same server as the web site it works fine but if path is not we get the warning. How do I stop this message from popping up?
TIA