IIS7 Classic Asp Request Takes 1 Minute To Respond
Feb 5, 2011
I took a copy of a website that works fine on a server (done have server access) but when I set up a website in IIS7 and run the classic asp code loading a page is taking nearly a minute. It always loads the pages but just takes forever.
View 1 Replies
Similar Messages:
Nov 2, 2010
I have 2 website on my IIS which have the same physical location on disk. Example:
www.xxx.com path on disk : c:wwwxxx.com
img.xxx.com path on disk : c:wwwxxx.com
I want that img.xxx.com only response for static files like images, css and js files.
My main goal is to serve static files from a cookieless domain (using img.xxx.com for cookieless requests). But if I write img.xxx.com to browser i see the same content with www.xxx.com. I want to block all request to img.xxx.com except images, css and js request.
I don't want to set another folder for img.xxx.com because it is very hard for me to change all images url to new url.
View 3 Replies
Mar 7, 2010
I'm trying the above - Visual Web Developer 2008 express edition with SQL Server 2005 express using VB code behind on ASP.net 3.5 framework. I need to incorporate and amend some externally supplied classic asp pages, so switched to local IIS7 for compilation/run. I can run these pages, but am unable to amend them and have the changes reflected in what I see. Is this possible with this setup? Is there a configuration setup that I may need? Has anyone successfully done the above before?
View 2 Replies
Jan 16, 2010
First, a little background. I have written a custom HTTP compression module for ASP.NET. My development machine has Windows 7 Ultimate, which comes with IIS7. My production environment uses IIS6.
The problem I'm having is, Resource Expert Droid (redbot.org) tells me that I need to add a header to my response to properly support compression: "Vary: Accept-Encoding"
On IIS7 in integrated mode, it works properly. However, in classic mode, which is how my application ultimately runs, I cannot get my code to output this header using any of Response.AppendHeader(), Response.Cache.SetVaryByCustom(), or Response.Cache.VaryByHeaders.
View 1 Replies
Sep 20, 2010
we are running a complex 64-bit ASP.NET 2.0 application on W2008 R2 Standard and stress tests done with VS2008 Team System have indicated that integrated pipeline mode is 30% slower than classic mode.
We have compared the application traces extensively and it appears that integrated mode is uniformly slower than classic. That is, there is no single point that causes delays in integrated mode.
This is quite the opposite to everything Microsoft says about the integrated pipeline, so it might be that there is something quite wrong with the configuration of the integrated mode or the server. But we have not found any settings that would have any effect on this. Some complaints that Sharepoint and reporting services are slower in integrated mode can be found, but our application does not use them so this is quite likely unrelated.
View 2 Replies
Dec 29, 2010
Does anybody knows if it is possible to make URL routing in a ASP.Net webforms website that is running under the Classic .NET AppPool.
I've tried a few things here, but it just works when I switch from Classic AppPool to Default AppPool.
** the web site MUST run under Classic AppPool.
View 2 Replies
Feb 25, 2010
I have a need to run an application in classic mode for backwards compatibility with a specific application, and am trying to understand what kind of impact that will have on the performance of an MVC application that is running on the site. If we put a few static file maps (for .js, .css, .png, etc) above the ASP.NET wildcard map to reduce the amount of processing by the ASP.NET handler, will we be approaching the integrated mode in terms of performance?
The thing i'm primarily concerned with is any effect this might have on output caching. I understand that integrated mode might (?) allow for the output cache to handle non ASP.NET content, but that isn't really a concern. We're more interested in ensuring that the MVC application has full use of the output cache. Empirically i've found that the two configurations operate on par when things go well, but if the page references resources that are not available, the integrated mode tends to fail much more quickly than the classic mode (e.g. 500 ms vs 10 seconds), reducing 'hang time' on the page load.
View 1 Replies
Nov 22, 2010
I have a very peculiar problem that I've been wrapping my head around and I just can't figure it out. I have an updatepanel. Inside that I have a TabContainer. And inside that I have three TabPanels, each of which has checkboxes. Sometimes (and it happens often enough that I can easily reproduce it, but strangely may not happen with the same exact steps), when I click on different tabs or click on checkboxes inside the tabpanels (basically when I do an AJAX async postback), the request takes about a few minutes, after which the request just stops. Looking at the Firefox error console, I see this popping up after a few minutes...
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0 Now, the asyncpostbacktimeout property for the ToolkitScriptManager is set at 360000, which is 6000 minutes, so the problem has nothing to do with that setting. In IE, I never have this problem and the AJAX requests are instantaneous and smooth, no delays. So this isn't a network or database lag issue. Something to do with how AJAX is run in Firefox. Why is it that sometimes, an AJAX request in Firefox takes a few minutes and just stops processing the request? And once again, the steps to reproduce this problem may not be the same every time, it seems random - very strange. Google searches have yielded very little help on this. I've tried things like extending the timeout property (which again has nothing to do with this), setting Response.Cache.SetNoStore() everywhere. Is there a crude workaround I can do (at this point, I'm willing to settle for a workaround). I just don't know anymore.
View 1 Replies
Feb 17, 2011
I have an asp.net application running on a production server.
The cpu usage on the server is very high, 80-90%.
Each request however does not appear to be taking too long, unless the cpu has peaked at 100%.
I need to obtain some profiling data in order to determine if the high cpu usage is due to a small number of high cpu requests, or, if it is just general high load.
I can add more cores to the machine and also web farm the app but I will need evidence in order to justify any costs and future proofing the performance.
Is there a way of logging to a file the CPU usage for each page request?
View 1 Replies
Mar 12, 2010
I am using MVC 2, IIS7 on Vista Ultimate.In the VS2008, my application return ip address: 127.0.0.1
but, after deployed and published to IIS7 server, I got ip address: ::1
View 2 Replies
Jul 22, 2010
I'm currently developing a few ASP.NET MVC2/.NET 3.5SP1 web-services that are mostly IO bound (execute a couple HTTP back end calls + DB write per request) and i'm getting really poor load-testing performance.
To make sure it wasn't something in my application, I created a brand new ASP MVC 2 project (project -> new -> "ASP.NET MVC2 Web Application", based on .NET 3.5 SP1), added a "TestController" with the following action:
[Code]....
I deployed this on a dual-core test server, running Win2008 and IIS7, Application Pool set to "integrated mode". I have the following in my C:WindowsMicrosoft.NETFramework64v2.0.50727Aspnet.config:
[Code]....
Just in case, I added the following DWORD key in the registry:
[Code]....
I verified I was able to access my test action from a regular browser and started a load test from another machine on the same network: user load set to 500, no "think" time.
The following is what I observe on the machine running the loadtest after about 8 minutes:
req/s: 5.98avg response time: 78.4 secondsno errors whatsoevernote that the local CPU is 1-2% On the test server, this is what I observe using perfmon:
request current: flat line at 501request execution time: flat line at 1506 ms avg => this makes sense though I don't understand why I see the request coming back after 78 seconds at the other end% proc time avg < 1%request queued as well as all others asp.net v2.0.50727 counters at 0 I don't get it. I believe the expected behavior would be to see about 333 req/s (500/1.5) with a avp response time of 1.5xx seconds...
View 1 Replies
Mar 25, 2010
when i was working with IIS 6.0 and windows 2003 Request.ServerVariables["LOGON_USER"] is giving me the current logged in user id,
but now we have upgraded to IIS 7 and Windows 2008 if i use the same statement it is not returning me any value.
NOTE : i am using vs2005 to write my programs.
View 5 Replies
Jan 2, 2011
I have a Asp Mvc 2 site using forms authentication. When I run it locally I can log in and stay logged in indefinitely.
However when I put it on the server I seem to only stay logged in for a few minutes and then seems to be logged out. I have looked at the cookies and there are 2 which seem relevant:
.ASPXAUTH which is a session cookie .ASPXANONYMOUS which expires in 3 months.
When I refresh the page the cookies stay the same until I get logged out, when I seem to get a new .ASPXANONYMOUS cookie, but the .ASPXAUTH seems to be the same. It seems that I might be able to stay logged in until I do something after a certain amount of time. If I submit a form as soon as I am logged in then it works ok, but if I keep submitting data again and again then after a minute or so, one of the submits will happen as a logged out user and not as the user who was logged in, which all the other submits worked as. What might cause this behaviour and how can I track down what is different & change it so that I can stay logged in indefinitely?
its a single server, but after some more investigation and searching the likely candidate seems to be that I am using more than 100mb on the server and the application pool is getting recycled. I suppose now i need to know How can I check how much memory I'm using. What advice there is to reduce that.
View 2 Replies
Jul 28, 2010
I need to subtract one minute from the TimeOfDay
[Code]....
View 7 Replies
Mar 22, 2011
I want to update a Panel after every 2 minute in asp.net mvc. For that i tried to impletment Update panel and Timer as we do in simple Asp.net . But page not refreshing data in update panel in asp.net mvc. i dont know whether it is problem of timer or update panel.i added the events on aspx page using script tag. So is there any way to update the update panel only after sometime in asp.net mvc..
View 2 Replies
Aug 17, 2010
I want to add Mins column in Stored procedure .
ex - Mins(column)
3:10
4:20
5:10
2:30
Output should be 15:10
View 3 Replies
Jan 5, 2011
I have a SQL Server database which contains stock market quotes and other related data. This database needs to be updated at regular interval, say 1 minute. My question is: How do I get stock quotes every 1 minute and update it to database?
View 2 Replies
Mar 24, 2010
This the code.
Cache.Insert(txtUserName.Text.Trim(), 1, null,
DateTime.Now.AddMinutes(1),
TimeSpan.Zero);
But Cache didn't expire after a minute.
View 3 Replies
Dec 30, 2010
i have used the Created_Date = DateTime.Now, to set the default value of a datebut i want that date to include inaddtion to the day the hour minutes and seconds
View 6 Replies
Dec 24, 2010
I'm using ASP.NET MVC 3 with the Authorize attribute, but it keeps kicking me to the logon page after 1 minute, but even though my expiration is set to a very high value, it times out quickly. I check the cookie in my browser and its still there and not set to expire until about a month later, and it's set to be persistent, so I'm not sure why it keeps booting me. It only happens on my published location, locally it works just fine.
var ticket = new FormsAuthenticationTicket(username, true, 500000);
var encryptedTicket = FormsAuthentication.Encrypt(ticket);
var cookie = new HttpCookie(FormsAuthentication.FormsCookieName, encryptedTicket);
cookie.Expires = ticket.Expiration;
Response.Cookies.Add(cookie);
web.config:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="7200" slidingExpiration="false"/>
</authentication>
View 1 Replies
Nov 22, 2010
i use asp.net and ajax
I have a button and I want to count that, how many times was the button clicked in 1 minute.if the user clicked the button more than 5 times in 1 minute it will be deny for 5 minute.
View 3 Replies
Jun 4, 2010
I have a scoreboard kind of application, In which the value of labels in the update panel has to be refreshed every minute.
View 3 Replies
May 7, 2015
i want to execute some code every one minute like i select * from customers , now for each row, i want that each row will execute after 1 minute , in asp.net web application not in windows application.
View 1 Replies
Jan 14, 2011
I have a gridview which is taking values using template feild. ASP databound feild displays duration in my gridview as hour:minute:second .
Eg: 1:30:10 (1hour:30 minutes:10 seconds) . I want to change this to minutes only. that it should converted to 90 minutes , The actual value is 90 minutes 10 seconds, As it has 10 seconds more I want to display it as 91 minutes. Final result in gridvew should be 91 minutes.How can i do this ?
I heard that onrowdatabound can be used for this, if so how can i do it. how can i make use the onrowdatabound to make this work
My source page is as bellow
<asp:GridView id="GrdCallList" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="ObjectDataSource2"
Width="876px"
BackColor="#CCCCFF" BorderColor="Black" BorderStyle="Outset" BorderWidth="3px"
EnableViewState="False" Height="85px">
<columns>
<asp:BoundField DataField="Duration" HeaderText="Duration" SortExpression="Duration">
<HeaderStyle Wrap="False"></HeaderStyle>
View 6 Replies
Jun 4, 2010
i have a machine that i use as a server, the machine is running Windows 7 and IIS 7. I am using Windows Xp and my browswe is IE8.
In my application i use Infragistics menu controls. The menu freezes, and they dont respond or calloapse. I have tried the Compatibility mode but it still does that.
View 10 Replies