Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

Wednesday, November 10, 2010

Could not load type System.ServiceModel.Activation.HttpModule

 

Just faced one problem with my Windows Server 2008 R2 server while configuring my Silverlight WCF application for demo…

my application was working fine on my localhost and it fail to start when I uploaded to my demo server, and I got following error message…

“Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.”

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

This error can occur when IIS is installed after installing .NET Framework 4, or if the 3.0 version of the WCF Http Activation module is installed after installing IIS and .NET Framework 4.

simplest solution to resolve this issue, run the following from command line:

aspnet_regiis.exe /iru

you can locate aspnet_regiis.exe at

  • %windir%\Microsoft.NET\Framework\v4.0.30319
  • %windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)

Friday, October 08, 2010

WebMatrix Beta 2 released

Microsoft announced release of WebMatrix Beta 2 and the Web Platform Installer is available for download at http://go.microsoft.com/fwlink/?LinkID=194638

WebMatrix is a free tool which offers developers a one-click solution to create, build website faster and make their job easier. It provides easy way to customize and build Web sites from popular open source apps like WordPress, Drupal and Joomla as well as a powerful tool to build sites from the ground up using ASP.NET, PHP, HTML and a number of other leading technologies. it also provides facility to publish websites with integrated deployment tools and gallery of hosting providers that meet their needs. this is a great tool for web developers who want to find a new and easier way of building web sites, or who want to learn how to build web sites quickly.

Wednesday, June 01, 2005

A First Look at IIS 7.0

Some days back Manik (Manik Ahuja from Microsoft India) told me about the IIS 7.0 during a dicussion related with Longhorn. so while searching more about that I found this cool artical at
http://www.ftponline.com/reports/vslivesf/2005/ruest/


A First Look at IIS 7.0

Componentization and ASP.NET integration are among the many new features coming up in the next version of Internet Information Services.

by Danielle Ruest and Nelson Ruest



Microsoft's next-generation Web server, Internet Information Services (IIS) 7.0, isn't due for release until Longhorn ships sometime in 2006. But it's a good idea for Web developers to start thinking about the changes IIS 7.0 will bring, said Bill Staples, group program manager of Microsoft's Internet Information Services (IIS) and Web Platform and Tools Team, and Mary Alice Colvin, product manager for IIS and the entire IIS development team. In fact, the IIS 7.0 beta program is set to start sometime this year.

In a candid interview on the topic, Staples and Colvin discussed the coming changes (also see the sidebar, "Top 6 Features in IIS 7.0" by Eric Deily, who will be talking about IIS 7.0 at VSLive! next week). The most important of these is the componentization of IIS. All of IIS's functions will be specific components that you can turn on or off at your leisure. This means that when you install the Web server, you'll be able to add only the functionality you need, one piece at a time.

For example, if your applications do not use Common Gateway Interfaces (CGI), you can simply remove that component from your IIS configuration. Today, IIS functions are mostly monolithic, making you install core functionalities whether you use them or not. When a patch for CGI comes around, you need to apply it even though you don't use it. With IIS 7.0, you'll need to worry only about the components you chose to install. This will support even more secure configurations of IIS.

In addition, the componentization of IIS will allow Microsoft to build the service onto a set of public application programming interfaces (APIs). Because the APIs will be public, they will allow third-party vendors to build their own functionalities into the Web server. And because each functionality is a specific component that can be added to or removed from IIS, these third-party add-ons will be completely transparent to the system.

Another key aspect of IIS 7.0 will be its complete integration with ASP.NET. Currently, ASP.NET consists of additional functionality that is tacked on top of IIS. Although they integrate well, it still takes two different sets of instructions to manage the two together—IIS is managed through its Metabase, and ASP.NET is managed through web.config files. In version 7.0, IIS will be completely integrated with not only ASP.NET but also the .NET Framework, ADO.NET, and even Indigo—the next version of the Microsoft Web Services platform. This means that there will be a single configuration point for all components of an application and the engines used to run it. The greatest advantage of this level of integration is that you will be able to deliver an application complete with its associated Web server configuration when you need to deploy it. This will vastly simplify administrators' jobs.

Speaking of administrators, they will also enjoy vast enhancements in IIS 7.0. "We've had the IIS Microsoft Management Console (MMC) since the first version of IIS introduced so many years ago," said Staples, who has been an IIS customer since version 1.0. "As the service evolves, we've added functionalities to the MMC, but never really took the time to rethink the interface as a whole."

With IIS 7.0, Microsoft will be releasing a new administration tool that will provide a one-stop shop for all administration functions, even down to the .NET Framework or Indigo level. This interface, a Windows Forms application based on the .NET Framework, will provide a rich graphical user interface for the management of application and Web server configurations. No more manual editing of web.config files! The interface is standalone and can be installed on any machine. All instructions are converted to HTTP and then sent to the Web server, so you can manage all IIS machines remotely whether they are inside or outside the firewall.

The admin tool will also include the ability to delegate the administration of either specific applications or entire Web servers, making it even easier to ensure that administrative duties are assigned to the right personnel. Unfortunately, this tool is for IIS 7.0 only, and will not be able to manage older versions of the service.