“an error occurred while processing this directive”

This is error which high light on server when SSI error is turn on, otherwise it’s work fine into local system or any server where SSI error turn off.

Solution is just need to check all the HTML comment syntax. Problem is only arise if we write by mistake comment in wrong way.

For example:

Wrong:

<!–.Comment Here–>
<!–#Comment Here–>
<!–.#Comment Here–>

Correct:

<!–Comment Here–>
<!–Comment Here–>
<!–Comment Here–>

So solution is just check whole file and correct HTML syntax. That’s it and problem will gone.

Hope this will help to anyone!