473,791 Members | 3,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ScriptManager .NET 3.5

II have a asp.net application that using .NET framework 2.0. I use VS 2005.
I opened VS 2008 and upgraded all the proejcts to .NET 3.5. My applicaiton
has a code as below which is giving me error...any clues how to fix that...

Parser Error Message: The base class includes the field 'ScriptManager' , but
its type (System.Web.UI. ScriptManager) is not compatible with the type of
control (System.Web.UI. ScriptManager).

Source Error:

Line 77: <body onload="history .go(+1)">

Line 78: <form id="form1" runat="server">

Line 79: <asp:ScriptMana ger ID="ScriptManag er" runat="server"
ScriptMode="Rel ease" />

Line 80:

Line 81: <div>

Source File: /Masters/Default.Master Line: 79
Jun 27 '08 #1
2 4892
Hi,

Your web.config probably is in "wrong" state after the migration. In the
project's or web site's properties change the Target .NET Framework version
to 2.0, click OK and then change it 3.5 and click OK again (then rebuold the
application). This should fix the problem if it's about web.config.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"abcd" <ab**@abcd.comw rote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
II have a asp.net application that using .NET framework 2.0. I use VS
2005. I opened VS 2008 and upgraded all the proejcts to .NET 3.5. My
applicaiton has a code as below which is giving me error...any clues how
to fix that...

Parser Error Message: The base class includes the field 'ScriptManager' ,
but its type (System.Web.UI. ScriptManager) is not compatible with the type
of control (System.Web.UI. ScriptManager).

Source Error:

Line 77: <body onload="history .go(+1)">

Line 78: <form id="form1" runat="server">

Line 79: <asp:ScriptMana ger ID="ScriptManag er" runat="server"
ScriptMode="Rel ease" />

Line 80:

Line 81: <div>

Source File: /Masters/Default.Master Line: 79


Jun 27 '08 #2
Teemu. You are genius. This is the quiest way to fix the issues. To tell you
literally I spent my whole day to fix this and read the google and tried
out...My solution has 10-015 projects...I manually set the framework to 3.5
and then rebuild and everything is working great without any issues...

I owe you a party !!!

Than ks for the help...

Cheers !
"Teemu Keiski" <jo****@aspalli ance.comwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Hi,

Your web.config probably is in "wrong" state after the migration. In the
project's or web site's properties change the Target .NET Framework
version to 2.0, click OK and then change it 3.5 and click OK again (then
rebuold the application). This should fix the problem if it's about
web.config.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"abcd" <ab**@abcd.comw rote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>II have a asp.net application that using .NET framework 2.0. I use VS
2005. I opened VS 2008 and upgraded all the proejcts to .NET 3.5. My
applicaiton has a code as below which is giving me error...any clues how
to fix that...

Parser Error Message: The base class includes the field 'ScriptManager' ,
but its type (System.Web.UI. ScriptManager) is not compatible with the
type of control (System.Web.UI. ScriptManager).

Source Error:

Line 77: <body onload="history .go(+1)">

Line 78: <form id="form1" runat="server">

Line 79: <asp:ScriptMana ger ID="ScriptManag er"
runat="serve r" ScriptMode="Rel ease" />

Line 80:

Line 81: <div>

Source File: /Masters/Default.Master Line: 79



Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
972
by: Jason Kester | last post by:
I've noticed some strange behavior with Atlas, and I'm wondering if anybody else is seeing this. Basically, from the moment I add a ScriptManager tag to one of my pages, any subsequent controls that I add will not show up in MyPage.aspx.designer.cs. It's like the presence of Atlas flips a switch somewhere in VS.NET and it stops tracking changes. I can reproduce this by creating a new document, adding a few HtmlInputText controls, then...
1
7558
by: =?Utf-8?B?TGFycnkgRXBu?= | last post by:
I have an app using Ajax. The scriptmanager is within the form that is within the master page. I also have web user controls that are doing partial rendering and are "borrowing" or "inheriting" the scriptmanager from the master page. Heck, when they're rendered, the scriptmanager is on all the pages and it works. However, in the VS2005 designer, I constantly see "Can't render image" errors, and it's nearly impossible to effectively use...
1
11576
by: =?Utf-8?B?dGhlamFja29mYWxs?= | last post by:
Please help. I am getting the following error when I attempt to use AJAX in a web page. <%@ Page Language="C#" MasterPageFile="~/Master/Master1.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="MyApp_Default" Title="Space" %> <%@ Register TagPrefix="ajaxToolkit" Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" %>
0
1451
by: Ryan | last post by:
Hi everyone, I have enabled my webparts site to use ajax by simply using updatepanels. This worked fine. Now I tried to enable drag and drop for the webparts so I added some stuff to the web config: http://blogs.neudesic.com/blogs/david_barkol/archive/2006/03/22/82.aspx I have a masterpage with no webpart stuff and child pages with all the webpartzones and the custom webpartmanager. I have tried putting the
0
3972
by: Krip | last post by:
When adding ASP.NET AJAX 1.0 ScriptManager and UpdatePanels to some pages in our Web Application project, we get the following error: "The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)" This error occurs on the declaration of ScriptManager and UpdatePanel objects automatically generated in the .designer files. There is no problem for pages we ported over...
0
1820
by: suganya | last post by:
Hi I have written the code for Atlas ModalPopup Control . The code is as follows <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
4
1727
by: WT | last post by:
Hello, How could we simulate the IsClientScriptBlocRegistered method of ClientScript when we use an update panel and the static ScriptManager ? Is this test already included in the ScriptManager.Registerxxx methods ? Regards CS
2
1882
by: Ryan Liu | last post by:
Hi, Since ScriptManager need inside a server form, and web content page using MasterPage can not have another server form, so ajax can not be enabled (unless write own code) using ScriptManager? Any good way to solve this problem? In addition to MasterPage, is there server side include syntax as available in traditional asp page?
5
13662
by: Pselus | last post by:
I have a dynamically created page. The page creates an UpdatePanel (created at Design time) which has an ASP:Table (design time) in it. The table has rows with a textbox (run time) that runs some Javascript code when it is typed in. There is also a linkbutton (run time) next to this textbox that when clicked uses Ajax to reload the Javascript method. However, the Javascript is not being updated. I realize that most people post this...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10155
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9995
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.