Showing posts with label latest. Show all posts
Showing posts with label latest. Show all posts

Wednesday, March 28, 2012

Installing

I'm trying to install latest version of ASP.NET 2.0 v1.0 and when I try to install it says a previous version is installed and I need to un-install from add/remove programs. I have ASP.NET 2.0 AJAX Extensions Beta 2
installed currently. When I go to control panel add/remove programs and try and un-install it eventually comes up with "FATAL ERROR during installation". I can't seem to re-install new version (v1.0) or uninstall old version (beta 2.0). Is there a manual way I can get old version uninstalled or new version installed. Have tried on another PC and all works without a problem (have just uninstalled and re-installed).

Thanks

Discovered was corrupt registry setting/s on my PC. Ran Registry Mechanic and was ok after this.

you still have old version msi (beta 2)

try install it again, then remove it

Installing AJAX on a production server...

i have a production server that I am attempting to install AJAX on. I have installed the latest release .msi file and I have the 2.0 framework running on it. do I need to do anything else? Here is the error I am getting when I run my sites that contain ajax controls...

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: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. (C:\wmpub\WMRoot\web.config line 53)

Source Error:

Line 51: </httpHandlers>Line 52: <httpModules>Line 53: <add name="WebResourceCompression" type="Microsoft.Web.Handlers.WebResourceCompressionModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 54: <add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>Line 55: </httpModules>

I have read a few postings about similar errors, but have had no luck when following the steps. Is there a "step by step" list on how to install AJAX on a production server? Thanks in advance!

Nathan

This is what i think, your project is using old AJAX dll

because by looking at Microsoft.Web.Extensions in the web.config

The Microsoft.Web.Extensions is not for latest AJAX

the latest AJAX is using "System.Web.Extensions"

In the web.config should be like below

<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>

so you have either version conflict or web.config setting is incorrect


Thanks for catching that... I had not updated by web.config... stupid error. I appreciated it!

Nathan

Monday, March 26, 2012

Installing the AJAX Control Toolkit

Hi All,

I've downloaded the latest toolkit but don't seem to have any of the new controls. eg DropShadow or UpdatePanelAnimation.

When I open the semple website that comes with the download, I can view the source of the asp page but can't switch to design view. When I try, I get the following message:

error creating control - content 1

Unknown server tag 'asp:ScriptManager'

I am using Visual Web Developer 2005 Express edition - is this my problem and do I need a full vs2005 edition?

Many thanks in advance

Mike

Couple things could cause that. Most likely though you don't have the necessary changes made to your WEB.CONFIG. Create a new AJAX project from scratch and review the stuff it puts in there related to AJAX. Then merge those things into your WEB.CONFIG. Somebody should put together a FAQ on retrofitting an existing web.config file to support AJAX and the toolkit.

It also could be that you haven't copied the DLL for AJAX and the TOOLKIT into your BIN folder.

In order for the Toolbox controls to appear in the toolbox, you have to right-click in the toolbox and add the controls by pointing to the Toolkit DLL.


Hi there,

In my bin folder for my new application, I have the required DLL(Microsoft.Web.Atlas.dll). I have tried to add the toolkit to my toolbar, navigated to the relevant DLL and this throws up another error which I have put in another post.

One thing I have noticed is that uner My templates when I create a new site, I have "ATLAS" Web Site. Most docs I have read suggest it should say AJAX Website. I have the latest Atlas CTP installed so I am not sure why this is. Thanks for your tips so far and any further tips would be hugely appreciated.

Cheers

Mike


Atlas.dll is the old version, you need Ajax.dll

THere is a guide somewhere on this website for upgrading from the Atlas.dll syntax ...


Hi Dtaylo75,

Excellent. Found the guide. Deleted the Atlas CTP and Installed the AJAX Beta. Now the AJAX toolkit is included in my toolbar.

Many thanks for your time this afternoon.

Mike

Integrate AjaxControls from Toolkit into VS 2005 Toolbox ?

Hi

I have just downloaded the Ajax Control Toolkit latest version. Although i did run "AjaxControlExtender.vsi"; however i cannot find the controls in the toolbox. Could anyone please point out how to integrate the controls from the toolkit into the toolbox. Thank you.

Regards,
NAB

Add on current toolbox, right click to add a new tab, name this what ever you want like AJAX Tool Kit.

Now locate the AjaxControlToolkit.dll assembly file, it should be where you installed it under the folder SampleWebSite\Bin. Drag this assembly and drop it into your new toolbox tab. All the toolkit controls should now be in this new tab.


It worked. Thanks a lot mate.

Saturday, March 24, 2012

Invalid Argument

Hi there

I get an odd error when I publish my website to a 2003 server box with the latest asp.net ajax dll installed.

Currently my only page that uses the toolkit has a usercontrol containing a DragPanelExtender. When it loads I get an 'Invalid Argument' client javascript exception. If I try to debug, it breaks into the client side script at

a.left=c+"px"

where c is an invalid number (NaN)

This works fine locally on my dev box.

thanks in advance

Found it!! After tearing what little hair I have left out. I found that certain web servers (I am still looking into the exact detail that causes this to happen!) seem to a cause IIS/IE/ASP NET AJAX to have a problem with frame attributes like frameborder when their values are set to "yes" or "no" rather than "1" or "0".

Once I updated all of them the problem went away.

Hope this helps someone