Tag | IIS Posts

This is a rewrite of a post to microsoft.public.dotnet.fra... I'm having a discussion with my team leader concerning the use of SqlTransactions. We work on an ASP.Net 1.1 website. Up until now we've been using ADO.Net SqlTransactions in our business logic layer to combine several data access layer method calls into one coherent, atomic action. I am in favor of this approach as it supports isolating the business logic from the database and provides for greater code readability. My team ...
I'm not 100% sure but it seems Microsoft has silently (?) launched IIS version 7.0. This is said to be a part of Windows Vista. Oddly enough I've not seen any launch announcement from MS. Maybe I just missed it? The new version of IIS is said to implement a lesson from the Apache Web Server - modularity. Functionality previously embedded in older version of IIS has been relocated to modules that can optionally be installed alongside a core IIS server. This would allow for better security as administrators ...
You may see this error - more than once - when working with your Microsoft Office SharePoint Server (MOSS) 2007 deployment. This animal / error generally shows itself after you have applied an upgrade to an existing deployment. For example, when upgrading from B2 MOSS to B2TR MOSS - or when applying a special service pack from MSFT - you may begin to see a lot of these errors pop up in the SYSTEM event log. The error CLSID is followed by a class ID for the DCOM+ application that the service account ...
The IIS Admin Service service terminated with service-specific error 2149648394 (0x8021080A). IIS Admin Service goes away after restoring a VHD / VPC Server I recently had the unexpected pleasure of losing my IIS Admin server - altogether!!! Translate - 150% !!! Now, before this - everything was going great - except. During an upgrade of MOSS (Microsoft Office SharePoint Server) I encounted an issue that forced me to restore a VPC image - essentially bringing over another copy of the VHD and firing ...

How to set required NTFS permissions and user rights for an IIS 5.0 Web server

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q271071

This is a continuation of the problem I'd had a couple weeks ago with a null reference exception on a master page, and a duplicate of a post on my site.I'm not sure what the technical term is for it, but I have one domain on a shared server and then I have other 'web sites' running in folders on the domain. As long as I configured those sub-folders as web sites using the IIS tool in my host's control panel, things worked just fine. These sub-sites are nothing overly important to anyone, so accessing ...
"Exception 80004005" has to be the worse error description I've seen. This is not the error number, it's the description. I received this error today when I was working on some legacy Visual Basic script in VisiWatch (an EAI application developed by SoftBrands). There is some sporadic information out there on this error. However, all of the guidance revolved around IIS code and suggested corruption, permissions, etc. Of course this guidance led me on a wild goose chase. After awhile I was able to ...
This post disappeared from a previous blog of mine so I'm reposting it. --- A couple of weeks ago I was having difficulty turning on Windows Integrated security for a couple of virtual directories that were interfaces to the SOAP and HTTP adapter. I initially had Anonymous and Integrated Windows turned on. As soon as I turned off anonymous and left only Integrated Windows security turned on I would get prompted to enter my credentials. After three failed attempts to login I would get the following ...
This post disappeared from a previous blog of mine so I'm reposting it. --- I've installed BizTalk 2004 on a developer workstation several times at this point. For a developer workstation I recommend the following: 1) If you do 'regular' ASP.NET development on your workstation and you will continue to do so after installing/configuring BizTalk then when you are configuring Windows SharePoint Services (WSS) do not configure it to use your default website. Create a second website in IIS and point to ...
Visual DataFlex Solves Web Collection Of Prospects Manual Input · Many Companies Collect Prospect Data in Email or CSV Format from web inquiries, but a new techology thru a product called Visual DataFlex WebApp solves the problem of making inquiries flow LIVE directly into your customer/prospect database with rapid deployment/low cost technology. · (client: A Major Player In The Sports Ticketing And Travel Industry) A Success Story · In a first meeting with a prospective customer who was receiving ...
I've been having some fun writing a basic HttpHandler to improve my website's visibility to the search engines. There are a few good free URL rewriting engines out there but I thought it would be a good exercise to do this one myself, just for the sake or learning something new. I am a big fan on using extension-less Urls where possible, ie www.mydomain.com/somepage. In order to do this properly one must make sure that wildcard extensions (.*) are mapped property in IIS to allow this to happen. You ...
Problem I have exposed an orchestration as a web service using the WSE 2 web service publishing wizard. I am wanting to use kerberos to sign and encrypt the message, however i have turned off the server policy as i dont want to force it as a requirement until i can get it to work. When i call the web service as intended with a kerberos token signing and encrypting the message i get the following error: System.Web.Services.Protoco... System.Web.Services.Protoco... ...
I have been using AppUpdater for a few years now. I finally had to upgrade the server to windows Server 2003. w2k3 requires couple of additional steps, there are bunch of articles out there. However I found Erik Porters Post which summarized it perfectly here is a link to his post: Setting Up the AppUpdater Component to work with Windows Server 2003 Here is the are the steps I borrowed :) from his Blog Post Open up IIS Click on the Web Service Extensions node Click on WebDAV Click the Allow button ...
Source: http://msdn.microsoft.com/m... 10 Tips for Writing High-Performance Web Applications Rob Howard ---------------------------... This article discusses: Common ASP.NET performance myths Useful performance tips and tricks for ASP.NET Suggestions for working with a database from ASP.NET Caching and background processing with ASP.NET This article uses the following technologies: ASP.NET, .NET Framework, IIS ---------------------------... ...

Question for the masses...

What is a reasonable expectation for IIS performance in terms of pages it can serve per hour?

It seems that 20,000 an hour is not an unreasonable expectation.

4 Processor Machine with 2 GB of RAM
10,000 RPM HDD's
Server 2003
SQL Server 2000
ASP.NET 1.1/2.0

Does anyone have any benchmarks for performance on something similar?

Thanks,

K-

I need to start publishing site related news on this blog again as that is the exact reason I started this blog. The honeymoon period is over with the new hosted servers and it is time to start fighting a few small fires that keep popping up with IIS and the site. With the new horsepower, it is hardly noticable when an error occurs, but they are still happening (we knew we wouldn't be able to throw servers at this problem). Hopefully I will find some solutions to the problems we are having this week ...
classes MUST follow. It defines method signatures but cannot have any implementations; the latter must be provided by the classes that implement the interface. C# differs from C++ in this regard because C++ lacks native language support for interfaces. As a C++ programmers you have to create an interface by defining an abstract class with pure virtual methods. what is an abstract class................. An Abstract class lets you define some behaviors and force your subclasses to provide others. For ...
At a minimum a developer wants to be able to cache some (or possibly all) of the pages in her ASP.NET Application. The simplest way to achieve this is to add the @ OutputCache directive to the top of the .aspx file of each page:OutputCache Duration="5" VaryByParam="none" %>Now, that was easy, wasn't it? But - exactly what does it do? You are specifying how long the page is to be retained in the Cache with the Duration attribute, inseconds. In the above example, this page will be rendered on the ...
In Addition to the links that I posted previouslyhttp://geekswithb... Here are some more useful links Source: http://www.sharepointblogs.... Free SharePoint Web Parts (3rd Party) ActiveX Scripting Web Part (Simon Mourier) AD Management Web Part (Fabian) Alert Manager, Subweb Viewer Web Parts (Mart Muller) Avail Lists & Libraries (Sig Weber) Blogparts (Steen Molberg) Breadcrumb Site Navigation Web Part ...
What does partial trust mean the Web Part developer? If you install assemblies into the BIN directory, you must ensure your code provides error handling in the event that required permissions are not available. Otherwise, unhandled security exceptions may cause your Web Part to fail and may affect page rendering on the page where the Web Part appears. The following is a typical example of a security exception: Request for the permission of type Microsoft.SharePoint.Securi... ...
Standard stuff (pulled off our website):Candidate must be highly motivated, innovative and able to work independently. Applicant must be able to communicate effectively and work well in a high performance, fast paced, team environment. Applicants will be tasked with Testing our Software Development Kit, .NET API's, interfaces and class templates for our RFID and Sensor Platform. Candidates will also be testing application user interfaces and may be assisting Technical Support with second level technical ...
This is post of is for all of you out there that due to security restriction can't be a Local Admin on your server but still need to be TFS Server Administrators. This addresses the Domain installed TFS not the workgroup edition (WE). I will comment on the WE were appropriate. As we all remember there are three application that need our attention here, TFS (obviously), Windows Sharepoint Services (WSS) and SQL Server Reporting Services (SSRS). For project level security I urge you to use the TFS ...
I want to log Worker Process Recycling Events in IIS 6.0 (IIS 6.0) , but ther is no UI for this. I've created batch file and decided to post it here, because current instructions have a few typos.You should modify value of AppPoolName as appropriate. :rem IISLoggingWorkerProcessRecy... from http://www.microsoft.com/te... EnableEvent=trueset AppPoolName=ASP.NET v2.0%systemDRIVE%cd %systemDRIVE%\inetpub\admin... ...
I have been working in the area of Web services for some time and I am on a project where I needed to distribute some extremely large datasets to some clients (Windows Forms). So, imagine an interface where you need to request information about an entity and you have a service where you can send in an array of entities to then get back an array of result sets about each one of the identifiers passed in. We had one such application and it worked quite nicely in that we built some ASP.NET 2.0 Web services ...
It is usually a very important task to clean up a BizTalk mseeage box during stress testing with large amount of messages. Below are the steps to clean up the message box in order to prepare for the new test. 1. Stop all BizTalk services 2. Type “iisreset” at command line to recycle IIS service 3. Execute the stored procedure “bts_CleanupMsgbox... on your message box database 4. Execute the stroed procedure “bts_PurgeSubscriptio... on your message box database (if ...
Man, ask me what I love to do most and I'd have to say programming. It's still a blast to bang it out. Well I've been knee deep in the weeds lately and am getting my fill. Thus all these little posts! So here is a fun one for me. I upgraded a VS 2003 .Net 1.1 web app to VS 2005 .Net 2.0. I was NOT the original developer on this app, but it is mine now. One of the little treasures I have to contend with is the IE WebControls. Did I ever mention that I hate .htc files? This is my first conversion so ...
Notes for TFS Single-Server Deployment on a VPC, Always refer TFS Installation guide for any details. Create the user accounts and give them the appropriate permissions as listed in the installation guide. Run windows update. Install SQL Server 2005 (choose all except Notification services). I did apply SP1 and the TFS installation wasn't interrupted. Install the SQL Server and .NET 2.0 hotfixes that can be located in the TFS setup folders. Run 'Reporting Services Configuration Manager' and refer ...
• What is SharePoint? Portal Collaboration Software. • What is the difference between SharePoint Portal Server and Windows SharePoint Services? SharePoint Portal Server is the global portal offering features like global navigation and searching. Windows SharePoint Services is more content management based with document libraries and lists. You apply information to certain areas within your portal from Windows SharePoint Services or directly to portal areas. • What is a web part ...
source: http://idunno.org/displayBl... is the original post. Scott Hanselman wrote today about P3P and adding headers, which got me thinking. For this site (however dead it is) I can control the actual server, so adding the P3P headers was easy. However I have a community site bubbling under and if it takes off it will be need to be moved somewhere professional and not my attic. With professional hosting comes that lack of control and the need to have a better way of adding headers, ...
In some cases you may want or need to change the version of .NET that a particular web application directory uses. Normally this is done via the ASP.NET tab on the IIS properties page for the web app, however it can also be done manually at the command line... CD into the dir containing the version of .NET that you require eg: C:\WINDOWS\Microsoft.NET\Fr... Run aspnet_regiis.exe specifying the name of the dir you want this set against. eg aspnet_regiis.exe -s W3SVC/nnn/ROOT/xxx (where ...
Heah, this decreased the compilation time for website I work on these days from FIVE+ MINUTES of FROZEN VS 2005 to just TEN- SECONDS of normal build progress messages!!!Now I can use CTRL+SHIFT+B again :-D. Note: This is related to VS 2005 normal websites, sites built using VS2005 Application Projects (which is the same build model as VS 2003: single assembly, controls references having to exist in both page markup and code, etc) do NOT face this problem. (I helped a colleague to use the VS 2005 ...
This is more of a memory post for me to remember locations of important KB items, the source for this info is Server: Microsoft-IIS/7.0\r\n Some info on how to use this great new utility from Microsoft called DebugDiag (or IIS Diagnostics), I have already used this on at least two occasions to locate problems with IIS hangs, and to find places to improve performance, some of the information that this tool gives can not be found any other way - and is a great timesaver- like showing exactly what files ...
I was getting the following error when trying to start IIS from my XP machine: “Unexpected error 0x8ffe2740 occurred“ You can get more information in MS KB @ http://support.microsoft.co... Finally, I discovered that its caused by Skype. It listens to port 80 for incoming call. Now, most of the time IIS starts before Skype starts. So IIS works but if you restart IIS or try to start IIS after Skype is started then you will get this error message. There are 2 possible solutions: 1. You can ...
Microsoft Office SharePoint Server 2007 – Custom Chrome / Branding December 2007 - Update I have moved my blogging to http://www.msftliveblogs.co... I posted this original article there with all of the graphics - check here - http://msftliveblogs.com/mh... Also - this was done in B2 bits - check here for an update to the TR/RTM changes - http://msftliveblogs.com/mh... ...
.Net Directory Services Programming – C# - Part 3 Topics DirectorySearcher – the other critical class in the DirectoryServices namespace. Review Because a lot of your Directory Services (DS) development will involve querying DS for data, it makes sense that this is a powerful class offered in the namespace, and below are some of the features: DirectorySearcher – Performs the initial queries against AD SearchResult – A single object reference from a search performed by DirectorySearcher ...
At my company we have a very unique situation. We *WERE* " hubbed " in New Orleans, La till that nasty woman (Katrina) came and turned nola into a bath tub! So we had to move our servers and whatnot to Texas. Now this was all before I got here so don't yell at me if this was not the best solution for the problem. The problem was that the email servers were in texas and after the storm we still had two locations in LA and also had some execs out here to. When they would get big email from ...
Greetings. So I ran into a bit of an annoying challenge today. For months now, I've had IIS installed locally. I work on my local project/sln's, and save them - then update to our source control server Everyone was happy for awhile there. Anyway, I guess security made some modifications to our AD Security Policy, so if I try to reach http://localhost/Projects/W... I'm pretty much out of luck. In any case, you can subvert this in VS.NET by modifying your .CSPROJ file. <WebProjectProperties> ...
Deploying an ASP.NET 2.0 is a bit tricky than before. Specially if you are habituated to work in ASP.NET 1.x application for previous few years you will be really confused to see how you should deploy your ASP.NET 2.0 application that you just built. Well unlike previous cases, VS.NET 2005 doesn’t generate any assembly by default in the web application “bin” folder for each built. When you build an application, it shows the output on the fly. However when you finish your coding ...
We have been having some problems with our client application timing out on us. We have a .NET C# Smart Client that connects to a remote server.The remote server serves up Remoting Objects over HTTPS to the Smart Client using an IIS .NET 2.0 Web Application.Our remoted objects have a lifetime leaseTime of 0 or “forever”. <lifetime leaseTime="0"/> But for some reason our user’s kept getting timed out after 20 minutes. Finally we figure out that our ASP.NET web application has ...
Update (8-14-2006): InfoPath Forms Services is NOT part of WSS v3. It is a separate install, or you can install it as part of the MOSS 2007 Beta 2 install. The RTM version, last I heard, will be available as a separate SKU or as part of MOSS 2007 Enterprise Edition. Assuming you have already created an InfoPath form containing managed code, this document will explain the steps necessary to deploy it to a WSS form library that is “web-enabled” by InfoPath Forms Services. Publish the Template to the ...
These 3 technologies are the primary elements of the Service Oriented approach of Microsoft. Let’s take some time to get to know these and compare them. This is the first in a serie of articles about SOA. Biztalk Server A message integration platform. It's primary goal is to accept messages in various formats on a (receive) location and send them on another (send) location. During this an encryption/decryption can take place, messages can be converted to another format (from one XSD schema ...
Update: Put a comment in if you want the C# version of this code and I will get it to you In the previous installment, I actually gave the source code which is available if you go to the Day 9 post. Anyhow, what we're going to cover today is setting up your IIS to allow for BITS upload functionality. Several things must be done in order for uploads to be supported on your machine. First, we need to install the BITS Extensions for IIS. In order to do so, you must do the following: Go to Add/Remove ...
Well teched 2006 is over and I must say it was great to go and see all of the stuff that is not ready for production. Seriously I wish there was more content on some of the current technologies. I was lucky enough to catch up with some people who actually provide some very useful information. The guys from the Microsoft.com Operations team we awesome, talk about some honesty on what works and what to pitch... It was very refreshing. The patterns and practices team had some great experience to share ...
Recently I posted class that I am using to Programmatically set IIS Authentication for a page. Later I found that initial implementation almost never worked because files in subfolders usually do not have explicit entries in the metabase, but inherit all properties from the parent. I've added code to create metabase entry (similar to this). But if the file is in subfolder, not in the virtual directory, adding the SchemaClassNames="IIsWebFile" doesn't work (see discussion Creating Virtual Directories ...
Sitting here wishing I was at TechEd in Boston. Instead I'm working on moving our new company Intranet site from a test machine to the server it will live out its' days on. Hit a few bugs after the move and trying to solve them before taking this new site “live“. Originally built using the PHP framework called Mambo, it has since been migrated to the Joomla code base. I recommend Joomla to anyone who may need to put together a dynamic site, but doesn't have the skill to do so from scratch ...
The following error may occur when trying to use a client cert for the first time (this error is from IIS 5): The page requires a valid client certificate The page you are trying to view requires the use of a valid client certificate. Your client certificate was revoked, or the revocation status could not be determined. The certificate is used for authenticating you as a valid user of the resource. HTTP 403.13 - Forbidden: Client certificate revoked The cause of this is usually "the revocation status ...
Headed over to the Boston Convention Center today for the pre-conference session, and the keynote. I was booked for the pre-conference talk on Software Architecture. The thing ran from 10am - 6pm, with a bunch of breaks in between. So it was pretty long. It was hosted by Ron Jacobs, and he is an amazing speaker. The content was kind of hit and miss, I found some of it really interesting, but half of it was just kind of “blah”. The lecture was interspersed with a bunch of live interviews ...
A Netcraft June Survey shows that IIS is catching up to Apache quite well. Neowin.net has the scoop. Excerpt "The number of hostnameson Windows servers grew by 4.5 million, giving Microsoft 29.7% market share, a gain of 4.25% for the month. Apache had a decline of 429K hostnames, and loses 3.5% to 61.25%" Technorati : Apache, IIS, Netcraft ...
So far so good on using Visual C#.Net Express for the game. Aside from a minor delay with not being able to use XMLDesigner, there has been little or no difference. I don't use the SQL/Database Explorer very much, even at work, so that was no issue either. I am also using Visual Web Developer Express and it is another animal entirely. I don't like the new local web server, but that is not limited to the Express web version. I understand the reasons for it, but I prefer to use IIS locally for development ...
If your server is hosting ASP.NET 1.X and ASP.NET 2.0 applications then it is better to create the application pools and run the applications under designated application pools. Application pools allows you to separate the .NET 1.X and .NET 2.0 process from each other. You can create application pools in Window Server 2003 and IIS 6 by using the control panel -> IIS and click on the item which says "Application Pool". Once, you have created the application pool you can simply right click on the ...