1.

How To Avoid Active Server Pages Error Asp 0139 When Using Static Publishing And Microsoft Iis?

Answer»

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'

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):



Discussion

No Comment Found