Answers

Question and Answer:

  Home  SWFObject

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

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'

 328 views

More Questions for you: