Web.Config Settings for Custom Aspx Application integration with MS CRM 4.0

MS CRM 4.0 implements the http models for multi tendency. We need to remove these models for our custom aspx application.

<httpModules>


<remove
name ="CrmAuthentication"/>


<remove
name ="MapOrg"/>

</httpModules>

Or

<httpModules>

<Clear/>

</httpModules>

Another Way to read your Owen App Settings is

using System.Configuration;

using System.Web.Configuration;    

// ...

Configuration configuration = WebConfigurationManager.OpenWebConfiguration("/ISV/MyApp");

string myParameter = configuration.AppSettings.Settings["MyParameter"].Value;

Comments

Popular posts from this blog

MS CRM 4.0 Relationship Mappings Error

Open Data Protocol

Using Read-only versus const