Problem with the CreateUser
Hi and congratulations for your library! I've a problem with the Client.CreateUser, I used the syntax:
var result = client.CreateUser(user, password);
where user and password are two string variables with, of course, the username and the password for the new user I want to create. But, I receive an exception:
System.Runtime.Serialization.SerializationException
Have you a solution for my problem? Thanks.
Same here! I used the original Project.cs from your test folder.
The Exception comes up at Line 53:
var a = c.CreateUser("test", "D8!di7As1");
System.AggregateException: SerializationException: Element "OCS" from Namespace "http://sechmas.datacontract.org/2004/07/owncloudsharp.Types" expected. Found "Element" with Name "ocs", Namespace ""
Anybody also having this issue or already fixed this issue? Thanks.
Hi and congratulations for your library! I've a problem with the Client.CreateUser, I used the syntax:
var result = client.CreateUser(user, password);where user and password are two string variables with, of course, the username and the password for the new user I want to create. But, I receive an exception:
System.Runtime.Serialization.SerializationExceptionHave you a solution for my problem? Thanks.
I solved the issue! The problem probably happens only if i use the NuGet Package. I created a build of the whole project and referenced it, tried again and now it works like a charm!
Maybe this could help you.
Cheers
Which ownCloud or NextCloud version are you running?