MS CRM 4.0 Can Not Go Online

October 12th, 2009 by Worldwide No comments »

PROBLEM:


·        MS CRM 4.0 Outlook 07 Client cannot go online, throwing error “Microsoft Dynamics CRM cannot go online. The Microsoft Dynamics server was not found”.

 

·        You can successfully use the web client.

 

·         None of the rollups fix the problem.

 

·         Client is running Windows Vista.

 

·         Server is running Windows 2003 family, including SBS2003.

 

 

SOLUTION THAT WORKED FOR ME:


If a user changes their domain password, this might not properly propagate to CRM. Change domain password back to the previous one (using either the client computer or the server) then try again.

 

 

 

OTHER POSSIBLE SOLUTIONS:


·         Ensure the user has been assigned an appropriate security role. If the user has not been assigned a role, CRM will not connect.

 

·         Programs such as Content Protect (Content Watch) can also interfere with the connection between the client and the server. Try either adding the CRM website URL (don’t forget the IFD, or internet facing deployment address as well as the internal address) as an allowed website to the web exceptions sites list and / or choose to allow secure content under the “Secure Internet Content (HTTPS)” section in settings.

 

·         Try re-setting the organisation settings by clicking on the CRM menu in Outlook 2007 and choosing Change Organization.

 

·         Stop or unload any anti-virus programs or firewalls and try to go online

 

·         In Internet Options, ensure the URL for CRM is in the trusted sites zone and making Internet Explorer the default browser.

 

·        If the message you are getting is more like the following: “Unable to connect. Still unable to connect to Microsoft Dynamics CRM. Microsoft Dynamics CRM will restore the connection when possible. To stop retrying, right-click and select Sign Out”, it could be that anonymous access to the _imgs folder in the Microsoft Dynamics CRM Web site in IIS on the server has been disabled. Try the following article if that is the case: http://support.microsoft.com/default.aspx/kb/951146

 

·       Try installing the latest rollup. Information on all the latest hotfixes and rollups is located here http://support.microsoft.com/kb/949256

 

·      Common troubleshooting steps now located here: http://blogs.msdn.com/crm/archive/2009/05/29/troubleshooting-the-microsoft-dynamics-crm-client-for-outlook.aspx

 

·         If you are feeling masochistic, uninstall/reinstall CRM Client:

·         Easy instructions found here http://social.microsoft.com/Forums/en-US/crmdeployment/thread/27bfe765-09a6-4cf1-bc00-e51f811baab0,

·         Which might have come from here (may require subscription, but either way the info is the same): http://www.experts-exchange.com/Database/Software/CRM/Q_23119039.html

·         Something more official here (relates to CRM 3.0, but largely the same as for 4.0) http://www.microsoft.com/dynamics/crm/using/deploy/removeclient.mspx

 

·         If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share

MS CRM 4.0 Unable to Publish Workflows

October 12th, 2009 by Worldwide No comments »

PROBLEM:


  • You cannot publish a workflow in CRM, with the following error appearing “An error occurred when the workflow was being created. Try to save the workflow again.”

  • None of the rollups fix the problem – or, one of the rollups caused the problem.

  • Client is running Windows Vista.

  • Server is running Windows 2003 family, including SBS2003.

SOLUTION THAT WORKED FOR ME:


Various rollups over time have modified the web.config file to include various configuration lines. Some of these modifications can fail.

The solution to this one’s all over the internet, but the solution isn’t consistent. The best and quickest one seems to be:

Take a backup of your web.config file, then modify it to add the following under the <authorizedTypes> tag at the end before the </authorizedTypes> tag:

<authorizedType Assembly=”mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ Namespace=”System.Globalization” TypeName=”CultureInfo” Authorized=”True”/>

However, I would suggest you also look at the following three lines and see if any of these are missing from the file also. If you, add these in too:

<authorizedType Assembly=”mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ Namespace=”System”  TypeName=”Void” Authorized=”True”/>

<authorizedType Assembly=”mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ Namespace=”System.Reflection”  TypeName=”AssemblyFileVersionAttribute” Authorized=”True”/>

<authorizedType Assembly=”mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ Namespace=”System.Reflection”  TypeName=”AssemblyVersionAttribute” Authorized=”True”/>

After making the changes above, restart IIS.

The above three lines came from http://www.msexperts.org/blogs/mark/archive/2009/06/19/error-while-publishing-crm-4-0-workflow.aspx

The reason for differences in opinion over which lines to add back in relates firstly to the different rollups everyone has installed and secondly to comparisons some people have made between a backup version of the web.config file they have retained and the current appearance of their file. A definitive list of changes to the web.config file can be found here: http://support.microsoft.com/kb/968793

OTHER POSSIBLE SOLUTIONS:


  • Uninstall the latest rollup to revert to previous one. If this works try to re-install the rollup again.

  • If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.
Bookmark and Share

MS CRM 4.0 Reports Fail to Display

October 12th, 2009 by Worldwide No comments »

PROBLEM:


·        Reports fail to display in MS CRM 4.0, with the following error shown “Reporting Error. The report cannot be displayed”.

 

·        If you have DevErrors turned on – which you should – (use CRM diagnostics tool on the server or modify the Web.Config file directly), the user might see one of the following errors under the Full Stack section: “[MissingParameterException: The 'CRM_Full_Name' parameter is missing a value]” or “[MissingParameterException: The 'CRM_CalendarType' parameter is missing a value]” or even “[ReportServerException: The permissions granted to user ‘<user>’ are insufficient for performing this operation.”

 

·        This can happen when using either the web client or the Outlook 2007 client.

 

·         None of the rollups fix the problem.

 

·         Server is running Windows 2003 family, including SBS2003.

 

 

SOLUTION THAT WORKED FOR ME:


This can occur when the Domain Logon Name field in CRM does not match the user’s actual domain account name. It might be because the name in CRM has been misspelled or the domain account name was changed on the server but not updated or fails to propagate correctly in CRM.

 

Check that the Domain Logon Name in CRM matches the user’s domain account name exactly. If it already does, change it to another user’s name then back to the original user’s logon name.

 

If you can’t change the name in CRM because it throws the following error: “You are attempting to create a user with a domain logon that is already used by another user. Select another domain logon and try again.”, change the Domain Logon Name field to another user who is not currently a CRM user. If you have none, create a temporary user on the server, change the Domain Logon Name to this user, then change back to the original user. This tip comes from http://navintmicrosoftcrm.blogspot.com/2008/12/how-to-correct-microsoft-dynamics-crm.html

 

A user should theoretically be blocked from accessing CRM if their Domain Logon Name does not match their actual domain name however Microsoft CRM seems to be the reason the word “theoretically” was conceived. Users can sometimes access CRM when the domain names don’t match but any reports would fail because reporting services produces the reports, not CRM.

 

 

OTHER POSSIBLE SOLUTIONS:


·         Check the authentication mode in the datasource for the report(s) and in IIS. It should be set to Windows Integrated Authentication.

 

·        Check the affected users have been assigned a security role in CRM.

 

·         Try installing the latest rollup. Information on all the latest hotfixes and rollups is located here http://support.microsoft.com/kb/949256/en-us

 

·      If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share

MS CRM 4.0 Email Messages Fail to Send

October 12th, 2009 by Worldwide No comments »

PROBLEM:


·        Email messages fail to send in MS CRM 4.0, with an information bar appearing near the title in the email showing error “The message has not yet been submitted for delivery”.

 

·        Sometimes the email sends after a long time, but it may not send at all

 

·        This can happen while using either the web client or the Outlook 2007 client and it does not matter whether the emails were created by the user or a workflow.

 

·       Occurs when the user is set to send email through the email router.

 

·        When you look at the email router service on the server, it has stopped. If you try to re-start the service, it might start but then immediately stop or it might not start at all.

 

·         None of the rollups fix the problem.

 

·         Server is running Windows 2003 family, including SBS2003.

 

 

SOLUTION THAT WORKED FOR ME:


Rename or delete the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file, which is usually located in C:Program FilesMicrosoft CRM EmailService folder.

 

This was sourced from http://www.interactivewebs.com.au/DesktopModules/iCRMKnowledgeBase/Article2PDF.aspx?id=50&ModuleID=2349

who derived their elegantly written solution from http://crm.davidyack.com/journal/2008/2/10/the-e-mail-router-service-could-not-run.html

 

 

OTHER POSSIBLE SOLUTIONS:


·         You might need to set the ConfigUpdatePeriod to a shorter length of time in the Microsoft.Crm.Tools.EmailAgent.xml file, which you can go by following the instructions here: http://support.microsoft.com/kb/952019

 

·        Some people have found that when the Email Router service is restarted, stuck mails actually send (but this is not always the case). If this does work, try creating a scheduled task that re-starts the service every few minutes.

 

·         The Email Router may not have been configured correctly. The following is a small thing you can easily check: http://niths.wordpress.com/2008/08/27/this-message-has-not-yet-been-submitted-for-delivery or something a bit more involved here: http://ts2blogs.com/blogs/larrylentz/archive/2008/02/16/configuring-crm-4-0-e-mail-router.aspx and they have some nice information about configuration here too: http://blogs.msdn.com/crm/archive/2008/03/21/mscrm-v4-e-mail-configuring-for-a-small-business.aspx.

 

·       If you do not need to use the email router at all, it might be simpler for each user to send email using Outlook. Change the setting for each user by going to Settings à Administration à Users, then click on each user profile and under Email Access Configuration section, choose Microsoft Dynamics CRM for Outlook as the Outgoing type. Be aware that when you do this, Outlook needs to be open and connected to the server for a given user’s email to be sent, even if created by a workflow under a particular user’s credentials.

 

·         You can try tracing the problem using the tool found here http://blogs.msdn.com/benlec/archive/2008/07/02/crm-4-0-e-mail-connector-logger-tool.aspx with instructions here http://blogs.msdn.com/benlec/archive/2008/03/25/how-to-implement-logging-for-the-microsoft-crm-4-0-e-mail-connector.aspx just in case it’s a configuration issue that is not picked up elsewhere.

 

·         Re-installing to email router

 

·         Try installing the latest rollup. They’ve got to be up to rollup 76,428 by now…has anyone informed Microsoft that releasing seventy six thousand rollups is actually a BAD thing, not a good thing?? Information on all the latest hotfixes and rollups is located here http://support.microsoft.com/kb/949256/en-us

 

·      If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share

MS CRM 4.0 You Cannot Update the Owner Field Using Workflow

October 12th, 2009 by Worldwide No comments »

PROBLEM:


·         You are using Microsoft CRM 4.0

 

·         You cannot update the owner field of an entity in MS CRM 4.0 using workflow because when you click the lookup button on the Owner field, CRM displays an error report with ” Exception of type ‘System.Web.HttpUnhandledException’ was thrown” under the Error Details section and the following appears as the first line under the Full Stack section” [FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).]“

 

·         None of the rollups fix the problem

 

·         Client is running Windows Vista

 

·         Server is running Windows Server 2003 family, including SBS2003.

 

 

SOLUTION THAT WORKED FOR ME:


You cannot update the owner of a record using the Update step within workflow. You have to do this using the an Assign step instead. The owner field really should be greyed out when using the Update step however this appears to be a bug within CRM.

 

Refer to http://social.microsoft.com/Forums/en-US/crm/thread/10a030b6-6c24-4b72-adf6-7b5d53821fca

 

 

OTHER POSSIBLE SOLUTIONS:


·         N/A

Bookmark and Share

MS CRM 4.0 Outlook Client Popup Blocker Message

October 12th, 2009 by Worldwide No comments »

PROBLEM:


  • You are using MS CRM 4.0 Outlook 07 Client and receiving error “A Microsoft Dynamics CRM window was unable to open, and may have been blocked by a popup blocker”, when opening a record.
  • Error does not appear when using the web client.
  • Client is running Windows XP or Vista with Internet Explorer 8 (possibly also IE7)
  • Server is running Windows Server 2003 family, including SBS2003.

  • None of the rollups fix the problem

SOLUTION THAT WORKED FOR ME:


For some computers, the following works:

  • Set “Automatic logon with current user name and password” for the local intranet zone. (You may like to try setting this on the trusted sites zone as well just in case.)

  • Close all programs, clear IE Cache from internet options in Control Panel.

  • Restart computer.

For other computers, only the following works:

  • Disable protected mode on the intranet and trusted sites zones in internet options. If you then get a warning bar in Internet Explorer, click it and select “Do Not Display This Message in Future”

OTHER POSSIBLE SOLUTIONS:


There are a huge number of possible solutions to this one. Listed below are the most popular and the most creative – in no particular order. Some solutions could be tried together.

  • Make sure you are using a RC (normal) version of Internet Explorer, not a beta version (even for IE8, as apparently the beta version of this program doesn’t support CRM and causes Outlook popup problems amongst other things)

  • Check to ensure all required fields in CRM have data in them, especially the last name in all contacts. Use Advance Find to detect any records (including inactive records) with missing data in a required field and fill in those fields with information.

  • Ensure Internet Explorer is set as your default browser (particularly for IE7)

  • Microsoft have issued a KB article here http://support.microsoft.com/?kbid=970632 suggesting it could be a problem with protected zones in IE, but includes one solution (Method 1) I haven’t seen anywhere else.

  • This particular site http://blogs.msdn.com/crm/archive/2009/05/07/microsoft-dynamics-crm-and-ie8-tweak.aspx also suggests it could be an issue with protected zones but offers an alternate method to the Microsoft KB above, in particular suggesting the following: reset all security zones to default level, uncheck protected mode if it’s already selected (for all zones), apply settings, re-start IE and Outlook, tick protected mode in internet options again (for all zones), then restart both IE and Outlook again.

  • Add CRM server to trusted sites list and set security options so trusted sites to run scripting and both signed and unsigned activex controls

  • Clear IE cache (of everything, including stored passwords and temporary files). I have found that it’s best to do this from Internet Options in the

control panel with no other programs open. Restart your computer after this.

  • Add CRM address to the popup blocker exemption list in internet options.

  • Disable all popup blockers, including the native blocker in IE, Google Toolbar and other similar tools (don’t forget your virus protection program may have a popup blocker in it).

  • If using IE8, roll back to IE7 and give up on IE8 altogether.

  • Turn off UAC and re-start computer.

  • Making IE8 tab features working like IE7 by altering registry hkey/local machine/software/microsoft/IE/MAIN to include DWORD value TabProcGrowth value=0

  • Use Microsoft Update to download the latest updates for everything Microsoft on your computer, particularly Vista, Office 07 and IE.

  • Run the CRM diagnostic tool to see if that picks up anything substantial.

  • If you are feeling masochistic, uninstall then reinstall CRM.

  • If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.
Bookmark and Share

Can Not Configure MS CRM 4.0 Outlook Client

June 29th, 2009 by Worldwide No comments »

PROBLEM:


· You cannot configure MS CRM 4.0 Outlook 07 Client with Offline Access, with the Configuration Wizard on the client throwing error “The request failed with HTTP status 401: Unauthorized”, followed by “Mandatory updates for Microsoft Dynamics CRM could not be applied successfully. Try running the application again.” when trying to enter the CRM server name.

· You may be able access CRM from the client computer using the web client, although depending on how the username/password was entered, you may also get “HTTP Error 401.1 – Unauthorised: Access is denied”

· None of the rollups fix the problem

· Client is running Windows Vista

· Server is running Windows Server 2003 family, including SBS2003.

SOLUTION THAT WORKED FOR ME:


Our CRMAppPool in IIS had been set to identify using specific account (not Network Service) per https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb$en-us$954045 to fix another issue we were having.

Changing the App Pool to use Network Service again fixed the issue. We were able to change the identity from Network Service back to the other account after configuring the client.

To change the identity account:

· Go into Internet Information Services (IIS) Manager on the server

· Under <servername> / Application Pools, right click on CRMAppPool, and click Properties.

· Click on the Identity Tab, click the Predefined radio button and if not already selected, choose Network Service from the drop down list.

· Click OK

· Open up a command prompt and type iisreset

Then try to configure the client.

Others have mentioned changing the server address in the Configuration Wizard to either ServerIP:port or FQDN:port instead of computername:port can fix the issue. For instance, if your CRM server name is http://hellokitty:5555 and your local domain is catsanddogs.local, using catsanddogs.local:5555 or the IP address of the server (eg: 192.192.1.1:5555) instead of the server name can fix the issue. That is a long shot though.

OTHER POSSIBLE SOLUTIONS:


§ The following describe similar problems to the above but have different solutions

· Enable only Basic HTTP Authentication on the Web Listener in ISA http://social.microsoft.com/Forums/en-US/crmdeployment/thread/10589b30-bf9b-4d88-b1c8-3cfd43337ae3

· Modifying the Default_Client_Config.xml file http://social.microsoft.com/Forums/en-US/crmdeployment/thread/4986242d-6cc1-4377-aa40-026a486099db

· If your client is in a different domain to the server, the following could help: http://www.crmwatcher.com/2006/01/outlook-client-connecting-from-other.html and also,

· The following also has useful information if you have an internet facing deployment (subscription may be required – you can sign up for 15 day trial) http://www.experts-exchange.com/Microsoft/Applications/Microsoft_Dynamics/Q_23316120.html however the crux of the useful information at this site is from http://www.microsoft.com/downloads/details.aspx?FamilyID=3861e56d-b5ed-4f7f-b2fd-5a53bc71dafc&displaylang=en

· Some people have found the abovementioned errors occur only when they are calling up reports. If this is you, try the following:

· http://social.microsoft.com/Forums/en-US/crm/thread/12933ee1-a3d0-4e7a-8a98-c0569582f62c

· http://microsoftdynamicscrm.blogspot.com/2007/12/solved-http-status-401-unauthorized.html

· Common CRM troubleshooting steps are also located here: http://blogs.msdn.com/crm/archive/2009/05/29/troubleshooting-the-microsoft-dynamics-crm-client-for-outlook.aspx

· If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share

SQL 2005 Cannot Save Maintenance Plan

June 29th, 2009 by Worldwide No comments »

PROBLEM:


·         You are trying to create or edit a maintenance plan in SQL Server 2005 Server Management Studio and are presented with an error “No description found” when you save or open the plan.

 

·         You are running SBS2003 / SBS2003 R2 / Server 2003 (most editions) with SQL Server 2005 (any edition) installed.

 

·         Installing SQL 2005 Service Pack 1 does not solve the error.

 

 

SOLUTION THAT WORKED FOR ME:


The issue occurs when another program installed on the server changes certain settings.

 

Close Server Management Studio (you will lose any changes currently made).

 

Open a command prompt and type the following commands in order (press ENTER after each command):

 

regsvr32 msxml3.dll

 

regsvr32 msxml6.dll

 

Open Server Management Studio again and try to edit or create a new plan again.

 

This solution was found here http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=243850

 

Instead of the above dll’s you could also try the following commands if the above does not work:

 

regsvr32 C:WINDOWSsystem32msxml.dll

 

regsvr32 C:WINDOWSsystem32msxml3.dll

 

This solution was found here http://sqllearnings.blogspot.com/2009/02/no-description-found-error-when.html and suggests you reboot your computer after these specific commands, however the Microsoft article referenced below does not mention this requirement.

 

 

OTHER POSSIBLE SOLUTIONS:


·         If you have installed Visio 2003 after SQL2005, try http://support.microsoft.com/kb/873460/

 

·         An alternate version of the above is here http://www.sqlservercentral.com/Forums/Topic294631-149-1.aspx#bm294778

 

·         If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share

MS CRM 4.0 Can Not Go Offline

April 20th, 2009 by Worldwide No comments »

PROBLEM:


· MS CRM 4.0 Outlook 07 Client cannot go offline (and may also have problems going online), throwing error “An unknown error has occurred. Retry the action. If the problem persists, contact your system administrator”.

· If you close and re-open Outlook, you might see: “An error occurred loading Microsoft Dynamics CRM functionality. Try restarting Microsoft Outlook. Contact your system administrator if errors persist.”

· You may see data in CRM (such as in the accounts list) or an Internet Explorer error “This program cannot display the webpage” when using the Outlook 07 client.

· You can successfully use the web client.

· None of the rollups fix the problem

· Client is running Windows Vista with Windows Defender

· Problem can occur whether or not you have upgraded client from version 3.0

SOLUTION THAT WORKED FOR ME:


Check your hosts file, located in %windir%\system32\drivers\etc

The hosts file should have at least two entries if running Vista:

127.0.0.1 localhost

::1   localhost

The first entry is the IPv4 entry and the second is the IPv6 entry.

Microsoft released a bad Windows Defender update that removed the IPv4 entry from the hosts file of some computers and since CRM 4.0 relies on that entry, the client could not find the internal database that ran CRM while offline.

Add the IPv4 entry back into the hosts file and CRM should work again (may take a few minutes).

If you get a permission error while trying to fix your hosts file or don’t know how to modify it, refer to http://support.microsoft.com/kb/923947/en-us

For more information about the Windows Defender issue, read http://www.h-online.com/security/Windows-Defender-False-alarm-triggered-by-hosts-file–/news/112814

OTHER POSSIBLE SOLUTIONS:


· Try the CRM Diagnostics program, especially if you have trouble going online after trying to go offline. You might have to time it so that you start the diagnostics scan just after you open Outlook.

· Stop or unload any anti-virus programs or firewalls and try to go offline

· The user may not have been assigned a role in CRM with read (and possibly) write permissions on Business Management à User Settings and / or Core Records à Saved View. Refer http://support.microsoft.com/kb/948311/en-us for further info.

· If you have assigned the user a custom role created from scratch, try assigning one of the original system roles and un-applying all other roles. If this works, create a new role by copying from an existing system role instead of creating one from scratch, and re-entering the desired permissions.

· In Internet Options, try putting the URL for CRM in the trusted sites zone and making Internet Explorer the default browser.

· The following has a host of other issues that could result in the same message http://support.microsoft.com/kb/911384/en-us

· Try installing the latest rollup. Information on all the latest hotfixes and rollups is located here http://support.microsoft.com/kb/949256/en-us

· If you’re installing a German language version, try http://support.microsoft.com/kb/947505/en-us

· Common troubleshooting steps now located here: http://blogs.msdn.com/crm/archive/2009/05/29/troubleshooting-the-microsoft-dynamics-crm-client-for-outlook.aspx

· If you are feeling masochistic, uninstall/reinstall CRM Client:

· Easy instructions found here http://social.microsoft.com/Forums/en-US/crmdeployment/thread/27bfe765-09a6-4cf1-bc00-e51f811baab0,

· Which might have come from here (may require subscription, but either way the info is the same): http://www.experts-exchange.com/Database/Software/CRM/Q_23119039.html

· Something more official here (relates to CRM 3.0, but largely the same as for 4.0) http://www.microsoft.com/dynamics/crm/using/deploy/removeclient.mspx

· If none of these work, call Microsoft Support, as it could be some hitherto unknown thing that will commit you to an insane asylum if you try to figure it out alone.

Bookmark and Share