English 中文(简体)
IS7服务器没有使用,但视力演播室没有使用2010年临时网络服务器
原标题:svcutil failing on IIS7 server, but not on Visual Studio 2010 temporary web server

I ve创建了一个LLQ,把一个银灯光灯光化的WCF服务,用于一个银星4.0解决方案Im。 I m正在向当地IIS7服务器出版,而不是在演练室视力临时网络服务器内运行。 每当我利用临时网络服务器的服务来建设项目时,该项目就会奏效,但一旦我转至我的国际空间法学会7网站服务器,就失败了以下错误:

Warning 1   Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Schema with target namespace    could not be found.
XPath to Error Source: //wsdl:definitions[@targetNamespace=  ]/wsdl:portType[@name= SpaceGameDBService ]    C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

Warning 2   Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace=  ]/wsdl:portType[@name= SpaceGameDBService ]
XPath to Error Source: //wsdl:definitions[@targetNamespace= http://tempuri.org/ ]/wsdl:binding[@name= CustomBinding_SpaceGameDBService ]    C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

Warning 3   Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace= http://tempuri.org/ ]/wsdl:binding[@name= CustomBinding_SpaceGameDBService ]
XPath to Error Source: //wsdl:definitions[@targetNamespace= http://tempuri.org/ ]/wsdl:service[@name= SpaceGameDBService ]/wsdl:port[@name= CustomBinding_SpaceGameDBService ]  C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

Warning 4   Custom tool warning: No endpoints compatible with Silverlight 4 were found. The generated client class will not be usable unless endpoint information is provided via the constructor.  C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

Warning 5   Custom tool warning: Exception has been thrown by the target of an invocation.  C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

Error   6   Custom tool error: Failed to generate code for the service reference  DBServiceReference .  Please check other error and warning messages for details.  C:UsersMindWorXdocumentsvisual studio 2010ProjectsMindWorX.SpacegameMindWorX.SpacegameService ReferencesDBServiceReferenceReference.svcmap    1   1   MindWorX.Spacegame

现在,我认为,警告4和5以及错误6是警告1、2和3的结果,因此,我现在无视这些警告。 我ve忙,看到一些建议告诉我,在我提及主要银灯项目时,不要打上“参考组件中的重新使用类型”的检查箱,然而,这一节点根本就确定了我的问题。 我也尝试重新启用视觉演播室,但这只字不提。 我早就开始认为,这在IIS7网络服务器中有一定的设置,Im失踪,但现在我看一看几小时,我决定到这里去求助。 我发现了一个类似的问题:here,但“solution”不是解决问题,而是找到另一种方式。 我希望我们能找到解决办法。

最佳回答

引人注意的是,当我提出解决办法时,我就认为必须打上“可资利用的妇联区域援助服务”。 除此以外,我还红 web网。 如何在发展服务器上工作,对我来说是个幻觉,但两者都解决问题。

问题回答

暂无回答




相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签