AJAX :: ScriptResource.axd Is Throwing Server Error (500)?

Sep 16, 2010

I have page that works ok on localhost, but it throws an error on server. This pages was working ok before until I added additional grid to updatePanel. Is there any limit how many grids you can have in updatePanel. The error message is below.

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Line: 4723
Char: 21
Code: 0

View 8 Replies

Similar Messages:

AJAX :: ScriptResource.axd 404 Error Only On Subdomains?

Jan 11, 2010

I have setup my website (ASP.NET 3.5) with AJAX, running with no problems at all.

When I test my website locally and on my main top level domain, there are no problems.

When I'm on a subdomain page, AJAX client side framework fails to load. I observed the problem deeply and found that whenever I'm on a subdomain page, WebResource.axd DOES load but ScriptResource.axd DOESN'T load (returns 404 Not Found error). I think I should modify some entries at web.config file, but I have no idea on what to do?

View 3 Replies

Web Forms :: ScriptResource.axd PageRequestManagerServerErrorException (Server Error 500)?

Mar 29, 2011

When I have a string in a textbox starting with a < sign, it causes server error 500 during post back. Is this a known issue?

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Line: 604
Char: 13
Code: 0
URI: http://.../ScriptResource.axd?d=.....

View 1 Replies

AJAX :: Sys Is Undefinded - WebResource.axd ScriptResource.axd 404 Error?

Jul 12, 2010

I have a site that uses the Ajax Control Toolkit that's been running for several weeks and a week ago all of a sudden users are seeing script errors. I'm getting 'Sys' is undefined errors, as well as 'object required' and other JavaScript exceptions. The site does not function because of this.

I checked the page source and looked for the WebResource.axd and ScriptResource.axd's and tried navigating to them directly by putting the URL in the browser. I got a 404 error - file not found. If I do the same in our test environment, it comes back and asks me if I want to save or open the file. If I open it, I see the JavaScript that I am expecting (from the Ajax Control Toolkit).

In our test environment, with the same code, everything works fine. This tells me there was something on the production server that's preventing this from working. About 4 days before this started happening, we found that some user documentation (PDF) wasn't being protected by Forms Authentication (we need only legitmate users having access to it) so we added a wildcard mapping in IIS with "verify that file exists" was unchecked, knowing that if it were checked, we'd have this problem. I had one of the network admins check this setting after this started happenig and he said that it was still unchecked. I asked him to remove the wildcard mapping altogether and I still see the same behavior.

I am certain that this isn't a coding problem; again, as it went through the QA process in our test environment, everything works perfectly. And after the last deployment to production three weeks ago, everything was perfect as well. We added the wildcard mapping (which shouldn't have had an effect) and four days later the site breaks. I've asked our IT department if any changes were made to the server recently and nobody says they did.

What settings does anyone know of that might be causing this, either server or application? I checked the web.config and all the sections are there that deal with the ScriptResource HttpHandler and HttpModules. In fact, the web.configs are identical between the production and test environment, so I know it hasn't been tampered with.

View 4 Replies

Required Jquery Validation Throwing Error On Test Server

Nov 29, 2010

I am facing a problem with JQuery Validation...

Its working fine for me on my machine and not throwing any errors...

Once I pushed it to Test or Dev servers its throwing this error: '$.validator' is null or not an object

I have no idea how to deal with it...all my validations are not working and directly going for server side validations...

its throwing this error here:

$.validator.addMethod("CheckDOB", function (value, element) {//some code});

View 5 Replies

AJAX :: ScriptResource.axd Is Not Getting Load Only On One Client Machine / Error: [Exception "'Sys.ScriptLoadFailedException: Sys.ScriptLoadFailedException

Oct 15, 2010

This problem occurs only in one client machine running IE8. I believe that it is a configuration/component problem because I also running IE8 and it works fine. Following error message pop up every time when the button is click inside the update panel.It occurs once I try to click a button inside the updatePanel. Controls inside updatePanel disappears, and the updateProgress keep running.

I tried so many solutions including following

Changing the Web.config with "~/scriptResource.axd" There is no timer control from AjaxControlToolkit on the page. I have checked modified dates, which are correct on the AJAX Control Tool Kit assemblies as accepted.if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded(); I have tried many other options with out any luck.
Looks like the required ScriptResource.axd file is not getting loaded on that particular client machine due to some reason, which i can not find out. This problem occurs only in one client machine running IE8, that's making testing problematic for me.

My Configuration includes the following .NET Frame Work 2.0 with AJAX Control Tool Kit Library (1.0.61025)

Error message :
Error: [Exception... "'Sys.ScriptLoadFailedException: Sys.ScriptLoadFailedException: The script 'http://gateway/ApplicationName/ScriptResource.axd?d=pXGxsCxfFpN7YoDKJe9ANJUGdhhEYXdDvlJNvZyr3dWA3jxhYKmHBTZXvAXPr8NFAZhv6MOINf4Ktd7XCgzHFg2&t=633372084573906250'
failed to load. Check for:
Inaccessible path.......

View 7 Replies

Throwing Exception Message Giving Internal Server Error HTTP Code 500 On Live Site

Oct 4, 2010

using vb.net/asp.net 2005

when a user enters a bad email I am doing a check on this and throwing an exception message as follows, this works fine on the test site but for some reason the same code on the live site gives a "internal server error" (http code 500). The code below:


not certain why this is happening, I assume that it's some server or config difference between the test and live sites. has anyone seen this before? For a quick fix i'm registering javascript alert and showing the same text so it works but I would like to figure out why the code above is not working.

View 1 Replies

Web Forms :: Server.Transfer Throwing An Exception "error: Canot Obtain Value"?

Mar 1, 2010

I am using Server.Transfer("axpx page", True) in my page.aspx.vb code. This line of code is there in the Try block. The exception "error : canot obtain value" is occurred when this line is executed. This is started all of sudden in the production.I have temporarily fixed this by keeping this line after try - catch block. But I'm not sure why is this problem occurred?

View 8 Replies

AJAX :: Download LinkButton In UpdatePanel Throwing Error While File Download?

Jun 10, 2013

I have added linkbutton inside gridview to download, below is my code..

protected void lnkDownload_Click(object sender, EventArgs e)


its giving me following error

"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack"

View 1 Replies

AJAX :: Scriptresource.axd And Webresource.axd?

Mar 21, 2010

My website is looking in the wrong place for the scriptresource.axd and webresource.axd. How do I point it at the correct subfolder? Or how do I set it so that scriptresource.axd and webresource.axd are stored in the root of the website?All the ajax is done within subfolders. The web.config is at the root of the website.

View 2 Replies

AJAX :: Changing The Path Of Scriptresource.axd?

Feb 12, 2010

In my website i have used ajax. I have made a subdomain. All the files are in the subdomain. But no ajax controls are working. When viewing source,

<script src="/subdomain/ScriptResource.axd?d=pIGD9Q63Ayfy9TvkTDZXYa7KKGxArRY0b7cvnO2ePCz6Y3RvV0egKLh8SptZV4uh0uHt-WTAswFxYQAekdl0wytwvJVYp1G-DPHL4quv6Vc1&t=633528638860312500"
type="text/javascript"></script> is coming.

In web.config i have written


View 1 Replies

HttpWebResponse Throwing An Error

Feb 25, 2010

I tried to post data to client HTTPPost URL, as per the client specification I need to post the data using "Post" method and I used the same. But it throws an error "The remote server returned an error: (500)Internal Server Error". in the HTTpWebResponse.My post URL does not have any specific page like http://abc.com/post/post.aspx. the actual URL looks like "http://abc.com/post", Can we post the lead without any specific page like I said in the above URl?

View 2 Replies

AJAX :: How To Change Path Of ScriptResource.axd And WebResource.axd

Apr 12, 2010

Is there any way to change the path of both ScriptResource.axd and WebResource.axd to a relative path (remove the leading the "/")?

View 4 Replies

AJAX :: Scriptresource.axd And Load Balancer Servers

Dec 21, 2010

We host a SaaS application on 4 windows 2008 servers loadbalancer via a LVS. We use infragistics and Ajax Control Toolkit on several pages, one page represents a list of people using a Web Datagrid, each time a person is clicked in the list, an Ultra Web Tab component is updated at the botom of the page with detailed information on that person. After a certain amount of clics on different people (number of clics can be between 1 and 5) Scriptresource.axd craches with the following error :


I don't get this error when I run my application on one server using the server's private IP adress. I tried to synchronize the dates of the dlls System.Web and System.Web.Extensions on each server, I still get the same error.

View 3 Replies

AJAX :: Using CompositeScript To Combine ScriptResource.axd Files?

Jan 10, 2011

I'm having a problem trying to combine the ScriptResource.axd files automatically generated by Ajax using ScriptManager's CompositeScript property....on some pages there's 15 of these files, so I'd like to reduce that number to reduce the HTTP requests. I tried following the post here - [URL] - but am getting errors when trying to do what it instructs, such as:

Microsoft JScript runtime error: 'Sys' is undefined Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load. Below is the code I am using for the ScriptManager. These errors go away if I do not use CompositeScript. Has anyone else attempted to combine these files? Am I doing something wrong in this code?


View 2 Replies

Substring Method Throwing Error

Nov 19, 2010

I am using Substring method on a string variable.

fileName.Substring(67, 18)

I get this error

System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length

Don't know the reason. I debugged a lot and going crazy about this error.

View 6 Replies

ListView With DataPager Throwing Error After Going To Next Page?

Sep 7, 2010

I have a problem in ListView with DataPager.


View 1 Replies

Web Forms :: Throwing Error When Setting Date Above 11

Oct 13, 2010

Requirement:I have 2 tabs in the 2 tab i have a text box in that i have to select date today or before for that i am using ajax calendar control.

Problem: If i select a date below 11 in the calendar control it is not throwing error but if i select a date from 11 and above it is throwing a error.

My Compare validator code is below.

<asp:CompareValidator ID="Compdatefrom" runat="server" ControlToValidate="txtperiodfrom" ValidationGroup="Erradd" valuetocompare="<%#DateTime.Now.ToShortDateString() %>" Operator="LessThanEqual" type="date" ErrorMessage="Invalid Date"></asp:CompareValidator>

View 4 Replies

Configuration :: Aspnet_compiler Throwing An Error About JSharp?

Feb 11, 2011

I'm working on running aspnet_compiler as a post-build even on my Visual Studio 2010 MVC2 application. Every time I run it, I get this error:

The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.

I have no J# in my solution. The J# 2.0 redistributable package is installed, and I have no .java files of any kind in my solution, although I have a lot of .js files.

<compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View 9 Replies

.net - Validator Throwing Error On One Of Dynamic JS Pages?

Sep 8, 2010

I have the following RegularExpressionValidator on one of my pages:

<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ErrorMessage="The value entered for 'Cash' must be in a number format. Examples: 500.00, 500, $500, $50,000 or $500.00"
ValidationExpression="(?n:(^$?(?!0,?d)d{1,3}(?=(?<1>,)|(?<1>))(k<1>d{3})*(.dd)?)$)" >

But when it tries to validate it throws the error below from one of my dynamic JS pages.When I run this regex through regex texter it works fine. Am i doing something wrong here?

View 2 Replies

AJAX :: ScriptResource.axd Is Being Invoked Several Times Per Each Aspx Page Request

Apr 1, 2010

I use ASP.NET Ajax in my web site and I am monitoring the HTTP requests per each page. I am surprised by the excessive call of ScriptResource.axd with different query string variables. I am pasting a sample of HTTP trace below. The call for ScriptResource.axd take lots time percentage out of total response time. Is this by design or there is something wrong with my AJAX configuration in web.config?


Actually it is degrading the performance of the application. And the user experience becoming very poor in case of lower bandwidth.

View 2 Replies

C# - Visual Studio 2008 Web Application Keeps Throwing Error When First Run It?

Apr 14, 2010

As stated in the title my web application builds successfully, although every time I run it in debug mode I get the following .Net error:

If I hit refresh then the application gets no more errors until I next start it up again, any ideas?

Here is my global.asax file:

<%@ Application Language="C#" Inherits="MyCompany.Web.MyApp.Shell.CustomWebClientApplication" %>
<script runat="server">
void Session_End(Object Sender, EventArgs e)
protected void Session_Start(Object sender, EventArgs e)
if (Session.IsNewSession)
protected void Application_Error(Object sender, EventArgs e)
System.Exception oops = Server.GetLastError();
//Injection attack error handling
if (oops.GetBaseException() is System.Web.HttpRequestValidationException)

View 4 Replies

JQuery :: Throwing Microsoft JScript Runtime Error

Aug 9, 2010

i have an ascx user control with jQuery in script tags to do some UI work in the .ready jquery function but i'm getting the Microsoft JScript runtime error: Object expected error and i'm not sure why. here's my code:


View 2 Replies

Isolate Which Parameter Is Throwing Error In Insert Method?

Nov 21, 2010

I'm passing parameters (over 30 in all) from a system.data.dataset into a tableadapter insert method, but I'm getting an "Input string was not in a correct format" exception.The error points to the method that is throwing, which is great, but is there a way I can tell exactly which parameter is throwing the error?(Sorry about the code formatting -- I fought with it for 5 minutes before giving up)



View 1 Replies

Forms Data Controls :: Index Was Out Of Range - Throwing Error

Apr 3, 2010

Server Error in '/EBOOKS' Application.

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

Source Error:

Line 61: Dim favorname As String = GridView1.DataKeys(row.RowIndex).ToStringLine 62: Line 63: ' Pass the value of the selected Employye ID to the Delete //command. My coding as
Protected Sub btnMultipleRowDelete_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnMultipleRowDelete.Click
' Looping through all the rows in the GridView
For Each row As GridViewRow In GridView1.Rows
Dim checkbox As CheckBox = CType(row.FindControl("cbRows"), CheckBox)
'Check if the checkbox is checked.
'value in the HtmlInputCheckBox's Value property is set as the //value of the delete command's parameter.
If checkbox.Checked Then
' Retreive the Favorname
Dim favorname As String = GridView1.DataKeys(row.RowIndex).ToString
' Pass the value of the selected Employye ID to the Delete //command.
SqlDataSource1.DeleteParameters("Favorname").DefaultValue = favorname.ToString()
End If
Next row
End Sub
<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1"
Width="563px" AutoGenerateColumns="False">
<RowStyle CssClass="fontsmallthennormal" />
<HeaderStyle CssClass="fontnormalblue8" />
<EditRowStyle CssClass="fontsmallthennormal" />
<asp:CheckBox ID="cbRows" runat="server"/>
<asp:BoundField DataField="Favorname" HeaderText="Favorname" SortExpression="Favorname" />
<asp:BoundField DataField="FavorDate" HeaderText="FavorDate" SortExpression="FavorDate" />
<asp:SqlDataSource ID="SqlDataSource1"
ConnectionString="<%$ ConnectionStrings:yyyy %>"
runat="server" SelectCommand="SELECT [US], [Favorname], [FavorDate] FROM [TBL_FAVORITES] WHERE ([US] = @US)"
DeleteCommand="DELETE from TBL_FAVORITES where [Favorname]= @Favorname"
<SelectParameters >
<asp:ControlParameter ControlID="txtusername1" Name="US" PropertyName="Text" Type="String" />
<asp:Parameter Name="Favorname" />

View 5 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved