I'm getting unhandled exception for specifying that a Duplicate Detection error (none of the duplicate detection rules are enabled in Dynamics CRM for Cases) has occurred.
The message says - 'Cannot insert duplicate key.'
Please help.
Related
When generating a Search Report for any collection, the report status appears as "Complete". However, when i attempt to View or Export the report i am getting an error indicating "Internal error on generating report.".
I am able to 'Update' the report to regenerate the report however, the same issue occurs when i view/edit the new report.
Event logs don't show anything other than the report generation event.
I'm pretty sure that's a known bug that's fixed in one of the most recently released patches. Log a ticket with Google and they'll give you the details and should be able to give you a support script that you can run for a temporary fix until you apply the patch.
I'm running birt 3.7.2 using the Birt Web Viewer and have recently been encountering an error when opening my reports / changing the report parameters.
The error is as follows:
An error occurred while getting report parameters. The specified report: /$$$Transient/acfile20.rptdocument was not found. The report may have expired or may not have been generated.
It also throws a "Get page count failed." error message too. I'm sure it's related to the message above.
It's not happening on all of the different instances of BIRT that I'm using. I've checked what I think is the Transient folder and it is not generating these files, yet sometimes, if I refresh the report, it will run.
What might be causing this?
If you are using either a dynamic parameter or computed column, try disabling either. For example if there is a dynamic parameter make it static, if there is a computed column try removing it.
On the lead form when I enter in Email id and hit save it throws a following SQL error below, but there's no error, if I leave it empty.
here is the log file message
Unhandled Exception:
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault,
Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:
Based on the log file message and the public key token and research, I disabled the plugin activity plugin on lead form, I still receive the error message on form.
How to resolve this issue ?
You will need to debug the Generic SQL Error message to find more detail on the problem. Try turning on server logging and review the CRM log files, failing that try and capture the error within SQL.
I have an organization that is deployed on an IFD CRM. My goal is to import that organization to new farm that has CRM 2011 with no IFD. Everything is ok while importing
but after import I cannot open that organization on new server. The error detail is:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 27.12.2012 03:32:20
Event time (UTC): 27.12.2012 01:32:20
Event ID: 658277a3edea44089ca9af6e0c31f6c4
Event sequence: 236
Event occurrence: 5
Event detail code: 0
Exception message: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config(389):
error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
After that error, I created new organizations and there is no problem with that new organization.
The CRM is with update rollup 8.
Turn on crm server side tracing. You'll get much better error information. Use the CRM diagnostic tool to turn on trace logging: http://crmdiagtool2011.codeplex.com.
I'm wondering if you have some plugin associated with the organization. So when you try to access it, the plugin fires and throws that exception.
You may have plugins in some of your solutions. It maybe configured to use the connections to your previous server. Hence, when you import it some error encountered. This is just a guess! If you provide more information on your error message, then could be analyze it better.
My application using ASP.NET MVC3 with EF4.1, deployed on IIS7. Recently I've meet an error when trying to save an entity to an existing database on the production server, but everything goes well on my development machine.
I tried to build deploy package in VS2010 and import that package in IIS7, also, I've tried to upload all the solutions and create an application in IIS7 manually, but both of the 2 sites come to an error when executing a function that saves an entity to the database.
Error message is pasted below, but the physical path in error message does not exist in the production server, it's a path in my local development machine. This makes me confused. Has anybody ever seen this before?
BTW, I've fully backed up my database and restored it on the production server, so all the databases are same.
I'm open to hear any advice.
Thanks
Cheng
Error message:
Server Error in '/xxxx' Application. Validation failed for one or
more entities. See 'EntityValidationErrors' property for more details.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details:
System.Data.Entity.Validation.DbEntityValidationException: Validation
failed for one or more entities. See 'EntityValidationErrors' property
for more details.
Source Error: An unhandled exception was generated
during the execution of the current web request. Information regarding
the origin and location of the exception can be identified using the
exception stack trace below.
Stack Trace:
[DbEntityValidationException: Validation failed for one or more entities. See
'EntityValidationErrors' property for more details.]
System.Data.Entity.DbContext.SaveChanges() +212
xxxxx.Models.SetupRepository.CreateApplicationOption(Guid companyId) in
D:\xxxx\Models\SetupRepository.cs:59
xxxxx.MvcApplication.MvcApplication_PostAcquireRequestState(Object sender, EventArgs e) > in D:\xxxx\Global.asax.cs:87
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +75