Master Page error and the Erroneous <SCRIPT /> tag

FrontPage auto-code strikes once again. This time under the different name of SharePoint Designer. Frustrating…

Recently I have been doing a significant amount of development in Windows SharePoint Services and I have once again hit a frustrating issue that has incurred long hours trying to resolve. If you remember my article about the {generate()} function and SharePoint Designer, it will come as no surprise that the issue with “Master Page error” relates to SharePoint Designer inserting code that is not necessary or accurate.

master_page_error

<SCRIPT />

To fix the error in your page, search for the tag <SCRIPT /> and remove any tags that do not appear to belong. Click on the design view and the page should work again…

For more information on this issue, check out this MSDN forum post:

http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/184a40da-01f0-44a0-a90b-0e719132eae0

 

-Aaron Gilbert

About aaron

IT is not just a job but also a passion. Everything I have accomplished, both personally and professionally, has been generally entertaining, bordering on fun. Some of my projects, such as working with SharePoint Services workflow actions in Visual Studio or building a custom iSCSI SAN using the OpenSolaris, ZFS and COMSTAR, has been quite rewarding. You may think nerd...I think developing a new trend!