Showing posts with label installed. Show all posts
Showing posts with label installed. Show all posts

Wednesday, March 28, 2012

different version of AJAX

Dear All,

I and my friend are working on similar project.we installed the same VS 2005 version and SP1 and AJAX.my program has error.

it couldnt loadSystem.Web.Extensions does it cause by different version of AJAX?

or any other reason?

how can I fix this error?

<tagMapping>

<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="System.Web.UI.Compatibility.CompareValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<addtagType="System.Web.UI.WebControls.CustomValidator"mappedTagType="System.Web.UI.Compatibility.CustomValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addtagType="System.Web.UI.WebControls.RangeValidator"mappedTagType="System.Web.UI.Compatibility.RangeValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addtagType="System.Web.UI.WebControls.RegularExpressionValidator"mappedTagType="System.Web.UI.Compatibility.RegularExpressionValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addtagType="System.Web.UI.WebControls.RequiredFieldValidator"mappedTagType="System.Web.UI.Compatibility.RequiredFieldValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addtagType="System.Web.UI.WebControls.ValidationSummary"mappedTagType="System.Web.UI.Compatibility.ValidationSummary, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</tagMapping>

Have you tried to re-install the AJAX library again?


of course I tried to re-install AJAX but nothing happenedConfused


Sorry that I asked, but sometimes those are the common errors. Also are you sure that you installed 1.0 instead of 3.5?


As I saw in the version tab it is 1.0.does it cause trouble to install version 3.5 instead of 1.0?(if my problem is solved in this case)


hello.

well, the validators are not on the system.web.extensions assembly. I think that they're on the validators dll:

http://forums.asp.net/t/1066821.aspx

btw, if you update your app to use the new version, i think that you no longer need to use those validators.

Did I miss something during installation of AJAX 1.0v?

Hi everyone;

I'm using VS2005 and I've just installed AJAX and it works but in the source view it underlines Script Manager, UpdatePanel, contenttemplate and controls under contenttemplate. I guess I missed something that I don't know:) My simple page code is belove:

Thanks... Kaan ?ZGEN

<%

@dotnet.itags.org.PageLanguage="VB"MasterPageFile="~/Copy of Turuncu.master"AutoEventWireup="false"CodeFile="DNM2.aspx.vb"Inherits="DNM2"title="Untitled Page" %>

<%

@dotnet.itags.org.RegisterSrc="Menu.ascx"TagName="Menu"TagPrefix="uc1" %>

<

asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server"><asp:ScriptManagerid="ScriptManager1"runat="server"/>

<asp:UpdatePanelid="UpdatePanel1"runat="server"UpdateMode="Conditional"><contenttemplate><asp:Labelid="Label1"runat="server"Text="Label"></asp:Label><asp:Buttonid="Button1"runat="server"Text="Button"></asp:Button></contenttemplate></asp:UpdatePanel> <asp:LabelID="Label2"runat="server"Text="Label"></asp:Label><asp:LoginID="Login1"runat="server"></asp:Login><uc1:MenuID="Menu1"runat="server"/>

</

asp:Content>Have you installed SP1 for VS 2005? That can happen if you haven't.

Is there such service pack?? Thanks I didn't know it... :) I'll try and let you know if solved..

Kaan ?ZGEN


Hi mdenn;

Yes that was the problem; now because of you (sayende) I got SP1 and my problem is solved

Thanks..

Kaan ?ZGEN

Saturday, March 24, 2012

Deployment Question

Do the AJAX extensions need to be installed on the server that hosts the website? I'm currently troubleshooting a deployment where the extensions have not been installed on the server and the calendar controls are throwing javascript errors on page loads.

Hi

No need to Install the Ajax Extension to the server. Just put the dll into your Bin directory (ASP.NET Bin Folder).

ALL extensions to your ASP.NET applications should be possible by just putting the corresponding dll into your /Bin folder. This does not only refer to AJAX.

Best Regards

Deployment on production server : Ajax does not function; on local WorkStation is Ok

Hello,

I have just put to me to the AJAX, I installed it well on my PC, my ajax project with "Update Panel" functions locally.

I put it in production, I put the extensions in [bin]: "AjaxControlToolkit.dll"; System.Web.Extension is quite present in the GAC and when I click on the button to refresh the "update panel" in which a label update yourself. a traditional PostBack of alll the page is carried out! as if there were no Ajax!!?

Help me!


En fran?ais :

Bonjour,

Je viens de me mettre à l'AJAX, je l'ai bien installé sur mon poste, mon projet ajax avec un Update Panel fonctionne en local.

Je le mets en production, j'ai mis les extensions dans [bin] :
"AjaxControlToolkit.dll", System.Web.Extension est bien présent dans le GAC

et quand je clique sur le bouton pour rafraichir l'update panel dans lequel un label se mets à jour. un rafraichissement classique de toute la page s'effectue! comme si il n'y avait pas d'Ajax!!?

un peu d'aide ne serait pas de refus!

The first think I will ask you is to make sure the same version of Ajax is installed on the production server. I know it may sound silly, but I know several people with similar problem and they claim that they have the same version, but when they take a deeper look, they notice that there was not the same.

deployment issue with Atlas

hi,

I installed atlas and added the atlas reference in asp.net application (asp2.0 with VS 2005) in the development envrionment and created some screens which use partialrendering. The app runs fine on the development machine. But when I copied my files to the server the screens which have partialrendering fail with an error "Unknown server tag 'atlas:ScriptManager'. " Now i have included the Microsoft.Web.Atlas.dll in the bin directory and also added all the keys required to the web.config that is present in the dev machine. As a last resort I also went and installed Atlas on the webserver . And I am still getting the same error. By the way all other screens work fine, no issues.

Any help would be greatly appreciated.

Thanks.

hello.

the most common issue people are facing is incorrect configuration of IIS. for example, many forget to configure the application so that it uses asp.net 2.0. have you checked that?


Yes. The application was already using asp2.0 and in the webserver environment a while back. Only recently did I include Atlas, and I am still stuck and cannot seem to figure out why i have having problems with pages which use partialrendering. It is not recognizing<atlas:ScriptManager> tag which I would think means my settings for Atlas is not correct. Is there an article or something which says how to deploy atlas to webservers ?

Thanks.


hello.

btw, have you checked the web.config file to see if the that atlas prefix is mapped to the correct assembly?


Thank you very very much. That was it, you are genius :-). I do not overwrite web.config on server from the dev environment and I missed those 3 lines in it.


nmuralidhar:

That was it, you are genius :-).

well, i wish i was one, but i'm not :)


Dear nmuralidhar, you said "I do not overwrite web.config on server from the dev environment and I missed those 3 lines in it." What are those 3 lines. Thanks.
hi.

~i think he was talking about the old 3 lines which mapped the atlas prefix to the namespaces where the atlas controls used to exist. now things are different:
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>
</controls>
</pages
discard the last 2 lines if you're not using the future bits

Deploying ATLAS to a remote server

Hello everyone. I have downloaded and installed the Beta 1 version of ASP.NET AJax. I would like to be able to use it on a remote hosting service. I would add a reference to the .dll file that uses AJAX, and then update the web.config file to complete the support for AJAX, but I can't seem to fine the .dll file after I have installed it.

Does anyone know where I can find the .dll file so I can use it on a remote hosting server?

Thanks.

I am pretty sure this is what you are looking for:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025


Also, you will need to make sure that ASP.NET Ajax dll is installed on the
remote server.

Wally

wrote in message news:1445631@.forums.asp.net...
> Hello everyone. I have downloaded and installed the Beta 1 version of
> ASP.NET AJax. I would like to be able to use it on a remote hosting
> service. I would add a reference to the .dll file that uses AJAX, and then
> update the web.config file to complete the support for AJAX, but I can't
> seem to fine the .dll file after I have installed it.
>
>
>
> Does anyone know where I can find the .dll file so I can use it on a
> remote hosting server?
>
> Thanks.
>


Listen to the ASP.NET Podcast @.http://www.aspnetpodcast.com/
Thank you for your help. I got it to work :)

deploying Atlas enabled application

Hi,

I've installed the latest final release of atlas ( not the new beta one) It's working on my development server, but when I deploy it I get this error.

Do I need to install any applications on the live server? Shouldn't this be taken care of by just deploying the application ?

Thanks,

mike123

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:Unrecognized attribute 'type'.

Source Error:

Line 2: <configuration>Line 3: <configSections>Line 4: <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">Line 5: <sectionGroup name="scripting" type="Microsoft.Web.Configuration.ScriptingSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">Line 6: <sectionGroup name="webServices" type="Microsoft.Web.Configuration.ScriptingWebServicesSectionGroup, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">


Did you ever find a solution to this?

Copy those three DLL into your application's bin folder:

You can find them at C:\Program Files\MicrosoftASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025.
AJAXExtensionsToolbox.dll
System.Web.Extensions.dll
System.Web.Extensions.Design.dll

Deploying ASP.NET AJAX-Enabled Web site to host without AJAX installed

Is there a sure-fire way to deploy an ASP.NET AJAX-Enabled web site to a web host who refuses to install AJAX 1.0?

How come just copying the System.Web.Extension .DLLs to the application's BIN diectory would work. I also copied the v1.0.61025\MicrosoftAjaxLibrary\System.Web.Extensions\1.0.61025.0 Javacript files into BIN as well and maybe that is the problem. If anyone has found a way to publish to a server without AJAX, please let me know what needs to be done.

Thank You!!!

Well its almost impossible since you are still missing some files from:

eg: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"


Though it is recommended to have ASP.NET AJAX 1.0 library in the GAC, you can keep it in the \bin folder if your application is running on Full Trust.

Thanks


My next question then, is, what files need to be in the BIN folder in order for it to work?

Deploying AJAX Extension in to the BIN folder

I noticed thatAjaxControlToolkit.dll installed in the BIN folder of the website. I wonderedsystem.web.extensions.dllcan be in installed in BIN folder as well. Specifically in some cases like Share Hosting it is not possible to access GAC (Hosting company may not support it) and it would be great to be able to install it in BIN folder.


Is there any performance or security difference between AjaxControlToolkit.dlland system.web.extensions.dll? whyAjaxControlToolkit.dllcan sit in the BIN folder not the system.web.extensions.dll?

Thanks in advance.

The ASP.NET AJAX Docs state:

note

The installation process installs the ASP.NET AJAX assembly (System.Web.Extensions.dll) in the global assembly cache (GAC). Do not include the assembly in the Bin folder of your AJAX-enabled Web site.

Reference:http://www.asp.net/ajax/documentation/live/InstallingASPNETAJAX.aspx

With that stated I am not entirely sure why this note is there. Maybe someone with more inside knowledge than myself can explain further. I can say one of the webhost I use wants to chare me to install ASP.NET AJAX and I deployed the needed DLLs in my web bin and have not ran into issue to date.


I had the same impression about the DLL and I guess technically it should be possible to install it in the BIN folder. I will appreciate if some one from Microsoft or some one with deep knowladge in this area leave here a comment that why we should not put AJAX DLLs in the Bin folder.

Deploying ajax apps

Hi guys,

This might seem a silly question but i have installed ajax control kit on my desktop machine, the app builds and works file but when i deploy onto hosting production server which has ajax extension installed, it doesn't work eventhough i have all dlls and webconfig file on the live server, am i missing somethinh? do i have to install the control kit on the live server as well?

thanks in advance,

Abdi

Server needs ASP.NET AJAX installed, your deployment directories need AjaxControlToolkit.dll in a suitable BIN directory and the necessary web.config settings in a suitable directory.

Deploying ajax apllication on the server where ajax extension are not installed in GAC [gl

I am copying ajax extension in the bin directory of my website and giving to the client.
For instance if the Ajax extension is not installed on the server then my bin directory dlls will work other wise the GAC version of ajax extension work.
Any Comment on this idea

This is a perfectly acceptable way of deploying an asp.net ajax application. This should work so long as you include the Microsoft.Web.Extensions.Design and Microsoft.Web.Extensions dll's in your project.

I may be missing one, but those are the main two, excluding the ajaxtoolkit dll if you want to use any of the toolkit controls.


Thanks tfsmag.

Please also clear me about two points

1, For letting the refrence from the Bin directory what changes i need in the web.config [if any]

2, For instance if i have copied ajax 1.o version in my bin directory.for instance now there is a new release of the Ajax Extensions let say 1.1 and on the server this new version become installed

Now which version of my ajax dll will be called GAC or from Bin directory ?


if you already reference the proper dll's in your web.config you shouldn't need to change it. If I recall correctly the application will use the version in the bin if there is one. I'm pretty certain that the app only looks in the GAC if you don't have a reference to the dll's in your bin folder. I may be incorrect (it's been a few months since I had to deal with this issue and I don't have access to the old source code from the app that I worked with handy at the moment). Give it a try and let me know how it goes!

As far as the ajax extensions go, I believe you'll need to have the proper version of the extensions that matches the version of AJAX you're using. For instance I don't think the current version of the extensions will work with the previous version of AJAX.

Hope this helps!

- Jeff


~hello.

well, if you want my opinion, you shouldn't do that unless you know that your asp.net apps will run in full trust. there are some operations performed by the asp.net ajax that requires more priviliges that are available on medium trust apps (which is how most web apps are configured)


I don't think I've ever created a web app that didn't run in medium trust, I guess I'm confused as to why having your dll's in the bin rather than the GAC will affect anything as far as trust levels go. Could you explain it to me, I'd like to know for future reference.


hello again.

if i recall correclty, since .net 2.0 gac components have full control. if it's there, it can do anything. period. there are some cases where the asp.net ajax platform would need full trust to perform its operation. if the dll wasn't on the gac, this would mean that your web app wouldn't be able to continue to run in medium trust.since the dll is on the gac, everything will work without being necessary to change the trust level of the site. I think that Scott Gu has spoken about this in the past in his blog, so you might want to run a search over it...