This is a migrated thread and some comments may be shown as answers.

convertion from VS2005 to VS2010 not working

7 Answers 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vitaly
Top achievements
Rank 1
Vitaly asked on 31 Jan 2012, 10:57 PM
Hi guys,
yesterday my company downloaded Visual Studio 2010.I conerted web app from VS2005 to VS2010 and try to run.When I hit redirect button I am receiving this error:

Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '�'.

Or when put searching criteria and click on button I received this error:
Line: 2788
Error: Object doesn't support this property or method

But again in VS2005 working just fine.

Thanks so much.

7 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 06 Feb 2012, 09:20 AM
Hi Vitaly,

Please elaborate on your scenario so that I can provide an according suggestion. Is the button that you mentioned a RadButton? Are you using any RadControls for ASP.NET AJAX on the page, in which the problem occurs? A description of your redirection logic will also be useful for determining what is causing the described issue.

As for the error that you have received, I would suggest examining this article and checking if your case is similar to any of the listed ones.

All the best,
Slav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Varun
Top achievements
Rank 1
answered on 19 Apr 2013, 08:14 PM

Hi,

I have converted my solution from vs 2005 to vs2010 using the vs 2010 wizard. when i build the application it was built successfully, however i am getting warning "done with some errors" on the bottom of the page. Which is actually not generating the data in my page.
Before converting the code in view source was -->
Filter by Status:&nbsp;<select name="ctl00$contentContent$ddlStatusFilter" onchange="javascript:setTimeout('window[\'ctl00_contentContent_RadAjaxManager1\'].AsyncRequest(\'ctl00$contentContent$ddlStatusFilter\',\'\')', 0)"  
After converting the code using wizard the same code in view source is visible as-->
Filter by ERGO Group:&nbsp;<select name="ctl00$contentContent$ddlWorkGroupFilter" onchange="javascript:setTimeout(&#39;window['contentContent_RadAjaxManager1'].AsyncRequest(\&#39;ctl00$contentContent$ddlWorkGroupFilter\&#39;,\&#39;\&#39;)&#39;, 0)" id="contentContent_ddlWorkGroupFilter" tabindex="10">

If you observe all the " ' " are converted into " &#39; " becuase of this i am getting the error  
Webpage error details

Message: Expected ')'
Line: 119
Char: 21
Code: 0
Please suggest how to resolve this issue. 

0
Slav
Telerik team
answered on 24 Apr 2013, 11:12 AM
Hello Varun,

This appears to be a problem with converting the Visual Studio project to a newer version. You can try the following suggestions in order to resolve it:
 - Upgrade your solution from VS 2005 to VS 2008 and then to VS 2010;
 - Create a new VS 2010 solution and copy the files from your old solution;

Greetings,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Varun
Top achievements
Rank 1
answered on 24 Apr 2013, 01:38 PM
Hi Slav,

Thank you for the suggestion, i will try it this way.
Meanwhile I found another link below, which suggests to get the latest version of radajax.net2.dll(this is the dll which i am currently using).
http://www.telerik.com/community/forums/aspnet-ajax/ajax/upgrading-problems-to-vs2010-and-net4.aspx

The version of this dll(radajax.net2.dll) is 1.0.3.0. Can you just will this version works with 4.0 framework. 

Thank you.

Regards,
varun
0
Slav
Telerik team
answered on 29 Apr 2013, 09:59 AM
Hi Varun,

The classic RadAjax controls support only the .NET 2.0 framework so it is suggested to use them in such environment. If you want to ensure they will function correctly in a .NET 4.0 project, you need to upgrade to RadAjax for ASP.NET AJAX as described in this help article.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Varun
Top achievements
Rank 1
answered on 13 May 2013, 12:30 PM
Hi,

I just got the reason for this issue.The Radajax Dll using for ajax control version is not supporting in 4.0 framework. We just want to know whether this version is still available in market.
The version details are given below.
0
Slav
Telerik team
answered on 16 May 2013, 07:24 AM
Hello Varun,

As mentioned in my previous post, you are using RadControls "Classic" which is the older version that is not designed for the .NET 4.0 framework. The classic RadControls are no longer updated and you cannot download them from the Telerik web site. Please use these instructions to upgrade to the RadControls for ASP.NET AJAX, which support .NET 4.0.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Vitaly
Top achievements
Rank 1
Answers by
Slav
Telerik team
Varun
Top achievements
Rank 1
Share this question
or