Workflow doesn't work, Imports never happen, emails don't flow and Outlook clients cannot connect
Update 23 June 2008: See The official way to change MSCRM ports for an official way to do this. Update 12 March 2008:
The discovery service is a web service which gives back the real URL to the web services in MSCRM, so if you changed IIS it still gives back the old ones. There is also a bug in the RTM of MSCRM 4.0 which causes it to use the machine name instead of the host header after upgrades. So you go to http://<nice name> and the discovery service gives back to http://<machine name>/mscrmservices/2007/crmservice.asmx which doesn't exist since yourhost headers should have it as http://<nice name>/mscrmservices/2007/crmservice.asmx
You can pick this up using fiddler on the email server or desktop machine when trying to configure the email router or outlook client respectively. So I went though this with Microsoft PSS and they came back with a SQL command you can run to fix this.
NOTE: As this is a DB change it is unsupported. If you are a little worried about the impact do backups then try it. If you are very worried contact PSS directly for help.
Example, if your server is called: myserver and runs on port 50000
Once done do an IISReset and restart the Async service and everything should start to work fine! As I said before this came from PSS (in particular Justin Thorp)and I would really like to thank him for the hard workand great responses I got on it.
- An easier way exists to do this now. See Workflow doesn't work, Imports never happen, emails don't flow and Outlook clients cannot connect - Reloaded
- Another issue causing the same problems has been found and solved. See: Request IP Address has different address family from network address.
The discovery service is a web service which gives back the real URL to the web services in MSCRM, so if you changed IIS it still gives back the old ones. There is also a bug in the RTM of MSCRM 4.0 which causes it to use the machine name instead of the host header after upgrades. So you go to http://<nice name> and the discovery service gives back to http://<machine name>/mscrmservices/2007/crmservice.asmx which doesn't exist since yourhost headers should have it as http://<nice name>/mscrmservices/2007/crmservice.asmx
You can pick this up using fiddler on the email server or desktop machine when trying to configure the email router or outlook client respectively. So I went though this with Microsoft PSS and they came back with a SQL command you can run to fix this.
NOTE: As this is a DB change it is unsupported. If you are a little worried about the impact do backups then try it. If you are very worried contact PSS directly for help.
USE MSCRM_CONFIG Update DeploymentProperties SET NVarCharColumn = '<server>:<port>' WHERE ColumnName= 'AsyncSdkRootDomain' Update DeploymentProperties SET NvarCharColumn = '<server>:<port>' WHERE ColumnName = 'ADSdkRootDomain' Update DeploymentProperties SET NvarCharColumn = '<server>:<port>' WHERE ColumnName = 'ADWebApplicationRootDomain'
Example, if your server is called: myserver and runs on port 50000
USE MSCRM_CONFIG Update DeploymentProperties SET NVarCharColumn = 'myserver:50000' WHERE ColumnName= 'AsyncSdkRootDomain' Update DeploymentProperties SET NvarCharColumn = 'myserver:50000' WHERE ColumnName = 'ADSdkRootDomain' Update DeploymentProperties SET NvarCharColumn = 'myserver:50000' WHERE ColumnName = 'ADWebApplicationRootDomain'
Once done do an IISReset and restart the Async service and everything should start to work fine! As I said before this came from PSS (in particular Justin Thorp)and I would really like to thank him for the hard workand great responses I got on it.

I am a community lead in this group.


Pingback
Submitted by Ricardo de Souza &raquo; Dynamics CRM 4.0: Workflow que on Sat, 09/05/2009 - 23:35.[...] Para maiores detalhes, basta acessar os links abaixo: http://crmhacks.blogspot.com/search/label/MSCRM4%20Workflow http://www.sadev.co.za/content/workflow-doesnt-work-imports-never-happen... [...]
thanks a lot.
Submitted by oreinaud on Thu, 07/16/2009 - 09:26.Pingback
Submitted by Microsoft Dynamics CRM (новости, тренинги и пр.) : Обновлени on Fri, 05/15/2009 - 14:50.[...] Но этим проблемы не исчерпались. Как выяснилось, не работают Workflow. Нужно было поправить еще и зстоку, содержащую AsyncSdkRootDomain. Описание проблемы и решение здесь - http://www.sadev.co.za/node/155. [...]
Worked :)
Submitted by Anonymous on Fri, 04/17/2009 - 22:43.Perfect!!!
Submitted by Ricard Gasco Catalonia - SPAIN on Sun, 03/01/2009 - 15:00.THANKS A LOT
Submitted by Herbert on Wed, 02/25/2009 - 20:31.Pingback
Submitted by CRM 4.0 Email Router Problem | keyongtech on Sun, 01/18/2009 - 18:30.[...] Robert MacLeanhttp://www.sadev.co.za There ended up being a bit more to get it fully fixed. See http://www.sadev.co.za/node/155 on how to fix it completely. -- Robert MacLean [...]
Pingback
Submitted by CRM 4.0 Configuration Wizard | hilpers on Sun, 01/18/2009 - 12:41.[...] dass diese Info von Microsoft bereitgestellt worden w
still doesn't work
Submitted by luca on Wed, 12/31/2008 - 13:43.I suggest checking out the
Submitted by Robert MacLean on Tue, 01/06/2009 - 09:07.Pingback
Submitted by CRM 4 Rollup Pack 1 | SADev.co.za on Thu, 11/27/2008 - 09:25.[...] or Waiting (http://support.microsoft.com/kb/957701/) – fixed. I am hoping this refers to my previous posts on the [...]
Thank you
Submitted by SviFi.com on Fri, 11/07/2008 - 11:37.Ditto - Thank you
Submitted by Taz on Wed, 11/12/2008 - 02:44.Thanks Jy is mooi Ding
Submitted by Brad on Sun, 11/02/2008 - 13:50.Pingback
Submitted by Microsoft Dynamics CRM Client installation odyssey - Sharep on Fri, 10/24/2008 - 19:03.[...] server. Replace <server>:<port> with your CRM URL and port. To learn more click here.USE MSCRM_CONFIGUpdate DeploymentProperties SET NVarCharColumn = [...]
Pingback
Submitted by **Microsoft Dynamics CRM 4.0 Deployment**Trouble connecting on Mon, 10/06/2008 - 14:56.[...] articles that I’ve found regarding the subject are: http://www.sadev.co.za/node/155 [...]
Thankyou sir This really
Submitted by Anonymous on Mon, 09/15/2008 - 08:35.Thanks!!
Submitted by Sanchita on Fri, 09/12/2008 - 08:22.You are my hero...
Submitted by Henrik Jensen on Tue, 09/09/2008 - 16:18.I runned the script you provided, restarted IIS and Microsoft CRM Asynchronous Processing Service.
And now it works...
Thanks ;-)
Great article, really helped
Submitted by Daniel on Fri, 09/05/2008 - 13:49.Great article, really helped us out.
Also, if you've made the mistake to install the CRM 4.0 Data Migration Managar (DMM) on the same server as your CRM installation and then unistalled it some of the configuration properties are reset.
Not resolved yet
Submitted by Anonymous on Fri, 09/05/2008 - 08:35.Thanks for this advice. I am however facing an Outlook configuration issue with 401 unautorized error after SQL Deployment properties table changed.
In our environment 3 servers are running - 1st one is CRM application/platform role, 2nd is CRM deployment service role, 3rd is CRM SQL server.
In this configuration, Outlook has to point the url for deployment service where discovery service is running, I think.
Could anyone advise what should I check - such as regedit, DB table, IIS setting, etc.
Thank you in advance.
Hmm what I would suggest is
Submitted by Robert MacLean on Mon, 09/08/2008 - 22:22.Hmm what I would suggest is grab a copy of Fiddler (a google search will find it) and pop it on your client box and then run the Outlook client. You should the HTTP requests going through it, check that the URLs in that match what you are expecting.
Thanks for suggestion
Submitted by Anonymous on Wed, 09/10/2008 - 08:46.Thanks rmaclean,
I did verify the URL with Fiddler and it was confirmed the request was redirected to "/MSCRMService/2007/SPLA/CrmDiscoveryService.asmx" on the deployment service server as I expected. However the request is still not accepted (error 401)... it is ugly.
Check your security event log
Submitted by Robert MacLean on Thu, 09/11/2008 - 17:38.Keberos
Submitted by Anonymous on Wed, 09/17/2008 - 08:21.Pingback
Submitted by Microsoft Dynamics CRM Client installation odyssey | SharePo on Wed, 08/20/2008 - 20:40.[...] Resolution: Run a following query against your database server. Replace : with your CRM URL and port. To learn more click here. [...]
Yoa are hero
Submitted by Anonymous on Thu, 07/03/2008 - 14:25.Nice job a guy. You save me from madness
Quality Work
Submitted by Anonymous on Wed, 06/25/2008 - 12:11.For me
USE MSCRM_CONFIG
Update DeploymentProperties SET NVarCharColumn = 'myserver:50000' WHERE ColumnName = 'AsyncSdkRootDomain'
was all that was required.
Thanks v much for you help
Pingback
Submitted by Workflow doesn&#039;t work, Imports never happen, emails on Mon, 06/23/2008 - 18:48.[...] See http://www.sadev.co.za/node/196 for an official way to do this.In my previous post on Workflow doesn't work, Imports never happen, emails don't flow and Outlook clients cannot connect I went through the fix by changing SQL. I never liked that fix because it breaks rule one of [...]
Pingback
Submitted by The official way to change MSCRM ports | SADev.co.za on Mon, 06/23/2008 - 18:46.[...] MSCRM web site ports correctly. This also fixes the workflow doesn’t work et al issues (see here). This is great to have, not because details a third way to do it (so besides the SQL edit and IFD [...]
Super!!!
Submitted by Anonymous on Thu, 06/12/2008 - 15:59.Thank you very much!!!! It works!!!
Super!!!!!
Submitted by Anonymous on Thu, 06/12/2008 - 15:58.It Works!!! Thank you very much!!!
Pingback
Submitted by Phil Edry&#8217;s Dynamics CRM Blog &raquo; If your on Thu, 06/12/2008 - 00:20.[...] http://www.sadev.co.za/node/155 [...]
You are the man!
Submitted by Anonymous on Fri, 05/23/2008 - 17:20.Thank you so much for your solution! I was beating my head against the wall.
FYI: I tried the IFD solution first, but it never filled in the needed value for AsyncSdkRootDomain, I had to enter it manually.
AMAZING, IT NOW WORKS
Submitted by Anonymous on Fri, 05/09/2008 - 01:15.I hate this fucking-piece-of-shit software.... and now it's finally working!
I hope I never need to touch this abomination again.
Cheers rmaclean. I have spent weeks looking for this bit of information.
You are the master!!!
Submitted by Steven on Wed, 04/16/2008 - 16:39.after 2 days of searching it works!!!
Wonderful.
Submitted by Vitalijs Stockmars on Tue, 02/12/2008 - 16:58.Finally it worked. Thank you.
Saved me hours...
Submitted by Anonymous on Sun, 02/03/2008 - 17:22.I just wanted to drop you a line to say thank you! I was banging my head against the wall this entire installation because I used host headers for the crm web site. This was the last hurdle to get over.
-Steve
Great!
Submitted by Adrian on Wed, 01/30/2008 - 17:31.Thank you so much!
You are my hero of today.
This solution rocks. I
Submitted by Anonymous on Fri, 01/25/2008 - 13:17.This solution rocks.
I changed the port number in the IIS instead to the one which was used while installing MS CRM 4.0
Thanks.
Post new comment