Friday, November 19, 2010

Problems removing CrmAuthentication from web.config

There are many posts in the web describing, how you can resolve issues like
System.Net.WebException: The request failed with HTTP status 403: Forbidden.
in Custom ASPX-Pages in the ISV-Folder.

Many of them offers web.config stuff like this:

<system.web>
<httpmodules>
<remove name="CrmAuthentication">
</remove>
...

<system.web>
<httpModules>
<remove name ="CrmAuthentication"/>
</httpModules>
...


Important:
This is ok if you are using default "OnPremise" professional-deployments. It will lead to further problems if you work on an enterprise deployment or with "IFD" Stuff. For example, it is not possible to use CrmImpersonator in this configuration. Keep this in mind for further iterations of your software.

cheers.


No comments:

Post a Comment