IIS Express Requests Take 4 Times Longer To Execute
Jan 25, 2011
I have uploaded the WCAT results run on windows 7, same script, to http://d1yb9lkqglrfzu.cloudfront.net/IISExpress-100VU-MachineConfig.zip ts: included XSL in zip.
1.IIS Express has slighter higher requests per second, and total transactions served than normal IIS.
2.IIS Express is executing up to 100 requests at a time, while normal IIS on windows 7 is limited to 10 as designed.
3.IIS express is using 30% higher cpu, probably because of additional requests it handles at a time.
4.But on average Express requests take much longer to complete..up to 4 times longer. see Request Execution Time performance counter and time analysis (first and last byte). Express is only able to beat IIS in total requests served because it can handle more requests at a time! Theories
1.Could the fact that IIS express is printing each request to command line window even with trace set none be slowing it down.
2.I also noticed a lot of additional modules registered in IIS express applicationhost.config that are not in IIS applicationhost.config. Could then extra debugging/tracing modules be causing the problem.
3.I notice IIS express does not have FileCache and HTTPCache modules. Could that be why?
View 2 Replies
Similar Messages:
Jan 25, 2011
Me with C#.net and sqlserver 2005. In my application there is a need to insert 1000 products details into my sqlserve table. I am using a for loop to insert and its done using a stored procedure, but when this code executes it stops mostly after 80 iterations and showing the error "Object reference not set to an instance of an object". How can I over come this? How can I make a steady sqlconnection?
View 12 Replies
Mar 13, 2011
I downloaded VWD 2008 express months ago. Don't know what happened but my design view went.I have reinstalled the application several times but no success. I posted this problem on several forums and got many suggestions like uninstall office 2007, reinstall web authoring component, install n et.framework 3.5 which is not compatible with Win7 and does not install, so I have net.framework 4.0. I tried to bburn the iso file installation package, burnt it to a dvd and install it from the media, nothing.My pc is a Compaq Presario CQ61 Notebook running Win7 Home Edition.
View 2 Replies
Jan 12, 2011
In machine XPSP2, I tried to install SQL SErver 2005 express edition (downloaded from the microsoft site) - after mode selction form (Windows/SQL server authentication) - system restarted, automatically.Again restarted, Again restarted,Again restarted,Again restarted,a 1000 times or more.finally I unplugged the system from the UPS
View 2 Replies
Jun 18, 2010
What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent? For example, if my page site URL is [URL], I want to redirect some (or all) page requests to [URL] What's the easiest way to do that?
View 2 Replies
Aug 30, 2010
I have a folder with a web site I'm developing which is connected to a database.Every time I move the folder to a different computer it's a pain when I have to move the database and change the connection string.
I've thought to use for the first time a database in the app_data folder and move all the database inside it.
Nevertheless, when I try to recreate all the tables in the new database for the first time with the query "create table ..." I get and error saying that "SQL CREATE TABLE" is not supported. Is there a way to manage this situation?
View 2 Replies
Feb 15, 2011
I'm trying to understand how to execute AJAX animation on an asp button that has to execute code on Postback. In other words, I have button with code behind that needs to be excuted, but at the same time want to be able to have one of animation extenders be applied to it. I understand that I need to use the BeginRequest Event, I'm just not sure how, or which javascript commands to use to call the ajax animation so the postback will still occur.
View 5 Replies
Mar 10, 2011
I am looking through a sql stored procedure which I might need to update in the near future. Basically the stored procedure is about 20 lines long. The stored procedure first builds a query
and stores it in a variable named "@Sql". And then for the last two lines of the stored procedure it appears that the big sql statement stored in "@Sql" is executed by using the "EXEC" command. See below. What is confusing though is that the query appears to be exectuted twice? Why was the query written in this way. Don't both lines do the same thing? Why is it being done twice? Could this possibly be a mistake on the
part of the person who wrote the query. Below are the two lines I am talking about?
EXEC sp_executesql @sql
EXEC (@sql)
View 4 Replies
Apr 30, 2010
I know the question has been submitted previously. I am a newbie to those tools. If I access to the database by way of management studio both under the windows integrated authentication and sqlserver authentication, everything works like wonder, but VWD just pop up a warming when I tried to log in the DB, you know, I was not allowed to sign in under sqlserver mode. then it alarmed me that it failed in connecting to the default DB file with my windows account.
View 2 Replies
May 11, 2010
I have been using VWD2010 Express for a website that I am working on. Due to a delay in implementing the 4.0 framework at the hosting service that I use, I need to finish up with VWD2008 Express. Is there a simple way to save my project so that it is compatible with 2008?
View 2 Replies
Mar 3, 2010
I'd like to learn more about MS Business Intelligence Development Studio. I'm doing this on my own, so I'd like to keep my software costs down. It's my understanding that BIDS comes with the download for SQL Server, but is used in Visual Studio (by creatign a BIDS project). Is this accurate? My question is - Is it possible to get a working copy of BIDS by downloading SQL Server Express and Visual Studio Express?
View 2 Replies
Mar 30, 2010
I need to run the HttpContext.Current.Server.Execute method in my ASP.NET application. This application has a WCF operation that does some processing. Currently, I am to do my processing correctly from within my WCF operation. However, I would like to do this asynchronously.
In an error to attempt this asynchronously, I tried running Server.Execute in the DoWork event handler of a BackgroundWorker. Unfortunately, this throws an error that says
"object reference not set to an instance of an object" The HttpContext element is not null. I checked that. It is some property nested in the HttpContext object that appears to be null. However, I have not been able to identify why this won't work. It happens as soon as I move the processing to the BackgroundWorker thread.
My question is, how can I asynchronously execute the Server.Execute method?
View 1 Replies
Jan 8, 2011
After I installed Visual Studio 2008 Standard edition, then I upgrade "SQL Server Express 2005" to "SQL Server Express 2008 SP2". Process upgrading SQL Server Express 2008 was going succesfully (none of the process was fail).
But when I create a New Website I could not add a new item "SQL Server Database" into my website file. Because Visual Studio always rejected any new "SQL Server Database" by giving message below (underline):
This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported.
View 3 Replies
Oct 26, 2010
I've wrote the comprehensive post within my blog: [URL] In brief words everything is simple:
1. I've downloaded free Visual Studio C# 2010 Express and Visual Studio Web Developer 2010 Express
2. I've successfully installed these versions.
3. I've tried registration online - and got the appropriate keys which I've used for registration.
Finally all the keys I've got are not valid for the system - and after 30 days evaluation (for free version?) period all these products are not running anymore because all the keys I am providing from online registration are invalid.
View 2 Replies
May 11, 2010
I started working on a website using 2010 Express. However, the hosting company that I am using hasn't fully implemented .NET 4.0. I'm wondering if there is a way that I can save my website for compatability with 2008 express. Then I can finish and publis using 2008 Express.
View 1 Replies
May 25, 2010
I have been maintaining a web application that is written using C# in VS2005 for about a year. Recently TFS was reorganized and my supervisor moved all the source code from one lacation to another. Since then I have not been able to get the application to display properly. It took me a while but I finally figured out that the issue is tied to the StyleSheetTheme property of the page declarative tag. When I removed it I can compile but the page doesn't render properly. When i add it almost all of the controls fail with this error: "An unhandled exception has occured. Cannot instantiate type 'WebPart' because there is no public parameterless constructor". This even happens on standard ASP.NET controls. I started to upgrade the application to VS 2008 but that has opened up all sorts of problems. I need to get this application running so I can continue to maintain the application.
View 1 Replies
Oct 22, 2010
I have the following code in my Global.asax file:
[code]....
To provide neat and tidy error urls like "/Error/404/TheNameOfTheRequestedPage". This works fine from VS 2008, but once published to my local machine, I get the default error page:
Error Summary
HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or
is temporarily unavailable
I've chosen not to use system.web/customErrors because I don't have access to Server.GetLastError() from there (or at least it's never worked for me) and I want to get the http code.
View 2 Replies
Mar 5, 2011
I had to disable cookies for some testing in a web application. now for some reason in IE I cannot get cookies working on localhost any more. They work as expected in Safari, Firefox, and Chrome, but for some unknown reason I cannot for the life of me get cookies working on localhost. I have tried literally every setting imaginable with absolutely no luck. If I change the Url to 'localhost." it works as expected, but when I just use "localhost", without the "." period, cookies are absolutely not written. What the heck did i do? I tried upgrading to IE 9 and that didn't work. I reverted back to IE 8 and still have the same problem. I'm going absolutely mad trying to firgure out what is causing this. I tried tools, internet options, privacy, advanced, and explicit tell the browser to accept all 1st and 3rd party cookies and I'll be damned if I'm on a localhost site, the cookies are not written. This has worked perfect in the past, so it's no doubt some setting I changed but I cannot for the life of me figure out what the hell is going on. If anyone has any idea of how I can remedy this, please do let me know. I've tried every setting imaginable with absolutely no luck. I hate internet explorer but that a conversation for a different day.
View 3 Replies
Jan 24, 2011
All of the sudden, none of my content pages run their contentPageLoad functions anymore. What could I have done?
View 10 Replies
Jul 16, 2010
Normallt I would put the rollback in the catch, but I want to make sure it worked. I got "This SqlTransaction has completed; it is no longer usable."
[Code]....
View 7 Replies
Aug 26, 2010
I moved from VS2008 running on XP 32 bit to VS2010 running on Win7 64 bit and just noticed that I can't debug in NUnit like I used to.
On my old system, I just went to Debug|Attach to Process, chose NUnit.exe, and ran my tests from the NUnit GUI. VS2008 would stop at the breakpoints just as normal.
Now when I try this using NUnit 2.5.5.10112 on the new configuraiton it just skips over my breakpoints.
View 1 Replies
Aug 3, 2010
I cache information about the currently logged in user in the session. This info lazy loads whenever a CurrentUser property on my global application class is used. It does this by calling GetUser() on my custom implementation of MembershipProvider, which either loads the user up from the session, or loads the user from the DB and throws the user object in the session.
How should I handle this scenario?
User logs in. Administrator deletes user (or deactivates...the point is they can't log in any more). User's session expires. User navigates to a page or makes a request, or whatever.
Currently if this scenario occurs, NullReferenceExceptions are thrown all over the place, because the ASP .NET framework calls GetUser() which returns nothing because it can't find the user in the database (and there's nothing in the session because it expired).
View 2 Replies
May 28, 2010
My issue is similar to ASP.NET Debugging Timing out with IIS except that I'm using the built-in ASP.Net Development Server with VS 2010.If I pause for more than about 10 seconds in the debugger, IE7 "disconnects" from the web server with the error message Internet Explorer cannot display the webpageHowever, unlike in the similar question, the debugger is still running. If I refresh the browser it will post that refresh to the server and I can debug the page from the top again.
Is it possible to configure things so that IE7 waits (much) longer before giving up?If it makes a difference, I'm launching IE using the "Start external program" option and passing a localhost URL as the command line argument (since Chrome is my default browser). I also specify a specific port.
View 1 Replies
Jul 23, 2010
I'm using VS 2008 with the AjaxControlToolkit and at design time I am dragging some regex validators on the page.
Prior to yesterday, when I did this, the design time control allowed me to click a little arrow in the upper right hand of the control and add an extender.
Well, now that ability to add an extender at design time is gone, and I don't know what happened.
View 4 Replies
Oct 14, 2010
Using tutorials and some examples of handling membership permission on our site, i have a page that was built using examples found in those pages.. Anyway, now that it is all setup and working ran into first issue.. If a role is setup with a space in the name like this ("Read Only") then you get an error when you try to add someone to that role. But if i change it to be ("ReadOnly") it works fine and no issues..
[Code]....
=====================================
[Code]....
View 3 Replies