Showing posts with label deploy. Show all posts
Showing posts with label deploy. Show all posts

Saturday, March 24, 2012

Deployment Script for Atlas HTTP Handler

I'm deploy Atlas to several sites and put together a script that registers the Atlas handler across all sites on a machine. If anyone else is in the same situation please feel free to give it a shot:

http://geekswithblogs.net/colinbo/archive/2006/05/11/77937.aspx

Feedback appreciated!

Cheers,
Colin

Cool stuff -- thanks for posting this Colin!

Deployment of ASP.NET AJAX based application

Hey,

I want to deploy my AJAX application on a server which does not have the ASP.NET AJAX framework.Can anybody tell me what the requirements on the server are for the application deployment apart from Microsoft.Web.Extensions.dll in GAC?

Thanks

I would like to have further information about the same issue.

For sure you must have the .dll either in GAC or /bin of the deployed Atlas website, but I think it's required to update the web.config (obviously server-side) but unfortunately I don't know exactly how.

There is a lot of confusion about this issue all around... Help!

Thanks

deployment

hi

is it possible to deploy a asp.net ajax web site on a server that does not support asp.net ajax ?

thanks

shaul

you must upload the DLL files in default directory C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025

but the host must be full turst.

Deploying the Simplest of ASP/AJAX -- Sample ZIP Perhaps?

I've yet to successfully deploy an ASP/AJAX simple demonstration application without running into all sorts of remote host configuration disasters.

WHY isn't there a simple ZIP file that has straightforward instructions on how to deploy ANYWHERE? (Even without a database would be a solid proof of concept for me, at this point!)

mahalos ... :) KevInKauai

Well, you don't need a database... and you don't need anything installed on the server... just install ASP.NET AJAX 1.0 from this site (http://ajax.asp.net) and then copy the DLL's into your bin folder.

Here is an example of using ASP.NET AJAX and it's pretty straight forward:http://www.singingeels.com/Articles/Using_Page_Methods_in_ASPNET_AJAX.aspx

deploying my ajax app

hey all,

i have a brand new windows 2003 server that i'm trying to deploy my ajax app to and i'm getting an error with the web.config. is there anything special i need to do to the server for my app to work?

thanks,

rodchar

hello.

well, you just need to install the asp.net ajax toolkit and configure your web app so that it uses asp.net 2.0.


Thank you.


hello again.

~sorry...in the previous post i meant the asp.net ajax extensions and not the asp.net ajax toolkit :) btw, both are available on the download section of the ajax.asp.net site.

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 ASPAJAXCTP.msi in Client Place

hi,we have developed our web page with AJAX and now we are in a stage to deploy our portal to the client. since we have used the ASPAJAXCTP.msi, we need to install in the clients place. is there any method to check whether AJAX tool kit has been installed already if not then install. like this can we check?hope some one can help me on this.thanks in advance

sbadriprasad:

we need to install in the clients place.

Well you do not need to install the MSI if you manually reference the ajax assemblies rather than using the GAC copy.

sbadriprasad:

is there any method to check whether AJAX tool kit has been installed already if not then install. like this can we check?

You can check the computer's add/remove programs for the AJAX extensions called MS ASP.NET 2.0 Ajax Extensions 1.0

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.NET

Hi,

I just wondering how can we deploy AJAX.net in our setup. Did our client will need to install AJAX.NET and our application, or can we embed the dll in our bin folder... The installation guide as this note...

In the installation Guide its wrote:

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.

Please help!!

Best Regards

Marc-Antoine Latour
Strategia Communications
http://www.strategia-ed.com

Hey,

You need to install ASP.NET AJAX on the server where you are running your site. When that is done you need to configure the webconfig file. There is a guide on asp.net that helps you with this configuration.

It is not possible to include the dll in the bin folder and your client does NOT need to install anything.

/Sebastian


Ok what I understand, its that there is no way to include AJAX.NET setup into our application setup. Can we add the AJAX.NET setup files in our application cd-rom? If so we could add a prerequisite into our setup to ensure that our clients install the proper version of AJAX.NET.

Best regards,

Marc-Antoine Latour

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.

Deploy Toolkit to Server

Please help!

My development box works gret with the latest toolkit. When I try to deploy to the production server, my popups do not work. I've installed the latest AJAX components per the instructions on the server and copies the latest AjaxControlToolkit.dll to the bin directory. What am I missing?

If this helps:

The ScritManager output from the site that works is:

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tupTable','tdateStart$UpdatePanel2','tdateEnd$UpdatePanel2'], [], [], 90);

//]]>

The ScritManager output from the site that does not work is missing the //<![CDATA[

Also,

the page that does not work does not have any of the javascript create code from the toolkit.

Any ideas?

Did you modify the web.config properly on the server (should pretty much match your dev machines one...) also on your server make sure you have this entry in it:

<location path="ScriptResource.axd">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>

Thats the probable solution if all the installs went well and are properly GACed

Deploy to a web server

As most hosts, my web host will not install any beta products on their server, which means that I'm stuck with the "Atlas" july CTP (which works just fine in the Bin folder). The fact that you need to install ASP.NET AJAX on the server makes it useless for most people. It's great, but I can't use it because it isn't installed on the server. PLEASE! Make a version that works when copied into the /Bin birectory!

Asbj?rn

hello.

well, according to several guys, it works ok if you drop the dll on the bin and set the app to full trust. i guess that most hosts will only install it when v1.0 is released.


And how would I set the app to full trust if I don't have access to the server?
And how would I set the app to full trust if I don't have access to the server?
hello.
well, you just need to ask them the level that your app runs. it mya be running at full trust, though i doubt it.

Deploy of Atlas Application

Hi Everyone,

Just wanted to say congrats to the Atlas team on the December release, I'm just delving in now, but you couldn't have made it easier for me/us. You have certainly stripped the complexity out of the previous versoin.(I wasnt that keen on learning xml and finetuning my javascript)

The question that I have is:

I have an Atlas app that works fine in my development environment, but when I deploy it to test it on my network through IIS I get javascript errors "Object Required". I probably a case of not beeing able to see the forest through the trees here but is it something small that I have overlooked?

I look at the way that the page gets renderd and I can see that the Script manager is pointing to the debug version of atlas...do I need to point it to the release version?

any reply would be appreciated

Debugging script errors can be a little tricky. Does the script error come with a line number? If you find the location of the error in the script, it might help understanding what's going on. Or, if you can attach a script debugger to IE (e.g. Visual Studio works well), the debugger should point you straight to the error when it happens.

thanks,

David


Yeah I looked at the source and found that there is no correlation between the JavaScript Error line number and the ones in the Source of the page. (Line 1609). I will try turning on the visual studio debugger and see where that gets me. It seems to me that the problem lies with deploying the application using the visual studio. In my dev environment it works great. It just wont work on my localhost/appname/default.aspx (Keep in mind its the December release So there is no JavaScript or XML that I have used for my example, which is basically a textbox that filters a gridview in an atlas update panel. Nothing to it!!) . Thanks for the advice non the less I will check it out in the vs script debugger.
Cheers


I suggest you setup development on the deploying server

If everything works fine on your terminal then its a setup issue on thetarget server, check the target server is running tha latest .net 2environment and the site is properly deployed

either that or somethin gyou have over looked in your code

Here is the markup

<atlas:ScriptManagerID="ScriptManager1"EnablePartialRendering="true"runat="server"/>

<div>

<asp:LabelID="Label1"runat="server"Text="Type Here:"></asp:Label>

<asp:TextBoxID="TextBox1"runat="server"></asp:TextBox>

<atlas:UpdatePanelID="grdUpdate"runat="server">

<ContentTemplate>

<asp:GridViewID="GridView1"runat="server"AutoGenerateColumns="False"DataSourceID="SqlDataSource1"CellPadding="4"ForeColor="#333333"GridLines="None">

<Columns>

<asp:BoundFieldDataField="LastName"HeaderText="LastName"SortExpression="LastName"/>

<asp:BoundFieldDataField="FirstName"HeaderText="FirstName"SortExpression="FirstName"/>

<asp:BoundFieldDataField="Title"HeaderText="Title"SortExpression="Title"/>

<asp:BoundFieldDataField="BirthDate"HeaderText="BirthDate"SortExpression="BirthDate"/>

<asp:BoundFieldDataField="TitleOfCourtesy"HeaderText="TitleOfCourtesy"SortExpression="TitleOfCourtesy"/>

<asp:BoundFieldDataField="HomePhone"HeaderText="HomePhone"SortExpression="HomePhone"/>

</Columns>

<FooterStyleBackColor="#507CD1"Font-Bold="True"ForeColor="White"/>

<RowStyleBackColor="#EFF3FB"/>

<EditRowStyleBackColor="#2461BF"/>

<SelectedRowStyleBackColor="#D1DDF1"Font-Bold="True"ForeColor="#333333"/>

<PagerStyleBackColor="#2461BF"ForeColor="White"HorizontalAlign="Center"/>

<HeaderStyleBackColor="#507CD1"Font-Bold="True"ForeColor="White"/>

<AlternatingRowStyleBackColor="White"/>

</asp:GridView>

</ContentTemplate>

</atlas:UpdatePanel>

<asp:SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"

SelectCommand="SELECT LastName, FirstName, Title, BirthDate, TitleOfCourtesy, HomePhone FROM Employees WHERE (LEFT (LastName, LEN(@.LastName)) LIKE '%' + @.LastName + '%') OR (@.LastName IS NULL)">

<SelectParameters>

<asp:ControlParameterControlID="TextBox1"DefaultValue=""Name="LastName"PropertyName="Text"Type="String"ConvertEmptyStringToNull="true"/>

</SelectParameters>

</asp:SqlDataSource>

</div>

Here is the code behind

ProtectedSub TextBox1_TextChanged(ByVal senderAsObject,ByVal eAs System.EventArgs)Handles TextBox1.TextChanged

IfMe.TextBox1.Text =""Then

Me.SqlDataSource1.SelectParameters("LastName").DefaultValue =""

Else

Me.SqlDataSource1.SelectParameters("LastName").DefaultValue =Me.TextBox1.Text

EndIf

Me.GridView1.DataBind()

EndSub

To Run this you will need to make a connection in your webconfig to the Northwind db.. Once its up and running in the dev environment. Type a letter in the textbox and press enter, list of employees with that name should apear.

This code works fine in my dev environment...but when I deploy the app in IIS on my dev box I get the javascript error. Can someone try it out and see if they get the same result..

Deploy atlas application without atlas msi package installation

Hi,

I need deploy atlas application, but I can't install on the server atlas msi package. Is it possible?

Thx, Petr

Hi,

just upload the Atlas dll file in the /bin subfolder of your application. Make sure you have the web.config set with all the necessary adjustments.

Grz, Kris.

Deploy Ajax enabled site with out install any aditional file on web server

Hi All,

I need to deploy my Ajax Enabled web? project ( i used Asp.net 2.0 with vb.net and SQL Server as database ) without install any additional file or framework on Prodcution server (web server) due to some restriction....
Please guide me

note : Framework 2.0 and IIS are already install on my web server and some other web project runs successfully...

thanks

SajjadQuite simply, it's not easily done. If you want to use just the client-side library, that's possible, but I you'll still run into a bunch of errors unless you specifically build your project for it. Taking an existing ajax enabled project and converting it will require a lot of chnages on your part, depending on how big it is.
can u give step by step deployment information...

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

Select Microsoft AJAX library.


thanx for reply dear
but on this page it ask to download the framework.......
i already download this framework and install......
i need asp.net Aajax deployment procedure with out install any additional file on my web server ( Production Server )

I think u understand my point...
any way, thanks for your support :)

I can't help you if you're not going to read the documents, or my posts. Let me try again:

There is no way to install the framework without installing the framework.

What you can do is deploy the client script library to your application, and that's the link I told you to follow.

There will be differences in how it interacts with your application,however, since none of the server controls will be available (updatepanels, etc).

Your only other alternative is to find a host that has production servers w/ th eframework installed, or pay for a virtual dedicated server and install it yourself.


You can try to place these (see below) dlls from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025

AJAXExtensionsToolbox.dll
System.Web.Extensions.dll
System.Web.Extensions.Design.dll

But please be sure that your application running in the full trust in this case.


You need to place them to your application bin folder
AFAIK, that only works if his web application is permitted full trust by the host.

IS THERE *NO* CONCISE GUIDE TO DEPLOYING ASP.NET 3.5-enabled applications in a SHARED HOSTING ENVIRONMENT?

I work with several different share hosting providers and some claim to have given me "trust" (others don't seem to know how to spell ASP.NET 3.5 yet!) and I've STILL not gotten the most baby-simple "proof of install" application involving VWD 2008 EE / ASP.NET 3.5/AJAX app to actually run anyplace except on my local development system.

There are a LOT of nice features out there in VWD 2008 EE / ASP.NET 3.5/AJAX -- but if the only place they will run is where you have complete control over the "production" server (with attendent capabilities of installing what you need there) this isn't going to go very far in a shared hosting world.

CAN ANYONE point me to a clear, concise guide? (Perhaps including how I convey the necessary requirements to the hosting companies as well?)

mahalo/thanks, in advance ... KevInKauai