在页面访问直接对应的SVC,直接显示
Could not load file or assembly 'Microsoft.ServiceModel.DomainService.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。
我确认了在BIN目录下的确已经有这个文件,为何这里又Load不了?
本人所有用环境 VS2010,SL4 均为正式版, WCF RIA Service toolkit是4月份的版本.
错误如:
Metadata contains a reference that cannot be resolved: 'http://localhost:3466/Services/SLwithRIAService-Web-DomainService1.svc?wsdl'.
The document format is not recognized (the content type is 'text/html; charset=UTF-8').
Metadata contains a reference that cannot be resolved: 'http://localhost:3466/SLwithRIAService-Web-DomainService1.svc'.
There was no endpoint listening at http://localhost:3466/SLwithRIAService-Web-DomainService1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote server returned an error: (404) Not Found.
If the service is defined in the current solution, try building the solution and adding the service reference again.