in

ASP.NET Weblogs

This Blog

Syndication

iis

  • How to get MySQL and PHPMyAdmin working with IIS7 and Windows 2008

    Almost every popular PHP app that you may want to run on IIS7 requires MySQL.  I just ran across a couple of really great articles which provide step by step instructions for how to get MySQL and PHPMyAdmin running.  First, learn how to get MySQL going on Windows 2008 by reading this tutorial: Install MySQL on IIS7 Server 2008   PHPMyAdmin, for those who haven’t used it before, is a handy PHP app that lets you do database administration via your Web browser.  Handy for getting a database or user created, running ad hoc queries, and so forth.  Learn how to install it by reading this tutorial: Install PHPMyAdmin on IIS7 and Server 2008 The TrainSignalTraining.com guys have a lot of really detailed, step-by-step tutorials on IIS7 for a variety of topics that are free and definitely work checking out.  Read More...
  • Script to install UrlScan v3.0 as a site filter.

    Although using WIX to create an MSI to do this task is a cleaner approach, it is too heavy duty for me. I do this often enough to warrant creating a script for it, so I though I would share it out. To use it you would run: InstallUrlScanAtSite.js -siteid:1 [-dest:c:\foo]. You have to specify the site ID of the site you want it installed at. The 'dest' parameter will be the location where your urlscan.dll and urlscan.ini file will be copied to for use as the filter path. If you don't specify this, it will copy them to your site's ROOT vdir path. // InstallUrlScatAtSite.js // // Install UrlScan 3.0 at a particular site. // // Author: Nazim Lala // // What it does: // 1. By default copy urlscan.dll and urlscan.ini from // system32\inetsrv\urlscan dir to root of site you want to install to. // Else use the value of Dest as the destination. // 2. Install this copy of the dll as a site filter of that particular site. // // Assumptions: // 1. You already have UrlScan 3.0 installed...
  • Token Kidnapping in Windows

    You have probably heard about the Token Kidnapping vulnerability in Windows and read Microsoft's security advisory on it and are wondering why there isn’t an update for this yet. Although this is not an IIS issue but a Windows issue, the fact that IIS can be used as a vector for this vulnerability increases my concern for seeing an update for this soon. But obviously that does not assuage concerns of our customers and so in the interest of transparency I thought it would be prudent to explain the issue, what the update would do and why it is taking time. Just to make it absolutely clear … Microsoft is going to release an update to address this issue, and the workarounds mentioned in the advisory are still applicable and help mitigate the issue. In the case of IIS, some of these “workarounds” are actually recommended best practices.   The issue Before there were service accounts, there was LocalSystem and it was too highly privileged to host un-trusted code...
  • Community Links 10/11/2008: URL Rewrite, ASP.NET, Extensibility, Diagnostics, WordPress

    Here are a few cool links I found today while catching up on my IIS reading:   URL Rewrite In case you missed it, the IIS7 URL Rewrite extension is now licensed for production use in its final beta release.  Deploy it today and get all the benefits from one of the most powerful IIS7 features around.  Use it to clean up URLs, provide extension-less URLs, fix canonicalization issues with your site to improve search ranking, redirect incoming users and much, much more.  This latest URL Rewrite release includes all new IIS Manager support for creating rewrite rules using templates, rule testing and more.  Speaking of the URL Rewrite extension, check out these community links: CarlosAg wrote a really awesome post on how to make your IIS7 site search engine friendly (SEO) with IIS7 URL Rewriter .  Barry Wise, who has written a lot about SEO, did a follow-up post on the topic for IIS Scott Hanselman writes about URL Rewriter as well on how he uses it to improve canonicalization...
  • ASP.NET 2.0 x64 – You may get HTTP 400 Bad Request or Error as mentioned in KB 932552 or 826437

    I’m sure you already know about this fix for ASP.NET which fixes an issue of “not a valid path” exception, and this fix for ASP.NET 1.1 for the same reason. If you receive this error now on your application, you might not need to apply the hotfix because your ASP.NET version might be higher than the one available with this hotfix, so verify the DLL versions before even requesting the hotfix from Microsoft. So, after installing the hotfix, you should do the below registry changes (not sure if the hotfix does this automatically – I haven’t tested this): DWORD        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility = 1 as mentioned in the KB article 932552 . But, you might see that this doesn’t work if you run the application pool under 32-bit mode on a x64 Windows Server 2003 or 2008. That’s just because, the ASP.NET reads this key from a different location as below: DWORD        HKEY_LOCAL_MACHINE...
    Posted Oct 10 2008, 10:24 PM by IIS.net
    Filed under: , ,
  • PHP and IIS – A Deeper Dive

    Contents PHP and IIS – A Deeper Dive. Which PHP to get? Installation. Windows Installer version. Zip Installation. PHP Settings. Extensions. The php.ini file. Running PHP on Windows. Interacting with IIS 7 via FastCGI. File Security. Execution Time. Php.ini Examples. PHP and IIS – A Deeper Dive This article takes a deeper dive into the way PHP works with Windows and IIS7. There are some great articles on IIS.Net in the Learn section that cover getting PHP set up and working. This article is going to focus more on the things you need to know as a developer and user of PHP applications on Windows. Which PHP to get? At the time this article was written, the current 5.x version of PHP was 5.2.6. We have worked with a number of PHP applications running on IIS with this version, and we have had good results. It is likely that any current version in the 5.x tree will work with the notes below. There are two builds for each PHP version. One is thread safe, and one isn’t, referred...
  • XPerf: A CPU Sampler

    Seema just had a great about using XPerf to troubleshoot CPU issues when using Silverlight.  This can also be used in the same way to troubleshoot ASP.NET or IIS. What can XPerf tell you?  Seema answers that question, it can find out: Is my Read More......( read more ) Read More...
  • ASP.NET MVC and the new IIS7 Rewrite Module

    Last year I noticed that there were 11 ways to get to my blog. Literally 11 different URLs and it wasn't helping me my ranking in the search engines. I wrote about this in detail and how I used ISAPI_Rewrite to fix it up . Fast forward to this year and Read More......( read more ) Read More...
  • Microsoft Web Platform Installer Beta

    If you are a web deployment guru, and looking to reduce your burden of downloading lot of software, configuring them and if you didn’t check Bills’ blog earlier, you better do check it right now. The new ‘Microsoft Web Platform Installer Beta’ gives you an easy way of configuring the ASP.NET/IIS stack along with tools needed for development all in one go. 1. Select the IIS components you need to install     2. Select the tools, .NET SP 3. Download and Installation   You can get it from here . Happy Deployment (with less hassles)! .rm Read More...
    Posted Oct 07 2008, 09:11 PM by IIS.net
    Filed under: , ,
  • Where to download and buy IIS7 and Windows 2008

    I've heard several people ask where to buy IIS7 and Windows 2008. First, if you want to download and try before you buy, Microsoft has made Windows 2008 trial editions available, with just a few clicks and a live ID you can download them today. If you are looking for the lowest cost, fully-featured Web server for the internet, look no further than Windows Web Server 2008 , which is the enhanced version of Windows server specifically built for internet Web sites. It supports the full hardware specs of Standard Server (4 proc and 32GB RAM), has the full IIS7 Web Server feature-set, supports SharePoint and Windows Media Services, and even allows for local SQL Server installs to support Web applications. To compare it to other Windows 2008 editions, go here . If you are ready to buy, Windows Web Server 2008 is available for purchase online and through all of the major OEMs. If you are a do-it-yourself kind of guy, check out NewEgg's listing for an OEM license here for $349 , or purchase...
More Posts Next page »