Tag | IIS Posts

What is UDP, and how do I use it? UDP stands for User Datagram Protocol, and it is also known as RFC678. What does RFC stand for? UDP is an alternative protocol to TCP, Transmission Control Protocol, which is used for serving webpages. It is used for a variety of things including networked games. I'm interested in understanding how to read the Endpoint Mapper found at port 135 in Window's machine. Microsoft has a tool called PortQry, which enables one to do UDP queries in a straight-forward manner. ...
As you can assume, a developer running the server configuration for a site like this can be hectic from times. Each month this site continues to grow in members, readers, and content, so some failure was going to happen with the default settings of IIS. Through the month of January we started receiving Deadlocks and "Server Too Busy" errors on the site and it was becoming unstable. Is started debugging and researching the issue, finding most results saying, "throw more servers at it!". Well I really ...
When recently doing a novell to AD / Exchange migration everything was going smooth except for one glitch which came in the end when enabling the OWA's. Out of all the front and backend clusters one front-end webserver started giving this strange “440 Authentication Timeout” error. Its partly strange because I never actually authenticated in the first place to get it expired! Anyway, after googling around I came across a wonderful post at http://msmvps.com/blogs/cgr... ...
Today I had some time to install the latest version of dotnetnuke which uses ASP.NET 2.0. The installation was on a local pc and I must say it really was a breeze to install. I used the new starter kit that comes with this version and with instructions from Shawn Walker who is the leader of this open source project. Using Visual Web Developer is another plus especially for teachers who want to teach their students about web portals. You don't need to install IIs on each pc in the computer lab because ...
This little gem comes to us courtesy of MS's IE, whereby it resets the connection and sets content-length to 0 (zero), even though there is data in the post request, when the keep-alive timeout expires. Fortunately this only occurs when using HTTPS, and apparently it's limited to a particular version of IE (although I'm not 100% convinced about this). This bug is documented very well here and by ibm here, and an typically difficult to understand MS solution here. Another solution I think may work ...
Peter Kellner has written a very good two part article for MSDN on Microsoft ASP.NET 2.0 Member/Role Management with IIS (part 1, part 2).
I have realised that I have made something of an error in that I have failed to include Doug Brown @ DABCC.com in my list of RSS feeds, so I have taken a good look through the items that have been posted in the last month or so and posted a consolidated list here: But please take time to check out Doug's site and keep an eye on the MIAB ver 4.0 coming soon.... Web Interface 4.0 Command-line Installation and Site Management Web Interface 4.0 supports installation, uninstallation, site creation, site ...
Jeff tells us here about what has happened since October with Team Foundation Server. One important thing to note, you will not be able to install TFS on a Domain Controller anymore, all the Single Server installs I've done for demos and training have been on Single Server VMs with DC. So you have been warned. The friendly names for work items is a welcome change no one likes being called RTG54F!! The move of the Reporting Services on the app tier make sense on an architectural level since all the ...
I've been experiencing ?? annoying problem with our test SMTP server (it's a Windows 2003 machine running IIS6) - Emails were left "stuck" in the Queue folder. I had a look at the machine's System Event Log using "Event Viewer" and found this error message repeated for each email: "Message delivery to the host 'xxx.xxx.xxx.xxx' failed while delivering to the remote domain 'xxxx' The connection was dropped by the remote host." Luckily, I've found some Google Group posts referring to a tool called ...
Okay, so I'm one of those GUI freaks that like using a GUI if it exists over the command-line. Lately, I simply use the ASP.NET IIS Snap-In to switch a particular ASP.Net application on a server to the proper .NET version. After installing the latest and greatest .NET 2.0, I still didn't see the snap-in. Argh... When searching the net, I found a pretty good post that describes how to resolve it. It says that the Beta 1 uninstall didn't clean up that well and thus some manual registry cleaning needed ...
After trying for a while to make the subject working I gave up and turned to the BizTalk product team. It was confirmed that SOAP adapter would not populate message context with client certificate as HTTP adapter does and the new bug was filed. Apparently, it's pretty major fix and won't probably make it to the RTM. The alternative is to use resolution by SecurityID (AllowByCert=false; AllowBySID=true in the pipeline's party resolution component). The client certificate mapping to windows accounts ...
Some random stuff... This came accross my blog aggregator today...and its weird. You've all seen preachers trying to get people to donate on TV where they'll receive a “special gift” of a book or something. Well this pastor is taking the whole “sword of the spirit” a little too literally. Obviously trying to play to the D&D crowd of unsaved heathens, check out the “Sword of the King”. My buddy Matt Ranlett has reminded us all that its only one month to Valentine's ...
The power of C++ brought to the web! C++ Server Pages is the most powerful web engine ever, enabling C++ programmers to build superior web applications fast and easy. Newly added features! Now supports Apache 1.3.x and Apache 2 for Windows Built-in file upload mechanism Support for MIME format messages Top reasons for choosing C++ Server Pages: Incredible processing power for your web applications. Reuse your existing C++ code by just including it in your script. Use your dynamic or static libraries ...
I see a lot of trouble user have out there when using impersonation under ASP.NET (<identity impersonate=”true” />), namely something such as Access to the path "C:\WINDOWS\Microsoft.NET\F... ASP.NET Files\root For our situation, we are using specified credentials ( e.g., <identity impersonate="true" userName="MYDOMAIN\applicat... password="password" />) under IIS 6.0 using the default app pool. Well, I was getting the above error as well, ...
So when is a server really a server? On ASP 2 set up you get a nice Steve Guthrie blog entry telling you how to init all the built in providers. Following the bouncing ball I went out to my SQL 2005 and set up an empty database. When running aspnet_regsql.exe, I didn’t see my new database. Inspiration suggested I hook up the new database to VS 2005, but then I got struck by the “dummo ray”. The Server stack is really for servers – machines or IP addresses – and will ...
Error 1: While configuring the databases used by Windows SharePoint Services, might receive the following error, Line 1: Incorrect syntax near 'COLLATE'. (Error code: 170). Solution: Provide the SQL Server Access rights to the BTSService, to do this go to security, logins and add the BTSService (User) which is member of administrator, and add to the all the server roles. Error 2: templatepick.aspx - page not found When you create a new top level site under a parent site in sharepoint, it brings up ...
One of the frequently asked questions at the India Windows Communication Foundation Tour was how does WCF scale as compared to existing technologies, like ASMX? Will WCF services be more scalable than the ones we author today? What do we have to do for better scale? I thought of doing some very basic performance tests to get some data for these questions. The test was done to compare how ASP.NET 2.0 WebServices perform against WCF services. I did these tests on my machine which has 2GB RAM, 60GB ...
A fellow blogger mentioned that my article on creating/destroying IIS virtual directories programmatically is lacking some information. Here is a quick update based on that feedback. I don't know why the images in the image gallery are broken yet the images in the article work. I am looking into that. I think the names of the controls are pretty self-explantory with one exception and that is the FolderBrowserDialog contol on the frmWebSetup form. The control instance is called “ofdBrowse“, ...
The Problem: Recently, I ran across a situation where we have an ASP.NET 1.1 app that we were installing onto a machine with the 2.0 .NET Framework already installed. When the virtual directory was created by the install, all the "non-application specific" file extensions were mapped to the 2.0 isapi.dll file. However, the "application specific" ones were mapped to the 1.1 isapi.dll. So, when I tried to hit the site the first time, a lot of stuff was screwed up. Going into IIS and remapping everything ...
Ever had the annoying problem of IIS not wanting to start, coughing up the message "Unexpected Error 0x8ffe2740 Occurred."? The reason is that some other application has grabbed port 80. The most common applications doing this are Skype or Trillion. You can try just ending task on them and see if IIS will then start. If you're not running either of those then what could it be? Microsoft's KB article about the subject describes using the third-party utilities TCPView or FPort. But I think an easier ...
Some applications are just bent on seeing what appears to be the pristine original Default Web Site that is created when IIS is first installed. For instance, when setting up Microsoft's own Reporting Services it depends upon having a web with the same underlying site ID as the default, “W3SVC/1“. So you can paint yourself in a corner if you ever get a wild hair and just up and delete it one day: To these finicky apps, anything created after the fact, even if it is called by the right ...
We found an interesting problem the other day with the combination of these items. We launched our new site back in July, and have been fighting with google to get ourselves listed in search. MSN and Yahoo both listed us and gave us pretty high page rankings, but google refused to see us, even with links to our page, etc. I know that google has a “sandbox” that they put new sites into, but this didn't appear to be the problem. I don't know if you know about it or not, but google had a ...

Ever wondered how to reset IIS on a remote (local network) machine?

Pop open the command prompt, and type:

iisreset <machine_name>

That's all.

ClickOnce supports using HTTP compression for the file downloads, a Web server technology that uses the GZIP algorithm to compress a data stream before sending it to the client. The client—in this case, ClickOnce—decompresses the stream before reading the files. This results in shorter download times for your ClickOnce deployments. If you are using Internet Information Services (IIS), you can enable HTTP compression easily. Enable Compression in IIS From the IIS snap-in, right-click on ...
I came over this issue, while extending a webservice written in .net 1.1 with a 2.0 - plugin. I implemented the correct interface in my plugin, which is needed to be recognized by the plugin loader. Once the plugin was deployed I saw, that the plugin was not loaded at app-startup. I wanted to investigate, why there was this behavior. So I connected to the iis process and wanted to debug the 1.1 app and the plugin loader method. The problem was, that it is not possible to debug a 1.1 webservice app ...
Last week, I purchased the new Wrox Publisher ASP.NET book called Professional ASP.NET 2.0 by Bill Evjen, Scott Hanselman, Farhan Muhammad, S. Srinivasa Sivakumar, Devin Rader. The book was mentioned on Brian Goldfarb’s blog. Brian works with ASP.NET at Microsoft Corporation and he’s bright and super energetic. I’ve heard him talk on a couple of occasions and more recently heard him on a webcast that he did on stage with Steve Balmer at the VS Studio event in San Francisco. A couple ...
Man, this sure was a doozy. My company's product exposes web services via a Cassini-like web server, the types are exposed to the runtime similar to the way remoting objects can be registered. This was all fine and dandy, but on Windows Server 2003, asp.net libraries do not work if IIS is not installed. We were about to lose a large business opportunity because this particular government entity required that IIS NOT be installed due to security policies. Turns out the ASP.Net component under add/remove ...

This error occurs within IIS 6 when you try to start your web site and it has not been assigned to a valid application pool.

This usually happens when the default app pool has been deleted.

HTH

Tim

 

 

Dan Wahlin has an interesting post about Sharing Master Pages Across IIS Applications ... Now that should be very handy !!
Chris Williams posted a request on his blog (Blogus Maximus) for programmtic creation of virtual directories in IIS 6.0. Some time ago (actually, a long time ago, not even this calendar year), I wrote a small WinForms application in VB.NET to accomplish this very task. The reason for my client's need is that they don't install to the default Web and wanted a simple installation solution without buying an installation product. While researching this I became curious as to writing the code to perform ...
Has anyone here ever created a virtual directory in IIS from within VB.NET?
I'm talking programmatically, at run time, not just from within Visual Studio .NET.

I did some basic googling, but didn't see what I was looking for, so any suggestions or links would be appreciated.

edit: nevermind, I found it here:  http://www.vbforums.com/showthread.php?t=347207

I have been using the beta version of these products for a couple of months now and I must say that I'm quite impressed with the product and the price. The product includes for web developers Visual Web Developer and students can create asp.net web pages that includes a local server so you don't have to install IIs on all the pc's in your lab. In addition, you can also use SQL Server 2005 Express with your web development. On the programming side you can select J#, Visual Basic.NET, C# or C++ Now ...
Some of us are bleeding edge. Others, well let's say that the sight of blood makes them faint. As a software engineer, one shouldn't fear the edge and must walk on it every so often in order to bask in its amazing glory. The glory of being pioneers in technology. I'd like to help others dive in. The water is fine. The technology is cool. In this section, I'm going to cover building a very simple website. Those familiar with the HelloWorld type of examples, we will do an ASP.Net 2.0 hello world. First ...
These notes apply to PhpMyAdmin 2.6.4-pl3 on a Windows box (in my case XP Pro). PHP v 5 (5.1.4): Unzip download eg into c:\php Add the php dir to the PATH environment variable. Copy php.ini-dist into windows dir (eg c:\windows) as php.ini (the php install docs incorrectly state that you only need to add the php dir to the PATH env var - and dont have to move any files into the windows dirs - however that's bollocks - at a bear minimum you need the ini in your windows dir.) NOTE: This is the development ...
Here are my initial impressions on the released version of VS2005. I attended PDC 03 and played with both Longhorn and Whidbey but as time went on I found it hard to keep up with the releases and all the nuances of the near "black magic" it seemed it took to get the CTPs, betas, and release candidates installed correctly and working. Being on a full-time project with deadlines and trying to develop a software product on the side meant I had to be careful about my focus. Installation Having worked ...
I've just completed a small ebook/tutorial titled Setting up an ASP.NET Website Development environment using Visual Studio .NET, Subversion and Windows XP [Link updated 23/08/2006] which you can find here [Link updated 23/08/2006]. It covers the following topics:Setting up IIS 5.1 on Windows XPSetting up Visual Studio .NET 2003 for debuggingInstalling Apache 2.0 on Windows XPInstalling Subversion on Windows XPSetting up Apache to recognise Subversion repositoriesSetting up TortiseSVNCreating Subversion ...
One of the first tools I was introduced to at my new workplace is IISAdmin.Net. It's a small utility that is aimed at alleviating an annoying problem with IIS5 on Windows XP - You can only have one website running on your machine. If you're working on more than one site at any given time, you are forced to "manually" switch the IIS from one site to the other using the IIS MMC. IISAdmin.Net semi-automates this process by maintaining several configurations side by side and switching between them (using ...
For a while I was living with a “ICA file not found” error whenever I tried to run a published app that I had access too. My initial solution was to right-click, save target as, then manually run the launch.ica file that was saved. Pretty lame. So here's the real solution. In IE, go to tools > Internet options, then click “delete files” to delete you cached files. Then close IE and re-log in to Citrix. You shouldn't get that ICA problem. Here's another Citrix related comment. ...
Tuesday, October 4th, 2005 9:28 am The Asp.Net Atlas Community Site.If you are still not aware of Atlas( AJAX in Asp.Net)Have a look at these siteshttp://msdn.microsoft.... 9:00 am Sharing Session Or create a Common Session SpaceIn IIS we can create a Virtual Directory(VD) and inside the Virtual Directory we can create another Virtual Directory. For ExampleTestParent>>Te... I have a VD TestParent and inside VD TestParent ...
The steps required to backup the Team Foundation Server consists of: Shutting down the TFS Server Scheduler. Shutting down IIS on the Team Server. Backup the Team Foundation tier attachment folders (located at c:\VSTS\WorkItemTracking\At... Backup the Team Foundation databases. Backup the Team Portal Sites. Restart IIS. Restart the TFS Server Scheduler. So needless to say, it’s not a trivial process and should be coordinated when developers are not hitting the server. ...
To import a previously exported certificate (.pfx file) 1) Open MMC console for managing certificates. If you do not have a console shortcut (.msc) setup then: Add MMC snap-in for certificates: 1.1) Start - Run - enter: mmc 1.2) Within MMC console, select File - Add/Remove Snap-in 1.3) Click Add… 1.4) Select Certificates in list and click Add 1.5) Select Computer account 1.6) Click Next, then Finish 1.7) Once you're back at the MMC console you can save this console setting to a .msc file. 2) ...
I am using WebDav query to search e-mails and public folders from Exchange Server 2003. The code is based on the Visual Basic .NET sample http://msdn.microsoft.com/l... However when I started to test the code with impersonation, I ve got a problem.The scenario was the following I am using client on workstation running IE6 that login to ASP.NET web server using Windows Authentication with impersonation. The server ASP.NET ...
Ok like promised here are a few thing to do in order to successfully create a Single Server install of Team Foundation Server B3. Follow the documentation available on the DVD and also available here it has been greatly updated since the last release and has some good information. What I used to do was to create a Virtual Machine with Windows 2003 Server SP1 (apply Windows Update) and then promote to a DC. Install IIS, then install SQL Server 2005, Windows Sharepoint Services and Finally the ATDT ...
Introduction. A few weeks ago I read an article from securityfocus (http://www.securityfocus.c... how you can use MRTG as an Intrusion detection tool. The theory behind the article is that most attacks create some type of anomaly in the way the system is used, high amount of traffic or a high rate of errors. And with MRTG you can make this anomaly visual. And the human brain has no problem in detecting an anomaly in a visual representation. At the end of the article they give logparser ...
Whew. It has been a crazy two weeks on this project, and it all culminated with a nasty error where Response.Redirect was on the fritz. This one tore me up before I was able to figure out what was going wrong. Basically I was doing a Response.Redirect on a page, and in Dev and Test it worked like a charm. Even after I moved it to production it worked for a while. But then the horror occurred. The response redirect suddenly would simply post back to the same page - no redirect at all. I was able to ...
When trying to run/debug my ASP.Net web app from VS.NET (2003) I get this error: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. This was caused because I had renamed the virtual dir that the project resides in - and because of this IIS had decided to revert the dir from an application to a dir. To resolve simply make it an app again via the IIS Management tool: Within the IIS management tool, select your virtual dir. Right-click ...
Many companies either discourage the use of IIS on workstations or do not allow it. Windows XP Home users are out of luck. While Visual Studio 2005 has overcome this with a built in web server, many users will not be upgrading soon. This step by step approach shows how you can run Cassini, a secure, light-weight web server along with Visual Studio .NET 2003 to debug your ASP.NET applications locally. Download and install Cassini Web Server from http://www.asp.net/Projects... ...
And now to my other project that is close to my heart at the moment which is SOA. As you may recall, we were having difficulty in selling the idea of SOA in our business, this has now changed. We have a project and a business sponsor. So in this post I want to reflect on some of the tips I’ve picked up so far that I would like to share with you. Now this is list isn’t completely comprehensive, I’m bound to have miss something out, but hey, something to talk about in future posts. ...
Looks like Stevie (from InfoTech) has posted a comprehensive SharePoint Backup Script. From the blog post “This script will backup: · The portal using the SPSBackup utility · The IIS Metabase · The computer's System State using NTBackup · Template and Config, Inetpub, log, and other miscellaneous files not backed up by SPSBackup” I am sure this will make a lot of you Admins happy J ...

Here is a good msdn video regarding IIS 7.0.  If you have not read or seen anything about IIS 7.0 this may be useful to you.

http://channel9.msdn.com/showpost.aspx?postid=109430