I have created one web application for uploading the document. Once the document is uploaded to the web server, i am processing the document for some information and displaying the result back to the web page. Document takes more than 15min to upload and processing takes 30min. After 16min, i am getting error such that there is no response from server. Is there any way we can extent our execution time?
i tried by using <httpRunTime executionTime="10000". Still i am getting this error
I am having problems making an AJAX call when the response is over 2MB. Anything with a response under 2MB works fine. When the response is over 2MB, my "success" method never gets called. My application is ASP.NET MVC2.
I am making the call using the jQuery AJAX call: $.ajax({ type: "post", data: ajaxData, url: ajaxUrl, success: updateItems, cache: false });
In my controller, I am using the Json() action result method: public ActionResult GetItems(....) { ... return Json(packet); }
When I watch the call in Fiddler it comes back with a HTTP 500 response. I tried setting the maxJsonLength in the Web.config file as shown here, but that doesn't seem to make any difference. How to allow a response over 2MB?
I am trying to fetch data like Amazon or other sites. The process take time (about one or more hours) to fetch data. But in between the browser get off saying 'Page can not be displayed' in IE and other error in FF and all UI got lost. How to increase browser time to complete the task successfully.
I developed some pages where all the population are happen with the javascript only. So there is nothing with the server side. So the problem is though I am doing some application in that page but as the session is time out the page is going to log off page.
My question is , is there any method to increase the session time using javascript or AJAx so that any task is perform in that page then it wil add some time time with the existing time?
The machine.config setting <processModel maxWorkerThreads controls the number of max worker threads in w3wp. Our ASP .NET 2.0 web service gets about 200 requests per second and a lot of them end up in the Request Queue in IIS as observed in perfmon. We are trying to increase the maxWorkerThreads so that the pending requests get processed. We do not want to set this in machine.config as it will impact every ASP .NET application.
Is it possible to set it for a single web application? Web.config does not allow <processModel> tag.
If I do this programmatically, will it cause all the applications in the web pool to take this new setting?
Can I do this in Application_start of Global.asax?
why classic asp pages run so much faster than consuming a web service in .net?
I have a classic asp page that consumes a web service like so:
[Code]....
I run a log of every transaction and the time from call of the page to finish is ALWAYS between 1 and 2 seconds.However, when I try to consume the web service through .net like so:
[Code]....
This way takes on average at LEAST 10 seconds. Sometimes less, but not often.
I guess I just assume it should be the other way around. How can i speed this up? Seriously, don't make me stick to classic asp pages!
From time to time my application crashes and I start getting all sorts of weird errors like "object reference not set to an instance of an object", that then turns to "failed to enable constraints..", etc. Sometimes then the application starts to work again properly by itself, and sometimes not until I restart IIS, after which everything is ok again.
I have noticed two time-related problems with my website:
[1] Slowness of loading the graphics for each page in the browser; [2] Receiving a "Runtime Error" page in the browser when I do take action on the site (e.g. navigate to another page) within approx. 30 seconds.
Are these problems related to limitations of my web host?
I'm load testing an asp.net app.The load test is simulating 500 user doing searchs on the site and browsing the results. I'm observing that the more I reduce the session timeout limit (in web.config) the better the page response time.exemple, with a timeout at 10 minutes, I got an average response time of 8.35 seconds. With a timout at 3 minutes, the average response time for the same page is 3,98 seconds.The session in stored "InProc".
commonly on say PHP or other web frameworks getting the total response time is easy, just start the timer at the top of the file and stop it at the end. In ASP.Net there is the whole Page Lifecycle bit though so I'm not sure how to do this. I would like for this response time recording to take place in a master page and the response time show up in the footer of pages. What would be the best way of doing this? Is there something built in to ASP.Net for it? Is it even possible to include the OnRender time?
I built my ASP.NET website using vs2008 professional.
Now I have purchased vs2010 professional edition.
I do format my computer and then installed vs2010.
Now I want to deploy my website in vs2010, but it is giving configuration error in <add assemblies...
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
How can I retrieve the list of all the request I made it to server with respect to time required to process time for it.In my page I am using some web services. I want to retrieve list of all the web services I am using and time required to process this request.
I want to implement a response time monitor in a ASP.Net application. This monitor has to calculate the average response time during 2 secs. Whats the performance counter i can use. I tried ASP.NET ApplicationsRequests/Sec but did not work. Whats the best way to do this. I am using the default server formed by VS2005 for development, does this affect the performance counter programming?
Where should I implement the logic? Global.ASAX? in every 2 sec i want to check this value and make some decisions.
In addition, what are the parameters I can alter in a ASP.Net application at runtime to improve perfromance. How can I change them?
I've got this problem.I launched an ASP.NET website with the Umbraco CMS on an ISP.(Its just a very basic informative site. nothing special.)When I go want to visit the website however, the first pageload takes a lot of time, sometimes even up to 20 seconds. Of course this is ridiculous. Afterwards, I am able to navigate the site relatively quick.. So every first pageload is slow, then everything is OK, more or less.Does anybody have any idea what the problem could be? Would it be IIS? ASP.NET?
In my application I need to set a http response header. I'd like to do this in web.config. but I dont'know if this is possible and I can't find it on Google. Solution Finally, after a long search I found the solution. Create a class with this code:
public class myHTTPHeaderModule : IHttpModule { #region IHttpModule Members public void Dispose() { } public void Init(HttpApplication context) { context.EndRequest += new EventHandler(context_EndRequest); } void context_EndRequest(object sender, EventArgs e) { HttpResponse response = HttpContext.Current.Response; response.AddHeader("Content-Language", "*"); } #endregion }
(Don't ask me why to use this event, but it works..) Now add a line in web.config in the HttpModule section:
This works fine in the local host and in one of the server.
In another server,for a particular button,its not working.
The Issue is while redirecting is takes the tilda(~) in the Path and giving the following error.
Server Error in '/EventManagement' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.