Showing posts with label deployment. Show all posts
Showing posts with label deployment. Show all posts

Wednesday, March 28, 2012

ASP.NET AJAX deployment problems.....

Hi guys,


I've just added ASP.NET AJAX to my web site and when I run it under VS 2005 everything works fine. However, when I try and run it on my dev machine using IIS (I'm using XP and IIS 5) the AJAX stuff doesn't work.


So, I tried deploying it to my production web server (Windows Server 2003 and IIS 6 with AJAX extensions installed and verified by checking GAC) it still doesn't work!


Can anyone tell me what I'm missing? What's different between the VS web server and IIS??


TIA

Jon

Hi Jon,

Check your Web.config file with newly created ajax enable website

Swati


Hi Jon,

Check your Web.config file with Web.config of newly created ajax enable website

Swati


Hi Swati,

I've done this and everything that needs to be in the web.config is there. As I said it works under VS2005 just not when deployed.

Jon


hi jon,

i am having the same problem. were you able to find the solution. if yes then can u please guide me on that

jitendra


No luck yet. If you figure it out please post the solution.

Thanks

Jon


Hi Jon,

The most significant difference between them is they are running with different windows account.
VS web server is running with the account you logged in windows which is usually an administrator. When working with IIS, it's running with Asp.net(IIS 5) or Network Service(IIS 6).
So your issue is very likely to be caused by privilege, please review the log of the IIS to get relevant information.

Make sure system.web.extension and system.web.extension.design.dll is installed on the server.


On your production server can you run any asp.net application ( without Ajax)?

If not, then you may have to enable ASP.NET on windows server 2003

Try to reinstall the required dll's system.web.extension.dll and system.web.extension.design.dll


I'm having the exact same problem. Everything works great locally, but when i move it to my dev webserver the update panel has stoped working. Everything makes the full postback. I have been pulling my hair out trying to get this to work. I have confimed that AJAX is installed in the GAC both locally and on the developement server. The webconfig is the same for both projects. I cannot for the life of me figure out why its not working. I am accessing my project on the development server through a UNC path. I have fixed the entries in the Code Access Security of the 2.0 configuration tool to stop getting the hostingpermission errors.

Any other suggestions that I should try?

Jason Snipes


Sepinsnosaj:

I'm having the exact same problem. Everything works great locally, but when i move it to my dev webserver the update panel has stoped working. Everything makes the full postback. I have been pulling my hair out trying to get this to work. I have confimed that AJAX is installed in the GAC both locally and on the developement server. The webconfig is the same for both projects. I cannot for the life of me figure out why its not working. I am accessing my project on the development server through a UNC path. I have fixed the entries in the Code Access Security of the 2.0 configuration tool to stop getting the hostingpermission errors.

Any other suggestions that I should try?

Jason Snipes

Once again the "Post Question on Listserv = Find Solution shortly after" mystery works again. My project is a subweb. In the main web in the web.config i still had the <xhtmlConformance mode="Legacy" />set. By removing that statement my ajax stuff started to work in my webweb.

You can read about the <xhtmlConformance mode="Legacy" /> issue here:http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx

Jason Snipes


Thanks Jason, I tried this and it worked for me on both the development machine running IIS5.1 and on the production server (IIS6)

My ajax enabled site is housed as a virtual directory under the main web site and to get it to work I had to remove the<xhtmlConformance mode="Legacy" />

line from the root web.config file!

Jon

ASP.NET AJAX Deployment error

i,

I`ve done an ASP.NET AJAXwebsite and it works perfectly on my development machine. Ok! But whenI try to deploy my application on a webfarm scenario my website doesn`twork properly.
It comes out with the following error message sometimes:

"
Sys.WebForms.PageRequestManagerParserErrorException:The message received from the server could not be parsed. Common causesfor this error are when the response is modified by calls toResponse.Write(), response filters, HttpModules, or server trace isenabled.

Details: Error parsing near '

<!DOCTYPE html P'.
"

Thisproblem occurs randomly. Apparently, it`s due to the load balanceconfiguration on our web servers. I think when the request goes toanother machine my website crashes.

Any hint would be very appreciated. :]

You may want to check this out

http://www.rosshawkins.net/rfh/articles/webresource.axd.html

Let me know if this helps.

Monday, March 26, 2012

ASP.Net AJAX 1.0 deployment

Dear All,

I am using ASP.Net 2.0. For using AJAX, i installed ASP.Net AJAX 1.0 extensions in my local pc and developed a website using it.

Now, i need to deploy in the third party web server. Is my AJAX work in the third party web server ? or other wise i need the web server which supports ASP.Net AJAX 1.0 extensions.

Thanks in advance.Idea

Publish it! ... if you have problem install the AJAX Extensions in your web server.


Thanks for your quick response.

This is my Doubt. I am using the ASP.Net AJAX 1.0 components in my website (Local). when i need to host it in common third party server, how those components will work without having ASP.Net AJAX 1.0 extensions support in the third party server. I think this will clarify my actual doubt.


Hi,

As far as I know, ASP.NET is only supported by IIS currently.

So, if the third party web server means a web server other than IIS, it can't work properly. For further confirmation, you may contact the vender of the web server.

If the third party web server means a different machine but has IIS installed, then it's necessary to install AJAX extension on it.


Dear Sir, I mentioned Third party hosting provider as Third party web server
Thanks for your reply I understood the problem in it.