Click here to Skip to main content
12,243,752 members (43,649 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
hi all

I have this syntax error please could you provide the error. thanks in advance

----
The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.ScriptManagerNotFoundException: The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.
Source Error:

[No relevant source lines]

Source File: c:\Users\UIS\AppData\Local\Temp\Temporary ASP.NET Files\nancy_int\26d25c6d\f7c3f36a\App_Web_0pqltktq.4.cs      Line: 0
-----
Posted 13-Nov-11 16:44pm
Comments
Al Moje 19-Sep-12 1:19am
   
Hi,
Drag the AJAX Extentions ScriptManager from ToolBox into the body of you form.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi,

You lack a ScriptManager script...

Try to insert this in client page:
<asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />

As shown below...


<body>
    <form id="form1" runat="server">
    <asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />
    <%--...Some code here.... --%>
    </form>
</body>

Hope this could help...

Do not forget to vote if could help...

Regards,
Al
  Permalink  
Comments
ahmad zrein 14-Nov-11 1:30am
   
i add as told but give error asp:scriptmanager

it seems something is missing


<form id="formTransfer" runat="server">
<asp:scriptmanager id="ScriptManager1" runat="server" enablepagemethods="true" xmlns:asp="#unknown" />
Al Moje 14-Nov-11 2:04am
   
The example code when I upon posting added some unknown code.
Check it below example...
Maybe you are using some services like see example:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">

<asp:ServiceReference Path="~/LocalServices/ACLibrary.asmx" />

Member 8738850 16-Sep-12 14:53pm
   
thanxxxxxx man...!!! it's works for me... :)
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

great! it works for me.thanks.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

[]
  Permalink  
Comments
yanan Ramirez 12-Jan-15 11:17am
   
HI Friend , REALLY AWESOME!, thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 22 Aug 2015
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100