To fix this error:
Check windows servise startup type with name "VMware Authorization Service".
Should be ""Automatic"
Software architecture and development in .NET, SharePoint, SQL Server, Windows Server, Best Practices
Zobrazujú sa príspevky s označením error. Zobraziť všetky príspevky
Zobrazujú sa príspevky s označením error. Zobraziť všetky príspevky
sobota 7. júna 2014
utorok 13. novembra 2012
SharePoint 2010 error: The user does not exist or is not unique
piatok 8. júna 2012
WCF : Cannot have two operations in the same contract with the same name
WCF - over HTTP (and also Web Services in generaly) does not allow method overloading (it means :same method name but different atributes types, which is in C# absolutely correct).
This is example from my current project (in Slovak language)
Reason:
When
data is passed to an XML Web service it is sent in a request and when
it is returned it is sent in a response. Therefore, if an XML Web
service
contains two or more XML Web service methods with the same name, no
uniquely identification will be there. Hence it will produce error.
You should use OperationContract atribute "name" or simply rename one of the methods.
This is example from my current project (in Slovak language)
Code Snippet
- [OperationContract]
- APIVytvorDokumentResponse VytvorDokument(global::eDocsInterfaceCUD.CBO_API.CUD.MTOM.APIVytvorDokumentByteArrayRequest request);
-
[OperationContract(Name = "VytvorDokumentCezStream")] - APIVytvorDokumentResponse VytvorDokument(global::eDocsInterfaceCUD.CBO_API.CUD.MTOM.APIVytvorDokumentStreamRequest request);
pondelok 27. februára 2012
Error: The maximum message size quota for incoming messages (65536) has been exceeded.
This error has occurred, when I was calling simple method on WCF service.
I double checked my web.config on server side (IIS) and everything was fine.
But!!! the size 65536 was in client app.config! The client configuration was not reflecting server WCF configuration, changing maxReceivedMessageSize to e.g. 2147483647 is solution.
I double checked my web.config on server side (IIS) and everything was fine.
But!!! the size 65536 was in client app.config! The client configuration was not reflecting server WCF configuration, changing maxReceivedMessageSize to e.g. 2147483647 is solution.
Code Snippet
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="BasicHttpBinding_IeDocsInterfaceCUD" closeTimeout="00:10:00"
- openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
- allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
- maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
- messageEncoding="Mtom" textEncoding="utf-8" transferMode="Buffered"
- useDefaultWebProxy="true">
- <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
- maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- <security mode="None">
- <transport clientCredentialType="None" proxyCredentialType="None"
- realm="" />
- <message clientCredentialType="UserName" algorithmSuite="Default" />
- </security>
- </binding>
Prihlásiť na odber:
Príspevky (Atom)


