You probably have Custom Action and a plugin hooked up to your Custom Action Message and are trying to deploy this in a solution.
Error:
This is a known error for Dynamics CRM 2013, and Microsoft promised to to fix it in the URs coming
Workaround:
Deploy your solution without plugins
Register Plugins manually using VS Deployment tool OR Plugin Registration Tool
Thanks,
KR
Kgopotsoriba.net
Thursday, 2 October 2014
Thursday, 6 February 2014
Useful Link: Route emails to Queues in Dynamics CRM 2013
http://www.tjopsta.net/2013/02/25/how-to-setup-automated-email-queues-with-microsoft-crm-online-and-office-365/
Monday, 20 January 2014
MVC pages not loading images and CSS files in IIS (Http Error 401.3 - Unauthorized)
I developed an MVC application that worked very well in my Dev - In deployment it would not load CSS file and images:
>Yes I added IIS_IUSRS to the folder security
>Yes Anonymous Authentication is enabled
>Here's a catch - Right Click Anonymous Authentication - Change from Specific User to Application Pool identity
>Yes I added IIS_IUSRS to the folder security
>Yes Anonymous Authentication is enabled
>Here's a catch - Right Click Anonymous Authentication - Change from Specific User to Application Pool identity
Monday, 7 October 2013
Monday, 10 September 2012
Filtered CRM LookUp Fields in style
Backround:
I had a crazy requirement on how the lookup value need to be selected, this included a lot of business rules and filtering. I chose to go the custom page route, two fields which are looksups and are dependant on each other. Financial Year determines the values for Business Unit
Details:
I used a custom aspx page that accepts Financial Year ID and Business Unit ID from the crm form- lookup fields hidden on the form. if the Ids are recieved then this is an exisiting record then i set the values on my custom page to wat is recieved from query string. I also read values that could be selected depending on the business rules. for axample only future financial years could be selected.
If querystring is empty I then just fill my dropdown with possible values. If the financial year is seleccted I fill in my business Unit dropdown with treeview that is built to easily allow the user to select the right Business Unit they belong to/want to work with. I then put the lookup image next to the treeview-embeded dropdown so that a user can click to pop open the actual crm entity we are looking up. the highlighted rows on the screenshop above is my custom page in an IFrame. these controls are Telerik controls.
I then read the values from the iframeon the onsave event,
var fycontrol = crmForm.all.IFRAME_FY.contentWindow.document.getElementsByName("hfSelectedFYId")[0];
var bucontrol = crmForm.all.IFRAME_FY.contentWindow.document.getElementsByName("hfSelectedBU")[0];
I check if these are set. if not I cancel the saving event as these two fields are Business Required.
Happy Coding!
Friday, 25 May 2012
SharePoint 2010 MasterPage
All content place holders in SharePoint - when designing a custom sharepoint webpart
http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=386
http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=386
Friday, 18 May 2012
Moving CRM Organization from one environment to another
Hi Friends,
This is a step-by-step process to successfully moving your CRM Organization from one invironment to another. This also includes errors that are likely to occur:
1. Bakup your Organization_MSCRM database on old environment - In sql right click the database - Tasks - BackUp
2. Install a clean CRM on your new environment with a Temporary organisation - this will be ditched later
2. Restore the Database backed-up in step 1 on the new environment - In Sql right click the Database folder - Restore Database - In database enter the original name of the database you backedup in step one, select from file - click ... to browse to the .bak file you got from step 1
3. Now Open Deployment Manager - on Organization folder - right click- Import. Click Yes to confirm the pop up
4. Enter the database server name of the new environment
5. Select the Database you restored (you moved from the old environment)
(Are you on the same domain or NOT)
if you are on the same domain, continue and make sure the users are mapped properly - If not the same then map them manually - BEST thing is to only map the setup administrator users only - the rest can be done later
6. Click next to create - this takes some time depending on the size of your database
Should you get the error :
An error occurs when importing an organization in Microsoft Dynamics CRM 4.0 “ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.”
Solution: follow these steps and come back and try again from step 3.
7. The Organization has been imported.
8. Open Crm :
Should you get the error :
"ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"
one or both of the two fixes might help:
Go to SQL
8.1 Setup default organization for all users by runing the two sql queries
Use MSCRM_CONFIG
SELECT Id, UniqueName FROM Organization
Copy the Guid of the organization you just imported [newOrgGuid]
Use MSCRM_CONFIG
UPDATE SystemUser
SET DefaultOrganizationId = [newOrgGuid]
__________________
try Step 8 again:
Should you get the error :
"ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"
then Go to SQL still
Go to Security
go to NETWORK\SERVICE
GOTO UserMapping
Select the new Organization Database
Make sure NETWORK\SERVICE is the db_owner
Continue with step 8.
If issues are still found share with me!
This is a step-by-step process to successfully moving your CRM Organization from one invironment to another. This also includes errors that are likely to occur:
1. Bakup your Organization_MSCRM database on old environment - In sql right click the database - Tasks - BackUp
2. Install a clean CRM on your new environment with a Temporary organisation - this will be ditched later
2. Restore the Database backed-up in step 1 on the new environment - In Sql right click the Database folder - Restore Database - In database enter the original name of the database you backedup in step one, select from file - click ... to browse to the .bak file you got from step 1
3. Now Open Deployment Manager - on Organization folder - right click- Import. Click Yes to confirm the pop up
4. Enter the database server name of the new environment
5. Select the Database you restored (you moved from the old environment)
(Are you on the same domain or NOT)
if you are on the same domain, continue and make sure the users are mapped properly - If not the same then map them manually - BEST thing is to only map the setup administrator users only - the rest can be done later
6. Click next to create - this takes some time depending on the size of your database
Should you get the error :
An error occurs when importing an organization in Microsoft Dynamics CRM 4.0 “ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.”
Solution: follow these steps and come back and try again from step 3.
7. The Organization has been imported.
8. Open Crm :
Should you get the error :
"ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"
one or both of the two fixes might help:
Go to SQL
8.1 Setup default organization for all users by runing the two sql queries
Use MSCRM_CONFIG
SELECT Id, UniqueName FROM Organization
Copy the Guid of the organization you just imported [newOrgGuid]
Use MSCRM_CONFIG
UPDATE SystemUser
SET DefaultOrganizationId = [newOrgGuid]
__________________
try Step 8 again:
Should you get the error :
"ExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"
then Go to SQL still
Go to Security
go to NETWORK\SERVICE
GOTO UserMapping
Select the new Organization Database
Make sure NETWORK\SERVICE is the db_owner
Continue with step 8.
If issues are still found share with me!
Subscribe to:
Posts (Atom)