Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 55831 articles
Browse latest View live

Unable to read data from the transport connection: CRM Online

$
0
0

Hi,

I am creating power BI reports on Dynamics CRM Online.

I am trying to extract data from entities a) incident resolutions b) incidents c) slakpiinstances d) resources.

I am able to extract data from all entities successfully but incidents.


Power BI processes the request. However I get following error after 5 minutes :

"OData feed Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host"

I have looked into internet and many have recommended to look into CRM. Please do let me know what settings we may need to look into CRM Online so that I can ask my client to follow that.

Thanks in advance !

BR,

Achin


Multiple SLA's against an Entitlement

$
0
0

Hi Guys,

Is it possible to customise CRM to add multiple SLA's against an Entitlement?

Our issue is:

Depending on the Priority of the Case, the Work Hours are different. 

The only way I can think of getting around this is by having multiple SLA's against the Entitlement.

Multi-Entitlement doesn't work as the Total Terms will be at the Account Level. And multiple Entitlements doesn't roll-up the Total Terms on the Entitlement Level.

Cheers,

Plugin error "Could not load file or assembly Microsoft.SqlServer.DTSRuntimeWrap"

$
0
0

Hi, all.

I am using Dynamics CRM 2016 on-premises and MS Sql Server 2014 on 64-bit operation system Windows Server 2012r2 on different machines.
I want to run ssis package from dynamics crm plugin dll.
The plugin code has references

I successfully registered the plugin as on-disk assembly and the step. I put Microsoft.SqlServer.ManagedDTS.dll into *crm*\Server\bin\   and *crm*\Server\bin\assembly\ 

I also registered it in GAC.

But when the plugin step is running - I am getting the error:

Could not load file or assembly 'Microsoft.SqlServer.DTSRuntimeWrap, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified


The 64-bit version of Microsoft.SqlServer.DTSRuntimeWrap.dll exists in *crm*\Server\bin\   and *crm*\Server\bin\assembly\
Why it cannot see the dll?
What am I doing wrong?

Thank you.
With regards, Yuriy.

Associated Views

$
0
0

Hi ,

I have an Account that has an Opportunity associated with it but it  is not showing in "ASSOCIATED VIEWS". This is not happening for all accounts?

Unless I click on the second Button "See the records associated with this view"

Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: User Was Not Found error - rsProcessingAborted

$
0
0

I am getting rsProcessingAborted error on CRM report that we have created using report wizard. when gone thorugh  log on reporting service I found below

any one I have checked Excesution Account settings on Sql reporting service configuration and its not checked, SrsdataConnector installed , I have restarted reporting service too. no luck. 

Note we have sql database on different server to CRM app server

wcfruntime!ReportServer_0-1!106c!07/26/2016-13:56:07:: i INFO: Entering ExeuteCommand - Command = Render
library!ReportServer_0-1!106c!07/26/2016-13:56:08:: i INFO: RenderForNewSession('/orgname_MSCRM/CustomReports/{74091723-CC4C-E611-80C8-005056BE003C}')
CLR version v4.0.30319 loaded. processing!ReportServer_0-1!106c!07/26/2016-13:56:09:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
Microsoft.Crm.CrmConfigObjectNotFoundException: User Was Not Found ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: User Was Not Found
at Microsoft.Crm.ServerLocatorService.GetCrmUserId(Guid organizationId, String authenticationInfo)
at Microsoft.Crm.Reporting.DataExtension.Server.Fetch.FetchDataExtensionConnection.Initialize(SecurityIdentifier user)
at Microsoft.Crm.Reporting.DataExtension.Common.DataExtensionConnectionBase.<>c__DisplayClass1.<Open>b__0()
at Microsoft.Crm.Reporting.DataExtension.Common.ExceptionManager.HandleUnsafeException(Action body)
at Microsoft.Crm.ServerLocatorService.GetCrmUserId(Guid organizationId, String authenticationInfo)
at Microsoft.Crm.Reporting.DataExtension.Server.Fetch.FetchDataExtensionConnection.Initialize(SecurityIdentifier user)
at Microsoft.Crm.Reporting.DataExtension.Common.DataExtensionConnectionBase.<>c__DisplayClass1.<Open>b__0()
at Microsoft.Crm.Reporting.DataExtension.Common.ExceptionManager.HandleUnsafeException(Action body)
--- End of inner exception stack trace ---
at Microsoft.Crm.Reporting.DataExtension.Common.ExceptionManager.HandleUnsafeException(Action body)
at Microsoft.Crm.Reporting.DataExtensionShim.Common.ICrmDbConnectionExtension.Open(String userSid)
at Microsoft.Crm.Reporting.DataExtensionShim.Common.SrsExtConnectionBase.Open()
at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.OpenConnection(IProcessingDataSource dataSourceObj, DataSourceInfo dataSourceInfo, IDbConnection conn)
--- End of inner exception stack trace ---;

CRM RetrieveMultipleResponse not returning any results

$
0
0

I am attempting to make a console application to retrieve results using the Dynamics CRM SDK and C# but I can't seem to get any results from my queries. I am able to see that I am connected to the server, but any QueryExpression I try to make seems to come back with nothing, even if I set it with no filter. Even when using an example from the documentation that we have corresponding values to I end up empty handed. My code is:

        CrmServiceClient crmSvc = new CrmServiceClient(ConfigurationManager.ConnectionStrings["MyCRMServer"].ConnectionString);
        Console.WriteLine(crmSvc.IsReady);
        //Display the CRM version number and org name that you are connected to.
        Console.WriteLine("Connected to CRM! (Version: {0}; Org: {1}",
        crmSvc.ConnectedOrgVersion, crmSvc.ConnectedOrgUniqueName);

        QueryExpression userSettingsQuery = new QueryExpression("contact");
        userSettingsQuery.ColumnSet.AllColumns = true;
        var retrieveRequest = new RetrieveMultipleRequest()
        {
            Query = userSettingsQuery
        };
        EntityCollection EntCol = (crmSvc.ExecuteCrmOrganizationRequest(retrieveRequest) as RetrieveMultipleResponse).EntityCollection;
        foreach (var a in EntCol.Entities)
        {
            Console.WriteLine("Account name: {0} {1}", a.Attributes["firstname"], a.Attributes["lastname"]);
        }
        Console.Write(crmSvc.LastCrmError);
        Console.Write(crmSvc.LastCrmException);
        Console.ReadLine();

It returns no errors, and shows True for the connection, and I can't seem to find where to start to troubleshoot from here.

CRM working on Outlook 2010 msg .pst

CRM word template - format date

$
0
0

Hi

I created a word template to a CRM entity, using the XML mapping.

The template include several dates fields that should be taken from the CRM entity .

these dates should be displayed as "MMMM, D, YYYY" format. I used a date picker control and set the properties to this format , but it keep showing in the CRM format (MM/DD/YYYY) .

Any idea how it can be set ? is it taking the format fro m CRM so it ignore the template setting ?

Thanks


Console Application code connect to CRM online

$
0
0

RetrieveOrganizationsRequest retrieveOrganizationsRequest =
new RetrieveOrganizationsRequest()
{
AccessType = EndpointAccessType.Default,
Release = OrganizationRelease.Current
};

RetrieveOrganizationsResponse retrieveOrganizationsResponse =
(RetrieveOrganizationsResponse)discoveryProxy.Execute(retrieveOrganizationsRequest);

if (retrieveOrganizationsResponse.Details.Count > 0)
{
var orgs = new List<String>();
foreach (OrganizationDetail orgInfo in retrieveOrganizationsResponse.Details)
orgs.Add(orgInfo.FriendlyName);

return orgs;
}

This will give the list of all Organization. How to connect to only one instance and update some data through service in CRM online???

Tracking emails in CRM

$
0
0

Hi,

A tricky question that I think will need a little bit of coding (or not?). My clients canask various questions to my commercials by emails. Each commercial can track emails through the CRM for Outlook module. For each of my customer, I'd like to know how many times they reach each of the commercials.

For example: one commercial receives three emails from one customer. The emails are sent to the CRM. I'd like to have a field with the number 3 corresponding to the number of mails tracked by the commercial. It has to work for each of the commercial. For ex, 2 fields entitled "Commercial 1"

and "Commercial 2". If Commercial 1 track 2 emails and Commercial 2 track 3 emails, each field will show respectively 2 and 3.

Hope it is clear for everyone here. Thanks guys for the help if you come up with a solution.

Bye.

Khrist

How can i record data and it appear back up on another page in a dialog?

$
0
0

How can i record data and it appear back up on another page in a dialog?

Problem to create SLA for Case (Online 2016)

$
0
0

Hi everybody when i try to create SLA just for Case i can't choose the field "applicablefrom"(not show on the form),  i see the field "applicablefrompicklist" instead with yes\no options, and when i  save i got error "Attribute 'applicablefrom' cannot be NULL". I already created SLA that work on case in this environment, for another entity all works good.

thank in advence.

CRM 2016 - Learning -How?

$
0
0

Hi

I am currently working on CRM 2011 and I want to learn CRM 2016 personally as my company does not show any interest to move to CRM 2016 in near future so I am looking for the cheapest option to explore either onpremise or online version of CRM 2016.

I have registered with Microsoft to get access to 30 days trail version of CRM 2016 online, now I want to know the following..

1. Is there any other way I can extend that trail period by paying any fee ? How much does it cost?

2. can we have on premise 2016 for personal use, I have checked the MS site and found 50$/month but I don't understand whether I need to buy 5 users/seats which I don't want,  I am the only person going to use/explore (not for commercial purpose)

3. also, how can I practice plugins, custom workflows in CRM 2016 online version? will I get access to my test CRM Organization database/access via Plugin Registration Tool...etc.)

Any help/links would be really helpful.

MSK.

CRM 2016 Merge error

$
0
0

Hi All,

I am getting the following error while trying to merge 2 records through custom code in CRM 2016:

Message: Generic SQL error., ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'cndx_PrimaryKey_CustomerAddress'. Cannot insert duplicate key in object 'dbo.CustomerAddressBase'. The duplicate key value is (<<some Customeraddress GUID>>).

The statement has been terminated.

CRM 2016 - SP1 was installed recently.

Any help would be highly appreciated.

4770406

Modified By System

$
0
0

Hi,

I am using Dynamic CRM 2015 On-Premises and currently facing an issue related to Modified By field of account.

The issue is that whenever someone modifies or assign the account to another user, the Modified By field of the account shows "System".It should be showing the name of the person who modifies the account.

I have also checked the registered plugins,there is no code written that is responsible for this kind of functionality.

Any kind of help/suggestion will appreciated.


How to limit all Entities from showing in connection "Look Up Record"

$
0
0

On Account, when "Connection" is clicked and "Look Up Record" is opened, all Entities that user can read are listed in "Look for".

How can this drop down list be limited to only show Entities we want the user to create connections to (without limiting their ability to read)?

Thanks! 

CRM 2016 Outlook 2010 Add-In Available but non-functional

$
0
0

We have a Windows 10 64-bit with two user profiles using the same underlying CRM 2016 Outlook 2010 Add-Ins) in an On-Prem CRM environment. The Windows 10 64-bit runs these two user profiles in a Outlook 2010 is 32 bit environment. 

One profile works as expected. The other profile does not.  The "good" profiles shows  the "Track" and "Set Regarding" Button in the ribbon. In the "bad" profile, the word "Track" does not appear, and the "Set Regarding" does not work when clicked.  So for example, the bad profile looks like this:

We conducted a full uninstall and reinstall of the CRM 2016, including deleting all subfolders in the bad profiles USERPROFILE in both Local and Roaming; deleting the MSCRM subfolder under %PROGRAMFILES%; deleting all references to Microsoft Dynamics CRM, MSCRM, crmaddin.Addin where ever they were located in the registry. We went through the following steps as it related to CRM 2016 in the following:

http://community.dynamics.com/crm/f/117/t/103955

We also uninstalled / reinstalled the following related programs

Microsoft Report Viewer 2012 Runtime

Microsoft SQL Server Compac 4.0 SP1 x64 ENU

Microsoft System CLR types for SQL Server 2012

All MS Visual Studio C++ Redistributables for all years and version

Microsoft Visual Studio 2010 Tools for Office Runtime

Also, we deleted the following from the bad profile:

Further, we started with one install logged in under the good profile. Then when we went to the bad profile, where it did not work (i.e. Add-In was available but non-functional) Also, we installed under the bad profile and then when logged in under the good profile, the Add-in was available for the good. So, whether the install occurred logged in under one profile or another, profile for user #2 (the "bad")  always incurred the same behavior. Between Uninstalls and Reinstalls, there was a restart of the computer. There were no error messages during the install in either case.

The following Add-Ins Installation were used, in the following sequence.

CRM2016-Client-ENU-i386 (Main #1)
Microsoft Dynamics CRM Family
File version 8.0.0.1088
Product version 8.0.0000.1088

CRM2016-Client-KB3133963-ENU-I386 (Update #2)
Microsoft Dynamics CRM Family
File version 8.0.1.79
Product version 8.0.0001.0079

Both Add-ins were used the following:

C:\Program Files(x86)Microsoft Dynamics CRM\Client\bin\crmaddin.dll

Both profiles used the same settings in Personal Options in CRM:

User-->Options-->Set Personal Options-->Email-->Select the email messages to track in Microsoft Dynamics CRM-->Track-Email messages in response to CRM email

Both profiles use the same version of MS Outlook 2010

Microsoft Outlook 2010 (14.0.7169.5000) SP2 MSO (14.0.7166.5000)

Both profiles have not been altered in Active Directory. They are both over five years old.

After reinstall, we deactivated / reactivated all the Add-Ins with no difference.

We turned on the Outlook 2010 tracking feature, but there didn't seem to be anything useful in the logs. We did not check the Event Logs on the Windows 10 box.

The only piece of useful information we got was from running a CRM Diagnostics Trace on the bad profile and compared it a trace on the good profile. We clicked on the CRM icon buttons in Outlook to generate the log files on both profiles and compared the files . The bad profile had the following line where the good profile did not:

Process:OUTLOOK |Thread:12280 |Category: Unmanaged.Platform |User: PlatformUser |Level: Error | CAddin::raw_GetFormRegionManifest File: c:\bt\171112\r\86897c\src\core\application\outlook\addin\formregionstartup.h Line: 93
>hr = 0x80040220

We're guessing the "CAddin" is a clue, but we do not know where to begin to look for a solution. There is no subfile "bt" on the client machine nor the CRM server. After doing a C: DIR /S  for any of the folders on the Windows 10 box ,  nothing was found. We do not know where this file might correlate to the regedit. Because of any lack of troubleshooting guidelines for this, we've resorted to searching under the regedit root on Windows 10 which has been freezing the regedit screen. So, we don't know what we're looking for.

Numerous searches online doesn't pull up any useful information under the bad profiles CAddin::raw_GetFormRegionManifest ....hopefully someone in this forum will be able to help. The question, to wit, why one profile has CRM 2016 Outlook 2010 Plug-In Available and functional while the other one does not, with the same underlying install process, programs and install sequence which has been consistent in working on one and not the other ? Hopefully the Trace Log lends a clue on how to correct this ...any help would be greatly appreciated.... Thanks.....

Looking for multiselect subgrid control

$
0
0

Hi,

I'm looking for a subgrid control that supports multiple row selection and custom buttons to be able to execute a Custom Action against the rows selected.  I understand that the out of the box method would be to go to the associated view, however the client feels that navigating to the associated view and back takes away from the user experience.

Does anybody have any suggestions on a 3rd party subgrid control (preferably free) that I can use?  Much appreciated.

Product ID

$
0
0

I would like to change the product IDs for my products, but don't want to mess anything up in the system.  Am I good if I just edit from the product record?

Thanks in advance.

CRM 2011 Migration to CRM 2016

$
0
0

I finally have the approvals I need in order to upgrade our CRM.  I have tested this in my lab and I believe I have the process down enough to start building my environment in PROD.  My plan is to install CRM 2013 on a new 2012 R2 server and migrate the data, then once the server is proven stable do two upgrades in place on the new server to move to 2015, then eventually 2016. 

My question is this:  When I install 2013 on the new server, it asks me to point to the CRM OU where the CRM groups (PrivReportingGroup, PrivUserGroup...etc) are in Active Directory.  If I install 2013 on that server and point it to the same OU will it cause any issues with my CRM 2011 that is currently running in Production?  The goal here is to run this process during the weekend and still have CRM 2011 to run in parallel. 

Viewing all 55831 articles
Browse latest View live


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