Ribbon Buttons In CRM 2011

I have put a display rule(FormEntity Context) on Add New & Add Existing buttons using ribbon workbench. The display rules are working perfectly but when i click on Add New or Add Existing it does not do anything. It dont open a new create form .
can anyone help ?

These can be a little bit fiddly to setup. Did you use the one of the many tools available to edit the sitemap or did you amend the XML directly? It might help others to diagnose the problem if you can submit a simplified version of the rules for review.
Otherwise its to diverse a topic to get direct assistance.
Steve

Similar Messages

  • MS CRM 2015 Adding Custom RIbbon button in dashboard and Changing Colors

    Hi,
    I am Looking for customization in MS Dynamics CRM 2015 and want to Add Custom Ribbon button in dashboard and Changing Colors of that ribbon using customization.xml i am new to crm 2015 and only know how to import export solutions.
    Regards
    Irfan

    Hello Irfan,
    For adding a custom button please refer this blog
    https://community.dynamics.com/crm/b/aeonnexuscrm/archive/2014/10/21/ms-crm-2013-adding-custom-ribbon-button-in-dashboard.aspx
    And for changing colors in Chart
    https://crmchartguy.wordpress.com/2012/08/23/palette-custom-colors-in-charts/
    Hope this helps!
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • Publishing CRM 2011 on Web Applicaiton Proxy Using Kerberos Constrained Delegation

    Hello,
    Couldn't find a sub category that seemed suitable for this discussion so I just dropped it in Windows Server 2012 General.
    So to summarize...
    Web Application Proxy (WAP) on 2012r2, ADFS on 2012r2, and CRM 2011 RU11 is on 2008r2.
    WAP has a pass through rule setup for the ADFS site and a preauth rule setup for the CRM site.  All SPNs and delegation are setup in AD.
    Setup is 1 WAP, 1 NIC, 1 ADFS server and 1 CRM server.
    I have successfully publish my CRM 2011 site on Web application proxy and am successfully doing Kerberos Constrained Delegation.  I am also doing Client certificate authentication on the ADFS server which works fine.  I am doing this over 49443
    just fine.
    Try to access the CRM site, WAP redirects me to ADFS as expect, Client certificate auth happens at the ADFS server,  I am redirected back to my CRM site with my authToken so pre authentication can happen successfully.  KCD ensues after just fine
    and i am reverse proxied back to the CRM site.
    Here in lies the problem though...
    When i am reversed proxied back to the CRM site, i receive the standard "An error has occurred Try this action again.... yada yada yada" message with the Try Again or Close button.  If i click try again, i am able to access the site with no
    problem and the solution works great!  This obviously is not acceptable though.
    The error URL looks like the following (changed it for obvious reasons)
    https://crmsite.contoso.com/ORG1/_common/error/errorhandler.aspx?BackUri=https%3a%2f%2fadfs.contoso.com%2fadfs%2fls%3fversion%3d1.0%26action%3dsignin%26realm%3durn%253AAppProxy%253Acom%26appRealm%3d63ce68f1-3de4-e411-9412-005056a67a8d%26returnUrl%3dhttps%253A%252F%252Fcrmsite.contoso.com%252F%26client-request-id%3d4A1A0958-76F3-0000-5D91-1C4AF376D001&ErrorCode=&Parm0=%0d%0a%0d%0aError%20Details%3a%20An%20unhandled%20exception%20occurred%20during%20the%20execution%20of%20the%20current%20web%20request.%20Please%20review%20the%20stack%20trace%20for%20more%20information%20about%20the%20error%20and%20where%20it%20originated%20in%20the%20code.&RequestUri=%2fdefault.aspx
    The error that correlates to this in CRM is
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Little bit further down
    Exception information:
        Exception type: InvalidOperationException
        Exception message: CRM Parameter Filter - Invalid parameter 'AuthMethod=CertificateAuthentication' in Request.Form on page /default.aspx
    If anybody has any insight or experience publishing CRM on WAP using KCD and has run into this issue, help would be greatly appreciated.
    Also to head of this question, we can not do an IFD setup.  There is a custom developed solution which resides on top of the CRM installation that is not claims friendly.
    Thanks!
    Jonathan

    Hi,
    Please check if anyone of the links below is helpful:
    http://blogs.msdn.com/b/javaller/archive/2014/01/13/publishing-crm-internet-facing-deployment-using-web-application-proxy-and.aspx
    http://blogs.technet.com/b/dynamicspts/archive/2014/10/03/using-web-application-proxy-to-publish-dynamics-crm-2013-to-the-internet.aspx
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Migrating from CRM 2011 on-premise to Online

    Hi there,
    We currently run CRM 2011 on-premise, we have 5 users and minimal customisations so far. We would like to migrate from On-premise to Online as we have this available through our Office 365 plan. Is there a migration tool available from Microsoft, or a manual
    migration guide? We have searched for info online and can only find 3rd party tools that provide this function that are very pricey for such a small company. 
    Are we stuck doing this manually or is there a way?
    Steve

    For the migrating from CRM on premise to online has two parts:
    1.Customization
    You can export the total solution as following:
    Go to Settings->Customization->Export Solution
    Click Next->Choose what you want to export.
    Click Next to export.
    Then you can go to another CRM Online instance, go to Settings->Solutions->Import solution.
    2. Data
    For the out of box function of CRM 2011 Online, we does not support all data export one time. But we support all data export for one entity one time as following:
    Let us take example that you want to export data for Account and Contact record types.
    1. Create a view of all fields for the record type Account.
    a. Go to accounts Grid and click on Create personal view
    Click Edit Columns in the dialog that pops up and then click Add Columns.
    Click the checkbox in the header to select all columns. (This will export data for all columns, some of which may not be importable)
    Click ‘ok’ and then Click ‘Save’ on the Ribbon in Advanced find dialog. It will prompt you for name of the view .Provide the name for the view.
    2. Navigate to view (Account) and Export the data in Static Excel format.
    a) Go to Accounts Grid.
    b) Navigate to Accounts view.
    c) Click Export to Excel.
    d) Select “Static worksheet with records from all pages in current view”.
    e) Click Export and save the file. (Account.xls)(The records that are exported will be based on the record for which you had privileges).
    f) Save the file in CSV /XML format from Excel. (Account.csv)
    Wilson

  • CRM 2011 Outlook plugin corrupts emails

    Hi, we have CRM 2011 server with rollup 14 installed, using CRM 2011 for Outlook plugin. One client PC's Outlook client is corrupting many emails when set to track in CRM.
    I have removed CRM, removed all registry entries pertaining to CRM, repaired Office 2013, reinstalled CRM 2011, applied rollup 14, and this still happens. Every PC I configure with the account and open the email, it crashes Outlook. I have run scanPST on
    the OST, run the repair requests in Exchange server 2010. I have deleted the forms cache.
    When an email gets corrupted, when opened in Outlook it says "Could not install the custom actions" and then Outlook 2013 crashes. It does this in Outlook 2010 also. In OWA, it says:
    "The item can't be opened because it's become corrupted. The entire error report is listed below"
    Request
    Url: https://mail.domain.com:443/owa/forms/premium/SubPageEventHandler.aspx?ae=Item&a=Preview&t=IPM.Note&id=RgAAAAAuqXPz0wsjR7oZyndzAS3zBwDD7li80LE7TJZxUTnw%2f23uABHjr5k6AACQoheAQ7%2fBSI2QCj7WrlR2AAA7MLI6AAAJ&calist=16160016&canary=VJfXrHC4sk6pcFV4ES1rUkrzVHB_ndAIAXf5zZ4jHl1ZmP6AAfpamQ6POFzh_KiCfUKhXuaTFiY.&SP=1&pfmk=M40%3a1381870228548%3bM6%3a1381870228584%3bM33%3a1381870230010%3bM46%3a1381870230029&subpage=ReadMessage.ascx
    User: UserA
    EX Address: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=UserA
    SMTP Address: [email protected]
    OWA version: 14.3.158.1
    Mailbox server: exchange.domain.local
    Exception
    Exception type: Microsoft.Exchange.Data.Storage.CorruptDataException
    Exception message: The voting data was corrupt.
    Call stack
    Microsoft.Exchange.Data.Storage.VotingInfo.Read(BinaryReader reader)
    Microsoft.Exchange.Data.Storage.VotingInfo..ctor(MessageItem messageItem)
    Microsoft.Exchange.Data.Storage.MessageItem.get_VotingInfo()
    Microsoft.Exchange.Clients.Owa.Premium.RenderingUtilities.RenderVotingInfobarMessages(MessageItem message, Infobar infobar, UserContext userContext)
    Microsoft.Exchange.Clients.Owa.Premium.ReadMessage.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    There's nothing in the error report to hint that the problem is related to CRM. The error report contains references to voting data. Does the problem email have voting buttons enabled on it? In Outlook 2013, when you create a new email message there is
    a Options tab with a feature called Use Voting Buttons. Perhaps this feature has a problem on its own, or when voting emails are tracked in CRM?
    Neil Benson, CRM Addict and MVP at Slalom Consulting.
    Find me on Twitter. Join over 20,000 other CRM professionals on the
    Microsoft Dynamics CRM group on LinkedIn.

  • CRM 2011 openStdWin method

    Hi,
    I'm having a problem with a some client code (web resource) that opens a window from the main application ribbon of CRM 2011.
    It works in the browser but not in the outlook client and I have an idea as to why but not how to fix it.
    Before my code opens the window it checks whether or not it is running from the outlook client - if so the openStdWin method is used:
    var my_win = openStdWin(window_url, window_name);
    If not the normal window.open method is used:
    var my_win = window.open(window_url, window_name, window_settings);
    In both cases a window opens, but since I have to (after the window opens) call a method inside this new window:
    my_win.methodName();
    my_win has to be an actual window object which is it when I use window.open but apparently not when I use openStdWin.
    Because of this my code breaks at the point where in attempt to call the method in the newly opened window when running from outlook client.
    Can anyone shed some light on this - maybe this method is supposed to be used in another fashion?
    PS. when I close down outlook after a failed attempt I get the option to send an error report to Microsoft which contains the following:
    Microsoft Dynamics CRM Error Report Contents
    <CrmScriptErrorReport>
    <ReportVersion>1.0</ReportVersion>
    <ScriptErrorDetails>
    <Message>Permission denied</Message>
    <Line>1</Line>
    <URL>/_grid/OutlookRibbonContextGrid.aspx?etn=account&ver=63475613997005</URL>
    <PageURL>/_grid/OutlookRibbonContextGrid.aspx?etn=account&ver=63475613997005</PageURL>
    <Function></Function>
    <CallStack>
    </CallStack>
    </ScriptErrorDetails>
    <ClientInformation>
    <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Microsoft Outlook 14.0.6117)</BrowserUserAgent>
    <BrowserLanguage>en-us</BrowserLanguage>
    <SystemLanguage>da</SystemLanguage>
    <UserLanguage>da</UserLanguage>
    <ScreenResolution>1920x1200</ScreenResolution>
    <ClientName>Outlook Laptop - Online</ClientName>
    <ClientTime>2012-06-18T13:00:14</ClientTime>
    </ClientInformation>
    <ServerInformation>
    <OrgLanguage>1033</OrgLanguage>
    <OrgCulture>1030</OrgCulture>
    <UserLanguage>1033</UserLanguage>
    <UserCulture>1030</UserCulture>
    <OrgID>{CBFE2AD6-1D2D-4AC4-BC17-5A9998BBA17F}</OrgID>
    <UserID>{8EFA7A51-B614-4CB6-868D-A587AB77521B}</UserID>
    <CRMVersion>5.0.9688.1561</CRMVersion>
    </ServerInformation>
    </CrmScriptErrorReport>
    The message says "Permission denied" but I think that is a little misleading because the object simply isn't there or rather it is an empty object.
    If I do this alert(JSON.stringify(my_win)) when using window.open I get a dialog with a full window object (or as much as the dialog can show) but when I use openStdWin i get "{}" which is an object but an empty one.

    Thanks for your reply Scott,
    I am using absolute URL. The 1st part is provided by the build-in getServerUrl (in the Xrm.Page API) and the rest of the URL is a static path to a HTML Web Resource, so there should be no cross-domain stuff going on. (it is CRM 2011 Online by the way).
    The HTML Web Resource does include some javascript files but they are all Web Resources in the same solution (referenced by relative path).
    Right now I actually have a working solution I made yesterday, but that was by doing a work-around. Roughly what I
    was doing in the first place was:
    1) open the window and when window was loaded ask the opening window/code (javascript) to build and execute a query.
    2) upon completion of the query, message back to the opened window (via my_win.someMethod()) that the result was ready to use.
    The reason for doing it this way was to ensure that the opening window markup would be fully loaded and look nice (and display a progress indicator etc.) before starting to execute the query, which could make the window appear as not responding or just make
    it not load right away, which looks ugly.
    Secondly, the result from the query (an array of simple objects) needs to be merged with a larger array which the opened window already holds due to the javascript files it references.
    What I am now doing in the work-around is to have the opening window build and execute the query itself, since that eliminates the need to call a method on the window object which is null (or I
    do not have access to for what ever reason).
    Since this works I cannot see what illegal or cross-domain stuff there should be going on in the original version. The only difference between the 2 versions is that in the 2nd version, once the window is opened, I don't need the window object for anything,
    like it did in the 1st version.
    I still like the 1st version better, so I'm still interested solving the mystery about the missing window object from openStdWin.

  • Oulook with CRM 2011 client crashes

    Hi,
    Looking for some help please for one of my clients.  
    Using Outlook 2010 and CRM 2011 - when user is using CRM outlook, without any specific action, randomly outlook will just pop up a window.  C:\Program Files (x86)\MicrosoftOffice\Office14\OUTLOOK.exe
    has stopped working.
    When using IE or any other browser everything is fine with no errors, so it only happens when using outlook.   Below is the trace files.
    [2015-01-08 12:39:17.787] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 15 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | CrmArgumentException..ctor ilOffset = 0x12
    at CrmArgumentException..ctor(String message) ilOffset = 0x12
    at EmailIdMappingTable.AddEmailMapping(String messageId, String entryId, String crmId, String regardingId) ilOffset = 0x50
    at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter) ilOffset = 0x2
    >Crm Exception: Message: Invalid id, ErrorCode: -2147220989, InnerException: System.ArgumentException: Invalid id
    [2015-01-08 12:39:17.787] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 15 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: | MiniDump.CreateDumpInternal ilOffset = 0x5
    at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception) ilOffset = 0x5
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace) ilOffset = 0x8D
    at CrmArgumentException..ctor(String message) ilOffset = 0x12
    at EmailIdMappingTable.AddEmailMapping(String messageId, String entryId, String crmId, String regardingId) ilOffset = 0x50
    at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter) ilOffset = 0x2
    >MiniDump: TraceDirectory setting not set or missing. Defaulting to temporary folder.
    Any help will be greatly appreciated.
    Please Help!

    Daniel,
    I meant I gave up on deploying it. Since the plugin was causing freezing and crashing since our office updated from CRM 2011 to 2013 I just ended up manually going from PC to PC.
    Just used a batch to run the uninstall silently to speed up the process of manually uninstalling the software from around 60 systems:
    1. Loaded 4 USB sticks with the full ininstall directory
    2. Make a batch file (txt file rename .bat after editing) containing "SetupClient.exe /X /S"
    3. Plug USB stick in and run the .bat
    This would also work on a network share but not everyone in this office has access to the same network shares so this was simplest.
    I do think this problem may be remedied by PS App deploy toolkit-
    http://staffnet/operations/it/infrastructure/Lists/Helpdesk%20Matrix/AllItems.aspx?InitialTabId=Ribbon%2EListItem&VisibilityContext=WSSTabPersistence
    It seems that the install fails due to other applications running or a prerequisite not being met, but will not supply a failure code and as such does not retry later. Very frustrating stuff.

  • How do I change multiple list items at once in a SharePoint list with ribbon button

    Hi
    I have a sharepoint list and a ribbon button that open a dialog box with buttons to set color on a row
    The problem is that i can only selecet one item at once to set the color. 
    How can i do so it could set all or a couple items att once to the color i want 
    I want to do this with javascript
    here is the code i use to get the item id and the color code is in a seperate js file
    'use strict';
    var clientContext, hostweburl, parentContext, parentWeb, selectedItem, itemId, listId;
    clientContext = new SP.ClientContext.get_current();
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    listId = decodeURIComponent(getQueryStringParameter("SPListId"));
    itemId = decodeURIComponent(getQueryStringParameter("SPListItemId"));
    parentContext = new SP.AppContextSite(clientContext, hostweburl);
    parentWeb = parentContext.get_web();
    selectedItem = parentWeb.get_lists().getById(listId).getItemById(itemId);
    $(document).ready(function () {
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(OnSuccess, OnFail);
    function OnSuccess() {
    $("#Blue").click(function () {
    selectedItem.set_item('Color', 'Blue');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Green").click(function () {
    selectedItem.set_item('Color', 'Green');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Red").click(function () {
    selectedItem.set_item('Color', 'Red');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Transparent").click(function () {
    selectedItem.set_item('Color', 'No Color');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });

    Check if below can help you
    http://sp2010batchedit.codeplex.com/
    http://sharepoint.stackexchange.com/questions/35935/use-view-ribbon-custom-action-on-multiple-list-items
    http://webcache.googleusercontent.com/search?q=cache:XqMO-PRLHQIJ:dannyjessee.com/blog/index.php/2014/06/enabling-custom-ribbon-buttons-dynamically-based-on-multiple-selected-item-values-using-refreshcommandui-and-jsom/+&cd=1&hl=en&ct=clnk&gl=in
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="DannyJessee.TestCustomAction"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="DannyJessee.MarkItemsFinishedButton"
    Command="cmdMarkItemsFinished"
    Image16by16="/_layouts/images/kpinormallarge-0.gif"
    Image32by32="/_layouts/images/kpinormallarge-0.gif"
    LabelText="Mark as Finished"
    TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="cmdMarkItemsFinished"
    CommandAction="javascript:MarkItemsFinished();"
    EnabledScript="javascript:EnableFinishedButton();">
    </CommandUIHandler>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <CustomAction Id="DannyJessee.TestScript"
    Location="ScriptLink"
    ScriptSrc="/_layouts/15/CustomRibbonButton/CustomAction.js" />
    </Elements>
    If this helped you resolve your issue, please mark it Answered

  • Override "Email a Page link" in ribbon button functionality in SharePoint 2013

    Hi,
    I want to override "Email a Page link" ribbon button functionality on the ribbon control.
      <CustomAction Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Location="CommandUI.Ribbon"                
                    Title="Custom Email this page">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.Share.EmailPageLink">
              <Group
              Id="Ribbon.WikiPageTab.Share"
              Sequence="30"
              Command="ShareGroup"
              Description=""
              Title="$Resources:core,cui_GrpShare;"
              Image32by32Popup="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32PopupTop="-137" Image32by32PopupLeft="-103"
              Template="Ribbon.Templates.Flexible2"
              >
                <Controls Id="Ribbon.WikiPageTab.Share.Controls">
                  <Button
                    Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Sequence="10"
                    Command="CustomEmailPageUrl"
                    Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-115" Image16by16Left="-19"
                    Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-137" Image32by32Left="-511"
                    LabelText="$Resources:core,cui_ButEmailLink;"
                    ToolTipTitle="$Resources:core,cui_ButEmailLink;"
                    ToolTipDescription="$Resources:core,cui_STT_ButEmailLinkPage;"
                    TemplateAlias="o1"
                   />
                </Controls>
                  </Group>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CustomEmailPageUrl" CommandAction="javascript:alert('Hello, world');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    According to your post, my understanding is that you wanted to override the “E-mail a Link” button on the Ribbon.
    I had created a simple demo to override the “E-mail a Link” button on the Ribbon, you can have a look at it.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.OverrideEmailLinkButton" Location="CommandUI.Ribbon" RegistrationId="101" RegistrationType="List" Title="Display the UniqueId for the list item.">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Library.Share.EmailLibraryLink">
    <Button Id="Ribbon.Library.Share.EmailLibraryLink.ReplacementButton" Command="ReplacementButtonCommand" Image16by16="http://s10.postimage.org/lhar0oijp/U16.png" Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png" LabelText="Replaced Button" TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ReplacementButtonCommand" CommandAction="javascript:alert('This button has been replaced.');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference:http://msdn.microsoft.com/en-us/library/office/ff407619(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • CRM 2011+An error has occurred during report processing. (rsProcessingAborted)

    Hi,
     i have installed CRM 2011 on-premise version in Server A. Database and CRM 2011 Reporting Extenison in Server B. Both the server are 64 bit server and IIS 7.0 . i can able to browse the Report server url. USer as been added in Sql DB Logins and
    as permission to Reportserver and ReportservertempDB.
    i can able to access the CRM Reports only using Admin Credenttials that is from the credential which Report server is installed and configured
    Error in server 1: 
    Web service request SetDataSourceCredentials to Report Server
    (http://servername/Reportserver_XXXSQLSRVR)failed with SoapException. Error: An error has occurred during report processing. (rsProcessingAborted).
    Error in Server 2: took this error From error log file
    processing!ReportServer_0-1!7e4!03/16/2011-10:34:51:: e ERROR: Data source 'CRM': An error has occurred. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
    Caller S-1-5-21-1587242514-2812063576-513219026-1110 has insufficient privilege to run report as user 9f69b98c-c73d-e011-bd85-842b2b6567dd
    processing!ReportServer_0-1!7e4!03/16/2011-10:34:51:: e ERROR: An exception has occurred in data source 'CRM'. Details: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
    Caller S-1-5-21-1587242514-2812063576-513219026-1110 has insufficient privilege to run report as user 9f69b98c-c73d-e011-bd85-842b2b6567dd
    processing!ReportServer_0-1!7e4!03/16/2011-10:34:51:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
    processing!ReportServer_0-1!7e4!03/16/2011-10:34:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'CRM'.
    ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Caller S-1-5-21-1587242514-2812063576-513219026-1110 has insufficient privilege to run report as user 9f69b98c-c73d-e011-bd85-842b2b6567dd
    Eventvwr error in server 2:
    Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015).
    I tried the Following ways to fix it
    1.added User as content manager
    2.In CRM apppool i have Admin in identity column
    its really paining when i'm unable to access the CRM 2011 Default Reports. got stucked for a day.
    Thanks, Saraswathy Kumaravelu

    Hi All,
    I encountered this same issue today after installing CRM 2011.
    CRM 2011 on Server A
    SQL and SSRS 2008 R2 on Server B
    I found that I got the same errors described here when running the standard reports even after I had installed the Reporting Extension (CRM 2011 replacement for CRM 4.0 Data Connector). The reason I got the error was because the 'Data Source Type' had not
    been updated in Report Manager.
    Here's how I resolved:
    1. Browse to Report Manager (http://SERVERB/Reports)
    2. Open the Organisation_MSCRM folder
    3. Click Show Details
    4. Open the MSCRM_DataSource
    5. Change the Data Source Type from Microsoft SQL Server
    to Microsoft Dynamics CRM SQL
    *Note: - This option is only available once Reporting Extension has been installed on SSRS Server.
    6. Clear the contents of the Connection String box
    7. Set the Connect Using: option to Credentials Supplied by user running the report
    but do NOT check the
    Use as Windows Credentials when connecting to the DataSource option.
    8. Click Apply
    9. Restart the SQL Reporting Services Service in
    Reporting Services Configuration Manager
    10. Test by running one of the Standard CRM Reports (e.g. User Summary)
    Ta Da!! - Success!!
    Hope this helps!

  • How can I get a List ID information using JScript on ribbon button click - SharePoint2010

    Dear All,
    I want to display the custom list ID column information on ribbon button click using a JScript.
    For This I have added a JScript in Layout folder in VS 2010 empty project solution and I have put
    the following Jscript code. While running and clicking the ribbon button, it seems like JScript is not
    invoking and not producing any result. It is like control is not going to Jscript file. How can I find out
    the issue???? can anyone please help me on anything wrong with my script or is
    it some-other problem which causes the blank result???
    It is a farm sharepoint2010 solution, debugging is not working in Visual Studio & IE!!!!
    Somebody please help, hard to find the error.....
    Please note the JScript Code: RibAlert.js
    <script>
    '//var siteUrl = '/sites/MySiteCollection';
    var siteUrl = 'http://a5-12457/AllItems.aspx';
    function retrieveListItems()
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Custom List');
    var camlQuery = new SP.CamlQuery();
    camlQuery.set_viewXml('<View><Query><Where><Geq><FieldRef Name=\'ID\'/>' +
    '<Value Type=\'Number\'>1</Value></Geq></Where></Query><RowLimit>10</RowLimit></View>');
    this.collListItem = oList.getItems(camlQuery);
    clientContext.load(collListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded(sender, args)
    var listItemInfo = '';
    var listItemEnumerator = collListItem.getEnumerator();
    while (listItemEnumerator.moveNext())
    var oListItem = listItemEnumerator.get_current();
    listItemInfo += '\nID: ' + oListItem.get_id() +
    '\nTitle: ' + oListItem.get_item('Title') +
    '\nBody: ' + oListItem.get_item('Body');
    alert(listItemInfo.toString());
    function onQueryFailed(sender, args)
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    Please note the Elements.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="CustomRibbonButton"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Manage.Controls._children">
    <Button
    Id="Ribbon.ListItem.Manage.Controls.TestButton"
    Command="ShowAlert"
    Image16by16="http://a5-12457/IconLib/ICONBTN.jpg"
    Image32by32="http://a5-12457/IconLib/ICONBTN.jpg"
    LabelText="Comapre alert"
    TemplateAlias="o2"
    Sequence="501" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <!-- <CommandUIHandler Command="AboutButtonCommand" CommandAction="javascript:alert();" EnabledScript="javascript:enable();"/> -->
    <CommandUIHandler Command="ShowAlert" CommandAction="javascript:alert();" EnabledScript="return true;"/>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <!-- <CustomAction Id="Ribbon.Library.Actions.Scripts" Location ="ScriptLink" ScriptSrc="/_layouts/DocumentTabTwo/RibButton.js" /> -->
    <CustomAction Id="Ribbon.Library.Actions.Scripts" Location ="ScriptLink" ScriptSrc="/_layouts/RibAlert.js" />
    </Elements>

    Dear All,
    I want to display the custom list ID column information on ribbon button click using a JScript.
    For This I have added a JScript in Layout folder in VS 2010 empty project solution and I have put
    the following Jscript code. While running and clicking the ribbon button, it seems like JScript is not
    invoking and not producing any result. It is like control is not going to Jscript file. How can I find out
    the issue???? can anyone please help me on anything wrong with my script or is
    it some-other problem which causes the blank result???
    It is a farm sharepoint2010 solution, debugging is not working in Visual Studio & IE!!!!
    Somebody please help, hard to find the error.....
    Please note the JScript Code: RibAlert.js
    <script>
    '//var siteUrl = '/sites/MySiteCollection';
    var siteUrl = 'http://a5-12457/AllItems.aspx';
    function retrieveListItems()
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Custom List');
    var camlQuery = new SP.CamlQuery();
    camlQuery.set_viewXml('<View><Query><Where><Geq><FieldRef Name=\'ID\'/>' +
    '<Value Type=\'Number\'>1</Value></Geq></Where></Query><RowLimit>10</RowLimit></View>');
    this.collListItem = oList.getItems(camlQuery);
    clientContext.load(collListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded(sender, args)
    var listItemInfo = '';
    var listItemEnumerator = collListItem.getEnumerator();
    while (listItemEnumerator.moveNext())
    var oListItem = listItemEnumerator.get_current();
    listItemInfo += '\nID: ' + oListItem.get_id() +
    '\nTitle: ' + oListItem.get_item('Title') +
    '\nBody: ' + oListItem.get_item('Body');
    alert(listItemInfo.toString());
    function onQueryFailed(sender, args)
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    Please note the Elements.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="CustomRibbonButton"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Manage.Controls._children">
    <Button
    Id="Ribbon.ListItem.Manage.Controls.TestButton"
    Command="ShowAlert"
    Image16by16="http://a5-12457/IconLib/ICONBTN.jpg"
    Image32by32="http://a5-12457/IconLib/ICONBTN.jpg"
    LabelText="Comapre alert"
    TemplateAlias="o2"
    Sequence="501" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <!-- <CommandUIHandler Command="AboutButtonCommand" CommandAction="javascript:alert();" EnabledScript="javascript:enable();"/> -->
    <CommandUIHandler Command="ShowAlert" CommandAction="javascript:alert();" EnabledScript="return true;"/>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <!-- <CustomAction Id="Ribbon.Library.Actions.Scripts" Location ="ScriptLink" ScriptSrc="/_layouts/DocumentTabTwo/RibButton.js" /> -->
    <CustomAction Id="Ribbon.Library.Actions.Scripts" Location ="ScriptLink" ScriptSrc="/_layouts/RibAlert.js" />
    </Elements>

  • Opening a long URL on click of button in CRM Web UI

    Hi Experts,
    I am facing an issue while opening a long URL (length greater than 255 char) on the click of a button in CRM Web UI.
    I have declared an attribute zv_url type string and populated the variable in event handler.
    Thereafter I have written below logic in .htm:
    <script type="text/javascript" language="javascript">
    window.open("<%=controller->zv_url%>").focus();
    </script>
    But the logic is not opening my URL, it is just opening a web window 'res://ieframe.dll/http_400.htm' with error page HTTP 400 Bad Request.
    If I try to modify the variable zv_url in debugging with a short url say 'http://www.google.com', it works correcly but due to the length of url, the logic is opening error page.
    Can you please help me out with this issue?
    Thanks in advance,
    Nitin Karamchandani.

    Hi Nitin,
    i will give you one suggestion when you click on button this url you need to open right.
    i have faced same problem last time. so at that moment i have done my code in do_prepare_output.
    when ever your declare your button properties there is one property onclientclick.
    CONCATENATE 'javascript:window.open( "http://YOURLINK.com:8000/sap/bc/gui/sap/its/webgui/!?~transaction=TCODE&~okcode=ICEXECUTE&sap-user=crm_remote&sap-password=sap_user&sap-client=300&IP_VBELV=' zvbeln '&~okcode=/00&");' INTO
    lv_string.
       ls_button-type     = cl_thtmlb_util=>gc_icon_print.
       ls_button-text     = 'PRINT'.
       ls_button-enabled  = me->view_group_context->is_view_in_display_mode( me ).
       ls_button-on_click = 'PRINT'.                             "#EC NOTEXT
       ls_button-on_client_click = lv_string.
       APPEND ls_button TO gt_button.
       CLEAR ls_button.
    try this..
    Thanks & Regards,
    Srinivask.

  • There was an error in callback while hooking Ribbon button in project server

    Hi All,
    We are getting sporadic issue related to Callback error in project server after implementation of to hook save ribbon button.
    Error Description:-
    eThere was an error in the callback.384|/wEWLALXmdD0DAKpn5bCCwLNrvW5AwK9+p7tAgLo7L7kCgKNqJ6SDALd66mOAgK28832DwKP8832DwKz87HKBgK386WtDQK186WtDQKJ84mABALh4KLMBgLY4KLMBgLk4N7wDwLg4MqXBALi4MqXBALe4Oa6DQKThqG1AwKqhqG1AwKWht2JCgKShsnuAQKQhsnuAQKshuXDCAK9ptOEBQKEptOEBQK4pq+4DAK8prvfBwK+prvfBwKCppfyDgLA+vSFDQL5+vSFDQLF+oi5BALB+pzeDwLD+pzeDwL/+rDzBgLHtYnXAgL+tYnXAgLCtfXrCwLGteEMAsS14QwC+LXNoQkCyOSp1g+AouWT1aul62L1BetYTwN/Gc1roQ==s<RESULT
    />
     Please have a look at code implementation for hooking save button;-
    OnPreRender implemented java script code to hook the ribbon “Save” button. Attached code for your reference.
    Code:-
    protected override void OnPreRender(EventArgs e)
                    base.OnPreRender(e);
                    var saveFunc = Page.ClientScript.GetPostBackClientHyperlink(_lnbSaveProject, "");
                    //register script for hooking up into the page structure.
                    var uniqueScriptName = "PDP Class " + ClientID;
                    var script = string.Format(@"
                                            var WPDP_{0} =  new
    object();
                                            var oElem = null;
                                            WPDP_{0}.Save = 
    function pfp_Save(ctx)
    if({1})
    var arg = '';
    {2}
    ctx.Completed();
                                            WPDP_{0}.Validate = 
    function pfp_Validate()
    return true;
                                            function SaveCallback_{0}(result,
    ctx) {{ 
    if (result != '') {{ 
    SaveErrorCallback_{0}(result, ctx); 
    else {{ 
    ctx.Completed(); 
                                            function SaveErrorCallback_{0}(result,
    ctx) {{ 
    ctx.FailedShowInlineErrors(result); 
                                            WPDP_{0}.IsDirty =
    false;", ClientID, doesFileExist.ToString().ToLower(), saveFunc);
                    Page.ClientScript.RegisterClientScriptBlock(GetType(), uniqueScriptName, script, true);
    Note:-
    1) There is no  Error occurs in event viewer , SharePoint trace log
    2) We have done exception handling for all the methods and tracking it at data base level but no exception found
    3) HTTPS implemented.
    Let me know in case of any query.
    Regards
    Vipin Upadhyay
    Vipin Upadhyay

    Hi All,
    We are getting sporadic issue related to Callback error in project server after implementation of to hook save ribbon button.
    Error Description:-
    eThere was an error in the callback.384|/wEWLALXmdD0DAKpn5bCCwLNrvW5AwK9+p7tAgLo7L7kCgKNqJ6SDALd66mOAgK28832DwKP8832DwKz87HKBgK386WtDQK186WtDQKJ84mABALh4KLMBgLY4KLMBgLk4N7wDwLg4MqXBALi4MqXBALe4Oa6DQKThqG1AwKqhqG1AwKWht2JCgKShsnuAQKQhsnuAQKshuXDCAK9ptOEBQKEptOEBQK4pq+4DAK8prvfBwK+prvfBwKCppfyDgLA+vSFDQL5+vSFDQLF+oi5BALB+pzeDwLD+pzeDwL/+rDzBgLHtYnXAgL+tYnXAgLCtfXrCwLGteEMAsS14QwC+LXNoQkCyOSp1g+AouWT1aul62L1BetYTwN/Gc1roQ==s<RESULT
    />
     Please have a look at code implementation for hooking save button;-
    OnPreRender implemented java script code to hook the ribbon “Save” button. Attached code for your reference.
    Code:-
    protected override void OnPreRender(EventArgs e)
                    base.OnPreRender(e);
                    var saveFunc = Page.ClientScript.GetPostBackClientHyperlink(_lnbSaveProject, "");
                    //register script for hooking up into the page structure.
                    var uniqueScriptName = "PDP Class " + ClientID;
                    var script = string.Format(@"
                                            var WPDP_{0} =  new
    object();
                                            var oElem = null;
                                            WPDP_{0}.Save = 
    function pfp_Save(ctx)
    if({1})
    var arg = '';
    {2}
    ctx.Completed();
                                            WPDP_{0}.Validate = 
    function pfp_Validate()
    return true;
                                            function SaveCallback_{0}(result,
    ctx) {{ 
    if (result != '') {{ 
    SaveErrorCallback_{0}(result, ctx); 
    else {{ 
    ctx.Completed(); 
                                            function SaveErrorCallback_{0}(result,
    ctx) {{ 
    ctx.FailedShowInlineErrors(result); 
                                            WPDP_{0}.IsDirty =
    false;", ClientID, doesFileExist.ToString().ToLower(), saveFunc);
                    Page.ClientScript.RegisterClientScriptBlock(GetType(), uniqueScriptName, script, true);
    Note:-
    1) There is no  Error occurs in event viewer , SharePoint trace log
    2) We have done exception handling for all the methods and tracking it at data base level but no exception found
    3) HTTPS implemented.
    Let me know in case of any query.
    Regards
    Vipin Upadhyay
    Vipin Upadhyay

  • Problem with CRM 2011 web front end cluster

    Hi.
    We have a CRM 2011 (RU17) environment with a SQL DB server and 2 web front end CRM server in a cluster.
    Since few days (about 10) it seems that one of the 2 nodes is not working, and since yesterday many users report access problems when calling the application by cluster name - as usual since we deployed CRM 1 year ago.
    I tried myself, and I can run the application by cluster name without problems. If it try the separate notes addresses, one of them works, the other doesn't.
    I checked the 2 web front end servers, and are (or seem) both properly configured, with all patches installed.
    Following the information I got from Event viewer. Any suggestion welcomed!
    Many thanks and Best regards
    On the 'faulty' server I have different errors at event viewer level:
    Faulting application name: Microsoft.Crm.Sandbox.HostService.exe, version: 5.0.9690.4150, time stamp: 0x53559982
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
    Exception code: 0xe0434352
    Fault offset: 0x000000000000940d
    Faulting process id: 0x6f8
    Faulting application start time: 0x01cf8f93aa9a7ff8
    Faulting application path: C:\PROGRA~1\MICROS~4\Server\bin\Microsoft.Crm.Sandbox.HostService.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: f5019a68-fb86-11e3-9f21-005056853970
    Application: Microsoft.Crm.Sandbox.HostService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
    Stack:
       at Microsoft.Crm.Sandbox.HostService.InitializeThreadProc(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    The Sandbox Host service has encountered an unexpected error and has stopped.
     Source: Microsoft.Crm.Sandbox.HostService.exe (1784)
     Error: System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.Crm.SecurityUtils.GetSidFromAD(Guid objectGuid)
       at Microsoft.Crm.Sandbox.SandboxHost.SetPrivilegeUserGroupId(Guid privilegeUserGroupId)
       at Microsoft.Crm.Sandbox.HostService.InitializeThreadProc(Object stateInfo)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    On the 'running' server event viewer I only have one error, related to mail router:
    #23379 - Could not verify the version of Microsoft Dynamics CRM at http://alkcg106.d30.intra:5555/AkzoNobelIndustrialCoatings. There was no endpoint listening at http://alkcg106:5555/AkzoNobelIndustrialCoatings/XRMServices/2011/Organization.svc that could
    accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

    Apologize for not having indicated here the resolotion I got thanks to MS support...
    We enabled the trace and we got
    a http error page stating maxQueryStringLength was insufficient. We changed the maxQueryStringLength and QueryString values in the CRM web.config value to 10240.
    We also noticed an error related to the DC being unavailable. We checked in the CRM registry hive and see in the non-working server you had a PreferredDc key pointing to “AMDNAD”. On pinging
    AMDNAD we see it is not reachable. We removed the PreferredDc key and after iisreset we can navigate to crm.

  • Custom report Fetch XML error in CRM 2011 online version

    When i am trying to connect to my online CRM 2011 server below error appears
    Unable to connect to data source 'DataSource1'.The connection to server "https://{my org name}.crm5.dynamics.com/XRMServices/2011/Discovery.svc"
    could not be established. Make sure that the connection string and credentials are correct, and try again.
    I also tried as per Abhishek Agarwal MSFT suggestion as
    1. Make sure that the credentials are correct.
    2. Try accessing the same URL through the web browser by providing the same credentials.
    3. Try enabling traces for BIDS and look for the detailed error logs. You can do this by creating the regular
    CRM trace registry entries under HKLM\SOFTWARE\Microsoft\MSCRMBidsExtensions or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSCRMBidsExtensions is you have a 64 bit
    machine.
    but nothing happens, trace log is
    ExceptionManager.PrepareException
    >Unhandled Exception: Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: The connection to server "https://xxx1.crm5.dynamics.com/XRMServices/2011/Discovery.svc"
    could not be established. Make sure that the connection string and credentials are correct, and try again.
    >
    >Inner Exception: Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Metadata contains a reference that cannot be resolved: 'https://xxx1.crm5.dynamics.com/XRMServices/2011/Discovery.svc?wsdl'.
    >   at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
    >   at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
    >   at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
    >   at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(Uri address, MetadataExchangeClientMode mode)
    >   at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpoints(Type contractType, Uri serviceUri)
    >   at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri)
    >   at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)
    >   at Microsoft.Crm.ServiceConfigurationCache`1.GetServiceConfiguration(Uri serviceUrl)
    >   at Microsoft.Crm.ServiceProxyCache`1.GetServiceProxy(Uri serviceUrl, Credential credentials, Uri homeRealmUrl, String passportEnvironment)
    >Inner Exception: Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: The remote server returned an error: (407) Proxy Authentication Required.
    >   at System.Net.HttpWebRequest.GetResponse()
    >   at System.ServiceModel.Description.MetadataExchangeClient.MetadataLocationRetriever.DownloadMetadata(TimeoutHelper timeoutHelper)
    >   at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

    First, please make sure you are using the right version of Microsoft Dynamics CRM 2011 Report Authoring Extension
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=64a09b75-8376-4b9d-aea3-8a83a1837c4d
    Second, please make sure the connection string is correct, for CRM online,
    The connection string should be: <ServerURL>;<OrganizationUniqueName>;<HomeRealmURL>
    In this connection string, only <ServerURL> is mandatory.
    For more details, please refer to
    http://rc.crm.dynamics.com/rc/2011/en-us/online/5.0/help/how_rpt_customcreatefetchrs.htm
    Please remember to click “Mark as Answer” on the post that helps you. Jackie Chen, Microsoft Online Community Support

Maybe you are looking for

  • The old "backup disk cannot be found" conundrum

    i've seen this message a few times before but the resolution has always been as simple as checking the connection. but not this time. time machine is not seeing the external drive at all. it shows up in disk utility and these are the messages i recei

  • Sending XML file as attachment in E-mail

    Hi, I'm facing a problem with sending e-mails with an XML-file as attachment. Scenario is as follows: - I collect the payload from XI with FM 'SXMB_READ_MESSAGE_VERSION_RAW'. - This payload is in the form of an xstring. - I convert this xstring to bi

  • Database trigger in java and design

    Hi Experts, I have develop a system which query table after every three second and get new records and do processing, i expect lot of people suggest to use database trigger option, but i have following constraint. I am using Oracle 10g which is avail

  • Trimming and moving clip problem since update 8.1.0

    The latest update has brought on a small bug that I am starting to notice when dragging or trimming clips.  Unlike previously, the point when the cursor transforms to a 'trim icon' (when hovering over the edge of a clip selected or otherwise) is not

  • If icloud is not on my computer will that affect login into icloud through my iphone 4s

    the SIGN IN TO ICLOUD DIALOG BOX reappears after I enter my password. Additionally, icloud is not downloaded on to my computer. Why isn't icloud accepting my password ? How do I resolve this issue?