Showing posts with label sql. Show all posts
Showing posts with label sql. Show all posts

Saturday, March 24, 2012

Deployment of AJAX-enabled web page on production server trouble

VS 2005 sp2, vb.net, sql 2005 enterprise sp2, IE7 & IE6, AJAX 1.0 toolkit and extensions.

The specific problem I am having is that I can't get the tabcontrol/tabpanels ("tab controls") to show up properly on the production server. I have a tabcontrol with 3 tabpanels. Inside each panel, I have a gridview and/or detailsview. When I load the page, I see the center gridlines (without the outer borders) of the gridview and detailsview and no tabs and no data. I also notice the "Done. Page loaded with errors" message on the bottom left status bar.

As with most of you, I have a dev machine and a production server. The tab controls show up just fine on the dev machine but when I move it to the production server, the same tab controls do not completely show up. The following is the watered-down version of what I am using:

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:TabContainer ID="Tabs" runat="server">
<cc1:TabPanel runat="server" ID="tab1" HeaderText="Tab1">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" meta:resourcekey="GridView1" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="Column1" HeaderText="Column1" meta:resourcekey="BoundFieldResource1"></asp:BoundField>
<asp:BoundField DataField="Column2" HeaderText="Column2" meta:resourcekey="BoundFieldResource2"></asp:BoundField>
</Columns>
</asp:GridView>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server" ID="tab2" HeaderText="Tab2">
<ContentTemplate>
...
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>

I have installed the extensions on the production server (to fix another problem) and I have also confirmed that the dll's are in the bin folder. Any assistance as to why the tab controls not showing up is appreciated.

Thanks in advance to all. I am able to provide further information upon request.

anyone?

Just in case this may help someone else,

I found out the root of my problem was that I was using an AJAX enabled web-site instead of using the AJAX control toolkit template when I first made my website. I have mixed and matched some lines from my orginial "AJAX enabled" web-site and my new "toolkit template" web-site and found that the difference is only a few lines in the web.config file.

However, being exhausted in the search for an answer and not wanting to debug any further..., I decided to just move over all of my pages and worked it up in the "toolkit template" style.


I am having some of the same problems with my website and using the Tab Control. However, my website is pre-AJAX so I incorporated the new web.config and converted the existing web to use AJAX. Everything works fine on my development machine, but not when I deploy to the production server (which is running IIS 5.1). Do you think I should create a new website by using the new "toolkit template" and then copy pages to it?

I think installing the lastest versions of the toolkit and using the AJAX template is a good idea, perhaps not the only idea but the only one I have run across so far. Try to stay away from the AJAX enabled website since that was what I was using. I had also tried installing the AJAX toolkit extensions on the production server, which helped fix another problem I had with accordionpanes. This may have been related or not but since the toolkit is very new, it looks like there are still a lot of kinks they need to go over and for us to go around for now. But I would do the upgrade first before going and installing things on the production server.

If you can/have figure(d) out the difference in the web.config file, that should be enough but if it would give you peace of mind, upgrading it might not be a bad idea as it seems to have fixed additional minor bugs that I have run across.

When upgrading, the major difference I noticed was that I had to delete the two <cc1> references on each page (first the reference at the top of each page and the second in the page itself) and replaced it with <ajaxtoolkit> only inside the page. The reference was not needed at the top of each page for <ajaxtoolkit>, maybe something to do with the new web.config.

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