Another pain in the neck
In Microsoft Dynamics CRM 4.0 you might need to access the sql filtered views from a custom application. Using the webservices can be to slow in complex queries. So having a custom form using a sql connection with SSPI might be the answer.
BUT though your custom pages are placed inside the ISV folder of the CRM application, and you are using the appropriate security configurations for the sql connection - and you application is actually working outside the crm application (ie when you debug using the build in cassinni webserver in VS2008) - it might concider you being anonymous.
This is due to delegation using kerberos for the ServiceAccount that is running the SQL Service for the SQL instance of the CRM Databases.
In order to configure it correctly using the setspn tool from MS, it has been a hassle to me. Try and set it up - Try to see if it works! No error messages, no directions on what might be wrong.
A tool has been developed by Brian Murphy Booth, Escalation Support Engineer at MS Support. The tool can be downloaded here.
To save you from some of the troubles i discovered, place the in a new virtual directory in the root of the webserver.
As for clustered servers, you need to address that when you add a new back-end server.
Tuesday, December 29, 2009
Monday, December 7, 2009
Workflows don't run - Updated to Rollup7 to make it work again
Well, an installation with no asyncservice running, though it is running(!)
Here in start December I am working on an installation made in February 2009. Created som entities, changed some attributes, adding relationshipsand modifying isv.config and sitemap. So far so good.
Then implemented some simple workflows including some CustomWorkflow Activities. Didn't run as intended. Just waiting statement in progress status.
Tried a simple workflow just updating an attribute when executed. Didn't run. Just waiting.
Looked at systemjobs and noticied that a duplicate job was paused since June.....
But no errors in eventlog.
Installed the rollup7 .....
And everything worked.
Well, i must say that 4.0 is becoming more and more stable. With rollup7 a lot of bugs are fixed and services runs more solid.
So if you haven't updated the server to rollup7 you might want to do that if you experience problems.
THEN AGAIN- Concider twice before doing this. There are someissues with the clients. In Citrix environments users may give that the reason, but I see it on windows 7 with Office2007. CRMClient stopsand you have to close down and open Outlook a couple of times to get all services and the add-in running again.
Here in start December I am working on an installation made in February 2009. Created som entities, changed some attributes, adding relationshipsand modifying isv.config and sitemap. So far so good.
Then implemented some simple workflows including some CustomWorkflow Activities. Didn't run as intended. Just waiting statement in progress status.
Tried a simple workflow just updating an attribute when executed. Didn't run. Just waiting.
Looked at systemjobs and noticied that a duplicate job was paused since June.....
But no errors in eventlog.
Installed the rollup7 .....
And everything worked.
Well, i must say that 4.0 is becoming more and more stable. With rollup7 a lot of bugs are fixed and services runs more solid.
So if you haven't updated the server to rollup7 you might want to do that if you experience problems.
THEN AGAIN- Concider twice before doing this. There are someissues with the clients. In Citrix environments users may give that the reason, but I see it on windows 7 with Office2007. CRMClient stopsand you have to close down and open Outlook a couple of times to get all services and the add-in running again.
Subscribe to:
Posts (Atom)