Microsoft KB Archive/941501

= Error message when you open a new window in Microsoft Dynamics CRM 3.0: &quot;An error has occurred in the script on this page&quot; =

Article ID: 941501

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



Source: Microsoft Support



RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.



Action
You open a new window in Microsoft Dynamics CRM 3.0.



Result
The following script error occurs:

Line: 2

Char: 1

Error: Syntax error

Code: 0

URL: http://mail.adsql.com/CRMReports/home_reports.aspx An error has occurred in the script on this page.

Line: 304

Char: 1

Error: Object Expected

Code: 0

URL: http://mail.adsql.com/CRMReports/home_reports.aspx



Cause
When you click on an entity in Microsoft Dynamics CRM 3.0 that opens a new window such as a note or a report, a function is called that determines the window size. This function is generated by the WindowInformation.aspx page. If this page has been set to allow Anonymous Authentication, CRM will fail as CRM expects Integrated Authentication on all ASPX pages.



Resolution
Complete these steps to set Integrated Authentication on the WindowInformation.aspx file.
 * 1) Click Start, click Run, type inetmgr, and then click OK.
 * 2) Expand your server, expand Web Sites, expand Microsoft CRM v3.0, expand _common, and then click WindowInformation.
 * 3) In the left pane, right-click WindowInformation.aspx, and then click Properties.
 * 4) Click the File Security tab, then in the &quot;Authentication and access control&quot; area click Edit.
 * 5) Clear &quot;Enable anonymous access&quot; and mark &quot;Integrated Windows authentication&quot;, and then click OK.
 * 6) Click OK.



DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

Keywords: kbmbsmigrate kbnomt kbrapidpub KB941501

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.