Hi
I'm using RadComboBox but it alert "access denied" error.
I debug it and the error is on "this._xmlHttpRequest.open(verb, this._webRequest.getResolvedUrl(), true );" function in script resource.
My website is on localhost:12 and the WCF Service is on localhost:11.
And I haven't any iframe on the page.
And this is page's code:
And this is web.config configurations:
Thanks in advance.
I'm using RadComboBox but it alert "access denied" error.
I debug it and the error is on "this._xmlHttpRequest.open(verb, this._webRequest.getResolvedUrl(), true );" function in script resource.
My website is on localhost:12 and the WCF Service is on localhost:11.
And I haven't any iframe on the page.
And this is page's code:
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" |
| MasterPageFile="~/UI/Masters/Content.master" %> |
| <%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %> |
| <asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server"> |
| <telerik:RadComboBox runat="server" ID="RadComboBox1" Height="100px" |
| EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" |
| EmptyMessage="Type here ..." dir="rtl"> |
| <WebServiceSettings Path="http://localhost:11/Items/ClientSidePersonManager.svc" Method="GetAllPrsForRadCombo" /> |
| </telerik:RadComboBox> |
| </asp:Content> |
| <system.serviceModel> |
| <behaviors> |
| <serviceBehaviors> |
| <behavior name="WcfService.Items.ClientSidePersonManagerBehavior"> |
| <serviceMetadata httpGetEnabled="true" /> |
| <serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="100" |
| maxConcurrentInstances="100" /> |
| </behavior> |
| </serviceBehaviors> |
| <endpointBehaviors> |
| <behavior name="MyTestServiceBehavior"> |
| <enableWebScript /> |
| </behavior> |
| </endpointBehaviors> |
| </behaviors> |
| <services> |
| <service behaviorConfiguration="WcfService.Items.ClientSidePersonManagerBehavior" |
| name="WcfService.Items.ClientSidePersonManager"> |
| <endpoint address="" binding="webHttpBinding" contract="WcfService.Items.IClientSidePersonManager" |
| behaviorConfiguration="MyTestServiceBehavior"> |
| <identity> |
| <dns value="localhost" /> |
| </identity> |
| </endpoint> |
| <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> |
| </service> |
| </services> |
| </system.serviceModel> |
Thanks in advance.