Advanced Forum Search Results
-
MrTouya: you can confirm #2 is the issue by navigating to your DomainService directly. You should get a "This collection already contains..." error.
Multiple host headers are very likely to cause this issue. Once you confirmed you are getting the error above, please give my workaround a try. If you are getting a different error, please ...
-
D1d13r: Would you mind sending me a copy of your project? I'd like to see if I could repro it. If I can't, then something is misconfigured on the server. If I can, it should help me track down what's failing exactly.
If you wouldn't mind, feel free to send it to [my name on this forum]@microsoft.com.
-
MrTouya, are you getting exactly the same error as steyoung? If not, it's possible you are running into a different issue. So far 3 isolated issues are being discussed in this thread:
1. WCF is not activated on the server. After activation, things worked for "stduser."
2. The service is getting multiple HTTP addresses from the ...
-
This is very useful. The problem appears to be that we're trying to store a list of Uris that we get from the webserver in a UriSchemeKeyedCollection. Unfortunately this won't work when your site has multiple addresses (which appears to be the case here).
There are a few workarounds for this:
1. Make sure your site has a single address ...
-
Are you sure MyDomainService is in the namespace "My.Namespace.Web" in your case? If so, is this a C# project or a VB project? If it's a VB project, the namespace might be different because of VB's "root namespace" feature.
If everything is correct and you still get a Resource not found error, that means our HTTP ...
-
D1d13r: My bad. Please add ".Binding" after Endpoints[0].
-
Also, those who get a NotFound error in Silverlight, please try navigating to your DomainService directly using the browser. Because Silverlight uses the browser's networking stack (which has some limitations), it can't tell you what went wrong if it got back a non-200 status code from the server. By directly navigating to the ...
-
Can you try adding the following DomainService to your project?:
namespace MyApp.Web {
public class MyDomainService : DomainService {
[Invoke(HasSideEffects=false)]
public string Echo() {
...
-
I am assuming this happens when querying for any kind of data - even when you're not logged in yet.
Could you (temporarily) try switching your application to forms authentication (you can do so in your web.config) and let us know whether that changes anything?
-
Try something like this:
ChangeSetEntry[] changeSet = new[] {
new ChangeSetEntry[] {
Entity = new AccountStatus() { ... } // AccountStatus to insert
Operation = DomainOperation.Insert;
...