Link to home
Start Free TrialLog in
Avatar of whspider
whspider

asked on

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
Avatar of himabindu
himabindu

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

Load that dll into your website. then it works
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.
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
Avatar of whspider

ASKER

I have this installed "ASP.NET 2.0 AJAX Extensions".
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.
the new tool kit Ajax Control Toolkit for 3.5 is a beta version
i s it ok ?
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 
AJAX Control Toolkit - Binary

rite ??
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.
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.
 
Do we have to relpace the files in the program files ?
I'snt ScriptManager a part of the tool kit ?
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.
Visual studio 2005
ASKER CERTIFIED SOLUTION
Avatar of David Robitaille
David Robitaille
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wen I download and install asp.net 3.5 , I get a a setup error
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.
 
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
???
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.
 
 
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
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..
ok fine