Показать сообщение отдельно
Старый 24.06.2009, 16:00   #5  
alsherin is offline
alsherin
Участник
 
62 / 11 (1) +
Регистрация: 23.06.2009
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: There is already an object named 'new_objectname' in the database.
Could not create constraint. See previous errors.

Error Message: There is already an object named 'new_objectname' in the database.
Could not create constraint. See previous errors.

Source File: Not available

Line Number: Not available

Request URL: http://localhots:5555/Organization-C...omization.asmx

Stack Trace Info: [SqlException: There is already an object named 'new_objectname' in the database.
Could not create constraint. See previous errors.]
в System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
в System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
в System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
в System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
в System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
в System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
в Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
в Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
в Microsoft.Crm.Metadata.SqlHelper.ExecuteNonQuery(MetadataHelper helper, IDbCommand sqlCommand)
в Microsoft.Crm.Metadata.RelationshipCreateAction.DatabaseOperation()
в Microsoft.Crm.Metadata.MetadataHelper.ProcessQueue()
в Microsoft.Crm.Metadata.RelationshipServiceBase.Create(IRelationshipCreateInfo relationshipInfo, ExecutionContext context)
в Microsoft.Crm.Metadata.RelationshipServiceBase.Create(IRelationshipCreateInfo createInfo)
в Microsoft.Crm.Metadata.EntityRelationshipService.Create(IRelationshipCreateInfo relationshipInfo)
в Microsoft.Crm.Application.WebServices.SystemCustomization.RelationshipCreate.Execute(IUser user, ParameterBag paramBag)
в Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.CreateRelationship(XmlNode data)