Showing posts with label parser. Show all posts
Showing posts with label parser. Show all posts

Wednesday, March 21, 2012

Parser error

I have finished developing my company web site and published it and it works fine, But when they need changes..So I make the changes and published it again, then i have this error raisedOn my local machine when i run the debugger every thing seems to be okBut on internet it generates this error

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 'AjaxControlToolkit' or one of its dependencies. The module was expected to contain an assembly manifest.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="VB" MasterPageFile="~/ServicesMaster.master" Title=" Global Maintenance Agreements " %>
Line 2: 
Line 3: <%@dotnet.itags.org. Register
Line 4:  Assembly="AjaxControlToolkit"
Line 5:  Namespace="AjaxControlToolkit"


Source File:/Global Maintenance Agreements.aspx Line:3

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' 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 anybody has a solution?

try to install the ASP AJAX Extension on the IIS

http://asp.net/ajax/downloads/


I already did so from the begginning of the development and it works fine on the local server on my machine


try to reset the iis after installation iisreset from run command line


Please make sure the assembly AjaxControlToolkit.dll is contained in the bin folder of your application.

Parser Error <atlas:ScriptManager ID="sm" runat="server" EnablePartialRendering="True"&

I am getting the following error, and I have no idea where it is coming from, can anyone point me in the right direction please?

Line 31: </asp:DropDownList><br />Line 32: <br />Line 33: <atlas:ScriptManager ID="sm" runat="server" EnablePartialRendering="True">Line 34: <Scripts>Line 35: <atlas:ScriptReference Path="../../Includes/TextChangedBehavior.js" />

Rich

Can you provide a little more information please. Be a little more detailed.

From the looks of it...why are you using ATLAS? Upgrade to AJAX's newest version. One thought could be to Reigster your Toolkit at the top of your .aspx page.

Thanks,


Double checking your web.config should probably be the first step. Are you actually running the older, Atlas version or is that just the tag prefix you chose?

Make sure you have this line in your web.config:

<add tagPrefix="atlas" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

You can check the rest of your web.config against these guidelines: http://www.asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx

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 Message: Could not load file or assembly Microsoft.Web.Atlas or one of its de

hi all,

I have a not so nice error that I can't solve. I use asp .net 2.0 and Atlas. The site works in dev but not on my server...

I hope someone can help me out.

Regards
Stijn

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 'Microsoft.Web.Atlas' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
Line 2: <%@dotnet.itags.org. Register Assembly="Microsoft.Web.Atlas" Namespace="Microsoft.Web.UI" TagPrefix="cc2" %>
Line 3: <%@dotnet.itags.org. Register Assembly="AtlasControlToolkit" Namespace="AtlasControlToolkit" TagPrefix="cc1" %>
Line 4:


Source File:/issue/default.aspx Line:2

Nobody? Do I need to give some additional info? This problem really holds up my development so please help meout here.


hello.

well, i guess that you must see if ASP.NET 2.0 is installed in IIS and if the vdir you've created there is configured to use it...


ASP .Net 2.0 is installed and the site also uses the 2.0 version. The error is about ATLAS so I think I have a configuration problem there? I use windows 2003 server.

Hello,

I have the same identically problem.

When I run my application on local web server don't have any problem, but when I transfer my aplication on remote server(Aruba) I have the problem:

Could not load file or assembly 'AtlasControlToolkit' or one of its dependencies. The system cannot find the file specified

Line 1:<%@. Page Language="C#" AutoEventWireup="true" CodeFile="Erbario.aspx.cs" Inherits="_Default" %>Line 2: Line 3:<%@. Register Assembly="AtlasControlToolkit" Namespace="AtlasControlToolkit" TagPrefix="cc1" %>Line 4:<%@. Register TagPrefix="test" Namespace="Test" %>Line 5:

Have you resolved the problem?

Help me please


MarcoLF:

I have the same identically problem.

Hi!

We are getting the same exception on our production server. Did you find out what causes it?

Thank you in advance.

Parser Error Message: Could not load file or assembly AjaxControlToolkit or one of its dep

Hi,

I am using ASP.Net 2.0 with AJAX Extensions 1.0. And one of my aspx was using 2 of the ajaxtoolkit namely the ModalPopupExtender and RoundedCornersExtender. But why is it that when I will access the page from the web server the error below will display on the page. It's really frustrating because there's no problem when running locally in my machine thru Visual Web Developer 2005 Express Edition.

I hope you could help me figuring the problem.

Thanks

Error message:

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 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>Line 2: <%@dotnet.itags.org. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>Line 3: Line 4: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File:/pfadmin/test.aspx Line:2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' 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.210

You need to deploy the AjaxControlTookit (DLL) to the server (in your bin directory or in the GAC).

-Damien


Hi hifiger2004,

You can just include the AjaxControlToolkit.dll into the BIN folder of your website/webapplication. There is no need to deploy it to the GAC. (Maybe you don't have the right to do that.)

Also check if some plain ajax functionallity works on the webserver!!! For example: A simple updatePanel holding a datetime.now, and a button to trigger it. Note that the ajax functionality must work in order to use the AjaxControl Toolkit.

Please let me know how it worked out!
Kind regards,
Wim


You have to include the AjaxControlToolkit.dll into the bin folder of your webapplication

Let me know if this helpful to you

Parser Error Message: The entry ScriptModule has already been added.

On my development system everything is running fine, when i publish to my beta server (SBS 2003 - *no* VS installed) I get the following error:

Parser Error Message: The entry 'ScriptModule' has already been added.

Removing this line resolves the issue but then presents me with various errors relating to not being able to load System.Web.Extensions... If i can understand why the first issue is occuring this would help! Any clues?

Hi,

I have exactly the same happening on my server, does anyone have a fix for this ?

Thanks
James

This can happen if there are two HttpModules named "ScriptModule". This can mysteriously happen if you are running a virtual directory under an asp application that already has the module defined. You can either remove the HttpModule declaration<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> from the VD web.config, or all a remove node

<remove name="ScriptModule" />

just before adding it back.


Hi,

Excellent, thanks for the heads up.

James


That was an excellent post. Thank you for your help !

Sam


This suggest is not working for me again and again the same error only i am getting is there any other solution

please let me know soon......

Parser Error Message: Type System.Web.UI.UpdatePanel does not have a public property named

Hi, first post...I am fairly new to ajax and was looking for some guidance on my problem. I installed the 3 files (Ajax 1.0 RC, Toolkit and the Futures December CTP). I wanted to convert an exsisting and working .net 2.0 sample aspx page into AJAX to learn how the updatepanels work. The page contains a bunch of datagrids that i wanted to place inside "updatepanels".

However, I keep getting the parser error"Type 'System.Web.UI.UpdatePanel' does not have a public property named 'datagrid'." whenever I placeanything inside the panels (table, div, tr...etc). I am sure its a pretty straight forward problem but not sure where to start looking.

If it matters, my solution in MS Visual Studio does not include a BIN folder. (something tells me i need it) I created a "New Website" and selected "AJAX-enabled website" and went from there. I could not find templates to start working from.

Thanks in advance!
Skimo!

<

asp:ScriptManagerID="ScriptManager1"runat="server"></asp:ScriptManager>

<asp:UpdatePanelID="UpdatePanel1"runat="server">

<

asp:datagridid="results"runat="server"GridLines="Horizontal"BorderWidth="2px"BorderColor="#f4f4f4"CellPadding="5"CellSpacing="0"AlternatingItemStyle-BackColor="#EAEAFF"ShowHeader="False"Width="100%"Autogeneratecolumns="False"AllowPaging="true"BorderStyle="Solid"PageSize="25"OnPageIndexChanged="results_Paging"><columns><asp:TemplateColumnItemStyle-Width="15%"><ItemTemplate>

<%

# DataBinder.Eval(Container.DataItem,"createdate") %></ItemTemplate></asp:TemplateColumn><asp:TemplateColumnItemStyle-Width="15%"><ItemTemplate>

<%

# DataBinder.Eval(Container.DataItem,"name") %></ItemTemplate></asp:TemplateColumn><asp:TemplateColumnItemStyle-Width="70%"><ItemTemplate>

<%

# DataBinder.Eval(Container.DataItem,"comment") %></ItemTemplate></asp:TemplateColumn>

</columns><PagerStyleMode="NumericPages"HorizontalAlign="Center"/>

</

asp:datagrid>

</

asp:UpdatePanel>

you cant load datagrid in the page.load when its inside of UpdatePanel.

This is because UpdatePanel gets call first before the grid gets load. Thats is why it couldnt find it.

you can have button inside of updatepanel, when you click the button the it will do databind with grid


It is indeed a straightforward problem. Everything inside an UpdatePanel goes inside a "ContentTemplate", like this:

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:DataGrid ...>
</asp:DataGrid>
</ContentTemplate>
</asp:UpdatePanel>


Thank you so much!! I learned something :)

Does this mean I do not need to worry about the BIN folder not being there?

-Skimo


You won't need a bin folder to just use ASP.NET AJAX itself, since it gets installed globally for the machine.

If you use the AJAX Control Toolkit or the December Futures CTP, then your project will need to have the appropriate binaries in the bin folder.

I'm glad you're off and running... good luck exploring ASP.NET AJAX!


Great thanks for your help!

Skimo

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