Tip #106 Did you know … How to solve the errors when aspnetdb.mdf is created dynamically with IIS?

In VS2010 all editions, the default .NET Framework 4.0 ASP.NET Web Site and Web Application template create default website with following connection string in the web.config: <connectionStrings> <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" /> </connectionStrings> To get the aspnetdb.mdf created on the fly, one can simply Ctrl-F5 to run the web site or web…

4

Tip #94: Did you know … How to improve the performance of PHP application on Windows?

Today the Microsoft IIS team has released the beta of the Windows Cache Extension 1.0 for PHP. The Windows Cache Extension for PHP is a PHP accelerator, that is used to increase the speed of PHP applications running on the Windows operating systems. Any PHP application can take advantage of the functionality provided by the…

0

Tip #73: Did you know… about IIS Search Engine Optimization (SEO) Toolkit Beta

IIS Search Engine Optimization (SEO) Toolkit Beta – is a free toolkit that helps Web developers, hosting providers, and server administrators improve their sites’ relevance in search results by recommending how to make them more search engine-friendly. The SEO Toolkit Beta is available for installation via the Microsoft Web Platform Installer 2.0 Beta. The IIS…

6

Tip #72: Did you know… you can now manage Windows Server 2008 and Windows Server 2008 R2 from Windows 7

Technorati Tags: VWD,Visual Studio 2008,tips and tricks,ASP.NET,IIS,IIS Remote Manager,WebPI Last week, IIS Remote Manager was re-released to support Windows 7. Prior to this release, remote management was supported only on XP, Vista, Windows Server 2003 and Server 2008 (excluding Home Basic editions). Now, the users can install Remote Manager on Windows 7 Client to manage…

3

Tip #71: Did you know… there are several new configuration settings available in FastCGI Extension 1.5 Beta

Following are the new configuration settings available in FastCGI 1.5 Extension Beta: MonitorChangesTo – This property specifies path to a file, changes to which will trigger a recycle of FastCGI executables running for this FastCGI process pool. If value of this property is blank, file change monitoring is disabled. Path to file can be absolute…

3

Tip #70: Did you know… how to install win7 RC IIS through command script?

Windows 7 RC’s IIS included ftp 7.5 feature.  Installing it from command line is a little bit different than the vista IIS7 command line.  It is as following:   start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPServer;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-WebDAV;IIS-FTPSvc;IIS-FTPExtensibility   Xinyang Qiu SDET in Web Development Tools

3

Tip #42: Did you know… ConfigurationEditor allows you to generate C#, JavaScript or AppCmd script to update configuration?

If you want to write a script to add new or update existing configuration, no matter what configuration file it belongs to (e.g. administration.config, applicationHost.config or website or application specific web.config), you can install Configuration Editor, which is a part of the IIS Admin Pack and use “Generate script” feature, just of its numerous great…

5

Tip #41: Did you know… establishing a remote connection to a IIS server with self-issued certificate will require a certificate validation delegate?

Either through WMSvc or through your own script, whenever you try to establish a connection with a remote server, which doesn’t provide a trusted certificate you need to provide a delegate for this certificate validation check to validate untrusted certificates. The signature for this delegate is as follows Namespace: System.Net.Security Assembly:  System (in System.dll) public…

4

Tip #38: Did you know… How to use Failed Request Tracing to trace Rewrite Rules?

IIS7.0 Failed Request Tracing (FRT) is a powerful troubleshooting tool for request-processing failures. More details regarding FRT and how to enable it can be be found here. Once the failed request tracing is enabled for your site, do the following to trace rewrite rules: Double click on "Failed Request Tracing Rules" icon to get to…

3