Click here to Skip to main content
15,881,866 members
Everything / Web Development / IIS / IIS 7.0

IIS 7.0

IIS7

Great Reads

by Monjurul Habib
How to: ASP.NET 4.0 Routing and Ext.NET.
by Enrique Albert
Baseline WCF Distribution Layer - Decoupling of WCF Services and ViewModels.
by Enrique Albert
WPF Validation using the IDataErrorInfo interface combined with Validation attributes
by Moudud Hassan
Fix to COM component retrieving error:80040154 in web application running in IIS

Latest Articles

by hong_wei_li@yahoo.com
Get .NET Core Web API hosted in IIS successfully at your local work station
by Suraj Pant
In this post we will discuss a quickest way to create a secure website with self signed certificate.
by Bimaln
How to fix the "Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine" error.
by Mukesh Pr@sad
This tip describes how to build an application in Azure Cloud with ASP.NET MVC and WCF.

All Articles

Sort by Score

IIS 7.0 

3 Dec 2011 by Monjurul Habib
How to: ASP.NET 4.0 Routing and Ext.NET.
11 Oct 2011 by Enrique Albert
Baseline WCF Distribution Layer - Decoupling of WCF Services and ViewModels.
7 Apr 2011 by Dylan Morley
You may need to enable 32-bit applications in your AppPool. e.g.http://www.alexjamesbrown.com/development/could-not-load-file-or-assembly-chilkatdotnet2-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format/[^]
19 Feb 2013 by _Amy
This error usually occurs when you have set up Visual Studio to debug an existing web application running in IIS rather than the built in ASP.NET debug web server. IIS by default listens for web requests on port 80. In this case, another application is already listening for requests on port 80....
25 Oct 2012 by Enrique Albert
WPF Validation using the IDataErrorInfo interface combined with Validation attributes
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.
30 Sep 2013 by vinayak.ghanti
Hi i was also getting same error i solved it please follow the steps1.run the command prompt as administrator2.type the line in the command prompt below any one%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe...
16 Aug 2013 by Moudud Hassan
Fix to COM component retrieving error:80040154 in web application running in IIS
21 Nov 2014 by ManojKumar19
Learn how to configure dynamic compression in IIS 7.5 to improve performance
26 Feb 2011 by _Ashish
It may be problem for IIS 7.0 using the Application Pool integrated pipeline mode.1) Try this in web.config file.
30 Jul 2014 by Mahendra Dhande
System.Security.SecurityExcept...
24 Nov 2014 by Dushmantha Baranige
HTTP respond data content length compression in MVC web application by an ActionFilter attribute to improve performance in web requests.
24 Aug 2015 by Richard Deeming
Assuming the files you want to update are located in the application's bin directory, you can just copy the new files into the directory. ASP.NET makes a "shadow copy" of the files, and loads them from the copy. When you update the files, it creates a new AppDomain to service any new...
13 Apr 2010 by Martin Jarvis
Whilst uploading a large (70MB) file to an IIS 7 website I got a 404 error….which was odd, uploading a file in a postback shouldn’t give me that. I know that file exists!On further investigation it turns out it was actually a 404.13 error from the Request Filtering feature of the Integrated...
14 Jul 2011 by katrash
It seems the Oracle Data Access Component installation process using the "11.2 Release 3 (11.2.0.2.1) with Xcopy Deployment" version is broken. To fix this you must register the missing assemblies in the GAC. To do this for this specific version run these commands from within an administrator...
14 Nov 2011 by Javed Boqo
himake sure that you have more than one default application pools but you should set the 32-bit to your active default pool
6 Jan 2012 by donaldrichardson
You could create a AD group and give the access you need to sqlserver to that group instead of to individuals.Also, IIS allows impersonation, which means a person can authenticate to the site using their own login, but iis will use a specific impersonated user to do the database calls.Find...
11 Jun 2012 by Prasad_Kulkarni
Please refer:Host your own website using IIS7[^]Install IIS 7.0 and ASP.NET on Windows Server 2008[^]Describes how to install IIS 7.0 and ASP.NET on Windows Server 2008 and how to start Visual Studio with administrative rights.Running Web Applications on Windows Server 2008 with IIS...
7 Mar 2013 by Zoran Rubinic
Automatically creating sites in IIS from template
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.
11 Sep 2015 by Bimaln
How to fix the "Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine" error.
29 Jan 2012 by Espen Harlinn
HTTP Error 404. The requested resource is not found.Here is a link to a page that exists:http://harlinn.com/Blitz.aspx[^]Here is a link to a page that doesn't exist:http://harlinn.com/fantastic.aspx[^]Try entering a correct url ...Best regardsEspen Harlinn
24 Apr 2012 by Leonardo Paneque
I think something like this will do it please check if you have other rules...
9 Jun 2012 by Sandeep Mewara
Have a look here: MSDN: Troubleshooting Exceptions: System.Drawing.Printing.InvalidPrinterException[^]
1 Aug 2012 by Sergey Alexandrovich Kryukov
Oh, it does, don't worry. IIS "does not care" what to load, it will load whatever you reference via the client's HTTP request. Both jQuery and CSS files are purely client-side entities, so check up presence of the files and their path names in each HTML file using jQuery and CSS. Normally,...
12 Aug 2012 by Philip Stuyck
IIS can only be installed on the professional editon of windows.Well it's a bit more complicated than that see this link for more info :http://technet.microsoft.com/en-us/library/cc268241[^]Anyway try to see if it is available via the control panel | programs | turn windows features on...
26 Aug 2012 by hiteshprajpati
Now this problem is solved.By using .Net framework cleanup tool.I have uninstall .net framework 4.0 then re-install it.Also I have read articles for this error each article gives some useful suggestion so it helps a lot to understand the problem and how to solve it....
21 Sep 2012 by Sandip.Nascar
You can use the executiontimeout in web.config executionTimeout="3600" maxUrlLength="10000" maxQueryStringLength="80000" />This will solve your problem.cheers
17 Feb 2013 by Asim Mahmood
http://stackoverflow.com/questions/1039297/asp-net-running-an-exe-file[^][]
2 Aug 2013 by Hitesh K Gupta
I am working on a live streaming project. In that we need to show live scenes on local screens along with broadcasting. But for this, use of encoded stream is not a good choice as encoded stream has delay which can not be use as live feed. So I got an idea to create an archive file during...
23 Aug 2013 by Sergey Alexandrovich Kryukov
VB6? 64-bit instruction-set support? Just forget it.See, for example: http://stackoverflow.com/questions/1167102/can-a-vb6-component-be-compiled-to-64-bit[^].Of course, you can use it on 64-bit systems, bit only with x86 (32-bit) processes which are supported by WoW64:...
19 Sep 2013 by Kunal_Patel
Step for Host Web-site on iis server………………Go to start menu->Type IIS MANAGER ->Your IIS Manager Open and you Can See in Connection (Left Side) your PC Name->There is also Some Option like application pool, Sites->Default Website->Right Click On Default Website and Click To ADD...
25 Oct 2013 by Prasad Khandekar
Hello Rajesh,MSDN LibraryThe System.Data.Common namespace provides generic classes for working with data that let you write code that can work across different data providers, as long as the data is isomorphic. The programming model for writing provider-independent code is based on the use...
15 Dec 2013 by Nayan Ambaliya
Hi all, This issue of mine scratched my head and I am bald already..!!OK coming to the point, 1. One web application (.Net/C#) hosted on IIS 7 on Windows 2008 Server - running on port A - Application pool: Classic .NET pool, windows authentication ONLY 2. Another web application...
20 Dec 2013 by Mike Meinz
Two links with information that might help you.How to allow remote connections to SQL Server 2005 Express database[^]Configure the Windows Firewall to Allow SQL Server Access[^] Note that there will probably be firewalls and routers that block external access to the SQL Server. Those...
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...
26 Jun 2014 by Navin Pandit
Hi all,Many thanks to all of you for your nice reply and giving your time.I could fixed it, actually the problem was I have used "~" symbol in src. I replaced it with "../" and it started to work fine.Thanks once again to you.
13 May 2015 by Afzaal Ahmad Zeeshan
The main exception (HttpUnhandledException) would never give you a very good message of what the problem is. The problem in this context is in the inner message. Inner message states, Quote:Input string was not in a correct format.So, the solution is that you are not providing a string...
19 Jun 2015 by ss9o9o9o
Transferring backup files from a remote SQL Server and Dynamic SQL Connection with Restore utility.
17 Jul 2016 by Suraj Pant
In this post we will discuss a quickest way to create a secure website with self signed certificate.
26 Sep 2008 by Max Paulousky
This article describes MS TFS Proxy efficiency testing depending on the internet channel rate between TFS and TFS Proxy, TFS commands, and TFS Proxy cache state. Also, this article describes the advantages of using the MS TFS Proxy on slow Internet channels.
12 Jan 2010 by Unforgiv3n
well firstly check if your IIS is installedthen go to control panel and administrator tools then to internet information services then right click on default web site go to home directory and change the local path to a folder then save all your asp.net pages in that folder then go to...
11 May 2010 by suneer0000
Hi friend don't worry am giving u link this will be helpful for uhttp://msdn.microsoft.com/en-us/library/bb226707%28SQL.90%29.aspx[^]
9 Nov 2010 by Tamer Hatoum
hello ;Windows 2008 \ IIS 7 doesn't have the axd handler mapping set up by default for using Ajax so you need to put the following code into your web.config file if you want to use Ajax and are on one of our Windows 2008 hosting plans. ...
5 Feb 2019 by shiva2291
If I configured the site in IIS7 with ssl means I got the below error:Could not find a base address that matches scheme http for the endpoint with binding BasicHttpBinding. Registered base address schemes are [https]. In dev environment it is working fine as same it is not working in...
24 Feb 2011 by Sandeep Mewara
See similar issues discussed here and resolved:Link 1[^]Link 2[^]Link 3[^]Last link looks exactly same as yours.
26 Feb 2011 by Mohammad Al Hoss
I have a hosting on godaddy that supports IIS7, and I uploaded a simple .net application (3.5) and getting the error (500 (Internal Server) Error) the godaddy support told me to update my web.config but still getting the sane error, here is my web.config file.
13 Mar 2011 by strogg
There are no known ways of achieving it. Asp.Net keeps a hash of all the control id's & its possible values in a hidden field named "__EVENTVALIDATION".It cannot be meddled because it is also hashed using a server key which you will not know.So a good workaround for you is to maintain plain...
16 Mar 2011 by Sandeep Mewara
Error in itself is quite self explanatory. Your ASP.NET application is running on network account and it does not have the permissions to write anything in the folders specified.Two options:1. Either provide the access permissions to the network account2. Or change the account to...
18 Mar 2011 by Sandeep Mewara
Just like you would do a website on IIS7. Here: Deploying ASP.NET Websites on IIS 7.0 [^]
31 Mar 2011 by jarrodk1011101101
The problem has been fixed:Client Timeout Config = Server Timeout Config = IIS Service Timeout SettingAll three must be equal.
23 May 2011 by Sergey Alexandrovich Kryukov
Just a note.Thisif (lStrUsers.Trim().ToLower() == lStrCurrentUser.Trim().ToLower()){ btnInovisService.Enabled = true;} else{ btnInovisService.Enabled = false;}is exactly the same asbtnInovisService.Enabled = lStrUsers.Trim().ToLower() ==...
21 Jun 2011 by Ramalinga Koushik
Hope this[^] might help you.
7 Jul 2011 by Prerak Patel
Check the version of framework for your site.IIS > Right click on WebSite > Properties > ASP.NET > Version or from App Pool in IIS7It should match the version of your...
24 Jul 2011 by TheyCallMeMrJames
Well, I have heard a number of problems related to this kind of deployment. If Ajax requests aren't working, are you other page requests working (other than home)?My understanding is that you need to get .NET fully registered on the box and configure IIS in a gentle, convincing, friendly...
3 Aug 2011 by #realJSOP
What you're trying to do is impossible. Think about it. A web service truns on the server. If you put the Process code in the web service, it's going to try to open Notepad ON THE SERVER.I'm not even sure you can use the Process object in a silverlight app, either.
3 Aug 2011 by Sergey Alexandrovich Kryukov
It makes no sense. Instead, use System.Windows.Controls.TextBox for Silverlight, see http://msdn.microsoft.com/en-us/library/system.windows.controls.textbox%28v=vs.95%29.aspx[^].By the way, you can make much more comprehensive edit control out of it then the really lame Notepad. I have no...
3 Aug 2011 by Espen Harlinn
Take a look at this article:Start an executable from Javascript[^]Call the javascript from SilverLight:Silverlight Tip of the Day #15 – Communicating between JavaScript & Silverlight[^]As long as you are in IE this is an option - highly insecure though... you probably need to alter...
10 Aug 2011 by Brian C Hart
I have a client who has a main website (it's huge) rooted at (on my dev box)C:\inetpub\wwwroot\Website.com\trunkIt's controlled with Subversion (SVN) (sucks to be the client by the way because I think SVN is terrible, but that's just my "religious" opinion). Anyway, their whole website...
11 Sep 2011 by OriginalGriff
There isn't a whole lot we can do - we don't have your code, or any idea what is happening in the twenty minutes or so you say is the period between this problem occurring. I would recommend that you run it in the debugger, and try to see what object is null when the exception...
18 Sep 2011 by Babak Mahmoudi
I've done same procedure with no problems please make sure:1. You are using Thai calendars on ur sharepoint site.2. Attach to w3p process using right code type, i mean Native or Managed.3. Please make sure you are hooking the code at the right moment it takes a while before onetutil is...
6 Nov 2011 by OriginalGriff
Did you actually try doing what it says in the error message?"To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the...
7 Nov 2011 by thatraja
Here check these fix linksUnderstanding “A generic error occurred in GDI+.” Error[^]A generic error occurred in GDI+, JPEG Image to MemoryStream[^]When drawing an image: System.Runtime.InteropServices.ExternalException: A generic error occurred in...
19 Nov 2011 by RaisKazi
You can't call SOAP based WCF service this way. However you may call REST service from your aspx page which does not require any Service Reference.REST service can be called by using JQuery-Ajax.Have a look at below link.http://pranayamr.blogspot.com/2011/03/rest.html
22 Nov 2011 by Yogesh Pednekar
Go to c:\windowsright click on Tempgo to propertygo to security tabgive the full control access to all.I hope this will solve your problem.
26 Nov 2011 by RaisKazi
Answer based on your comment in Solution 1.Quote:Windows 7 Pro. I just dont know where to start, I have added the website but thats itHave a look at below link for "IIS installation on Windows 7".http://learn.iis.net/page.aspx/28/installing-iis-on-windows-vista-and-windows-7/You may...
4 Dec 2011 by Buaziz
The most common Url rewrite rules for IIS 7 and above.
10 Dec 2011 by thatraja
Brian C Hart wrote:I am going to kill the first person to tell me to use Response.Write or Server.MapPath or the tilde ~ because those functions are brainless, first because they don't allow you to use ".." and secondly because they are getting the website root wrong.:D Please don't.Better...
15 Dec 2011 by fjdiewornncalwe
Try a fully qualified path where you have $.post("/Games/PlayerAttendance",.That is pretty much the only thing that could be the issue with a 404.
26 Dec 2011 by Prerak Patel
You can specify a maximum file size up to 2,047 megabytes.Ref:http://support.microsoft.com/kb/925083[^]
2 Jan 2012 by Karthik Harve
It is quite common that we see names of the Thirdy party when use their library or tool in our application when it is free. In some cases we see even on licensed. So, removing that depends on which control are you using. In most of the cases we cannot remove those names since we dont have the...
18 Jan 2012 by nrgjack
no you can'tit depends on the OSVersionsIIS 1.0, Windows NT 3.51 available as a free add-onIIS 2.0, Windows NT 4.0IIS 3.0, Windows NT 4.0 Service Pack 2[10]IIS 4.0, Windows NT 4.0 Option PackIIS 5.0, Windows 2000IIS 5.1, Windows XP Professional and Windows XP Media Center...
11 Feb 2012 by Ganesan Senthilvel
The recommended Microsoft solution is to create a separate account. However, if your solution is small, you can instead add the 'IIS APPPOOL\DefaultAppPool' user as a database user in your SQL instance, then providing the proper 'User Mappings' to the databases you need the DefaultAppPool user...
20 Feb 2012 by bbirajdar
The query string length depends on browser. You cannot increase it from your code. The only solution AFAIK is to find another alternative approach to achieve the functionality. Depending upon various browsers here are the limitsIE5.0 IE6.0 IE7.0 -->1024 charactersOpera ---> 4050...
7 Mar 2012 by Ganesan Senthilvel
Below WMI script lists IIS directories. If you don't have any output, then the result is that MyMachine doesn't have IIS installed.for each item in GetObject("winmgmts://MyMachine/root/MicrosoftIISv2").ExecQuery("SELECT * FROM IIsWebVirtualDir" ) WScript.Echo item.namenext
5 May 2012 by Rahul Rajat Singh
I am sorry but since you are running Home edition you will not find IIS installed in your machine. You will have to upgrade to professional edition to do that. And as for how to do it see the Sandeep's answer for that.P.S. there are some article on web that talks about getting IIS on home...
8 May 2012 by axt_star
I'm now developing asp.net web site.Anyone notice me IIS has filters like TOMCAT?I would like to redirect my website by the local time.ex)9:00-18:00 is service available.The other is redirect non-service page.If Tomcat web server, this setting is easy to compile Jave and put...
6 Jun 2012 by PeerMohamedMydeen
I found it. site.Applications["/"].VirtualDirectories["/"].PhysicalPath = physicalPath;ThanksPMM
18 Jun 2012 by Manas Bhardwaj
One option, sort of using third party service monitoring tools, is to create a script that will send out an email (or other similar alert) and then configure the service to run that script when the service fails. 1.Go to the Services control panel 2.Right-click on World Wide Web Publishing...
19 Jun 2012 by Sandeep Mewara
Object reference not set to an instance of an object This error happens when you try to use a property or call a method of an object that is null. More details: here[^] Based on what you report, jobstatus = tsksch.Tasks(jobname).Status.ToString() //at this line i am getting error this...
2 Jul 2012 by Sandeep Mewara
When the error is 500, that means it's an internal error, meaning internal to the service - the service threw an exception that was not caught.Look in the Windows event logs on the server to see what went wrong.Also, try:- Go to menu Tools/Internet Options in your IE.- Click on the...
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...
30 Jul 2012 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Check these discussions. They might help.Should-i-host-my-wcf-service-in-iis[^].Windows-service-or-any-other-alternative[^].
30 Jul 2012 by Sergey Alexandrovich Kryukov
What is the difference between apple and Apple? See also my past answer: what is the difference between the class and encapsulation in programming[^].Isn't this quite obvious: such questions are not valid. This question in not completely incorrect, but can be greatly improved. You should...
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[^]
2 Sep 2012 by anish.karunakaran
hai all..I found it ...Pls do one thing ..go to >> C:\inetpub\wwwroot\then copy aspnet_client folder and paste it into the virtual directory you have created. its done......thank you.
11 Sep 2012 by Prasad_Kulkarni
Have a lookCommon HTTP status codes and the causes[^]Similar discussion:Forbidden: Access is denied. Error while browsing in IIS7[^]IIS 7 Authentication Prompt and 403 Forbidden Error[^]Windows 2008 IIS7 403 - Forbidden: Access is denied.[^]
12 Sep 2012 by Praveen Kumar Chauhan (PRK)
Sending Data Through XML to web Services
16 Sep 2012 by Prasad_Kulkarni
Have a look on similar QA:here[^]
21 Sep 2012 by Christiaan Rakowski
Using the executionTimeout parameter in the web.config can help solve the direct problem, but if you need to wait more than a minute it might be worth it to just kill the ASP.NET part and let "normal" C# take over, this way the user will be able to interact with other parts of your...
16 Nov 2012 by fixthebugg
This is my logout code. FormsAuthentication.SignOut()Session.Clear() Response.Cookies(Constants.CookieCompanyCode).Expires = Date.Now.AddHours(-1)RedirectToLogin()this is the meta section from master page:
3 Jan 2013 by Shailesh vora
Hi,I have created one website with the following code/* Following code will just access - open 100.20.20.20 Ip with specific credential and allow to access file --- START */using (System.Diagnostics.Process proc = new System.Diagnostics.Process()) { ...
9 Jan 2013 by njammy
You are not clear if the Home folder contains regular files or actual web apps and services.If these folders are just file folders then it should work under single virtual directory.If they are individual apps or services they need their own virtuals.
6 Feb 2013 by Mike Meinz
If you are within a company, then you need to talk to the person responsible for maintaining your company's DNS.If you are a private person with your own connection to the Internet, you can use Cloud DNS[^] to associate your domain name to an IP address. To do so, you must have your domain...
19 Feb 2013 by Member 8825505
unable to start debugging on the web server. the server committed a protocol violation. section=responsestatuslinei getting error where runnig asp.net website with VS10 and sql server 2008 R2please help..
8 Mar 2013 by Dustin Prevatt
I have deployed my website but when i pull the page it only seems to show the html. It doesn't show any of the asp controls that are on the page. Any help is greatly appreciated.
1 May 2013 by Thanks7872
The exception itself states that change the application's trust level in the configuration file. Have a look at ASP.NET Trust Levels and Policy Files and How to resolve Security Exception. This exception can be due to lack of proper trust level in the machine.config file on the server.You can...
19 May 2013 by Sergey Alexandrovich Kryukov
This has nothing to do with security, it's called gibberish: http://en.wikipedia.org/wiki/Gibberish[^].A Web application is always used by others, otherwise there is no point to develop it. If you simply want to give different level of access to different users, you need to introduce some...
11 Jun 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Refer - System.UnauthorizedAccessException: Access to the path "D:...\thumbs\5B62060C102F6363635A.jpg" is denied.[^].Quote:Instead of granting permissions to ASPNET user, grant permissions to NETWORK SERVICE user. Modify permissions within the folder should be enough, no need to give full...