Showing posts with label upgrading. Show all posts
Showing posts with label upgrading. Show all posts

Saturday, March 24, 2012

Upgrade to Ajax extensions 1.0 problem

I'm having a problem with upgrading my website to the 1.0 release of Ajax. I've tried to remove all traces of Microsoft.Web and replaced it with System.Web but somewhere there is a reference to Microsoft.Web and I can't find it. I've searched the entire solution dir and its not mentioned anywhere in there. I've searched the registry and its in there a few times but only in reference to my searches or old projects. I know that my machine is configured properly because I can add a new Ajax enabled website to my solution and the works fine. Below is the error I'm getting and my Web.config. There seems to be a "post-policy reference" to Microsoft.Web.Extensions but I haven't the faintest idea where that is coming from. Please help!

Server Error in '/DanTest' Application.
------------------------

Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
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.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

=== Pre-bind state information ===
LOG: User = TBS-7AF178B6C10\ASPNET
LOG: DisplayName = Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/STProjects/EA/Mozart/Sources/Mozart_DMZ/Mozart.Website/
LOG: Initial PrivatePath = C:\STProjects\EA\Mozart\Sources\Mozart_DMZ\Mozart.Website\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\STProjects\EA\Mozart\Sources\Mozart_DMZ\Mozart.Website\web.config
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dantest/bc4e166c/738e1bd2/Microsoft.Web.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dantest/bc4e166c/738e1bd2/Microsoft.Web.Extensions/Microsoft.Web.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/STProjects/EA/Mozart/Sources/Mozart_DMZ/Mozart.Website/bin/Microsoft.Web.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/STProjects/EA/Mozart/Sources/Mozart_DMZ/Mozart.Website/bin/Microsoft.Web.Extensions/Microsoft.Web.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dantest/bc4e166c/738e1bd2/Microsoft.Web.Extensions.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dantest/bc4e166c/738e1bd2/Microsoft.Web.Extensions/Microsoft.Web.Extensions.EXE.
LOG: Attempting download of new URL file:///C:/STProjects/EA/Mozart/Sources/Mozart_DMZ/Mozart.Website/bin/Microsoft.Web.Extensions.EXE.
LOG: Attempting download of new URL file:///C:/STProjects/EA/Mozart/Sources/Mozart_DMZ/Mozart.Website/bin/Microsoft.Web.Extensions/Microsoft.Web.Extensions.EXE.

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +347
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.CompileCodeDirectories() +525
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434959
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252

 
Here is my web.config:
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<connectionStrings configSource=".\\App_Data\\EnvironmentSettings.xml"/>
<!-- The following is need so that an unauthenticate user has access to the AJAX script files. -->
<location path="ScriptResource.axd">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location
<system.web>
<authorization>
<deny users="?"/>
</authorization>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="Mozart" defaultUrl="/Default2.aspx" timeout="1440"/>
</authentication>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
<!-- ___________________________ Profiles ___________________________ -->
<profile defaultProvider="MozartProfileSqlProvider">
<providers>
<clear/>
<add name="MozartProfileSqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="EnvironmentSettings.Mozart" applicationName="Mozart"/>
</providers>
<properties>
<add name="OrganizationId"/>
<add name="BackgroundColor"/>
<group name="PhoneNumbers">
<add name="Home"/>
<add name="Mobile"/>
<add name="Business"/>
</group>
</properties>
</profile>
<!-- ___________________________ Membership ___________________________ -->
<membership defaultProvider="MozartMembershipSqlProvider">
<providers>
<add name="MozartMembershipSqlProvider" connectionStringName="EnvironmentSettings.Mozart" applicationName="Mozart" type="System.Web.Security.SqlMembershipProvider" requiresUniqueEmail="false" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0"/>
</providers>
</membership>
<!-- ___________________________ Roles ___________________________ -->
<roleManager enabled="true" defaultProvider="MozartAspNetSqlRoleProvider">
<providers>
<add applicationName="Mozart" connectionStringName="EnvironmentSettings.Mozart" name="MozartAspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
</system.web>
<!-- ___________________________ SiteMap ___________________________ -->
<location allowOverride="false">
<system.web>
<siteMap defaultProvider="MozartSiteMapProvider" enabled="true">
<providers>
<add name="MozartSiteMapProvider" description="Mozart SiteMap provider" type="System.Web.XmlSiteMapProvider" securityTrimmingEnabled="true" siteMapFile="Web.sitemap"/>
</providers>
</siteMap>
</system.web>
</location>
<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
-->
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
</configuration
------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
I fixed it. I had a web.config in the root of my local webserver (C:\inetpub\wwwroot) that was messing it up when I launched from VS. If I set the project to the default server it worked fine. I deleted the web.config in the root and now both work fine.

Upgrading a plain old ASP.NET Web Site to ASP.NET Ajax 1.0 RTM

Hello,

I have a plain old ASP.NET 2.0 website, which I'd like to update to use ASP.NET Ajax. I followedhttp://ajax.asp.net/documentation/Migration_Guide_CTP_to_RTM.aspx and updated the web.config file, but I keep getting ["Sys.Application" is null or not an object] script errors when I run the site. My site requires some custom config sections and a whole lot of external references so I'd rather avoid deleting my web.config and start all over. Is there any possible reason for ASP.NET Ajax not kicking in, how can I solve this? This is the first installation of ASP.NET Ajax on this machine (so no CTP or Beta has been installed before)

Kind regards,

Wouter

Did you add a reference to System.Web.Extensions for your website? Did you register any java script files you have with the scriptmanager?

Upgrading Ajax Control Toolkit

Is there a faq on how to upgrade an existing app to a newer version of the control toolkit? What needs to be done etc?

Replace the old toolkit dll reference in your project(s) to the dll from the current release.


Seethis forum post for more details.

Upgrading ASP.NET 2.0 projects to Atlas

How do you upgrade an existing ASP.NET 2.0 project to Atlas? I already install the Atlas April 2006 CTP. I can create Atlas websites in VS 2005 but I want to upgrade some of the projects I have to Atlas.

hello.

well, you need to put the atlas dll on the bin folder, copy some entries from the default atlas web.config to your app's config and, if you're using bridges, add a new extension to iis.


bass_player...

Try these instructions on my blog -http://codebetter.com/blogs/jay.kimble/archive/2006/05/19/144952.aspx

I think they will help you out considerably.

Jay


bass_player...

Try these instructions on my blog -http://codebetter.com/blogs/jay.kimble/archive/2006/05/19/144952.aspx

I think they will help you out considerably.

Jay


Thanks a lot Jay, I really appreciate this. I just need to try it out. Will give you some updates.

Upgrading Extender control from Atlas to ASP.NET AJAX

Hi,

I have an extender control written in atlas. I want to upgrade it to asp.net ajax.

Its so sad that there are no documentation for upgrading an extender control.

My extender control is as follows.

publicclassMyExtender : ExtenderControl<MyTargetProperties>

{

public MyExtender()

{

}

publicstring ControlID

{

get

{

return (string)ViewState["ControlID"] ??"";

}

set

{

ViewState["ControlID"] =value;

}

}

protectedoverridevoid OnInit(EventArgs e)

{

// Init code

base.OnInit(e);

}

protectedoverridevoid OnLoad(EventArgs e)

{

base.OnLoad(e);

}

protectedoverridevoid OnPreRender(EventArgs e)

{

base.OnPreRender(e);

}

protectedoverridevoid RenderScript(Microsoft.Web.Script.ScriptTextWriter writer,Control targetControl)

{

// write the script here

}

}

publicclassMyTargetProperties : TargetControlProperties

{

protectedoverridebool IsEmpty

{

get {returnfalse; }

}

}

Can somebody suggest what I need to do ?

The moment I remove the Microsoft.Web.UI namespace, I get plenty of errors.

Thanks

Hi,

Maybe it's not too hard to start with a new control based on the doc, and migrate your code:

Adding Client Behaviors to Web Server Controls by Using ASP.NET AJAX Extensions

or

Adding Client Capabilities to a Web Server Control by Using ASP.NET AJAX Extensions


hello.

well, several things have change since then but i'll try to recall what yoyu need to do. the first thing is to drop the targetcontrolproperties since they are no longer needed.

the second thing you need to know is that the client behavior object (JS) is introduced in the page through what is know as a ScriptDescriptor object. currently,you have 2 options: ScriptBehaviorDescriptor and ScriptControlDescriptor (it all depends on what you're developing: behaviors or client controls). Besides one of these objects, you'll also need a scriptreference to indicate the client files that must be loaded. what you can't forget is to:

1. during prerender, call registerextendercontrol method

2. during the render method, you must call the registersccriptdescriptors

do notice that if you're extending the extendercontrol class then you don't need to worry about this: just override the abstract getscriptdescriptors and getscriptreferences methods

i still think that the easiest way to understand what's going on is to use reflector and take a look the code you have in the current version of the platform...

Upgrading from atlas to ajax extensions 1.0

Hello

I have some projects wich I build in Atlas and are already finished and properly running on my server.

I want to updatethe server in order to runNEW asp.net applications using AJAX.

Question: If I upgrade mySERVER to Ajax Extensions, will my existing Atlas projects (wich I don't plan to modify) still run fine?

Thanks

Well,

As I remember that in Atlas, all the dlls are in the bin folder; and the new AJAX, everything is in the GAC. I don't think there will be a problem if you install AJAX on your server, because you don't even use it. And if you don't intend to modify anything, then don't bother installing Ajax on your server.

But if you do sometimes in the future, then you need to modify your .aspx pages including the Web.Config file;

The new one has more to offer ... ..... good luck ......


Please also refer to : http://ajax.asp.net/documentation/default.aspx?tabid=47

See section Migration Guides


Upgrading from Beta 2 to 1.0 in production server

Hi there! I'm going to upgrade MS Ajax as subject. I read somewhere else I should restart IIS to make it use the new version. How can I do it without restarting the server? Any other things I should have in mind while performing the upgrade?

Thanks,

-Benton

Hi benton,

Restart IIS --> Open --> run --> iisrestart

Regards,

Upgrading June CTP to July CTP

What is the best way to do this, uninstall the June CTP then run the installer for the July CTP, or run the July CTP msi and it will upgrade an older version?

hello.

i think that the correct behavior is uninstall and then install the new version.

Upgrading the AJAX Control Toolkit?

If I have a directory called AJAXCTPEnabledWebsite1 in my VS websites folder, how do I upgrade that to the release version? I guess I'm not sure what the difference is between AJAX 1.0 and the AJAX Control Toolkit. If I have the AJAX Control Toolkit, does that mean I already have AJAX (pre 1.0 in my case) installed?

I just need to get upgraded to the release version(s) and need a little direction. Any help will be greatly appreciated. Which of these do I need:

http://ajax.asp.net/downloads/default.aspx?tabid=47

You needboth, the RTM version of ASP.Net AJAX and the latest version of the toolkit. You will need to recompile your project against the latest bits and check for any issues. You can find toolkit breaking changes information under thearchived releases section of the toolkit and ASP.Net AJAX breaking changeshere.

The latest version is v1.0.10301.0. Download that release (its the latest one), get the zip files that includes all the files. In the Sample Websites/Bin you will see "AjaxControlToolkit.dll". Thats the dll you need to import in to your VS Toolkit.


kirtid:

You needboth, the RTM version of ASP.Net AJAX and the latest version of the toolkit. You will need to recompile your project against the latest bits and check for any issues. You can find toolkit breaking changes information under thearchived releases section of the toolkit and ASP.Net AJAX breaking changeshere.

So is the 'beta' of the control toolkit the ASP.NET AJAX RC or the ATLAS version? I found the migration docs, but they are different based on which version you have. As I said, I have the 'beta', but I'm not sure if that is the same as the AJAC RC or the ATLAS version. I believe it should be the AJAX RC, but I want to confirm before I start uninstalling/installing. In the link below, it mentions 'beta' in the sentance above two possible documents, but the links and info about the actual links don't label either one as migration from the 'beta'.

Specifically, on this page, do I use the first or second migration document if I have the Control Toolkit 'beta'?: http://ajax.asp.net/documentation/default.aspx?tabid=47

Thanks for the info.


The toolkit is built on top of the ASP.Net AJAX platform. They are two separate entities. ASP.Net AJAX RTM is what the latest version of the toolkit uses. You should always use the latest version of the toolkit which is what we support. I pointed you to the archived releases in case you wanted to check out any older breaking changes. You should uninstall all older versions of ASP.Net AJAX before installing the RTM build, then download the latest version of the toolkit and compile your project against these new dlls.


Ahh, OK, now I see, that makes sense. Thanks!

upgrading to ajax.net from Atlas 2.0

Hi, after searching around a bit on this forum I'm not really finding info on how to upgrade to the latest ajax.net from an old Atlas 2.0 project I have.

I have a working project that is Atlas 2.0.5xxx... Is there special instructions on upgrading to ajax.net 1.0? or should I just download it and follow normal install instructions?

Thanks very much.

-JBD

Hi,JBD

Check this articlehttp://groups.google.mu/group/ajaxpro/msg/828724afed7d8132

Let me know if you need more info.

Thanks

NOTE:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

upgrading to Atlas 2.0

I upgraded a site to Atlas 2.0.
I now have a problem with an autoextender inside of a user control. In the user control, I am setting one of 6 textboxes visible depending upon the choice made in a dropdown list. Each textbox has an autoextender attatched to it. When the user starts typing, each autoextender calls it's own function in a web service and autofills the textbox.

This worked using 1.0 of Atlas with no errors

Now, When I browse to the page with the user control, I get the following error:
Assertion Failed: Could not find an HTML element with ID "CtlSearchLims1_txtStrain" for contorl of type "Sys.UI.Control" Break into Debugger?
Whether I click OK or cancel, nothing happens.

The ID of the Control is "CtlSearchLims1" and the first textbox on the control is txtStrain.
Every time I generate a postback I get the above mentioned message. For some reason, it is putting the control ID and the textbox ID together.

When I downloaded Atlas 2.0, I blew away the 1.0 download, so I either need to get this fixed or get a copy of the 1.0 download and go back to that version.

Thanks,

Faronwhere did you get atlas 2.0? since thereisn't even a 1.0 version. Atlas is still in beta and has a versionnumber like 0.0.0.0.0..0.0.0.0.1.2 or so.
So what do you mean? You upgraded from the March CTP to the April CTP?Or do you mean dat you upgraded from ASP.NET1.0 to ASP.NET 2.0?

I went from the previous version that has a Microsoft.Web.Atlas.dll in the bin folder of 167 kb (2/3/2006), to the latest version that has a Microsoft.Web.Atlas.dll of 1872 kb (4/6/2006).

I received no errors on the first version and it started failing when I moved to the current download of Atlas.

Faron


I went from the previous version (OF ATLAS) that has a Microsoft.Web.Atlas.dll in the bin folder of 167 kb (2/3/2006), to the latest version that has a Microsoft.Web.Atlas.dll of 1872 kb (4/6/2006).

Everything is on ASP.NET 2.0!

I received no errors on the first version and it started failing when I moved to the current download of Atlas.

Faron

Upgrading to CTP / ASP.net Ajax

hey guy,

finally i decided to upgrade my ajax framework to the most recent one and i notice some errors which i havn't recieve beofer the upgrade. can someone give a hand here? i really need to resolve those problems ASAP.

this first problem that i'm getting is document.body is null or not an object (the debugger stops in this line):

AjaxControlToolkit._CommonToolkitScripts = function() { /// /// The _CommonToolkitScripts class contains functionality utilized across a number /// of controls (but not universally) /// // Populate the borderThicknesses lookup table this._borderThicknesses = { }; var div0 = document.createElement('div'); var div1 = document.createElement('div'); div0.style.visibility = 'hidden'; div0.style.position = 'absolute'; div0.style.fontSize = '1px'; div1.style.height = '0px'; div1.style.overflow = 'hidden';document.body.appendChild(div0).appendChild(div1);

and the second one is commontoolscripts is null or not an object:

AjaxControlToolkit.ModalPopupBehavior.callBaseMethod(this, 'initialize'); this._foregroundElement = $get(this._PopupControlID); this._backgroundElement = document.createElement('div'); this._backgroundElement.style.display = 'none'; this._backgroundElement.style.position = 'absolute'; // Want zIndex to big enough that the background sits above everything else // CSS 2.1 defines no bounds for the type, so pick arbitrarily this._backgroundElement.style.zIndex = 10000; if (this._BackgroundCssClass) { this._backgroundElement.className = this._BackgroundCssClass; } this._foregroundElement.parentNode.appendChild(this._backgroundElement); this._foregroundElement.style.display = 'none'; this._foregroundElement.style.position = 'absolute'; this._foregroundElement.style.zIndex =CommonToolkitScripts.getCurrentStyle(this._backgroundElement, 'zIndex', this._backgroundElement.style.zIndex) + 1;

thanks,

ori

Did you move to AJAX RC ? Did you move from Beta 2 or CTP ? Use following document

CTP to RC

http://ajax.asp.net/files/Migration_Guide_CTP_to_RC.aspx

Beta 2 to RC

http://ajax.asp.net/files/Migration_Guide_Beta2_to_RC.aspx