After uninstalling ORCAS beta1 I installed VS 2008 Beta 2. run the script mentioned in download page, reboot the machine. I just had to change something in my old .net2, and
at my total dismay I found out that nothing is working anymore. I’m getting the message “Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0,
…” so I went to the gag at Windows\Assembly and didn’t see any System.Web assembly anymore. I would like to reinstall all necessaries AJAX dll to GAC again. I do not remember the process anymore, so i would really apprecite any help to resolve this issue.
The version number for System.Web.Extensions in Orcas Beta 1 was 2.0.0.0. In VS 2008 Beta 2, the version number is now 3.5.0.0. If you built something that works with Beta 1, you have to modify the web.config for the application to work in VS 2008 Beta 2.
In VS 2008 Beta 2, you can create a new web site, and then check the new web.config that comes with Beta 2 against the web.config you had in Beta 1. Most likely, you just have to change "2.0.0.0" to "3.5.0.0" in several places, and perhaps a few others small
changes.
System.web.dll has always lived in \winnt\microsoft.net\Framework\v2.0.50727, even in VS 2008 Beta 2.
Hope this helps.
==============================================
If you get the answer to your question, please mark it as the answer.
I installed VS 2008 beta2 on my machine a couple of days agoand immediately ran into the version problem with my AJAX-enabled websites (hosted on this machine).
Not knowing that this was the problem (it's not mentioned on the MS page where it *does* say you have to run a particular script to leave your AJAX-websites working!), I did a system restore to before I installed the product.
My websites still didn't work.
I then looked at the forums and discovered the version problem, and decided to undo my system restore, and hand-reconfigure my web.config.
Still no joy...
I also don't know what state my machine's installation is now in, as I have uninstalled .NET 3.5 (pre-release version) as instructed by the install of VS 2008 B2, only to find that this product installs .NET 3.5 (pre-release version)...
I've been fightnig with this now for two evenings, and want to get my websites back flying. I may well have to start again from scratch - which I do NOT really want to do!
I think that there should be a warrning on the download page which mentions this problem - Saying "run this script" gave me the (false) impression that running the script would mean that things would simply work "out of the box"...
Maybe I've just completely screwed up my installation?
OrcasExpressconfigurationVS2008AJAX .NET 3.5
Kelsey Thornton
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
I have been playing with my website on another machine, where I hadn't panicked and done all the messing about with system restore...
First, I created a new website under my wwwroot.
This resulted in the same strange configuration errors - even when I looked at the "virgin" Default.aspx file(!)
After a bit of poking about, and commenting things out in my web.config file, I diescovered that the source of these configuration errors was a web.config file in my wwwroot directory, which had previously either not existed, was empty, or had not been loaded.
After deleting the web.config file in my wwwroot directory, I now don't get the same configuration errors, simply that the version numbers are wrong...
Web DeveloperOrcasExpressconfigurationIISVS2008AJAX .NET 3.5
Kelsey Thornton
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
On the client end, I get an error "Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead".
On the server end, I get a configuration orror telling me that I haven't got VJSharp correctly referenced, but with no file name listed in the error window. (not in front of my development mahcine at the moment, so this is from memory) As far as I am aware,
I haven't got VJSharp installed on that machine!
Web DeveloperExpressASP.NET AJAXVS2008AJAX .NET 3.5
Kelsey Thornton
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
Problem like "Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead."
has been accured in my project too.
I'm using vwd 2008 beta, I havn't had problem with ajax before, this error accured when I used <cc1:SlideShowExtender> can't add Slide show because of this error
and can't fix anything! [:S] really need help! please if someone knows the solution post it!
This problem is due to the Ajax Policy information which is trying to get from the framework 3. There is a batch file mentioned in the link run it and it should go fine
FrenchiInLA
Member
332 Points
99 Posts
Ajax Projects after installing 2008 Beta2
Aug 03, 2007 04:14 PM|LINK
After uninstalling ORCAS beta1 I installed VS 2008 Beta 2. run the script mentioned in download page, reboot the machine. I just had to change something in my old .net2, and at my total dismay I found out that nothing is working anymore. I’m getting the message “Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, …” so I went to the gag at Windows\Assembly and didn’t see any System.Web assembly anymore. I would like to reinstall all necessaries AJAX dll to GAC again. I do not remember the process anymore, so i would really apprecite any help to resolve this issue.
Ajax ORCAS 2008 Beta2
hongping
Contributor
3403 Points
635 Posts
Microsoft
Re: Ajax Projects after installing 2008 Beta2
Aug 03, 2007 10:46 PM|LINK
The version number for System.Web.Extensions in Orcas Beta 1 was 2.0.0.0. In VS 2008 Beta 2, the version number is now 3.5.0.0. If you built something that works with Beta 1, you have to modify the web.config for the application to work in VS 2008 Beta 2.
In VS 2008 Beta 2, you can create a new web site, and then check the new web.config that comes with Beta 2 against the web.config you had in Beta 1. Most likely, you just have to change "2.0.0.0" to "3.5.0.0" in several places, and perhaps a few others small changes.
System.web.dll has always lived in \winnt\microsoft.net\Framework\v2.0.50727, even in VS 2008 Beta 2.
Hope this helps.
If you get the answer to your question, please mark it as the answer.
amolwankhede
Member
14 Points
7 Posts
Re: Ajax Projects after installing 2008 Beta2
Aug 17, 2007 10:45 PM|LINK
HI
I have a Kind of similar problem. I installed VS 2008 Beta 2. Then Downloaded the AJAX 1.0
When I try to create a new Web site, that I dont See a template For Ajax enabled web site that we used to get is VS2005
What is missing?
Thanks
AJAX AJAX accordion AJAX ASP.NET AJAX .NET
hongping
Contributor
3403 Points
635 Posts
Microsoft
Re: Ajax Projects after installing 2008 Beta2
Aug 17, 2007 11:00 PM|LINK
VS2008 Beta 2 comes with AJAX Extensions, so you don't need to download the 1.0 separately.
There is no "Ajax-enabled web site" project template in VS2008. Just a new "ASP.NET Web Site" (targetted for .NET Framework 3.5) should do.
If you get the answer to your question, please mark it as the answer.
amolwankhede
Member
14 Points
7 Posts
Re: Ajax Projects after installing 2008 Beta2
Aug 18, 2007 01:21 AM|LINK
YES, I agree
I could determine that when I creatred a project and had a look at the web.config :)
I think it is not very much advertised that you Dont need to Install the AJAX extension.....I have seen many people asking this.
Thanks any ways
- Amol Wankhede
AJAX .NET 3.5
KelseyThornt...
Participant
904 Points
236 Posts
Re: Ajax Projects after installing 2008 Beta2
Aug 24, 2007 06:50 AM|LINK
I installed VS 2008 beta2 on my machine a couple of days agoand immediately ran into the version problem with my AJAX-enabled websites (hosted on this machine).
Not knowing that this was the problem (it's not mentioned on the MS page where it *does* say you have to run a particular script to leave your AJAX-websites working!), I did a system restore to before I installed the product.
My websites still didn't work.
I then looked at the forums and discovered the version problem, and decided to undo my system restore, and hand-reconfigure my web.config.
Still no joy...
I also don't know what state my machine's installation is now in, as I have uninstalled .NET 3.5 (pre-release version) as instructed by the install of VS 2008 B2, only to find that this product installs .NET 3.5 (pre-release version)...
I've been fightnig with this now for two evenings, and want to get my websites back flying. I may well have to start again from scratch - which I do NOT really want to do!
I think that there should be a warrning on the download page which mentions this problem - Saying "run this script" gave me the (false) impression that running the script would mean that things would simply work "out of the box"...
Maybe I've just completely screwed up my installation?
Orcas Express configuration VS2008 AJAX .NET 3.5
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
(VB code examples preferred)
KelseyThornt...
Participant
904 Points
236 Posts
Re: Ajax Projects after installing 2008 Beta2
Aug 24, 2007 09:13 AM|LINK
I may have found my problem...
I have been playing with my website on another machine, where I hadn't panicked and done all the messing about with system restore...
First, I created a new website under my wwwroot.
This resulted in the same strange configuration errors - even when I looked at the "virgin" Default.aspx file(!)
After a bit of poking about, and commenting things out in my web.config file, I diescovered that the source of these configuration errors was a web.config file in my wwwroot directory, which had previously either not existed, was empty, or had not been loaded.
After deleting the web.config file in my wwwroot directory, I now don't get the same configuration errors, simply that the version numbers are wrong...
Web Developer Orcas Express configuration IIS VS2008 AJAX .NET 3.5
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
(VB code examples preferred)
KelseyThornt...
Participant
904 Points
236 Posts
Re: Ajax Projects after installing 2008 Beta2
Aug 30, 2007 12:05 PM|LINK
This has fixed most of my problems, however, I'm using the AJAX Slideshow extender on some of my pages (e.g. http://liberator.boldlygoingnowhere.org/Baronie/Fotos/More_Bettelstudent/Dia_Bettelstudent.aspx), and this now no longer works.
On the client end, I get an error "Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead".
On the server end, I get a configuration orror telling me that I haven't got VJSharp correctly referenced, but with no file name listed in the error window. (not in front of my development mahcine at the moment, so this is from memory) As far as I am aware, I haven't got VJSharp installed on that machine!
Web Developer Express ASP.NET AJAX VS2008 AJAX .NET 3.5
Don't forget - Mark the post which answered your question with "Answer", then that user will get some kudos, and your post will be marked as "Answered" for future readers!
(VB code examples preferred)
p.o.d.
Member
333 Points
114 Posts
Re: Ajax Projects after installing 2008 Beta2
Sep 14, 2007 12:56 PM|LINK
Problem like "Sys.InvalidOperationException: Can't add a handler for the error event using this method. Please set the window.onerror property instead."
has been accured in my project too.
I'm using vwd 2008 beta, I havn't had problem with ajax before, this error accured when I used <cc1:SlideShowExtender> can't add Slide show because of this error
and can't fix anything! [:S] really need help! please if someone knows the solution post it!
http://msguy.net/
sudesh.sagar
Member
164 Points
33 Posts
Re: Ajax Projects after installing 2008 Beta2
Sep 14, 2007 06:37 PM|LINK
This problem is due to the Ajax Policy information which is trying to get from the framework 3. There is a batch file mentioned in the link run it and it should go fine
http://www.west-wind.com/WebLog/posts/123925.aspx