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

CRM2011 Error: Unrecognized Guid format. Order Products

$
0
0

I am receiving this error when I try to add a product to an Order or Quote. When opening the Order Product form and clicking the Search Icon I get the lookup  Products in Parent Price list. If I search for a product it find it and I select it. The product is added to the Order Product form. When I go to select the unit I get an error. If I click on the Product name from the Order Product form the add new product form opens instead of the product form with all the products details. If I do not use the search functionality and just select the product from the Lookup view in  Products in Parent Price list I do not have any issues.

# CRM Tracing Version 2.0
# LocalTime: 2016-04-20 04:48:30.451
# Categories: *:Error
# CallStackOn: No
# ComputerName: CRM01
# CRMVersion: 5.0.9690.4150
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools

[2016-04-20 04:48:30.451] Process: w3wp |Organization:ed404f05-c72f-45ec-ad3b-c03559e3bb64 |Thread:  857 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: aa36e072-b752-4967-9a93-60d72543acdb | ErrorInformation.LogError  ilOffset = 0x17
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Unrecognized Guid format.

Error Message: Unrecognized Guid format.

Source File: Not available

Line Number: Not available

Request URL: 0.0.0.11/.../LookupService.asmx

Stack Trace Info: [FormatException: Unrecognized Guid format.]
   at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
   at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
   at System.Guid..ctor(String g)
   at Microsoft.Crm.ApplicationQuery.RetrieveByProductPriceLevelCommand.DecorateQuery()
   at Microsoft.Crm.ApplicationQuery.BuildQuery()
   at Microsoft.Crm.ApplicationQuery.GetViewData()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()
   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()
   at Microsoft.Crm.Application.WebServices.LookupService.ResolveLookupItem(Int32[] typesArray, String bindingColumns, String additionalParameters, String value, Int32 position, Boolean resolveEmailAddress, String savedQueryTypeParameter, View defaultView, String[] values, Boolean sortResults)
   at Microsoft.Crm.Application.WebServices.LookupService.RetrieveItem(Int32[] typesArray, String bindingColumns, String additionalParameters, String[] values, Int32[] positions, Boolean resolveEmailAddress, String savedQueryTypeParameter, String defaultViewId, Nullable`1 defaultViewType, String defaultViewFetchXml, String defaultViewLayoutXml, String[] guidValues, Boolean sortResults)


[2016-04-20 04:48:30.529] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:  857 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: aa36e072-b752-4967-9a93-60d72543acdb | ExceptionConverter.ConvertToFault  ilOffset = 0x57
>UNEXPECTED: no fault?
[2016-04-20 04:48:30.544] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:  857 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: aa36e072-b752-4967-9a93-60d72543acdb | ExceptionConverter.ConvertMessageAndErrorCode  ilOffset = 0x23B
>System.FormatException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #1A80EE50: System.FormatException: Unrecognized Guid format.
>   at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
>   at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
>   at System.Guid..ctor(String g)
>   at Microsoft.Crm.ApplicationQuery.RetrieveByProductPriceLevelCommand.DecorateQuery()
>   at Microsoft.Crm.ApplicationQuery.BuildQuery()
>   at Microsoft.Crm.ApplicationQuery.GetViewData()
>   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder)
>   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadQueryData()
>   at Microsoft.Crm.Application.Platform.Grid.GridDataProviderQueryBuilder.LoadData()
>   at Microsoft.Crm.Application.WebServices.LookupService.ResolveLookupItem(Int32[] typesArray, String bindingColumns, String additionalParameters, String value, Int32 position, Boolean resolveEmailAddress, String savedQueryTypeParameter, View defaultView, String[] values, Boolean sortResults)
>   at Microsoft.Crm.Application.WebServices.LookupService.RetrieveItem(Int32[] typesArray, String bindingColumns, String additionalParameters, String[] values, Int32[] positions, Boolean resolveEmailAddress, String savedQueryTypeParameter, String defaultViewId, Nullable`1 defaultViewType, String defaultViewFetchXml, String defaultViewLayoutXml, String[] guidValues, Boolean sortResults)
[2016-04-20 05:04:29.885] Process: w3wp |Organization:ed404f05-c72f-45ec-ad3b-c03559e3bb64 |Thread:  718 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: cb773dfe-c1af-4221-a66a-74755d5306c8 | ErrorInformation.LogError  ilOffset = 0x17
>MSCRM Error Report:


Email Server Issue

$
0
0

Hi Guys,

I have configured Email server profile and mail box using Exchange server in CRM 2015. After that I have check with Test & Enable Mail box, I don't get any alert. but email not sending.

Please suggest anyone for correct solution.

Regards,

Kannan. S

field onchange event not firing on create a +new record

$
0
0

Hi,

I have contact lookup on my form. When click on '+New' and created a contact record this lookup onchange event is not firing.

I have added a java script function on the form UI, OnChnage event of the lookup.

I found the same issue in below forums also,

http://stackoverflow.com/questions/31715668/how-do-i-fire-the-onchange-event-on-a-lookup-field-when-a-new-lookup-record-is-c

http://stackoverflow.com/questions/31715668/how-do-i-fire-the-onchange-event-on-a-lookup-field-when-a-new-lookup-record-is-c

We are not using 'Legacy form Rendering' option in system settings.

If any one of you have fix/solution for it, please let me know.

Thanks

Child Account Opportunities Grid on Parent Account

$
0
0

Hi All ,

Is it possible to have grid on parent account  to show Opportunities of Child Account by CRM  OOB feature..??

Thanks ,

Mohammed Waseem.

How to buy in Euro and sell in SEK crm 2016

$
0
0

We have a customer that buy machines in different countries and in different currencies. The problem is that this not seems to be supported in CRM 2016. I don't want to add the purchase price on the product as a fixed price due to the fluctuation of currencies, instead i want to add it in the price i bought it in (Euro) and the use the Currency table to calculate the selling amount that's in swedish kronor.

Have anyone a good idea how to solve this the easiest and best way.

Regards Håkan

Single User Remove/Add - Role not editable

$
0
0

Hi,

We recently tried the Fantasy Sales Team preview within our organisation on one of the CRM instances within our organisations CRM tenant.

We had a sandbox instance set up specifically for testing FST and in this set up a game with users in our organisation.

After testing it we were very happy with the tool and were keen to now get this into our production environment so we can actually start using this as part of our day to day work.

It was one of my colleagues who set the game up in the sandbox environment so they were a Game Commissioner for that instance - however in the live instance which we want to use for commercial purposes the roles which were previously set in the sandbox are different.

There was no issues modifying anyone else roles (that have featured in the previous game in the sandbox environment ) however for my colleague who set up the game for some reason here role is locked down and I cannot modify the role so that she will be a Player in the new game in the production environment.

I tried to sort this issue myself however couldn't find anything that would resolve the issue - I noticed on the forums people have said to completely remove the solutions/user etc then trying again, however this seemed to bring back a mixed response.

So my question is - is there an easy way to remove this single user to then re-import and have the ability to update role - or has this been locked down due to the fact that she initially installed FST for our organisation?

I wanted to explore possibilities before potentially asking to have our organisation completely removed from your database so that we can then begin a completely fresh install and go through the entire process - as I noticed a few people have done down that route after having tried the others.

Any advice/help you can provide for this would be much appreciated.

Kind regards,

Nick Reilly

Email

$
0
0

Are you able to send a group email from a view list? For example we have an active applicant area built in to CRM Dynamics online, when we have searched and filtered all applicants for a vacancy how can we email all of these applicants in one go with for example a job description or application form?

Can we add an option to the top of the page alongside the options New, Delete, Export to Excel etc?

Thanks

Helen.

PlugIn is not created : Missing assembly refernce and Could not copy file path.dll beacuse it was not found

$
0
0

Hi All,

I am trying to replicate following blog for account entity.

http://blog.developers.ba/develop-create-update-plugin-dynamics-crm-2013/

But I am getting following Errors.

Missing assembly refernce and Could not copy file path.dll beacuse it was not found.

Please find my code and assembly refnce below and let me know what I am missing?

// <copyright file="PostAccountCreate.cs" company="IBM">

// Copyright (c) 2016 All Rights Reserved

// </copyright>

// <author>IBM</author>

// <date>4/20/2016 3:00:55 PM</date>

// <summary>Implements the PostAccountCreate Plugin.</summary>

// <auto-generated>

// This code was generated by a tool.

// Runtime Version:4.0.30319.1

// </auto-generated>

using

System;

using

System.ServiceModel;

using

Microsoft.Xrm.Sdk;

using

Microsoft.Xrm.Sdk.Client;

using

Microsoft.Xrm.Sdk.Query;

using

System.Net;

using

System.Text;

using

System.IO;

using

System.Globalization;

using

Microsoft.Crm.Sdk;

using

System.Collections.ObjectModel;

using

System.Globalization;

using

System.Linq;

 

namespace

CrmVSSolution3.Plugins

{

///<summary>

/// PostAccountCreate Plugin.

///</summary>

publicclassPostAccountCreate: Plugin

{

///<summary>

/// Initializes a new instance of the <see cref="PostAccountCreate"/> class.

///</summary>

public PostAccountCreate()

:

base(typeof(PostAccountCreate))

{

base.RegisteredEvents.Add(newTuple<int, string, string, Action<LocalPluginContext>>(40, "Create", "account", newAction<LocalPluginContext>(ExecutePostAccountCreate)));

// Note : you can register for more events here if this plugin is not specific to an individual entity and message combination.

// You may also need to update your RegisterFile.crmregister plug-in registration file to reflect any change.

}

///<summary>

/// Executes the plug-in.

///</summary>

///<param name="localContext">The <see cref="LocalPluginContext"/> which contains the

///<see cref="IPluginExecutionContext"/>,

///<see cref="IOrganizationService"/>

/// and <see cref="ITracingService"/>

///</param>

///<remarks>

/// For improved performance, Microsoft Dynamics CRM caches plug-in instances.

/// The plug-in's Execute method should be written to be stateless as the constructor

/// is not called for every invocation of the plug-in. Also, multiple system threads

/// could execute the plug-in at the same time. All per invocation state information

/// is stored in the context. This means that you should not use global variables in plug-ins.

///</remarks>

//create plugin for CRM 2013

//To generate “Insert / Create plugin” choose pipeline stage Post-Operation and message Create.

//create plugin for entity Account,which contains optionset and lookup field.

//This Create Plugin is used to call our REST Web API to exchange data between CRM and our third party system.

protectedvoid ExecutePostAccountCreate(LocalPluginContext localContext)

{

if (localContext == null)

{

thrownewArgumentNullException("localContext");

}

// TODO: Implement your custom Plug-in business logic.

if (localContext == null)

{

thrownewArgumentNullException("localContext");

}

// TODO: Implement your custom Plug-in business logic.

var context = localContext.PluginExecutionContext;

// if user is our web api user return to prevent recursive call

if (context.InitiatingUserId.ToString().Equals("2f2c9848-194a-e411-80cc-00155d0c03cf"))

{

return;

}

IOrganizationService service = localContext.OrganizationService;

if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] isEntity)

{

Entity entity = (Entity)context.InputParameters["Target"];

if (entity.LogicalName == "account")

{

try

{

if (entity.Attributes.Contains("name") && entity.Attributes.Contains("accountid") && entity.Attributes.Contains("territorycode") && entity.Attributes.Contains("territoryid"))

{

CustomAccount d =

new CustomAccount();

d.Terr_Name = (

string)entity.Attributes["territorycode"];

d.Terr_Id = (

string)entity.Attributes["territoryid"];

// here we grab optionset value

d.Terr_Name = entity.GetAttributeValue<

OptionSetValue>("territorycode").Value.ToString();

// here we grab lookup value for field region

d.Terr_Id = (

string)entity.Attributes["territoryid"];

// here we call our external web api and pass municipality entity to be created

var customAccountRepository = new CustomAccountRepository();

var result = customAccountRepository.Insert(d);

if (!string.IsNullOrWhiteSpace(result))

{

thrownewInvalidPluginExecutionException("Error with calling Web API occured: " + result);

}

// We do not call service to update entity becouse no data in entity is changed. If we need to change entity fields before save do so like this://

// entity.Attributes["name"] = "My new name of Account";

// and then call service to update previously created entity //

// service.Update(entity);

}

else

{

thrownewInvalidPluginExecutionException("Some required field missing");

}

}

catch (FaultException ex)

{

thrownewInvalidPluginExecutionException("An error occured in create plugin: " + ex.ToString());

}

catch (Exception ex)

{

thrownewInvalidPluginExecutionException("An error occured in create plugin: " + ex.ToString());

}

}

else

{

thrownewInvalidPluginExecutionException("Entity does not exists");

}

}

}

}

}

Refernces :

Microsoft.Crm.Sdk.Proxy

Microsft.CSharp

Microsft.Xrm.Sdk

System.ServiceModel


Missing Contact Records

$
0
0

I have recently made a change to a users mailbox configuration, changing Appointment, Contacts, and Tasks selection from "None" to "Server-Side Sync." The user has discovered they are missing contact records from the exchange server.. This was an unattended consequence, as I was just trying to sync the Appointments, not the contacts.. How can I retrieve the missing contacts and get them back into their exchange?  

Querying Account, ActivityPointer, Appointment, PhoneCall

$
0
0

Hi

Im trying to query four tables;

  • Account
  • ActivityPointer
  • Appointment
  • PhoneCall

I can  successfully query from the ActivityPointer Table. using this  query

select FilteredAccount.name,FilteredAccount.address1_composite,FilteredActivityPointer.subject,FilteredActivityPointer.regardingobjectidname,FilteredActivityPointer.description, FilteredActivityPointer.createdon, FilteredActivityPointer.activitytypecodename
From dbo.FilteredAccount
INNER JOIN FilteredActivityPointer ON FilteredAccount.name = FilteredActivityPointer.regardingobjectidname

where FilteredAccount.new_Customer = 'YES' AND FilteredActivityPointer.createdon between DateAdd(DD,-7,GETDATE() ) and GETDATE()

 It returns results.But when I add to more INNER JOINS I get no results?

INNER JOIN FilteredAppointment ON FilteredAccount.name = FilteredAppointment.regardingobjectidname
INNER JOIN FilteredPhoneCall ON FilteredAccount.name = FilteredPhoneCall.regardingobjectidname


What im trying to with the other joins is just add an extra column from each appointment and phonecall table

[HELP] Lookup Value has been saved, but not displayed

$
0
0

Hi All,

Currently Im using JScript to customization the lookup value by filter today date. 

I able to view the lookup value and select it, but after I save the record and I cannot see any value in the textbox. When I click on the Lookup Icon, I able to see my value has been selected within the lookup list.

May I know why I cannot see any values in the textbox fields? Please advice.

Thanks,

Auto assigned user to an opportunity

$
0
0

I need to find a way to auto assign a user to an opportunity, so If I create an opportunity from my account it should automatically fall in my sales team.

Your help will be appreciated.

Outlook plugin giving problem with file attachment

$
0
0

Hi,

I have at least one user who started getting problem (Outlook crashes/freezes) attaching files in outlook, since CRM plugin was installed. If he disables the plugin, it starts working fine. Is this a known issue? Hope there is a fix for that.

We are running CRM on line with Office365.

Thanks,

Ashok

Do you need licenses to grant user access to the marketing Calendar and Sales Portal? I have seen conflicting answers and need affirmation....

$
0
0

I have been told that read only access does not require a license.  Is that so?  Can a non licensed Marketing user (licensed CRM user) access (view) the marketing sales collaboration view?

CRM Entities not visible in outlook

$
0
0

Why i am not able to see CRM custom entities in outlook


Empty reports on CRM 2016 on-premise IFD deployment with internal URLs

$
0
0

Just migrated from 2013 through 2015 to 2016 and now my reports are blank for internal URLs.  They display fine in the external IFD URL for the same user.  Reporting extensions are installed on the report server.   No events logged on either CRM or report server.  No other problems seem to exist with the internal URL.  Using IE11.  Internal URL is in the Local Intranet settings.

Any ideas?

Thanks.

why the custom entities are not showing in Outlook

$
0
0

why the custom entities i added in MS-CRM  are not showing in Outlook

How to add CUSTOM modules

$
0
0

I WANT TO ADD Custome modules like sales services and marketing list is it possible how?

Export/Import views from one organization to another

$
0
0

Hello,

Is there any way to export views from an organization and then import them into another in CRM 2016?

We are observing system views are getting imported through customizations. How ever custom views not.

Please confirm if this the OOB behavior and way to export/import custom views.

Thanks,

Deepthi

Web API - Set lookup field using alternate key

$
0
0

Hi

I am trying to create a contact record using web api. I have a customer lookup field called parent account on the contact entity. I want to specify this field in web api using the alternate key (have define emailaddress1 as alternate key on account). I am using the following code but getting error that parent account field is not defined. Any ideas?

function createOperationUsingWebAPI() {

var clientUrl = Xrm.Page.context.getClientUrl();

var req = new XMLHttpRequest()

req.open("POST", encodeURI(clientUrl + "/api/data/v8.0/contacts"), true);

req.setRequestHeader("Accept", "application/json");

req.setRequestHeader("Content-Type", "application/json; charset=utf-8");

req.setRequestHeader("OData-MaxVersion", "4.0");

req.setRequestHeader("OData-Version", "4.0");

req.onreadystatechange = function () {

var accountUri = this.getResponseHeader("OData-EntityId");

};

var body = JSON.stringify({

"firstname": "Test",

"lastname": "WEB API",

"new_parentaccount@odata.bind":"/accounts(emailaddress1='someone_i@example.com')"

});

req.send(body);

}

Thanks

Viewing all 79901 articles
Browse latest View live


Latest Images

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