Browse by Tags
All Tags »
troubleshooting (
RSS)
Just ran into this and thought I’d share. If you are trying to connect to SQL Server from your Web application running on Windows 7 or Windows 2008 R2 and you’re getting a message that looks like this: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. I can probably help you out. The IIS team made a change to the default identity of the worker process. Starting with IIS 7.5, Application Pools run with a unique identity based on the Application Pool name, rather than NetworkService – the default identity for IIS6 and IIS7. The primary reason for this change is to increase the security of IIS and Application Pools by default, providing a much better sandbox between Applications and other Windows services by default. Unfortunately, the new identity does not have a user profile, and as you...
PAL is a very good tool when it comes to analyzing perfmon data. This automated tool generates a nice report in html format which can be sent to customer’s directly. This tool is written by BizTalk PFE and few others. As this is a free tool, customers can download the tool on their own. Tool has built in templates for OS/Exchange/MOSS/AD/BizTalk/SQL with recommended(baseline) counter values specific to products and which can be customized further. Check out these links for more information: http://www.codeplex.com/PAL/Release/ProjectReleases.aspx?ReleaseId=16807 http://msdn.microsoft.com/en-us/library/cc296652.aspx http://blogs.technet.com/clint_huffman/archive/2008/09/02/how-to-use-the-pal-tool-for-biztalk-performance-analysis.aspx PAL Download - http://www.codeplex.com/PAL/Release/ProjectReleases.aspx?ReleaseId=16807 Note: It requires Microsoft Log Parser . Log Parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files, and...
Performance counters are a wonderful tool when it comes to quickly assessing system health and performance of Windows subsystems. In addition to learning much about the operation of Microsoft products, exposing performance counters from your own code Read More......( read more ) Read More...
Back in May of 2007 I posted a tips for Classic ASP developers post which has since received more than 50 comments and 85,000 views. Robert McMurray just posted a set of fabulous tutorials for Classic ASP developers. If you’re out there and having issues with Classic ASP and IIS7 and need some help, you’re not alone! Read these articles to get help: Classic ASP is not installed by default on IIS 7.0 and IIS 7.5 In IIS 7.0 and 7.5, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window ... Using Classic ASP with Microsoft Access Databases on IIS 7.0 and IIS 7.5 Note: Microsoft Access databases have been popular for many years with developers who use Active Server Pages (ASP) for small-scale applications, but Microsoft Access databases are not designed for scalability, therefore...
I was working with one of the customer on Urlscan and their requirement was to install Urlscan on Windows Server 2003 64-bit to hide Server's identity. Basically in Urlscan.ini , we can configure "RemoveServerHeader=1" to server's identity from HTTP Header. As Urlscan 2.5 has urlscan.dll in 32-bit, we weren't able to get it work on Windows 2003 64-bit and the only option was to switch IIS worker process to run in 32-bit mode ( Enable32bitAppOnWin64 ). But they wanted to run it in 64-bit. So we downloaded latest Urlscan 3.1 64-bit and installed it on Windows Server 2003 64-bit. Download URLSCAN 3.1 from following locations: Download the x86 version from Microsoft Download Center here . Download the x64 version from Microsoft Download Center here . Once you download desired URLSCAN, you can double click .msi to to install Urlscan and here is how it looks: By Default Urlscan keeps all the files in "% systemroot%\system32\inetsrv\urlscan " folder on Windows 2003...
Every time I talk with customers in meetings or at conferences I’m struck by how many cool amazing new capabilities IIS7 has. I can go on for literally hours talking about the new features and benefits, and showing demos. And with each new IIS7 Extension , the list of new features just gets bigger and bigger. A few months ago I realized we didn’t have the top list of features written up anywhere, and so we started the process of distilling down the list to the top 10. We almost made it! We ended up with the top 12 reasons you should get IIS7 today. Check them out here: http://www.iis.net/getstarted Over the next few weeks we’ll be adding a cool demo for each of the reasons to show the features in action. Be sure to check back soon! Read More...
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...
Knowing when to restart IIS to pick up various types of changes to your application has traditionally been a challenge. IIS and ASP.NET are both stateful software systems, which heavily rely on cached state that is loaded once to provide high performance Read More......( read more ) Read More...
When dealing with hard to find IIS 7.0 errors, I break out the trusty Failed Request Tracing. My favorite way of doing this is through the command line...( read more ) Read More......( read more ) Read More...
Won's recent post on possible configuration corruption caused by OneCare/Forefront reminded me of something that every IIS7 customer should know about: how to backup and restore IIS7 configuration! No matter whether your configuration file gets corrupted, you make changes you decide to roll-back, you accidentally foo-bar your .config file or some act of terror occurs, some day you'll want to go back to a prior configuration file. Thankfully, IIS7 makes this super easy. Backup/Restore via the command line Backing up IIS7 configuration is as simple as copying the \windows\system32\inetsrv\config directory (and subdirectories) into a backup directory, so you don't need anything special to do it. Just include this directory in whatever your OS/content back-up plan is, or write a custom script to do it. To help make managing backups easy, we've added a simple cmd-line option to AppCmd.exe that makes management of backup/restore sets easy. For example,...
More Posts
Next page »