During application runtime the following error may occur: "Error occurred while creating an object instance".
Cause: Usually, this type of error does not affect running of the Web application. It always occurs when partial script in the application references an object, which is unsupported and commented out.
Solution: Remove or work around the unsupported object, and make changes accordingly.