Custom pages not working properly within CRM 4.0


Hi,

Today on deploying custom pages within CRM, if found out that my drop down control was not working properly. On initial page load the drop down control was showing all the values but once the page is posted back it was showing no items inside it !

It happens becuase by default view state is disabled for pages within CRM 4.0

These are settings for the web.config within CRM 4.0

pages buffer=”true” enableSessionState=”false” enableViewState=”false” validateRequest=”false”

So just make sure if your pages are making use of view state or session state, ovverride the above settings for your custom pages!!

Few more tips
http://blogs.msdn.com/jannemattila/archive/2008/01/21/few-development-tips-for-crm-4-0.aspx

Bye.

Filtered Lookup CRM 4


Hi,
Please check out this wonderful posts while working with lookup

http://ronaldlemmen.blogspot.com/2006/12/filter-data-in-crm-lookup-field.html
http://social.microsoft.com/forums/en-US/crmdevelopment/thread/3f6c8c3d-73a7-4601-98a3-f72cc4c7ea9b/
http://crm.georged.id.au/post/2008/02/16/Filtering-lookup-data-in-CRM-4.aspx
http://crmintherealworld.blogspot.com/2009/02/creating-sub-lookup-in-microsoft-crm-40.html
http://jianwang.blogspot.com/2008/05/mysterious-crm-lookup-i.html

Bye…

‘Microsoft.Crm.WebServices.Crm2007.MultipleOrganizationSoapHeaderAuthenticationProvider’ doest not exist


Hi,

Got this error while running a custom aspx page within the isv folder of CRM 4.0. To resolve the issue we need to add Microsoft.Crm.WebServices.dll either to our application or to the gac of the server.

Microsoft.Crm.WebServices.dll – It could be found at following location C:\Program Files\Microsoft Dynamics CRM\Setup

Check this info as well

http://blog.philiprichardson.org/2007/12/25/part-4-aspnet-applications-on-the-crm-server/
Bye..

HTTP Error 401.1 – Unauthorized: Access is denied while accessing CRM 4.0


Hi was facing this issue when trying to open crm.

The url i was using was something like this

http://servername:5555

than thought of trying with an ip address instead of host name of the server

http://192.168.20.114:5555   ( something like this .. )

And than everything was fine !

Bye…

Verify Domain User account SPN for the Microsoft Dynamics CRM ASP.NET Application Pool account


Hi,

Got this warning while installing CRM 4.0  ! This warning comes when we specify a domain account instead of network service account for application pool. To get through this error follow this post http://billoncrmtech.blogspot.com/2008/08/now-i-am-master-tips-for-running-crm-40.html

Bye..

Action Microsoft.Crm.Setup.Common.RegisterAsyncService Action Failed


Hi,

Got this error while installing CRM 4.0.

Two possible resolution for it

http://ronaldlemmen.blogspot.com/2008/01/failure-at-microsoftcrmsetupcommonregis.html
http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/

Restarting the server didn’t solve the problem. Than tried rebuilding the performance counter.

To rebuild all Performance counters including extensible and third-party counters in Windows Server 2003, type the following commands at a command prompt. Press ENTER after each command.

cd\windows\system32
lodctr /R
It also didn’t help. So manually started the async service using domain admin user.
This way i was able to get it installed properly.
Bye…

Nishant Rana's Weblog

Everything related to Microsoft .NET Technology

Skip to content ↓