Click here to Skip to main content
15,890,512 members
Everything / Web Development / IIS

IIS

IIS

Great Reads

by Max Paulousky
This article presents the techniques and caveats of building Silverlight applications that can be notified about database state changes via polling duplex. WSHttp binding and CLR triggers are used to implement the solution as well.
by Bert O Neill
Query Hadoop using Microsoft oriented technologies (C#, SSIS, SQL Server, Excel etc.)
by Monjurul Habib
How to: ASP.NET 4.0 Routing and Ext.NET.
by Bill Seddon
Shows how a .NET based WebDAV server can be created by combining two Open Source projects. The example implementation returns files from a file system, but you can extend it to return resources from any repository.

Latest Articles

by Lance Ford
Use an IIS module to identify the node that served a request in a web farm environment.
by Lance Ford
Step-by-step guide to enable an ASP.NET web application to override date, time, currency and number formats.
by Lance Ford
A walkthrough to enable request/response logging to an ASP.NET web application (or web service) by using an IIS module.
by ToughDev
How to install Microsoft Web Deploy on Win7

All Articles

Sort by Title

IIS 

28 Aug 2010 by Clifweb
I wish to create like a sub-folder to the site that each sub-folder represent is checked with the database and if found loads the page "www.codeproject.com/center.aspx?id=test" but with different content.For Example:www.codeproject.com/test...
17 Aug 2010 by Fayu
Look into asp.net routing for webforms:http://www.4guysfromrolla.com/articles/051309-1.aspx
24 Dec 2019 by Dev.Vikas.S
Hi Friends,Quote:"Error 1053: The service did not respond to the start or control request in a timely fashion"These days, im facing above problem while working with windows server 2003.When i upload precompiled file to IIS and run command iisreset then it's stop working and my...
20 Sep 2012 by Ankur\m/
Here you go: You receive an "Error 1053: The service did not respond to the start or control request in a timely fashion" error message when a service that uses the local system account tries to start on a Windows Server 2003-based computer[^]Let me just quote the cause. Go through the...
7 Oct 2013 by basharsalloum
Quote:Hello thereFirst check services.msc to ensure that you have a working service called w3svc , if you don't ,it seems that your world wide web publishing service is not working or it missed from your server due to installation error , so to fix up go with one of the following...
20 Nov 2014 by anoopgoyal
One of possible reason for this problem [It fixed issue at my end]:If you are using Debug code as below in your service the problem may arise. #if(!DEBUG) ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new...
19 Nov 2015 by HariHarMaharana
One of the case could be that you might be using the DEBUG code. 1] Remove it or 2] If you don't want to remove #if DEBUG, then you need to re-build the solution in "Release" mode and use the .exe from "Release" folder instead from "Debug" folder.
24 Dec 2019 by kruzakk
Just check the .net farework where you have created the project and where you are installing the project
5 Oct 2005 by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
3 Apr 2013 by PhadkeGirish
What is a purpose of urls starting with UTTP. (e.g. uttp://abc.com)How the service is handle in IIS server.Is there any improvements server connection pool over http
9 Sep 2008 by Mosso Hosting Cloud
After experiencing scaling issues with their previous hosting provider, the founders of the #1 iPhone tutorial site turned to Mosso, Rackspace’s cloud hosting division, because of the company’s tech support, scalability and affordability.
9 May 2016 by TarunShrivastav
I am working in a classic ASP application and there is a page which uploads file on the server from the client machine. For files less than 6 mb it is working fine but whenever i am trying to upload a file of size>5 MB it is giving the below error. Request object error ASP 0104 : 80004005 ...
9 May 2016 by TarunShrivastav
The issue got resolved by the following steps : I went to IIS manager, selected website then under IIS selected ASP and then Limit properties and set 'maximum requesting Entity body limit 20000000 then clicked on Apply'
24 Mar 2011 by Aravind Ravindranath Gopi
Hey all,We have below warning in the event viewer that is thrown A process serving application pool 'DefaultAppPool' failed to respond to a ping. The process id was 'XXXX'.We have put the option of recycling the Application pool on hold has this contains many application in it ....
25 Mar 2011 by Rutvik Dave
First of all you should not be using same AppPool for all your web applications/websites. If one web application crashes, it will recycle the app pool which will make all the other application to restart, so users will lose their session information on the server.Now if any fault occurs IIS...
30 Mar 2020 by ashriv
I try to debug my web service with IIS7. It doesn't start and throws an error."Unable to start debugging on the web server. The remote debugging components are not registered or running on the web server. Ensure the proper version of msvsmon is running on the remote computer."my...
15 Jul 2012 by Sandeep Mewara
First of all, make sure you’re application pool is running the correct .NET Version:.NET 2.0, 3.0 and 3.5 web applications, should use an application pool that uses .NET 2.0.NET 4.0 web application, should use an application pool that uses .NET 4.0Now, based on the configuration and...
24 Jun 2013 by ashriv
I did these two things and Issue resolved -1. Enable 32-bit application settings set as True.for this , right click on Application Pool -> Advance Setting -> Enable 32 bit Application -> TRUE2. Assign this Application Pool to my project Virtual directory.There are some other...
6 Jan 2014 by Member 10336592
1) Right click on your project in VS2005 or VS2008 or VS2010.2) 2) Click on Properties3) 3) Click on Web tab4) 4) Under Servers, click on the radio button Use Visual Studio Development Server 5) Check Auto Assign Port radio button5) 6) Uncheck NTLM Authentication...
30 Mar 2020 by Member 14787235
I am also the same problem, in my case php xampp server is blocking internally to IIS server. I stopped the xampp process in task manager, that solves my problem.
13 Jan 2013 by Tharaka MTR
A solution to the problem
17 Oct 2017 by Navin Ranjan
I have an ASP.NET MVC application hosted in web server with URL http://10.26.14.99/projectA i.e. environment1 and same application is hosted in another web server with URL https://projectA.test.com i.e. environment2. Now, for environment1 when I enter...
17 Oct 2017 by OriginalGriff
What did you expect? http://10.26.14.99/projectA/../../../../test In a path, ".." is a relative folder specifier: it says "folder above". So you are asking for root / projectA / folder above (giving root) / folder above root / folder above that / folder above that / test You cannot use a...
6 Jan 2009 by carlos@takeapps
A working implementation of a REST service in .NET 2.0.
17 Aug 2018 by istudent
I have old asp.net web application which is moved from windows server 2003 ( i beleieve ) to 64 bit windows server 2008 r2. My application was built in .NEt 2.0 Every time i tried to run the application it throws error like 'ould not load file or assembly 'Oracle.Web, Version=2.112.1.0,...
17 Aug 2018 by Dave Kreskowiak
This is just a guess but it seems like your site code is compiled to target "AnyCPU". The hint I'm using is that you're using a 32-bit Oracle client and you moved the code to a 64-bit server. Go into the Project Properties, Build tab, and change the platform target from AnyCPU to x86. Recompile...
3 Jul 2020 by Marc Clifton
With ASP.NET, there's DLL "mirroring", so one can update a DLL without stopping the application pool for the website. With .NET Core apps, it does not appear that such mirroring occurs (so I've read on SO when I researched this issue) and I'm...
3 Jul 2020 by Richard Deeming
I tend to use the app_offline.htm file, which takes the application off-line, combined with a batch file. app_offline.htm: Application Offline ...
2 Aug 2009 by Raj Settipalli
Simplest method to host remote component under IIS with ASP.NET application as client
7 Dec 2014 by DHicks19
Hi,I am trying to read data from a server on our network using VFPOLEDB.1 however I am getting an error:"Invalid path or file name"which is caused by a permissions issue.I have tried using the impersonate in web.config file and also set the application pool account in IIS to admin...
8 Aug 2012 by ALIENMASK
How to host .NET web service, in side the local IIS server. I have developed the service using .NET 4.0. Please let me know.Regards !
8 Aug 2012 by Karl Sanford
Here you go: http://msdn.microsoft.com/en-us/library/aa751792.aspx[^]
8 Aug 2012 by Sandeep Mewara
If it's a WCF, see here:MSDN: Hosting and Consuming WCF Services[^]MSDN: How to: Host a WCF Service in IIS[^]If it's a normal web service then you need to deploy as a normal web app:For hosting a web application: MSDN: Walkthrough: Publishing a Web Site[^]
24 Oct 2010 by tanweer
Hi all,I have an aspx page that has a .swf flash file. When using ASP.NET server as deployment server for the project every thing works finewhen I create a site in IIS and deploy the project on IIS. The flash appears white blank. If I right-click on it, it displays the context menu of...
25 Oct 2010 by aayu
http://www.big...
30 Jan 2008 by Omar Al Zabir
10 easy ways to make ASP.NET and AJAX websites faster, more scalable and support more traffic at lower cost
9 Oct 2007 by hartertobak
10 tips for search engine optimization (SEO) for your ASP.NET website.
6 Aug 2007 by Omar Al Zabir
Learn about 13 production disasters that can bring down your business
4 Mar 2013 by Mico Perez
Hi GuysOur server is having two virtual paging files. Drive c has a custom build of 500 mb up to 1024 MB paging file. The other drive d: has a system managed.Which one IIS is currently using?We are experiencing system memory out of exception with only 2Gb of ram.Thanks
22 Jan 2017 by Matt Watson (Stackify)
Learn about the 4 various log sources you need to know when tracking down ASP.NET request errors.
7 Sep 2009 by Shivprasad koirala
4 steps to increase bandwidth performance for ASPX pages on IIS 6.0
5 Jul 2016 by Member 12597529
I keep getting stuck with this error on my postman api where I want to send a large string as one of the parameters to my web service when it is hosted on a local server. When I test the service on localhost it works fine. http://i.stack.imgur.com/O2Fgl.png[^]The web service is supposed to...
25 Oct 2021 by sanjayv.gade
Hi All,I am getting below error message:"401 - Unauthorized: Access is denied due to invalid credentials"When i trying to login our website remotly it gives access denied error.if i changed authentication mode "Windows" in IIS7.5 on our staging server then i can logged into...
10 Jul 2012 by sanjayv.gade
Issue solved:1. Open iis and select the website that is causing the 4012. Open the “Authentication” property under the “IIS” header3. Click the “Windows Authentication” item and click “Providers”4. Move NTLM at topand BAM that's fixed it.
4 Sep 2014 by Rajendra Varadaraju
Step 1] Go to the respective path for example D:\...\ImagesStep 2] Open web.config and comment authorization/allow for specific users
17 Nov 2014 by AjeetYadav
Right click on folder and choose Properties. In Security tab add ‘IUSER’ and 'NETWORK SERVICE' and give full control to both user.
10 Jan 2015 by scemis
1. Open IIS and select the website that is causing the 4012. Open the "Authentication" property under the "IIS" header3. Right Click the "Anonymous Authentication" item and click "Edit"4. Select "Application Pool Identity" in popup5. Click OK
21 Feb 2016 by nAggIs
Another solution to the above error is;1. Open IIS Manager and select the website that is causing the 4012. Open the "Authentication" property under the "IIS" header3. Click the "Windows Authentication" item and click "Advanced Settings" from the right4. Set "Extended Protection" to "OFF"
1 Jul 2021 by Lucio Flavio
Check if the user has access granted to the folder. In my case, the trouble was because someone has removed the group SERVER\Users (that contains DOMAIN\Users inside group) from folder.
8 Oct 2012 by Sharma Ganu
Hi,I am using window authentication for intranet application.My application throw error when user access this application.error is :401 - Unauthorized: Access is denied due to invalid credentials.You do not have permission to view this directory or page using the credentials that you...
9 Oct 2012 by AdityaPratapSingh
To resolve this issue, you must turn off Simple File Sharing, and then take ownership of the folder: Turn off Simple File Sharing: Click Start, and then click My Computer. On the Tools menu, click Folder Options, and then click the View tab. Under Advanced...
9 Oct 2012 by I.explore.code
Exactly same issue someone else had. See if this 401 - Unauthorized: Access is denied due to invalid credentials[^] works
19 May 2010 by Anuj Chauhan from India
Hi Everyone,We are getting 401 (unauthorised access) error while trying to access edms or SharePoint link from code behind, following is the block of code that is used to access the edms or SharePoint link.HttpWebRequest request =...
20 May 2010 by Dylan Morley
Sounds like the credentials you are using for your request are not correct. When running on the web server rather than your development machine, System.Net.CredentialCache.DefaultNetworkCredentials is going to pick up the credentials from the server rather than the user executing the...
3 Jan 2013 by rAZHere
I am getting following error when trying to access the project hosted in IIS of window server 2003 R2.Error goes like this:NetworkError: 403 Forbidden - http://192.168.1.1:90/Handlers/Security/SessionHandler.ashx?method=ValidateSession
1 Oct 2021 by jar8695
I inherited a .NET web app within a company and I have had to migrate the app to another server running Windows 2019 server and IIS. I have checked all settings are exactly the same as the app on old server (windows 2012 r2) and we have the DNS...
4 Jul 2012 by peru j
Hi ,We have a web application hosted in IIS 8 in Windows 8 Beta Server. When i browse the file from IIS getting 404 Erro every time.When i saw the IIS logs am able to see different Extensions everytime for the same file i browse.Sample Error log2012-07-03 06:58:14 ::1 GET...
4 Jul 2012 by Imran from Mumbai
Have you checked this IE10?If you have IE10.0 then make this as default browser and try again
24 Aug 2012 by Manish_Kumar_Nayak
I have a windows server 2008 with IIS7 and hosted a website. When 100 user hitting the website simultaneously it throws 500 error...There is no problem when less than 50 users hitting the webpage...What type of configuration I must do to resolve this problem...?
24 Aug 2012 by Tim Corey
IIS7 has a number of 500 errors. Usually you will see a specific number. I would guess you are getting a 500.13, which indicates that the server is too busy. This could be from a number of different causes, but the general issue is load. Your server cannot support 100 people at once with the...
9 Nov 2013 by dhiman.rohit9
Hi,I am in a big problem. I have developed a website in asp.net and it was working fine, but right now i am getting the following error If i go to my website. I am getting following error:500 - Internal server error.There is a problem with the resource you are looking for, and it cannot...
9 Nov 2013 by thatraja
Check this threadDeploying website: 500 - Internal server error[^]FYI The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0[^]
11 Nov 2013 by Marc Gabrie
HTTP 500 error is very generic. To get further info about it, temporarily add the following within the appropriate tags in your web.config file:
24 Nov 2011 by Soft009
hi allWhen i run this code, in the browser display "500 internet server error".I want to know about this error and solution for it.Appreciate your comments on this!thank you$con = @mysql_connect("localhost","root","abc123");if(!$con){ echo("could not...
24 Nov 2011 by thatraja
Check theseHTTP Error 500 Internal server for php pages and solution[^]PHP displays 500 Internal Server Error[^]
24 Nov 2011 by D K N T H
try this link,http://support.microsoft.com/kb/886216[^]hope it helps!
24 Nov 2011 by Eduard Lu
Best links for your problem:http://www.cyberciti.biz/tips/http-error-500-internal-server-for-php-pages-and-solution.html[^]http://support.netfirms.com/coding/errors/how-do-i-fix-a-500-internal-server-error-on-my-website[^]Regards,Eduard
13 Oct 2014 by Krishna Siva
HiI am working on a automating my deployment process with MSBuild for my mvc website. I build my solution, after that i follow steps till precompiling and I publish my project with web deploy. I can create a build aritifact (.zip file) but when I try to deploy that in my iis ( Clicking...
20 Jan 2014 by Paramaa
Hello every one , I had host my website in IIS. After some times my machine performance is goes to very slow. I had check task Manager , The IIS Worker process take long CPU Usage near 96% while, I had access my site pages. Any one please help me. Ur help is will be very appriciated....
16 Apr 2015 by exoc
[THIS QUESTION IS OBSOLETE!!!]Hi everyone,I'm really stuck here, maybe someone can help me out. I have a WebApplication (asp.net), stored on IIS 7, that can be accessed inside my companys internal network via http://myapp.company.localAs for a - maybe naive - request I want...
16 Apr 2015 by Dave Kreskowiak
You'd need to write a protocol handler. You can start reading up on it here[^].
16 May 2017 by Member 13203697
Dear All! I am new to asp .net mvc. I have made a project in asp .net mvc. When hosted my project on uniquelinks shared web hosting panel I got this exception.Please help me to resolve it. Thanks in advance. What I have tried: I have googled it and applied some solutions like change in web i.e...
16 May 2017 by Richard Deeming
As the exception says, you need to change your AppPool from the "classic" (IIS6) mode to the newer "integrated" (IIS7) mode: Moving an ASP.NET Application from IIS 6.0 to IIS 7.0[^] If you can't find how to make that change in your web hosting panel, then you need to contact the hosting...
12 Jun 2015 by Andy Lanng
Hi,This is a noob question, for sure, but it's never come up. I've always had dedicated servers that were pre-configured and for intranet use only :SSo, I have just pushed a website to my clients UAT server. These guys have no local network so they can only access the machine via the...
1 Sep 2011 by Brian C Hart
I have a page where we want to either display an image of a product if the image exists on the disk of the web server, or if not, we want product features description text displayed.My approach was to implement two asp:Panel controls, one to hold the containing the asp:ListView that...
1 Sep 2011 by #realJSOP
Write a method in your code behind, put the if in there, and call your method from the markup.public void ControlEval(string evalThis){ if (pnlFeaturesText.Visible) { Eval(evalThis); }}and then you can do this:
20 Apr 2011 by Brian C Hart
I am making a new ASP.NET website and I have brought over the code from an existing website and refactored. I am using Visual Studio 2010 and IIS 7 and Windows XP SP 3.It works just fine when I click Debug > Start With Debugging (F5) in Visual Studio and it runs on the development box,...
20 Apr 2011 by Sandeep Mewara
Mostly it occurs because of a missing assembly. Have a look at this similar discussion here[^].Then it could be incorrect configuration of .NET Framework. Check in your IIS that website is configured to use the desired framework version. Another possible reasons are discussed here[^]...
23 Sep 2011 by Sanjay Khachane
I have same problem come I add .dll in bin folder Some .dll is missing in bin folder Add this .dll to solve this problem
1 Jan 2011 by Jamal Seyedi
I have developed an asp.net web page in which has a reportviewer control. Every thing is OK in my PC and the control show whatever I see in Visual Studio in design mode. However, when I publish this web page to another PC this control shows the XML of rdlc file instead of a graphical report(like...
3 Dec 2018 by tranthanhtu.vn
TinyERP: SPA for Enterprise Application
23 Aug 2006 by Seth-B
A .NET 2.0 server control to fix the ActiveX activation issue caused by Internet Explorer updates.
31 Jul 2014 by SrikantSahu
This tip can be used to know more about how dojo templated widgets can be created and used inside a portlet programmatically.
9 Feb 2009 by Rahman Masudur
This article shows how to use a WCF service in XBAP or a WPF browser application.
28 Jun 2016 by Herman<T>.Instance
Very simple problem to solve unexpected easily in IIS Manager
28 Jun 2013 by Zhuyun Dai
I once implemented my own Basic authentication logic in a custom ISAPI filter on IIS 6 and IIS 7.5 (classic mode).
29 Oct 2004 by eleung
A C# .NET serviced component that encapsulates MQ PUT and MQ GET.
8 Nov 2006 by Rashutosh Paul
This article shows how to generate a progress bar using JavaScript.
27 Aug 2001 by Bjornar Henden
A grid control for ASP written in JavaScript to display recordsets.
14 Feb 2004 by zlei12
This navigation toolbar is implemented in JavaScript by DHTML.
3 Feb 2010 by Dr. Song Li
This article introduces a more flexible and secure method to configure Silverlight applications using the Web.config file from the ASP.NET host application.
22 Mar 2017 by luigidibiasi, binterlandi
Build a realtime visitors counter with AJAX and a server-side language.
27 Jun 2001 by Christian Tratz
Some functions for client side HTML forms validation. Never write them again!
14 Nov 2001 by Agus Kurniawan
Simple program for an Active Server Component that handles cookies
15 Mar 2006 by K.sundar
An article on developing a chat application using AJAX and .NET.
8 Mar 2011 by Weidong Shen
Part 1 of a series describing creation of a Silverlight business application using Self-tracking Entities, WCF Services, WIF, MVVM Light Toolkit, MEF, and T4 Templates.