User talk:Jzambor

From Resco's Wiki
Revision as of 11:11, 9 October 2020 by Jzambor (talk | contribs)
Jump to: navigation, search
Warning Work in progress! We are in the process in updating the information on this page. Subject to change.

Sample log files

<EXCEPTION>09:36:30.699: Exception: Can't connect ---> 
AggregateException: ExtAuth failed. (iservices.resco.net,,iservices.rescocrm.com) (Server Error: Internal Server Error) (Server Error: Internal Server Error) ---> 
Net.RescoSoapException: Server Error: Internal Server Error
<soap>Code.Value=Sender</soap>
at WebServiceBase.ThrowSoapException(Net.HttpException ex)
at WebServiceBase.XmlResponse..ctor(Object context, Boolean soap, Data.WebService.WebServiceBase webService, Xml.XmlReaderSettings xmlSettings, Boolean processMultipartResponses)
at WebServiceBase.InternalEndInvoke(Object request, Func<Xml.XmlReader,Object> readResponse)
at WebServiceBase.Invoke(String action, Object args, Action<Xml.XmlWriter,Object> writeRequest, Action<Xml.XmlWriter> writeHeader, Func<Xml.XmlReader,Object> readResponse)
at MobileCrm.Data.Customization.MobileLicenseBase.AuthenticateEx(LoginInfo settings, SimpleLoginInfo userLogin, ExternalAuthType authType, Action<String,String> log)
--- End of inner exception stack trace --- --->

External sync. Wrong can be external user name/password, wrong CRM User user name/password in the external project properties, or that the CRM User does not have permission to see the external user record. Also it can be e.g. wrong type of password (Hash in project properties, while password is saved as text in CRM)

Date:2020-07-24 10:00:29+04:00
Org: 00000000-0000-0000-0000-000000000000
User:DEMO

XRMConnectFailed: HttpException: HTTP Error forbidden (403)

Crm2011ConnectFailed: InvalidOperationException: Cannot determine CRM deployment for url:https://customer.crm.dymanics.com/XRMServices/2011/Organization.svc?wsdl=wsdl0| HttpException: HTTP Error forbidden (403)

CRM4: Disco connection failed to :'https://customer.crm.dymanics.com/MSCRMServices/2007/AD/CrmDiscoveryService.asmx'
Crm4ConnectFailed: HttpException: HTTP Error forbidden (403)

<EXCEPTION>10:00:29.482: Exception: Can't connect --->
Net.HttpException: HTTP Error forbidden (403)
***** Access Forbidden *****

Connection issue. May seem like permission issue, but it is a typo in the URL (name of the customer is changed to customer) but the error is in dynamics. User entered "dymanics".

Date:2020-07-24 12:13:58
User:fa06dXXX-XXXX-XXXX-XXXX-005056aXXXXX
New Customization 5eb87a76-3a80-e911-b80e-005056ab0c71
<Summary>
<Settings App='13.1.2.0' Server='Crm2011.13/ActiveDirectory' Threads='3' MaxExecMultiple='0' Foreground='true' Launch='Manual'/>
<Results Sent='0' Recv='0' Result='Normal'/>
<Times Total='1900ms' Connect='690ms'/>
<Exception>12:13:58.486: MobileCrm.Data.Customization.CustomizationException: LICENSE: NOT FOUND
at MobileCrm.Data.Customization.MobileLicense+UserLicenses.ValidateLicense (MobileCrm.LoginInfo settings, Collections.Generic.List`1[T] products, Action`2[T1,T2] logger)

The user does not have a Resco license assigned, thus cannot use the Resco app to connect to CRM.

Date:2020-07-24 12:50:53
User:c6898238-d859-ea11-b655-0050568e000b
<Summary>
<Settings Server='5;Crm2011.13/' Threads='0' MaxExecMultiple='0' Foreground='true' Launch='Manual'/>
<Results Sent='0' Recv='0' Result='ConnectFailed'/>
<Times Total='4793ms'/>
<Exception>2020-07-24T12:50:53.1670670+10:00: Exception: Can't connect ---> 
Net.RescoSoapException: Server Login Failed: ID3242: The security token could not be authenticated or authorized.

  at WebServiceBase.ThrowSoapException (Net.HttpException ex) <0x10103cfb0 + 0x000a8> in <59b513988d2c4221afa7532f362a6c79#36a5a76417a22ccac81041b61efbaae6>:0 
  at WebServiceBase+XmlResponse..ctor (Object context, Boolean soap, WebServiceBase webService, Xml.XmlReaderSettings xmlSettings, Boolean processMultipartResponses) <0x10103d9a0 + 0x001cb> in

Inaccurate date/time/time zone on the device, or wrong user name/domain, password, missing org in URL (for on-prem).

> Log file: syncLog.txt
> <History>
> Date:2019-09-19 08:09:11-05:00
> Org: 00000000-0000-0000-0000-000000000000
> User:DEMO
> 
> XRMConnectFailed: HttpException: HTTP Error not found (404)
> 
> Crm2011ConnectFailed: WebRequestException: The request timed out. (-1001)
> 
> CRM4: Disco connection failed to :'http://crm.url.com/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx'
> Crm4ConnectFailed: WebRequestException: The request timed out. (-1001)
> 
> 
> <EXCEPTION>2019-09-19T08:09:11.5054690-05:00: Exception: Can't connect ---> 
> Net.WebRequestException: The request timed out. (-1001) | NetInfo: [Reachable] | Duration: 46581ms
>  at CrmServiceFactory.InternalConnect (MobileCrm.LoginInfo settings, MobileCrm.SimpleLoginInfo login, Action`2[T1,T2] Log) <0x1013148b0 + 0x0094c> in <548449cd863c4f56843acdf653398021#738be7b4faff045fd58e340730e13dea>:0 
>  at CrmServiceFactory.Connect (MobileCrm.LoginInfo settings, MobileCrm.SimpleLoginInfo login, Action`2[T1,T2] Log) <0x1013147f0 + 0x00033> in <548449cd863c4f56843acdf653398021#738be7b4faff045fd58e340730e13dea>:0 
>  --- End of inner exception stack trace ---

Org with no number and User:DEMO means, that the app did not connect to CRM yet. Problem can be in the URL. Wrong URL or not using httpS. User either needs to use correct http or https, or do not use it at all, app will use the right protocol.

Log file: syncLog.txt
<History>
Date:2020-07-22 10:06:39
User:DEMO
<Summary>
<Settings App='13.1.1.0' Server='?' Threads='0' MaxExecMultiple='0' Foreground='true' Launch='Auto'/> <Results Sent='0' Recv='0' Result='ConnectFailed'/> <Times Total='6390ms'/>
<Exception>10:06:39.540: Exception: No se puede conectar ---&gt;
Net.RescoSoapException: Error del servidor: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug&gt; configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
</Exception>

Need to check with CRM admin what is the cause on the server.