无法运行“UCWA帮助程序库”例 [英] Can not run "UCWA helper libraries" example

查看:100
本文介绍了无法运行“UCWA帮助程序库”例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了"UCWA helper libraries"示例代码,运行示例时,单击"开发者沙箱",输入域"gotuc.net", 发生错误"服务不允许来自此来源的跨域请求",
如何在自己的域环境中运行示例?

I download "UCWA helper libraries" example code, when run the example, click on "The developer sandbox", Enter the domain "gotuc.net",  An error occurred "Service does not allow a cross domain request from this origin", how to run the example in myself domain environment?

谢谢

推荐答案

gotuc.net 已经给出了错误一个特定的列入白名单的域只能用于
http(s):// localhost (端口80)。

the error has given by the fact that gotuc.net has a specific whitelisted domain only for http(s)://localhost (port 80).

您必须托管运行该应用程序的Web应用程序您在端口80上的计算机上的IIS上没有样本(没有IIS快照)。

You have to host your web application running the samples on IIS (no IIS Express) on your machine on port 80.

此问题已在本论坛过去回复:

This question has been replied in the past in this forum already:

http://social.msdn.microsoft.com/Forums/en-US/22563e8b-cb43-41f9-81c6-271d8975b57e/service-does-not-allow-a-cross-domain-request ?forum = ucwebapi

HTH 

HTH 


这篇关于无法运行“UCWA帮助程序库”例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆