Search This Blog

Monday, 25 July 2011

wcf/webservice installation notes

1.Create application under the default website

2.Create new apppool and select .net framework version 4

3. Assign app pool in website->advance settings -> select pool

4. In case IIS installated after the Visual Studio installed, then register asp.net to IIS by following command.

aspnet_regiis.ex -i

5. Error : Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
Solution: aspnet_regiis.exe -iru

6. Errors: handlers missing or module are missing
Solution: Following command will enable the ports for diffirent bindings.

CD c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\
ServiceModelReg -i






/*************************************************************************************/
Web Service hosting on IIS7
/*************************************************************************************/

1. Create webservice and test locally

2. Publish webservice to wwwroot (or) any publishing folder

3. Go to IIS manager

4. Create new WebSite and assign the physical path of webservice

5. Create new Application pool and assign framework as "Classic .NET AppPool".

6. Assign this app pool to website

7. Click on IIS server root level and click on the feature called "ISAPI and CGI Restrictions".

8. Set Allow for "ASP.NET V4.30319 (32bit)".

9. Browse the content and view "asmx" file.

Reference: http://geekswithblogs.net/chenl/archive/2010/11/19/http-error-404.2---not-found-the-page-you-are.aspx

No comments:

Post a Comment

Popular Posts