JQuery :: Script In MVC Application Taking Too Long For IIS / IE To Load

Nov 2, 2010

I have a .Net 4.0 MVC 2.0 web application I built using VS 2010 Ultimate. I have about 413 lines of jQuery with no infiniate loops or anything, just ajax calls, .hide(), .show(), .slideToggle(), etc....the usual stuff. However, when I run the page both in debugging (Vista Enterprise 32bit) or in production (Server 2008 Enterprise 64bit w/ IIS 7) I get the following Windows Internet Explorer message dialog box that pops up:

Stop running this script? A script on this page is causeing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.

I commented out all 413 lines of my jQuery and this didn't fix a thing. So, then I started to comment out the external js files my page points to, and when I removed this line, the problem stopped, but my page also doesn't function are look right.

[Code]....

I have Googles the hell out of this error, and have found all sorts of reasons as to why this can be caused, and have seen many solutions, even Microsoft has a solution for it which involves a registry mod, but I can't do that since it would have to be done on every client machine. Does anyone know why this js file would be causing this problem? If there just too much js on the page with this file added?

I figured the MVC discussion board would be the place for this since us MVC developers use the hell out of jQuery most.

View 2 Replies


Similar Messages:

Installation :: Web Application 3.5 (SP1) Taking Too Long To Load

Mar 30, 2011

I have a project in .net 3.5 SP1 (Visual Studio 2008) and it took approx 5 to 10 minutes to load. My sln contain 3 projects. how can I improve efficiency.

My machine specs are

Intel(R) Core(TM)2 Quad CPU
Q8200 @ 2.33 GHz
2.33 GHz, 1.96 GB of RAM

View 3 Replies

Page Taking Too Long To Load?

Sep 1, 2010

Am working currently on a project with Dundas chart and to populate 3 similar charts on the dashboard page, there are more than three thousand rows returned from the database for each chart. These rows now retrieved are just test data and while launching the application there would be enormous amount of data being retrieved. It takes ample of time for the page to load on every postback. Is there any way to load the page more quicker inspite of huge data being populated.

View 2 Replies

MVC - Images Taking A Long Time To Load?

Oct 4, 2010

I have tested my pages in Firefox & IE and looking at Firebug in Firefox for some reason some images are taking a long time to load. They are not very big in comparison to the ones which are loading quicker.

Attached is a screenshot of Firebug.

I especially notice it in IE with the progress bar at the bottom of the page, it just sits there saying loading image...

Could it be the path or something which is http://localhost:49211/Content/_layout/images/bg-footer.png for example

View 2 Replies

Forms Data Controls :: Ajax In Asp 1.1 / Taking Too Much Refresh And Taking Long Time?

Jan 13, 2010

I am making some application in asp.net 1.1 in that I am displaying data in datagrid from database. In data grid first column is of check box and radio button and in the last column we have text box now thing is that when i click on check box crosponding textbox we fill some figure and at the end we press calculate button to get total. After getting total we have to press continue button to go next step

But suppose if some body remove that check the we should press calculate button or chnage some figure in the text box then we should press calculate button again to recalculate. for that i kept autopost back on check box oncheckedchanged event and text box ontextchanged event and hide continue button so user will click calcutae button abd then continue button will re-apper

Problem it that it taking too much refresh and taking long time. So was lloking for some ajax method to use in my application.

View 8 Replies

Forms Data Controls :: Aspx Page Is Taking Long Time To Load Controls (repeater)

Feb 12, 2011

[Code]....

I am retrieving records from database nearly 380 records and binding them to a repeater control.My page is taking long time to load. how to improve the performance and here is the code of my repeater.

View 1 Replies

JQuery :: Showing Animation During A Long Page Load

Jul 19, 2010

I have a page that takes a long time to load because it utilizing multiple user controls. Is there a way where I can display a wait animation during the page loading utilizing JQuery? I'm a newbie to Jquery and client side development

View 7 Replies

Benchmark App To See Which Part May Be Taking Too Long

Mar 10, 2011

We would like to benchmark the asp.net c# app to see which part may be taking too long. How would you do this? We need to check:

1. The query on the server side.
2.The summarization that the app code is doing once it gets all the data.
3. Add in logging statements at various points in the code so we can see how long each step is taking
4. Time the sql query to see how long that takes.

How is the best way to make this benchmarking?

View 1 Replies

The Server Is Taking Too Long To Respond?

Dec 21, 2010

I have deployed my .NET application on IIS and Iam facing the Same Problem " the server is taking too long to respond" My OS is Windows XP and IIS 5.1.

View 3 Replies

Pages Taking Too Long To Bring Up?

Feb 21, 2011

We have been using the same pages for many years. All of a sudden it is taking the classroom educators 23 minutes to go from page to page. We hired an individual and they find nothing wrong with our firewalls and security system.

There are no loops in our code or referring to databases.

We also hired a Microsoft consultant from Washington State and she recommended that we stay with asp Classis because we have over 27,000 pages.

Whare can I find the forum for asp classic. I need to find out why it is taking so lon to go from one page to another. Our Web Site programmers are getting pretty disgusted.

View 2 Replies

Web Forms :: FileUpload Taking Too Long On Web Host?

Jan 9, 2010

I have a webform that uploads data to a SQL Server 2005 DB. When run it on my local machine it works like a charm and is very fast. When I move my web form to my Hosting company's web server and try to upload to my DB it takes a very long time (5 min plus to upload 10MB) or it times out or both. My web hosting company can't seem to fix this.

Has anyone had a similar problem or any clue what might be happening?

View 5 Replies

VS 2008 - Email Taking Too Long To Send

Jun 22, 2012

I've got a web method that is sending an email - and it's just taking too long to do the email. Anything I can do with multi-threading to have this code run without blocking the web method from returning the POST to the browser?

I do not care about the success of the email - I'm not passing that status back to the browser.

Code:
Private Function SendEMail(ByVal wholist As String, ByVal emailcontent As String) As Boolean
Dim emailSuccess As Boolean = False
Try
Dim strEMails() As String = wholist.Split("~"c)

[Code] .....

View 3 Replies

C# - Hosts File Edit Taking A Long Time To Work?

Aug 5, 2010

Whenever I add an entry to the Hosts file on Windows, it takes a long time for the change to take place? I have tested using Firefox and IE and it seems to take around 5 minutes on both of them before the new IP/Domain entry on Hosts is recognised.

Is there anything I can do to overcome this? Perhaps "refreshing" the cache in some way? ipconfig /flushdns doesn't work.

View 1 Replies

Configuration :: Visual Studio Publish Taking A Long Time

Mar 24, 2010

When I Publish my website it takes around an hour and a half. This is publishing to a directory on my local machine, it is not FTP'ing to a remote server. The build seems to take about an hour (when I build without publishing it is noticeably slow, but 5 minutes slow, not an hour), then the publish seems to take a further half an hour.

what could be causing this and how I can improve this? This obviously causes issues when I make a change (I'm constantly updating the site) as I need to wait for an hour an a half. I'm considering not precompiling the site now and simply uploading the .aspx and .cs files direct to the server as this is unmanageable for me.

View 5 Replies

Visual Studio 2010 - Upgrade Seems To Be Taking A Very Long Time To Start?

Oct 13, 2010

At work I'm tryhing to upgrade an ASP.NET 2.0 app (which we wrote using VB.NET 2005) to ASP.NET 4.0. I had a few problems during the upgrade, but eventually worked them all out. At the end of the day I decided to give it a quick compile and see if I'd get the start page, so I hit F5 in VS 2010. I left it that way, and man was it acting weird. VS 2010 wasn't responding to anything. If I hovered the mouse over VS 2010's minimize or close buttons, in the upper right corner, then those buttons were flashing very rapidly. I'm not sure what was going on. After waiting 15 minutes to see if it would come up, I decided to try clicking on the close button. Nothing happened. Eventually, I had to leave (I take public transit, and I have to leave when the bus comes)But what I want to know is this, is this pretty standard behavior? Does it normally take this long to do this? This website is of modest size (<100 pages).

(Later) When I came into work today, 8 hours later, VS 2010 was still doing whatever the heck it was doing, but basically it wasn't responding to anything.

View 1 Replies

DataSource Controls :: Taking Long Time To Import Data From Csv To Sql Server 2005?

Feb 20, 2010

I have an application which imports data from csv to sql server 2005. It is taking long time to import data from csv to sql server 2005. it has a timer. on tick of timer, I am checking if current rown in csv exists in database. If it exists, It is not added to sql server otherwise, It is added that row to sql server 2005. Also, In page load, It checks on each tick, whether user is logged in or not. it adds value to log file that user is logged in. How can I optimize this ?

View 1 Replies

Data Controls :: Every Post Back In Form Is Taking Long Time When Several Update Panels Used

Nov 22, 2015

I have a big form in which i have almost 10 update panels. some are having updatemode = conditional and others are always. Now by default when that page is opened i only show one dropdownlist.When that project dropdownlist (from which i populate the rest of the elements in my page) value is changed by user it takes long time to load the other elements. Also the other gridview which is also surrounded by update panel and mode in conditional takes long time to show edititemtemplate controls in edit mode. 

I am unable to trace the reason behing delay. Few days ago it was working fine and fast but now it is slow.

View 1 Replies

Forms Data Controls :: Web Application Project Performance Takes Long To Load Data

Dec 13, 2010

I there I have recently created an ASP website wich uses .net 4 and SQL db but soem some reason even displaying 20 records in a gridview is slow... So after some reading I converted the website to a Web Application Project so its compile prior to publish.. But yet again this is a bit slow. pages loading time is not of a bit issue...

View 8 Replies

AJAX :: Trying To Create A Progress Bar For Page Load As It Takes Long To Load?

Jul 7, 2010

I am trying to create a progress bar for page load as it takes long to load. I need help to resolve jscript error 'null' is null or not an object on line $get("btn").click();

[Code]....

View 3 Replies

Web Forms :: Adding Item To Listbox From Another Listbox Taking Way Too Long?

Mar 4, 2010

I have two list boxes, one has a list of available users (about 1500 items) and the other is blank. There is a button to add the seleted items from the first list box to the second one. Both of these listboxes are within an update panel and for some reason it takes over 20 seconds for the items to show up in the second listbox.

Is this normal? Is there an alternate, faster way of doing this?

View 6 Replies

Asp - Gridview Taking Much Time To Load

Oct 29, 2010

I am having a Gridview which takes much time to load its data, I tried to make the loading faster by implementing paging in gridview and reducing the rows to render in the grid and it got worked to an extent but still it lags in processing to bind data. The database i am using is SQL Server 2005 and the code is as follows

DataTable dtProducts = objProducts.GetProductDetails(iCat.ToString(), userId);
dgrdProductList.DataSource = dtProducts;
dgrdProductList.DataBind();
public DataTable GetProductDetails(String CatID, String UserID)
{
DataAccess DAB = new DataAccess();
DataTable dtbProducts = new DataTable();
try
{
string SQL = "select *,CAST(ShortDescription AS varchar(200)) AS ShortDescriptionList from vw_products where IsActive=1 AND CategoryID = " + CatID +
" AND LanguageID in( SELECT PW_UserLangRel.LanguageID FROM PW_Language INNER JOIN " +
" PW_UserLangRel ON PW_Language.ID = PW_UserLangRel.LanguageID WHERE PW_Language.IsActive=1 AND PW_UserLangRel.CompanyID=" + UserID +
" ) Order By ID Desc,LanguageID";
dtbProducts = DAB.Fill(SQL, CommandType.Text).Tables[0];
}
catch (Exception ex)
{
throw new Exception(ex.Message + "WebShopPaolo.CProducts.AddProductImages");
}
return dtbProducts;
}

View 1 Replies

Website And Some Other Page Also Are Taking Some Time To Load?

Apr 20, 2010

The home page of my website and some other page also are taking some time to load, instead of making them load fast, I want some please wait screen or progress bar and mean while the required page would be loaded behind.

View 3 Replies

Web Forms :: Button Taking Too Much Time To Load?

Nov 19, 2012

I have a web page and i have one user control and one buttone on page...

I am displaying some data on that page.

But problem is that buttong is loading after almost 30 to 40 seconds event after whole data displayed and progress bar of ie is also does not complete

View 1 Replies

Web Forms :: Modal Form Taking Ages To Load / Gif Whilst The Page Loads?

Nov 25, 2010

I have a modal popup which contains a listview with multiple rows containing multiple controls so the form takes around 6-7 seconds to load, which is fine. What I want to do is display a little animated gif whilst its loading. What I don't understand is from the Page_PreInIt to the Page_SaveStateComplete (which is the first lifecycle method to last i think) it's only a matter of milli seconds.

a) why is it taking so long to load?

b) hows best to show the gif whilst the page loads (if possible)

View 2 Replies

C# - Long Time To Load First Sql Connection In .NET?

Apr 9, 2010

For some reason it takes 7 seconds to open a connection to a sql server database for the firt time, subsequent connections takes a second.

I'm using C# and asp.net

Its after compilation, i essence every time i restart the site, which means every time it needs to actualy create the "first" connection. i understand that setting up connection pooling has overhead, but i have never seen that i should take 7 second to set it up.

View 3 Replies







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