I have created a Azure cloud service with wcf web role. I am accessing a table storage from azure to get the details. I have deployed the wcf service in azure. When i am consuming the service in my silverlight application i encountered this error.
This my
Web.config file of my web role
<?xml version="1.0" encoding="utf-8"?> <ServiceDefinition name="CloudVideoService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7"> <WebRole name="CloudeVideoServiceWebRole" vmsize="Small"> <Sites> <Site name="Web"> <Bindings> <Binding name="Endpoint1" endpointName="Endpoint1" /> </Bindings> </Site> </Sites> <Endpoints> <InputEndpoint name="Endpoint1" protocol="http" port="80" /> </Endpoints> <Imports> <Import moduleName="Diagnostics" /> </Imports> <LocalResources> <LocalStorage name="CloudeVideoServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" /> </LocalResources> <ConfigurationSettings> <Setting name="DataConnectionString" /> <Setting name="DiagnositcsConnectionString" /> <Setting name="AzureDiagnostics" /> </ConfigurationSettings> </WebRole> </ServiceDefinition>
Can anyone help me!!!
Answer: 1
Srithar R
When i am consuming the service in my silverlight application i encountered this error.
Hi Srithar,
The remote server returned an error: NotFound is a general error. Do you try to get the detail error information with Fiddler?
And please make sure you have place a clientaccesspolicy.xml file at the root of the domain where the service is hosted to configure the service to allow cross-domain access.
http://msdn.microsoft.com/en-us/library/cc197955(VS.95).aspx
Best Regards,
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog