04.06.2010, 15:05 | #1 |
Участник
|
Ошибка открытия приложения ms crm
Добрый день!
После удаления отношения "многие ко многим" и последующей публикации одной из кастомных сущностей перестало открывать приложение MS CRM. Выдается следующая ошибка: [InvalidOperationException: Для ExecuteNonQuery нужно открытое и доступное подключение. Подключение закрыто.] System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) +925120 System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +9 System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +99 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +75 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135 Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command) +75 Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate) +120 Microsoft.Crm.CrmDbConnection.SetTransactionIsolationLevel(IsolationLevel il) +87 Microsoft.Crm.CrmDbConnection.Close() +90 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadDatSetFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, Guid organizationId) +304 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, Guid organizationId) +50 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context) +168 Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context) +355 Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context) +312 Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context) +286 Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id, String entityName, Guid organizationId) +115 Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context) +296 Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) +389 Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context) +82 Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) +108 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo) +313 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId) +194 Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId) +252 Microsoft.Crm.Authentication.WindowAuthenticationProviderBase.Authenticate(HttpApplication application) +502 Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application) +125 Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application) +66 Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) +475 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 В чем может быть причина и как лечить? |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|