Click here to Skip to main content
15,900,378 members
Everything / Web Development / IIS / IIS8

IIS8

IIS8

Great Reads

by Marc Clifton
Ability to self-host multiple HTTPS websites without having to pay for hosting and certificates
by Wonde Tadesse
How to utilize QueueBackgroundWorkItem(QBWI) for web applications that run a background process in IIS environment.
by DiponRoy
How to restore IIS setups to its default, without uninstalling or repairing Windows
by TejasDesai.NET
Getting started with HTML5 WebSocket

Latest Articles

by hong_wei_li@yahoo.com
Get .NET Core Web API hosted in IIS successfully at your local work station
by Marc Clifton
Ability to self-host multiple HTTPS websites without having to pay for hosting and certificates
by shivendra pratik
Convert an Empty Web Application to MVC Web Application using VS 2015 IDE
by Wonde Tadesse
How to utilize QueueBackgroundWorkItem(QBWI) for web applications that run a background process in IIS environment.

All Articles

Sort by Score

IIS8 

4 Jul 2017 by Marc Clifton
Ability to self-host multiple HTTPS websites without having to pay for hosting and certificates
16 Jun 2015 by Kornfeld Eliyahu Peter
The problem is that IIS do not recognize the ASP extension and for that can not handle it as content file, instead as binary file and for that lets you download it...The reason is that Classic ASP engine not installed since IIS7 (Windows 8.1 has IIS 8.5), so you have to install it...
3 Apr 2016 by Jochen Arndt
Have a look at How to Troubleshoot Out of Memory Issues (System.OutOfMemoryException) in ASP.NET[^].
14 Apr 2016 by Darshan j
Add following lines of code in your web.config. if you are running on IIS 7 or later add following lines.
26 Dec 2017 by OriginalGriff
First off, why are you hardcoding paths in any application, much less a web app? What if the computer you try to load this on doesn't have a D drive, or it's not accessible to your application? What if it doesn't have Word installed? I suspect this "From Visual Studio its Working" because...
29 Jan 2020 by Richard Deeming
That article is dangerously wrong. You don't need to create a shared folder to host an application in IIS. You just need to make sure the IIS_IUSRS group has read permissions on the folder. And setting your application pool to run as LocalSystem is extremely dangerous. The slightest mistake...
9 Mar 2020 by Richard Deeming
Uninstall IIS and the Windows Process Activation Service. Then delete or rename the folders C:\inetpub and C:\Windows\System32\inetsrv (if they still exist). You can then reinstall IIS, and the configuration should be reset to the default. How...
5 Jun 2013 by Sergey Alexandrovich Kryukov
Just in case: did you take into account that there is one 32-bit x86 architecture, but two different, incompatible 64-bit architectures in Intel: x86-64, and IE64 (Itanium). If not, check it out:http://en.wikipedia.org/wiki/X86-64[^],http://en.wikipedia.org/wiki/Itanium[^].—SA
26 Jun 2014 by manak chand
Hi, I am facing below mentioned error. I have upgraded MVC4 project from VS2010 to VS2012. On local it is working fine but creates issue while running from server.Could not load file or assembly 'EntityFramework, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one...
26 Jun 2014 by Sampath Lokuge
It seems like some assemblies you are using still try to use 4.1 while the other EF5. Make sure you reference the same assembly everywhere. So, you need to update all the references to use EF5 and rebuild the project. :)Check here for more info:Could not load file or assembly EntityFramework
4 Dec 2014 by forccyy
Below is the code I am using for sending mail from my local. I have WCF class library project where this code is written. I am calling this function from ASP.net website.I am getting error :"Mail not sent : The SMTP server requires a secure connection or the client was not authenticated....
31 Dec 2014 by Member 4653839
Hi Renju, This issue will come only when we use same control id in the request page and the current page.try generating dynamic control id based on the page by which we can come out from these kind of validation issues.Hope this will help !!!
2 Jan 2015 by Suvendu Shekhar Giri
You can try reinstalling webdeploy to make sure you have successfully installed dbDacFx Provider.Check this link for similar error resolveddbDacFx Error Importing IIS Deploy Package[^]Hopefully, it helps :)
8 Jul 2015 by D-Kishore
I have deployed one application IIS 8 in windows server 2012 system.1: After deploying the application if i am trying to access the application from the same system using localhost\application and using ip-address\application it is working fine without any issues.2: If I am trying...
23 Feb 2016 by ZurdoDev
You either need to provide a SQL username and password in your connection string like this: or, keep the connection string you have but change the account being used on your application pool in IIS to an account that has sufficient privileges in SQL.
23 Feb 2016 by F-ES Sitecore
The easiest way of fixing this would be to not use Trusted Connection, instead create a SQL account in the SQL Server Management Studio that has access to your database, then supply the username and password of that account in your connection string.The better way would be to change the...
15 Apr 2016 by Adeem Zanoub
Hello,I am not very good in English but I will try to explain my problem in simple as I can,I try to build web method in web service which create user in active directory,when I invoke this method locally from browser in server it work fine but when I invoke this method from browser in another...
18 Sep 2017 by OriginalGriff
See here: c# - How to get a user's client IP address in ASP.NET? - Stack Overflow[^] - but do note that the address you get will not be a single machine: all computers using the same interface to the internet (usually a router) will share the same IP address. So if there are a dozen computers on...
1 Feb 2019 by MadMyche
Looks like the problem is that the UI portion of this is not accepting the Session Cookie from the WebAPI. When the API does not receive the Session Cookie from a client, the API will start a new session when it receives a request. What you will need to do then is to enable cookies in the UI...
28 Feb 2019 by MadMyche
I would review the MS Documentation on Basic Authentication and look at the section for configuration of login domains Basic Authentication | Microsoft Docs[^]
2 Oct 2019 by phil.o
Please have a look at Troubleshooting HTTP 500.19 Errors in IIS 7[^], especially scenario number 1, which seems to perfectly fit your issue.
15 Nov 2023 by Richard Deeming
You have configured "cookieless" session state: HttpSessionState.IsCookieless Property (System.Web.SessionState) | Microsoft Learn[^] The added text is your session identifier. It was never a particularly good idea. You should disable...
14 May 2013 by Member 7698441
I have developed programme in VS2010 (.net framework 4.0) in which xml file come from database table and get deserialized using XMLSerializer using C# in asp.net.Same code is working on production server which is Windows Server 2003, it also works on my local machine which is Windows 7.Now i...
27 Jun 2013 by Sebastian T Xavier
Hi All,I have REST service application which is hosted in an IIS 8 in a Windows 8 PC. When I request the service I am getting an error as follows ... HTTP Error 404.0 - Not Found.Here is the detailed error message.HTTP Error 404.0 - Not FoundThe resource you are looking for has...
1 Aug 2013 by Sampath Lokuge
Action Methodpublic ActionResult Index() { ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; LogError("lok", "lok2", "lok3"); return View(); }LogError Methodprivate void LogError(string transactionId, string sAmountPaid, string...
15 Sep 2013 by Abhilask kumar
"Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were".Please advice me how to increase application pool on iis8.
15 Sep 2013 by Gitanjali Singh
If you are using .NET, you could increase this time setting ConnectionTimeout property of the connection class.
18 Sep 2013 by Abhilask kumar
Please tell me how to manage more then one user in one database.when login more then user then it occur error "Application pool TimeOut". please help me.
19 Sep 2013 by Sampath Lokuge
Try to use your connection string is as below on your web.config file. I...
30 Sep 2013 by Sebastian T Xavier
Hello All,I have a REST web service which was working fine in almost all windows OS. Now I have to migrate it to a Windows server 2012 (IIS 8.0). I have faced several issues during this task.1) First I have got the following exceptionHTTP Error 500.19 - Internal Server ErrorThe...
22 Sep 2013 by Pushkar Joshi
I've hosted a trial website on public ip with specific port number using IIS 8 & Microsoft Windows server 2012. Problem is Me & my friends can't edit the website from remote location like from my laptop. We are developing website in asp.net. We want our server as web server & also...
3 Oct 2013 by thatraja
Check thishttp://support.microsoft.com/kb/949349[^]
4 Oct 2013 by write2varun
hii have a web application when we click first time on any page it redirect to the log in page, when i log in again i can access the page and it works fine it is only giving error when i'm hosting it on IISi'm using iis 8asp.net 4.0os: sql server 2012browser: IE 10im using...
4 Oct 2013 by Ranesh M Raj
use Generic Handler[Global.asax] file C# code void Application_Start(object sender, EventArgs e) { // Code that runs on application startup } void Application_End(object sender, EventArgs e) ...
16 Oct 2013 by VonExpy Softech LLC
When browsing my code in IIS i'm getting incorrect URL Path like :http://localhost/example/default.aspx?ReturnUrl=%2fexample and when im logging from this url it is redirecting to same page with URL http://localhost/example. I have to redirect to my default.aspx page so any one suggest...
16 Oct 2013 by VonExpy Softech LLC
Here it is. Add this code to your web.config file: ...
13 Nov 2013 by Avinash6474
Hi All,I had a wcf service which is hosted on windows 8.1 enterprise version OS. When I am trying to access the service in Intra net, the IIS is allowing http connections. I had generated a self signed certificate and added a https binding on IIS. When I am trying to access...
27 Nov 2013 by Avinash6474
Hi All,I had a new windows 8.1 machine, on which I had installed IIS.with visual studio 2010, I had created a Silverlight application with wcf service. When I am trying to publish the service to local IIS I am getting following error."Error:Error 1 Web deployment task failed. (There...
27 Nov 2013 by Avinash6474
I have solved it myself.The firewall settings were causing issue. The HTTPS connection firewall inbound settings were disabled, after enabling the connection everything went fine :)-Avinash
11 Dec 2013 by kingsa
Mke th directory browing folder in iis enable and make sure the wcf service folder have permissions or not means make to shared
20 Dec 2013 by TylaLyza
Good Day,I trying to setup clientCertificateMapping in IIS8 on Windows Server 2012 and have very limited experience with this. On my dev server there is already a certificate issued by the company. On my local machine i have a certificate issued to my account. I tried copying the certificate...
26 Dec 2013 by Member 10325462
Currently I'm developing a web application having SSRS reporting. It works fine on my local machine but when i deploy it on IIS 8 it doesn't show anything. I added report viewer control in system.webserver/handlers. But it doesn't show me any result.
27 Dec 2013 by idenizeni
Is the ReportViewer control installed on the server? You may need to install the ReportViewer control on your server.Deploying Reports and ReportViewer Controlshttp://msdn.microsoft.com/en-us/library/ms251723.aspx[^]MS Download for...
19 Feb 2014 by link_that
I'm trying to send out an email after a button click event. When testing from my local machine everything runs smooth, the email get send out and I get the popup message notifying me that the "call has been resolved". But running from server side the page "hangs" - the screen is dimmed out which...
26 Feb 2014 by ckumaresanmba
Hi,I have hosted a secured website in IIS server namelyhttps://xxxxx.com/virtual directory/.....I can be able to access this site from anywhere else.But not from the server where the site is hosted.How to access the site locally.This is a old web service project and I need to...
27 Feb 2014 by ckumaresanmba
I have added an entry in driver/etc/hosts file to redirect the dns to iis.This solved my problem.
28 Feb 2014 by raxhemanth
Server Error in '/demooniis' Application.Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error...
28 Feb 2014 by Tejas Vaishnav
as your error messages shows that "This error can be caused by a virtual directory not being configured as an application in IIS.", so please check your IIS where you host this application is it configured as Application or not, the error shows that your virtual directory is not configured as...
28 Feb 2014 by Pranav-BiTwiser
The above error message indicates that there is a Web.config file in one of the website's subfolders than has one of these configuration elements that cannot be defined beyond the application level.
27 Apr 2014 by Member 8388026
I have created a application pool as BC_NG.In this BC is one of the application which i have as a website.Now i go to VS 2008 and try to attach w3wp.exe.It is attaching the file but not hitting the break point."The breakpoint will not currently hit.No symbols have been loaded." it says.I...
5 May 2014 by Member 8070609
I want to run a project on IIS 8.5, but fails. Please help me.HTTP Error 500.19 - Internal Server ErrorThe requested page cannot be accessed because the related configuration data for the page is invalid.Detailed Error Information:Module IIS Web CoreNotification ...
5 May 2014 by DamithSL
try below solutions IIS - this configuration section cannot be used at this path (configuration locking?)[^]
12 May 2014 by Member 10812265
Help me please!!!I am using Windows server 2012 (IIS8),in which I have an intranet website.I am getting windows authentication pop up window when that site is made to run in server when browsed (Here I have made settings like "Anonymous Authentication -Disabled " & "Windows...
13 May 2014 by Member 10642883
I have created many virtual directories in one web site (On the new port other then port 80). I need to access images from the other virtual directory to display in the application. It is working when I run application locally and from the LAN. But when it goes live images is not displayed. I...
23 May 2014 by dg6yhw11
Perhaps your users browsers consider each of the virtual directories to be a different domain and is not allowing cross-site operations.In IE 11 Security miscellaneous Access Data Source across domains is set to prompt.
28 May 2014 by Gaurav Gupta A Tech Guy
How to change hosted website URL from https://www.abc.co.in to https://abc.co.in ?
28 May 2014 by Mitchell J.
Set up a 301 redirect from www.abc.co.in to abc.co.in on the server that hosts the website. Contact your hosting provider if you don't know how to do that.
3 Jun 2014 by Ramraj_soft
how to host ASP.NET web Application in ISS8 with SQL Server 2008?
4 Jun 2014 by Nirav Prabtani
see this.. :)IIS 8.0 Using ASP.NET 3.5 and ASP.NET 4.5[^]Step 1: Install IIS and ASP.NET Modules[^]
12 Aug 2014 by Swinkaran
(Behind the scene: I am trying to increase the application pool-> Idle time-out.)I am trying to add the ApplicationPool class in my C# & ASP.Net project using VS 2013 & IIS Express. I cannot add the reference for the ApplicationPool class. I assume it is, Microsoft.Web.Administration; to be...
12 Aug 2014 by Gopi Kishan Mariyala
Hi You can refer the below link for details on adding Microsoft.Web.Administration dllhttp://stackoverflow.com/questions/18104151/how-to-reference-microsoft-web-administration[^]Implementation of ApplicationPool...
13 Aug 2014 by sonuods
public ArrayList GetApplicationPoolCollection(){ // Use an ArrayList to transfer objects to the client. ArrayList arrayOfApplicationBags = new ArrayList(); ServerManager serverManager = new ServerManager(); ApplicationPoolCollection applicationPoolCollection =...
24 Aug 2014 by Bhagyashree Chaudhari - Member 10473634
Hello ,I want to create Secure web site , for that i need to validate my certificate by for example VeriSign . So now my certificate will be in trusted root certificate authority (TRCA).Now , when user want to login on my site say , www.testingcertificate.com so it will be...
26 Aug 2014 by Bhagyashree Chaudhari - Member 10473634
I am getting error when i have certificate in trusted root certificate authority for secure web site.now Client want to access my web site , its asking for personal certificate and when client select any certificate getting HTTP Error 403.16 - ForbiddenYour client certificate is either not...
5 Sep 2014 by Naveen Shet
I have project using WCF service. I am calling the service through ajax and handlers. Locally it is working fine, when I host it in IIS8 I am getting Webservice call failed 404 error.Can anybody please help me on this...Here is the binding used in webconfig ...
11 Sep 2014 by Naveen Shet
I have enabled the Http Activation for WCF service under Windows feature, and it worked for me.Refer: http://stackoverflow.com/questions/7083533/http-error-404-17-not-found[^]Thanks for the Help...
20 Sep 2014 by ‫محم د‬‎
i publishd my web site and the 'ruser' is in my sqlserver and the password is true ! whay giv this error in iis ?Server Error in '/' Application.Login failed for user 'ruser'.Description: An unhandled exception occurred during the execution of the current web request. Please review...
20 Sep 2014 by OriginalGriff
You need to look at the server that the connection string specifies: it may be that your user "ruser" is not defined on that server, or that the password is different, or that the user does not have permission to access that database. Remember that in production the SQL server is very unlikely...
12 Oct 2014 by Ryder24
We developing Web Application using MVC4 and Jquery Mobile. Our requirement is to cache all images , jquery , css. So i triew below code which works like charm. ...
25 Nov 2014 by Member 10271164
Hello..I am Deploy Package using web deploy package publish method.It deploy successful.then I ad web deploy tool for IIS server 8 version is web deploy tool 2.10.then restat IIS server Import application tag in action plane has come.then i tried to import "Application.zip" file from...
26 Nov 2014 by Member 10271164
Hi...When i am deployed project it done successful.and then I import application in the IIS 8 server upload success an then click to next install error has displayed as followig.An error accured when performing this operationdetailsan error accured during execution of the...
27 Nov 2014 by Member 10271164
Hi..I have same problem while installing Packages in IIS ServerThe error is below..The package installation failed.Details:An error occurred during execution of the database script. The error occurred between the following lines of the script: "1" and "5". The verbose log might...
27 Nov 2014 by Member 10271164
Hi..This error has comes after Change grand script replace with Schema and data use current database script.The package installation failed.Details:An error occurred during execution of the database script. The error occurred between the following lines of the script: "1" and "3"....
1 Dec 2014 by Member 10271164
Hi..This error has comes after Change grand script replace with Schema and data use current database script. Collapse | Copy CodeThe package installation failed. Details:An error occurred during execution of the database script. The error occurred between the following lines of...
18 Mar 2016 by Nicholas Marty
I have a small question where my search fu has left me without an answer.Example situationI'm owner of the domains "example.org" and "www.example.org"I want to redirect "example.org" to "www.example.org"There already exists a website in IIS 8 that handles both domainsWhat I...
25 Dec 2014 by Member 10271164
I am Deploy My project using IIs ServerFirst page loaded currectly when i click on login button it gives an errorERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]The EXECUTE permission was denied on the object 'Stored Procedure Name', database 'Database Name', schema...
26 Dec 2014 by deepakdynamite
Credentials used in connection string of application doesn't have rights to execute any procedure. Please check rights on your account used for application.
31 Dec 2014 by Renju Vinod
Hi All,After installing http://support.microsoft.com/kb/2894855[^] This update on my webserver (windows server 2012)While doing cross page posting, I am getting the following error.Invalid postback or callback argument. Event validation is enabled using in configuration or
31 Jan 2015 by saurabh singh chandel
When i publish the mvc5 application to IIS8 and when i try to browse the site with https://localhost/ES_PUBLISHED/" the browser shows the error with Unable to connect
9 Feb 2015 by vijay javagal
Hi All,We are switching from Win 2003 server to Win2012 server. We need to host simple web application in IIS8.When we open the URL from client PC which has all the credentials, images are not getting displayed in the web page.Same application worked fine in Win2003 server.Below...
17 Feb 2015 by JLSto
Hi there all,Please could you Help me.Let me explain my situation quick.I have my work files/projects on my external as i need to work on my home system and my system at the office and we use svn so i just have my files in one place and upload from which ever machine im on.Now when...
30 Mar 2015 by hypermellow
If your not hell bent on writing your own, have you had a look at any of the open source controls panels?I've not used this myself, but something like WebsitePanel[^] might be worth having a look at.... hope it helps.
6 Apr 2015 by rupali4
I have done url masking and in that, I have ViewPage with parameter i.e, Viewpage-paramerter.aspxand I rewrite that url as Viewpage.aspx?parameter, using Intelligencia.UrlRewriter.dll . For that I have done changes in web.config file as follows:Quote: And this web...
8 Apr 2015 by SohaibX
Hi, I have created a setup of my project using Wise Package Studio 7.0, To deploy a website in the IIS via this setup I am using Custom Action (Wisescript). Now everything worked perfectly in Windows 7 with IIS 7.0, but as I migrated to windows 8 I am having the following error in web...
21 Apr 2015 by Joshua Masa
I have deployed my web api application solution on IIS full. I am now able to see my home page index when I go to the root page of the site. That is fine but when I try to make a get request 192.xxx.xxx.xxx/api/AH (AH being my controller name) it only returns Json error. I am using Entity...
21 Apr 2015 by Joshua Masa
I fixed it. I just used an SQL Server Express database and used it's connection string. Thank you!
23 Apr 2015 by Ansar vm
Hi All,We have two IIS Servers SERVER A (10.7) and Server B (10.8), where my website (port80) is hosted. I have configured a NLB CLuster for this website using fortinet firewall. NLB IP is (10.22) and all the links which are pointed to cluster IP.Health monitor for NLB is configured as...
29 May 2015 by itsureshuk
Hi, I am working in ASP project. While getting more data from DB using ASP , getting error HTTP 500 error. Below lines are used in ASP pageServer.ScriptTimeout = 90Response.Buffer = FalseResponse.AddHeader "Content-Length", 70000000'Option ExplicitResponse.Expires =...
29 May 2015 by Mehdi Gholam
Try increasing the ScriptTimeout to 600 for example.
15 Jun 2015 by Member 10924155
I am new to ASP.NET web application deployment so this might seem like a noob question.I have created an application using ASP.NET 4.5. Previously when I performed final testing, I used to copy my source code to IIS 8 (without publishing) and then test the app. All of the code worked...
16 Jun 2015 by SruthiR
Hi all,I use Windows 8.1, Visual Studio 2012 and IIS 8.5I have a classic ASP application which is hosted on IIS.When I browse the page in IIS, it just downloads the file. I am not able to view the webpage in browserIs this the problem with my OS.Please help.Thanks in...
20 Jun 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
1. Walkthrough: Creating and Registering a Custom HTTP Module[^]2. Walkthrough: Creating and Registering HTTP Handler Factories[^]
20 Jun 2015 by Mathew Soji
Its always better to Google a bit on this kind of generic topics . There are many blogs / msdn documentation already available . The Two Interceptors: HttpModule and HttpHandlers[^]Implementing HTTPHandler and HTTPModule in ASP.NET[^]Writing Http Handlers and Modules in IIS...
7 Jul 2015 by Kornfeld Eliyahu Peter
1. 'loclahost' as its name may suggest is a name for the current (local) computer, so no computer A it translates to the IP of computer A, while on computer B it translates to the IP of computer B...To access a site from another computer you can use its name or IP address (or some name stored in...
8 Jul 2015 by Member 11644529
IDiscoveryService.cs Fileusing System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.ServiceModel.Web;using System.Text;using System.IO;namespace DiscoveryServiceNamespace{ ...
8 Jul 2015 by E.F. Nijboer
This is not a good question, just your code/config.Also, a 307 redirect isn't an error but simply a valid redirect. Pretty common and could be resolved automatically.Have a look here:http://www.checkupdown.com/status/E307.html[^]Good luck!
22 Sep 2015 by Rajasekhar_Raj
I've moved my classic asp app to win 2012 R2 (IIS 8.5). This app uses COM component. I've registered this component using regsvr32 and also exported older components from II 6 to II 8.5. I can see those components in control pane->component services.This app is not working properly. Code...
24 Sep 2015 by rbala006
Want to execute a exe within Application directory, in Dev system it works fine. In IIS, it is not executed, I have tried below points:set default application pool to local systemset defualtpool, NETWORK_SERVICE, Everyone access to exeEnabled 32 bit application to application...
24 Sep 2015 by Dave Kreskowiak
And the error message would be ...... ?When everything is running on your DEV system, it's because the IIS Express server on your machine is running as YOU. The site code is running as YOU. They have all the same permissions you do.When you deploy to a production server, the code is...
28 Sep 2015 by DoomMaker79
Mika, you're right, so here's my solution: before I solved it, I used a class for SQL inserts and updates. I passed 2 args to that class: a string with the values separating them with letter ß, and the name of the database, something like this: TableData.WriteID(columnString, db)the...