Error Page Handling
    • Dark
      Light

    Error Page Handling

    • Dark
      Light

    Article summary

    Campaign Manager has introduced an application-wide error-handling page for all http 4xx and 5xx errors. This required manual configuration to be done at the IIS settings.

    Perform the following steps to configure the error page in IIS:

    1. Go to the root folder of default website. C:\Program Files\AE\IISWebsite, (or) right-click Default WebSite and click Explore. Perform this only for default website and for other applications, this is already handled at the application level.

    2. Transfer the following files from LCMConsole to Default Web Site folder:

      1. error.htm from AE\LCMConsole\error.htm to IISWebsite\error.htm

      2. error.png from AE\Vendor\img\error.png to ISIWebsite\vendor\img\error.png

    3. Go to the web.config file available at C:\Program Files\AE\IISWebsite\web.config

      Note:

      If it is not displayed, go to IIS manager, and add the authorization rule. The web.config file is created automatically.

      Go to IIS > Default Websites. Find the Authorization Rule from the default website home present under IIS.

    4. Go to Authorization Rule.

    5. From the Action menu, click Add Allow Rule.

    6. Create a local entry (any user type) for Authenticate User. Click OK. This creates the web.config file automatically when IIS writes configuration for the entry.

    7. Add the following configurations in the web.config file under <configuration>:

    <system.web>
    
    <customErrors mode="On" defaultRedirect="error.htm?code=-1">
    
    <error statusCode="500" redirect="error.htm?code=500" />
    
    <error statusCode="503" redirect="error.htm?code=503" />
    
    <error statusCode="400" redirect="error.htm?code=400" />
    
    <error statusCode="403" redirect="error.htm?code=403" />
    
    <error statusCode="404" redirect="error.htm?code=404" />
    
    <error statusCode="401" redirect="error.htm?code=401"/>
    
    <error statusCode="402" redirect="error.htm?code=402"/>
    
    <error statusCode="405" redirect="error.htm?code=405"/>
    
    <error statusCode="406" redirect="error.htm?code=406"/>
    
    <error statusCode="407" redirect="error.htm?code=407"/>
    
    <error statusCode="412" redirect="error.htm?code=412"/>
    
    <error statusCode="501" redirect="error.htm?code=501"/>
    
    <error statusCode="502" redirect="error.htm?code=502"/>
    
    </customErrors>

    Note:

    This is now handled at the application level.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence