Showing posts with label publish. Show all posts
Showing posts with label publish. Show all posts

Monday, March 26, 2012

publish ajax website

Hi,

I am beginner with Ajax and I have done an app using some update panels and triggers but before I upload the app to the server I wanted to know if I have to do something on the server so the app will run without any problem.


1. I am not using any ajax control, only updates panel.

2. Do have to configure something?

3. Can I just publish the site and then upload it?

Can any body explain me something about it or maybe give me an URL where i can found some info.

Thanks a lot.


Just install the asp.net ajax framework on you server then you're good to go.

Thanks for your answer.

But it is a remote server so I do not think I have permissions to install the ajax framework. Or I have to tell my provider that I want that framework?

Thanks again.


hmmm hosting provider? Ask them, ... to do install it ... if they don't then transfer somewhere else. .. i'm with GoDaddy, and they have it ... the price is cheap too. if you do go with GoDaddy, check around for promotion code. i have one ... let me know if you need it ... Cheer.

I just talked to my provider and they do not have the ajax framework and the person that I working for does not want to change the provider. I know, I had to ask this person about this before I started....... there′s no way to run an app which has ajax without the Ajax Framework? I am just using update panels and triggers and no ajax controls.

Thanks a lot.


You can try putting the DLLs in the bin folder like the old "Atlas", but then your folder has to have full permission. AND for sure your provider will not give it to you.

i did try putting all the DLLs in the bin folder on my hosting provider (godaddy) when they didn't have ajax install. the result was, it blows up on me. yellow page. 'sigh' ...

who is your provider?


my provider is 1&1......why do I need full permission to put some dll in my projects?

Look I have all the Data access and the business logic in different projects. That means that in the client side I use the dll from those projects.

Do I need also full permissions to use these dll's in my project?

Or do I have to upload those project to server too?

Tanks a lot.

published AJAX site running, but calendar control not showing up?!

I'm developing this site locally, and it works great during debug on my local machine.

However, when i publish the site up to the remote server, the calendar control that came in the ajax toolkit doesnt work. I click on the textboxes on the published site (which pops up a calendar extender control on my local version) and nothing happens, no errors even, just nothing.

here are the DLLs I have in my Bin folder :

AjaxControlToolkit.dll
AjaxControlToolkit.pdb
System.Web.Extensions.dll
System.Web.Extensions.Design.dll
--all the language folders that come in the toolkit

As long as I have all the dlls, I thought I should be good to go? Any ideas?

Is the Web.Config updated to handle ASP.NET AJAX Extensions & Control Toolkit?

You can find a sample ASP.NET AJAX 1.0 Web.config here - http://blogs.msdn.com/webdevtools/pages/asp-net-ajax-1-0-web-config.aspx


that worked! you da man, mvark!

Saturday, March 24, 2012

Publishing AtlasControlToolkit "The server block is not well formed"

I just downloaded this toolkit and it worked great. I wanted to publish it on our dev server so I could easily show my co-workers the site.

I got the following error when I tried accessing it,

Parser Error

Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message:The server block is not well formed.

Source Error:

Line 1: <%@dotnet.itags.org. page language="C#" masterpagefile="~/DefaultMaster.master" autoeventwireup="true" inherits="_Default, App_Web_jupskp7v" title="Microsoft "Atlas" Control Toolkit" %>Line 2: Line 3:


Source File:/AtlasControlToolkit/Default.aspx Line:1


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

I edited default.aspx from this,

<%@dotnet.itags.org. Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title='Microsoft "Atlas" Control Toolkit' %>

to this,

<%@dotnet.itags.org. Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title='Microsoft Atlas Control Toolkit' %>

I removed the " surrounding Atlas in the title. The site worked fine after this.

Perhaps this should be changed in the toolkit so others do not have the same difficulty.

As I see it, the released sources (/Default.aspx) look like this:

Title='Microsoft "Atlas" Control Toolkit'

Therefore, I suspect that most people will not run into this problem.

Thanks!


That is what mine looked like too.

I published the web site to a dev server here and it resulted in this:

title="Microsoft "Atlas" Control Toolkit"

It worked fine on my local box, just not after I published it. Perhaps it is an issue with the publish feature.


Yes, this appears to be an issue with the publish feature. I tried to work around it by switching to:

Title="Microsoft "Atlas" Control Toolkit"

But publishing again munged it into the same string you had troubles with.

I don't think this is a big deal since the sample site is just for demonstration purposes, but if someone knows a good way to avoid the problem, I'd love to hear it.

Thanks for noting this!


I just switched the quotes around and it solved the problem for me...

Title="Microsoft 'Atlas' Control Toolkit"