2015-05-19 35 views
0

當我是新來的IIS和Silverlight。我跟着this tutorial創建使用Visual C#2010和IIS 7「是的CommunicationException由用戶代碼未處理的」部署Web應用程序IIS

該應用程序可以正常使用,當使用Visual Studio中的IIS表達Web應用程序。當我部署到本地IIS它表明這個錯誤:

CommunicationException was unhandled by user code. An error occurred while trying to make a request to URI ' http://localhost:55826/WebService1.asmx '

This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.

我如何部署基於MySQL來IIS的web應用程序,而不會遇到這個錯誤?

回答

相關問題