ASP.Net framework upgradation

Hi

I need to upgrade ASP.net 2.0 to 3.5 ----> i have done as instructed to use tool management, but when I run my files I get the following error

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'asp:ScriptManager'.

Source Error:

 

Line 28:     AbCon Manufacturing!</h1>

Line 29:         <p class="style1">

Line 30:             <asp:ScriptManager ID="ScriptManager1" runat="server">

Line 31:             </asp:ScriptManager>

Line 32:         </p>


Source File: /MasterPage.master    Line: 30
Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET  Version:2.0.50727.4016
whspiderAsked:
Who is Participating?
 
David RobitailleAnalyst ProgrammerCommented:
AJAX Extensions and ajax toolkit are 2 different things.
No matters what himabindu tell you, ScriptManager is NOT part of the ajaxtoolkit, it`s part of the AJAX Extensions for the framework 2.0 and part of the Framework itself for the framework 3.5
if you are not convicted, check the Version Information:
http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.aspx 
If you need to install the ajax extensions tool kit, than you are still in Version 2.0 of the framework. IOf you goal is to upgrade, you miss something.
The easiest way is to switch to visual studio 2008, but you could still use Visual Studio 2005 with framework 3.5, but it`s more complicated.
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Studio_.NET_2005/Q_23927715.html 
http://geekswithblogs.net/cyoung/archive/2007/12/01/117279.aspx

 
0
 
himabinduCommented:
U can get ajax tool kit if u search in net.

Load that dll into your website. then it works
0
 
David RobitailleAnalyst ProgrammerCommented:
asp:ScriptManager  are part of the Framework 3.5. In 2.0 you need the "ASP.NET 2.0 AJAX Extensions". check if ther any reference to them and remove them.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
David RobitailleAnalyst ProgrammerCommented:
Check for Register Assembly at the top of the page and in the web.config.
Also chcek this
http://weblogs.asp.net/joestagner/archive/2008/03/25/fixing-an-asp-net-2-0-app-after-upgrading-to-3-5.aspx
0
 
whspiderAuthor Commented:
I have this installed "ASP.NET 2.0 AJAX Extensions".
0
 
David RobitailleAnalyst ProgrammerCommented:
yes, it`s what i`m telling you, if you upgrade from 2.0 to3.5, you dont need the  "ASP.NET 2.0 AJAX Extensions" anymore and you got to remove all refernece as in the link i sent you.
0
 
whspiderAuthor Commented:
the new tool kit Ajax Control Toolkit for 3.5 is a beta version
i s it ok ?
0
 
David RobitailleAnalyst ProgrammerCommented:
You need the  Ajax Control Toolkit Only if you use it in your app.
Yes, the "ASP.NET Ajax Library" (witch contian th tool kit) is Beta.
But, you could also get the original toolkit here.
http://ajaxcontroltoolkit.codeplex.com/releases/view/33804 
0
 
whspiderAuthor Commented:
AJAX Control Toolkit - Binary

rite ??
0
 
David RobitailleAnalyst ProgrammerCommented:
yup.
0
 
whspiderAuthor Commented:
where do I exactly do this ?

    *  Binaries - Delete the old version of the AjaxControlToolkit.dll assembly from your website Bin folder.
    * Toolbox Items - Delete the AJAX Control Toolkit tab and follow the steps above to re-create the tab with the new version of the AjaxControlToolkit.dll assembly.
0
 
David RobitailleAnalyst ProgrammerCommented:
if you dont have a Bin folder in your website, then it`S probably because You where not using the tooltit.
The toolkit is a set of controls that you could use to add some ajax features to a website., Here are semples of those controls.
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Default.aspx 

The UpdatePanels and ScriptManager are not part of the toolktit, but the ScriptManager is use by the toolkit. (You need a scriptmanager on the page to use the toolkit.)  
In the Framework 3.5, you dont need to install anyting to use a ScriptManager or updatepanel.
 
0
 
whspiderAuthor Commented:
Do we have to relpace the files in the program files ?
0
 
whspiderAuthor Commented:
I'snt ScriptManager a part of the tool kit ?
0
 
himabinduCommented:
The ScriptManager is a part of the toolkit.

Can u tell me which editor r you using for building your application?
That means Visual studio or some other....

If it is Visual Studio 2005, then u need to add ajax extensions tool kit.
If it is Visual Studio 2008, then the editor have some default ajax Extensions tool box.
0
 
whspiderAuthor Commented:
Visual studio 2005
0
 
whspiderAuthor Commented:
Wen I download and install asp.net 3.5 , I get a a setup error
0
 
David RobitailleAnalyst ProgrammerCommented:
What, you diden`t installed it in the first place?
and, if you want further help, I would be a good idea to tell us what the error is.
 
0
 
whspiderAuthor Commented:
Server Error in '/' Application.
A generic error occurred in GDI+.
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: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:

Line 62:         Next
Line 63:
Line 64:         bmp.Save(path, ImageFormat.Gif) 'save the gif at specified path and name
Line 65:
Line 66:         g.Dispose() 'clean up


Source File: c:\inetpub\vhosts\getmunky.com\httpdocs\Default.aspx.vb    Line: 64

Stack Trace:

[ExternalException (0x80004005): A generic error occurred in GDI+.]
   System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +377630
   System.Drawing.Image.Save(String filename, ImageFormat format) +69
   Verification.CreateImage(String path, Int32 height, Int32 width) in c:\inetpub\vhosts\getmunky.com\httpdocs\Default.aspx.vb:64
   establisment_Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\getmunky.com\httpdocs\Default.aspx.vb:162
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
0
 
David RobitailleAnalyst ProgrammerCommented:
???
This error is not related to anything you tell us in the question. Also, it`s don`t look like a setup error.
Either it deserve a new question, or you forgot to tell us some informations.
 
 
0
 
whspiderAuthor Commented:
Actually to be clear ...
I had framework 3.0
Since one of my clients requested 3.5 , I uninstalled 3.0 framework and installed 3.5... then when I accessed the site ... I got the above error ...
It was working on 3.0 perfectly.

Plz advice
0
 
David RobitailleAnalyst ProgrammerCommented:
yes but your question was about an error with the "asp:ScriptManager" tag. this error message is now gone, no?

 now you got another error.
"A generic error occurred in GDI+"
it may be related, but it may not.

that why you should ask another question for that and close this question..
0
 
whspiderAuthor Commented:
ok fine
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.