2. Juni 2015 11:06
2. Juni 2015 15:00
3. Juni 2015 08:27
3. Juni 2015 09:27
3. Juni 2015 12:33
public ManagedTokenDiscoveryServiceProxy(IServiceManagement<IDiscoveryService> serviceManagement,
SecurityTokenResponse securityTokenRes)
: base(serviceManagement, securityTokenRes)
{
this._proxyManager = new AutoRefreshSecurityToken<DiscoveryServiceProxy, IDiscoveryService>(this);
}
ClientCredentials creds = new ClientCredentials();
creds.UserName.UserName = "domain\\user";
creds.UserName.Password = "password";
ServerConnection.Configuration serverConfig = new ServerConnection.Configuration();
serverConfig.OrganizationUri = new Uri("http://srv-crm-dev/OPDCRMDevel/XRMServices/2011/Organization.svc");
serverConfig.Credentials = creds;
using (_serviceProxy = ServerConnection.GetOrganizationProxy(serverConfig))
{....
3. Juni 2015 13:26
8. Juni 2015 11:35
# CRM Tracing Version 2.0
# LocalTime: 2015-06-08 08:56:37.540
# Categories:
# CallStackOn: No
# ComputerName: SRV-CRM-DEV
# CRMVersion: 5.0.9690.2015
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools
[2015-06-08 08:56:37.540] Process: w3wp |Organization:617a9825-5d96-4657-84a1-685b3ebf3211 |Thread: 15 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | SystemLabelDictionaryCacheLoader.LogDetails
at SystemLabelDictionaryCacheLoader.LogDetails(Int32 languageCode, Int32 totalLabels, IOrganizationContext context)
at LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)
at LabelCache.TryLookupEntry(Int32 languageCode, Guid objectId, String objectColumnName, IOrganizationContext context)
at LabelCacheLabelCollection.HasLabels(IOrganizationContext context)
at PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)
at PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)
at PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)
at PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)
at PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)
at MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)
at DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)
at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)
at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)
at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)
at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)
at MetadataCache.GetInstance(IOrganizationContext context)
at BusinessEntityMoniker..ctor(Guid id, String entityName, IOrganizationContext orgContext)
at OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
at CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
at CrmMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
at WsdlMessageInspector.GetServiceDescription(Message reply, Nullable`1 flatQuery)
at WsdlMessageInspector.BeforeSendReply(Message& reply, Object correlationState)
at ImmutableDispatchRuntime.BeforeSendReplyCore(MessageRpc& rpc, Exception& exception, Boolean& thereIsAnUnhandledException)
at ImmutableDispatchRuntime.PrepareReply(MessageRpc& rpc)
at ImmutableDispatchRuntime.ProcessMessage8(MessageRpc& rpc)
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at MessageRpc.Process(Boolean isOperationContextSet)
at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
at ChannelHandler.AsyncMessagePump(IAsyncResult result)
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at AsyncResult.Complete(Boolean completedSynchronously)
at AsyncQueueReader.Set(Item item)
at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)
at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread)
at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread)
at EnqueueMessageAsyncResult.CompleteParseAndEnqueue(IAsyncResult result)
at EnqueueMessageAsyncResult.HandleParseIncomingMessage(IAsyncResult result)
at AsyncResult.SyncContinue(IAsyncResult result)
at EmptyHttpPipeline.BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, Object state)
at HttpContextReceivedAsyncResult`1.ProcessHttpContextAsync()
at HttpChannelListener`1.BeginHttpContextReceived(HttpRequestContext context, Action acceptorCallback, AsyncCallback callback, Object state)
at HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
at HostedHttpRequestAsyncResult.HandleRequest()
at HostedHttpRequestAsyncResult.BeginRequest()
at HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
at AspNetPartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)
at HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state)
at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
>Not an error. System LabelDictionary was loaded for language 1031 from organization {617A9825-5D96-4657-84A1-685B3EBF3211} with 19431 labels
13. Juni 2015 11:29
17. Juni 2015 09:06