Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Monday, March 26, 2012

PageRequestManagerParserErrorException in Firefox 2

Hi,

My website is using Ajax with UpdatePanel which is working well in IE 7. However, I keep getting the PageRequestManagerParserErrorException when I am testing it in Firefox 2. I am currently using the AJAX Beta 2. I also check to make sure there is no Response.Write while the page is postback. But the error keep poping up in Firefox. Does any know a solution for this?


Many thanks.


hello. can you biuld a simple demo page that reproduces this?

Mine does the same thing. I have Release Canidate. If I refresh the page the error goes away. If you hold your mouse over a button that has a hover event it flashes and you have to click at just the right time. The cursor blinks in the field that has focus as well andt he tab key didn't work. Not sure if I can figure what part to post but I will let you know what I find out.

Good luck

Wednesday, March 21, 2012

Parser Error I got from the server

The website worked on my machine, but after I uploaded it to the server, I get the following error.

Server Error in '/' Application.

Parser Error

Description:Anerror occurred during the parsing of a resource required to servicethis request. Please review the following specific parse error detailsand modify your source file appropriately.
Parser Error Message:Could not load file or assembly 'Microsoft.Web.Atlas' or one of its dependencies. The system cannot find the file specified.
Source Error:

[No relevant source lines]


Source File: none Line: 0
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Atlas' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
--
Does anyone have some idea for this?
Thanks
I get this same error. What could it possibly be?

This is with the new December release. I double checked all my files are on the server, and correct. It is an asp.net 2.0 server.

I'm confused.
Here is the reason for these issues, although different AJAX implementations will give different errors.

I emailed godaddy.com, and sitepuppy.com (which i think is just another frontend for godaddy.), and got this reply from them:

Thank you for contactingCustomer Support. Unfortunately, we do not support the use of the AJAXhandler bundle, although we do have some limited capacity to allow theuse of java scripting. If you need to be able to use AJAX, might Irecommend the dedicated or virtual dedicated server options which wouldallow you to install whatever you like onto the operating system of theserver box. We have to keep the shared hosting servers relativelysimplified for the sake of the many different customers they each hold.We apologize for the inconvenience. Please let us know if we can helpyou in any other way.

Make sure you contact whoever it is you want to have host your sites before you try any implementation of AJAX to play around with.

I have tested, and godaddy does not work with AJAX.NET, and any others (including ATLAS).

(this is with shared hosting, btw).

It should run fine on your server, as long as you also upload Microsoft.Web.Atlas.dll. It doesn't need to be in the GAC (Global Assembly Cache) nor do you need to install anything else outside your webapplication. Just make sure you upload the Microsoft.Web.Atlas.dll inside the /bin directory in the root of your site.
I have a working version ofhttp://how2xbox.com/xbox using swirlhost's AJAX driven chatroom. It works well for the most part and it is on a go daddy hosting account.

Parser Error with GoDaddy

Hi guys, I am in the middle of a website using Ajax with Godaddy, and getting this error as soon as I try to display my default.aspx. I have searched for hours on this, and cannot figure it out. Here is the page error that I get.

Server Error in '/' Application.

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:Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>Line 2:Line 3: <%@dotnet.itags.org. Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856Ad364E35"Line 4: Namespace="System.Web.UI" TagPrefix="asp" %>Line 5:


Source File:/default.aspx Line:3

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



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

I have AjaxControlToolkit.dll, AjaxControlToolkit.pdb, System.Web.Extensions.Design.dll and System.Web.Extensions.dll in the /bin folder in the root. I tried to email godaddy with this error, of course they say they dont support 3rd party software and suggest I convert to the virtual server, yea right... This was working up until yesterday, I am baffled. But I can say, it seems godaddy is not a good choice to host on up to this point. Any Ideas anyone?? I have read the other treads, tried all the suggestions and still get this error.

I appreciate it...

Chris

Hi Srbytes,

Based on your description, your problem seems most likely caused by the Version property:

srbytes:

Line 3: <%@. Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856Ad364E35"Line 4: Namespace="System.Web.UI" TagPrefix="asp" %>

You'd better modify it like below.

<%@. Register Assembly="System.Web.Extensions,Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>

Based on my experience, I suggest that you should better add it to your web.config instead of each page.

Here is the url that you should folllow up: http://www.asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx

I hope this helps.

Best regards,

Jonathan