Quantcast
Channel: Neil Parkhurst's Activities
Viewing all articles
Browse latest Browse all 1616

Microsoft Unified Service Desk Error - Object Reference not set to an instance of an object

$
0
0

Error :

We are facing below error in our USD application due to which user are not able to login the USD

Please find the text generated from two log files related to this issue.

Log File 1

Microsoft.Xrm.Tooling.CrmConnectControl    Error    2    07-12-2016 11:23:28  Error Message: Failed to Encrypt Configuration File!
Source    : mscorlib
Method    : WinIOError
Date    : 07-12-2016
Time    : 11:23:28
Error    : Recovery policy configured for this system contains invalid recovery certificate.
Stack Trace    : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Encrypt(String path)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.LoadConfigFromFile(Boolean readLocalFirst)
======================================================================================================================

Microsoft.Xrm.Tooling.CrmConnectControl    Error    2    07-12-2016 11:23:28  Error Message: SaveConfigToFile() - fail - C:\Users\biplob.roy\AppData\Roaming\Microsoft\usd\Default_USD
Source    : Microsoft.Xrm.Tooling.CrmConnectControl
Method    : SaveConfigToFile
Date    : 07-12-2016
Time    : 11:23:28
Error    : Object reference not set to an instance of an object.
Stack Trace    : at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.SaveConfigToFile(Dictionary`2 configToSave)
======================================================================================================================

Microsoft.Xrm.Tooling.CrmConnectControl    Error    2    07-12-2016 11:23:28  Error Message: Exception logged by the CRM Connector control:
Source    : Not Provided
Method    : Not Provided
Date    : 07-12-2016
Time    : 11:23:28
Error    : A CRM server name is required.
Parameter name: CrmServerName
Stack Trace    : Not Provided
======================================================================================================================

Microsoft.Xrm.Tooling.CrmConnectControl    Error    2    07-12-2016 11:24:19  Error Message: Failed to Encrypt Configuration File!
Source    : mscorlib
Method    : WinIOError
Date    : 07-12-2016
Time    : 11:24:19
Error    : Recovery policy configured for this system contains invalid recovery certificate.
Stack Trace    : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Encrypt(String path)
   at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.SaveConfigToFile(Dictionary`2 configToSave)
======================================================================================================================

Microsoft.Xrm.Tooling.WebResourceUtility    Error    2    07-12-2016 11:26:01  Web Resource Xml file not found, Looking for : msdyusd_EnglishBase
Microsoft.Crm.UnifiedServiceDesk    Error    2    07-12-2016 11:28:18  Package parts missing while downloading USD Module ( TEC_USDExternal.zip )
Microsoft.Xrm.Tooling.WebResourceUtility    Error    2    07-12-2016 11:36:19  Web Resource Xml file not found, Looking for : msdyusd_EnglishBase
Microsoft.Crm.UnifiedServiceDesk    Error    2    07-12-2016 11:38:10  Package parts missing while downloading USD Module ( TEC_USDExternal.zip )
Microsoft.Xrm.Tooling.WebResourceUtility    Error    2    07-12-2016 11:47:32  Web Resource Xml file not found, Looking for : msdyusd_EnglishBase
Microsoft.Xrm.Tooling.Connector.CrmServiceClient    Error    2    07-12-2016 11:48:19  Source    : mscorlib
Method    : HandleReturnMessage
Date    : 07-12-2016
Time    : 11:48:19
Error    : Message: The value passed for ConditionOperator.In is empty
ErrorCode: -2147220989
Trace:
Stack Trace    : Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
   at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CrmCommand_Execute(OrganizationRequest req, String errorStringCheck)
======================================================================================================================
Inner Exception Level 1    :
==OrganizationServiceFault Info=======================================================================================
Error    : The value passed for ConditionOperator.In is empty
Time    : 07-12-2016 06:18:19
ErrorCode    : -2147220989
Date    : 07-12-2016
Time    : 11:48:19
Trace    : Not Provided
======================================================================================================================
Inner Exception Level 2    :
==OrganizationServiceFault Info=======================================================================================
Error    : System.ArgumentException: The value passed for ConditionOperator.In is empty
Time    : 07-12-2016 06:18:19
ErrorCode    : -2147220970
Date    : 07-12-2016
Time    : 11:48:19
Trace    : Not Provided
======================================================================================================================
Log File 2

Microsoft.Crm.UnifiedServiceDesk    Error    2    07-12-2016 14:23:10  The Microsoft Dynamics CRM Unified Service Desk solution isn't installed on the selected CRM organization Amicus.

07-12-2016 11:28:23: Hosted Application Factory: The hosted application "Religare Connection Manager" couldn't be created. Contact your administrator.
Microsoft.Uii.Common.TypeProvider.TypeProviderException: The instance couldn't be created. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
   at Microsoft.Uii.AifServices.AifServiceContainer.AddService[T](Type type, T service)
   at Microsoft.Crm.UnifiedServiceDesk.InteractionControl.CrmUtilControl.AddServiceToPool(Object oData)
   at Microsoft.Crm.UnifiedServiceDesk.InteractionControl.CrmUtilControl..ctor(Guid appID, String appName, String appInit)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Microsoft.Uii.Common.TypeProvider.TypeProvider.CreateInstance(TypeInfo typeInfo, Object[] args)
   --- End of inner exception stack trace ---
   at Microsoft.Uii.Common.TypeProvider.TypeProvider.CreateInstance(TypeInfo typeInfo, Object[] args)
   at Microsoft.Uii.Common.TypeProvider.TypeProvider.CreateInstance[T](TypeInfo typeInfo, Object[] args)
   at Microsoft.Uii.Csr.HostedAppLauncher.CreateWinFormApplication(ApplicationRecord app, WorkItem workItem)
   at Microsoft.Uii.Csr.HostedAppLauncher.CreateApplication(ApplicationRecord app, WorkItem workItem)
   at Microsoft.Uii.Csr.HostedAppFactory.CreateApplication(ApplicationRecord appRecord, WorkItem workItem)

Please help us to resolve this issue.

Regards,

Vaneet Kumar


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>