How to avoid Active Server Pages error ASP 0139 when using static publishing and Microsoft IIS?

Submitted by: Administrator
Microsoft IIS's ASP interpreter incorrectly doesn't allow a page with nested <object> tags, resulting in the following error message:

Active Server Pages error 'ASP 0139'

Nested Object

/yourWebpage.html, line XX

An object tag cannot be placed inside another object tag.

You can avoid this error by using one of the following workarounds (note: which workaround will be best will depend on your specific situation):

Configure IIS not to serve .htm and .html files as ASP
Use a server-side include
Create the object tags dynamically, the 'Update - The Dynamic Approach'
Submitted by: Administrator

Read Online SWFObject Job Interview Questions And Answers