Click here to Skip to main content
15,890,412 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 Updated

IIS 7.0 

19 Jan 2011 by #realJSOP
You could always just include encryption in your source code. Here's a CodeProject article that might help:Gnu Privacy Guard (GPG/PGP) for .NET [v1.0][^]
18 Mar 2011 by #realJSOP
Try putting the file into your web site's virtual directory somewhere.
18 Mar 2011 by #realJSOP
0) What does a request trigger on your web site?1) Why aren't you using a web service for this?
29 Mar 2011 by #realJSOP
0) Change your stored proc to change the query based on whether the specified date range results in a single day, or a range of days. 1) Adjust your query so that it's built dynamically, and it either queries for a range of dates, or for a single date, depending on how the specified date...
29 Mar 2011 by #realJSOP
Try using SqlDataReader.BeginExecuteReader. It's the asynch version of ExecuteReader and requires a bit more work pon your part, but it may address your problem. Having X million records to search doesn't help anything either.
20 Apr 2011 by #realJSOP
Scott Gu has something in his blog, and google shows OVER 1.5 MILLION results when you google "asp.net url rewriting":Scott Gu's Blog Entry[^]
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.
26 Aug 2011 by #realJSOP
You can't access folders or files outside the virtual folder where your web site lives. It's a security thing. The only thing you can do is move the desired file to a place INSIDE your web site folder.
21 Sep 2011 by #realJSOP
Have you run your site under the debugger to see if it's throwing an exception that you're ignoring?
27 Dec 2011 by #realJSOP
If you're running Windows 7 Home Basic, it won't work. You have to upgrade Windows to a more capable version.
9 Mar 2013 by $ultaNn
i am using windows server 2008 , cannot add user credentials to access the specified physical pathI have created a website using asp.net and i published that site to c:\...\wwwrootand i add that site in IIS6 bystep in the way i Added1: I clicked "Add website"2:i gave Site...
13 Aug 2014 by $ultaNn
i have a website on my server and my company user Proxy server when i try to get IP address from client machine its giving me Proxy IP address not client machine IP address i want to put Proxy server credential in my application to bypass the proxy and get the client machine IPplease...
2 Feb 2015 by /\jmot
Ref .http://stackoverflow.com/questions/10801340/http-error-500-19-internal-server-error[^]http://stackoverflow.com/questions/929131/how-do-i-resolve-http-error-500-19-internal-server-error-on-iis7-0[^]
21 Jun 2011 by 2irfanshaikh
try doing aspnet_regiis.exe -i in Visual Studio Command Promt
21 Jun 2011 by 2irfanshaikh
How do I change my Database server? Or How do I make a proper Database server? Install Sql server. Attach the App_Data database in Sql Server.Change the connection string in the IIS7 Website's web.config file.
19 Aug 2012 by _Amy
Yes, because your website is not deployed correctly, that is why you are getting this error.Refer the links below:Steps of quick deployment of Asp.net applications into IIS from Visual Studio 2010[^]Deploying a Web Application Project Using a Web Deployment Package[^]Here[^] is a pdf...
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....
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.
9 Jul 2013 by _Asif_
I beieve same question has been asked belowhttp://forums.iis.net/t/1192711.aspx/1[^]
3 Feb 2015 by _Asif_
Well i guess you first start reading some elementary books regarding database. Then follow below link to start doing some experimentation.Working With Data (Beginners Guide to Database in ASP.NET Web Pages Part 1)[^]
15 May 2013 by _Damian S_
Build your code in DEBUG mode in Visual Studio. Set a breakpoint in your code. Press F5 to start debugging.
8 Jul 2013 by _Damian S_
The Connection Strings functionality in IIS would exist if you wanted to provide a connection to your SQL Server to all users of the IIS, rather than having to maintain specific login details in your web.config. If you have already done it in your application, there's no need to set up your...
8 Jun 2012 by _Dhull
hi all* I have designed an web application in visual studio 2008 and report is generated in crystal report. It works fine in development server. But if i deploy on IIS7 then i got following error No printers are installed.Description: An unhandled exception occurred during the...
18 Mar 2013 by _Maxxx_
I would imagine you need to look at the documentation for your camera. If it has an IP address then it should be able to talk to your web server directly (more accurately, your server should be able to talk to the camera!) So you need to configure the router at the client to allow you to talk...
5 May 2015 by AANIL DHAKAD
Hello Friends, I am facing problem with integrating Bio metric device of Secugen Hemister Plus. I describing steps that I have done with this.1. Install the driver of device2. Install finger print recorder application3. run Finger Print Recorder application, it is working fine at...
10 Jun 2012 by aazish
im working on asp.net when i invoke my website project localhost not responding but when i run my website address using 127.0.0.1 it works.please let me know why local host not working?
9 Apr 2010 by Abdul Quader Mamun
ASP.NET provide features to develop appllication for mobile devices. System.Web.Mobile namespace is devoted specifically to mobile Web development.
14 Aug 2012 by Abdul Quader Mamun
Custom TreeView web user control for parent child relatioinal data upto infinity
9 Nov 2012 by Abdul Quader Mamun
To develop scalable applications, effective paging is essential. Devoid of smart and effective paging and sorting to handle thousands of thousand data takes extra time and system resources.
25 Apr 2013 by abdussalam143
try these settings.
4 Sep 2008 by Abhijit Jana
This article describes some features and architecture of IIS 7.0 and deployment of ASP.NET sites on IIS
7 Aug 2014 by Abhinav S
This thread[^] could solve your problem.
17 Sep 2015 by Abhinav S
Check the server's collation. Different collations can have different effects on date and time.Example - http://www.sqlservercentral.com/Forums/Topic835597-146-1.aspx[^].Some sites suggest using yyyymmdd hh:mm:ss to store dates and times.
24 May 2015 by Abhipal Singh
As the error said, you have to be Administrator of the machine whose IIS is being reset by your command.Also, make sure you are running your command prompt/batch file in Administrator context.Following are the commands I use to do the job.iisreset %ComputerName%...
25 May 2015 by Abhipal Singh
It looks like you AppPool User does not have rights to login on your database.Make sure that the AppPool User being used by your website have sufficient rights to connect and execute commands on your database.
15 Nov 2012 by Abhishek Pant
hi,this may help you.HTTP Error 404.17 - Not Found[^]Obscure Problems and Gotchas1 [^]
23 Feb 2010 by Abhishek Sur
Well, if you publish your application, your network can browse the site using its url. Say your ip is 192.168.1.11and you publish a site to this IP to port 80, the network users can connect http://192.168.1.12/to get the website unless you block the http port using firewall. There is...
20 Oct 2014 by Abhishek Tiwari
Hi all,I have an ASP.NET application deployed in production on 4 servers for monitoring the enterprise website features from production support viewpoint. Servers are running IIS 7.The same application works on 3 servers as is, but it doesn't work on 1. All IIS and AppPool settings are...
19 Aug 2014 by AbidHussain128
Hi,Change the app pools identity from ApplicationPoolIdentity to 'Localsystem'.IIS >> Application pools >> Select your Website Application pool >> Advance Setting Then Try.
30 Jul 2013 by abusedbydev
Running web app on iis 7 with asp.net 2.0. see code below --
19 Jan 2015 by AdamASPGeek
Hi shailesh,Please check the tutorial about how to deploy asp.net mvc on shared hosting[^]. Maybe it will help you!
4 Feb 2015 by AdamASPGeek
Hi Bahadur,You need to check full error message on the server. 500 internal server error is generic issue.
2 Mar 2014 by addy1608
Hi All, I have created and published a WCF application on my local computer. I want to make use of the service for other remote devices too. The service could be invoked from any part of the world. I did browse through the internet, all i came accross was hosting on your own IIS...
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...
10 Jun 2013 by Ahmed Bensaid
Hello,You need to set it as as an application in IIS. Right click the folder, open the properties and look for an option that says make application or something like that.Hope it helps ;)
15 Feb 2008 by Ahmed Kahwaji
Generate and configurate digital certificate using IIS 6.0
7 May 2014 by ahp-1984
HI my, I have Site ASP.NET application Which has Buttons and Text Boxes and it is Working in IE8,IE9.However its not Working in IE11. (i.e. Controls are missing On Pages i.e. TextBox,Button) But IF I set or Add this Site in Compatibility mode it Work's.But I don't Want to add this is...
29 Jan 2014 by Ahsann90
Try to publish your website again.
10 Mar 2014 by Ainy Mughal
http://support.microsoft.com/k...
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.
24 May 2015 by ajitdstar4u
hello Team, need your expertise to resolve the problem.i have a web application deployed usinf IIS 7.0 in my DEv enviroment. but when i try to browse i am getting below error.Exception Details: System.Data.SqlClient.SqlException: Login failed for user '####'. please find the...
28 May 2015 by ajitdstar4u
Guys at last i got the solution for this problem, it was lies with the user ID and password what my application is using to connect the DB(to access the). the user say user AB had some of privileged for access to Sql DB. for some reason it was lost so in IIS when i am trying to browse the Web...
29 Oct 2010 by AJThomas12
A project of mine requires that I call a dll using php via a COM object call:$obj = new COM("SimplAt1Com.SimpleObj") or die ( "Unable to instantiate the COM!");This call seems to work ok but the moment I try to call a function from the object using:$result = $obj->put_Name("A")...
29 Oct 2010 by AJThomas12
E,Thanks for the post.I tried what you suggested...I get the error:Fatal error: Call to undefined method com::put_Name()Do I have to 'define' method's?If so, is it done in the dll code or in my php script??hmmmmmmm....I think I may have just answered my own...
28 Feb 2013 by akgüvercin
Hi,i hope that somebody can help me .. i'm desperate.I am working on a Windows Web Server (32bit) machine and i am running IIS 7 with asp.net 3.5.The Problem: I cannot acces my website (pizza-seewoog.de) externally. If i try to access the website locally everthing works fine.I...
11 Apr 2012 by akosidab
Hi,I have a web application, when I run it in Visual Studio 2010 then there's no problem. I were able to connect to my database (select, update, delete) from my web app.But when I deployed my application to IIS7 I encountered the below error. Please kindly advise if you know the cause of...
7 Dec 2011 by Al Moje
Hi,If you have a master page then put the trapping inmasterpage code behind.Example code:In you login page code behind should content Session["UserId"] = user.UserId;protected void Page_Load(object sender, EventArgs e) { ClientScriptManager s =...
7 Aug 2007 by albert arul prakash
XSS gaining popularity to hack into websites. This article describes how to power yourself against XSS
15 Aug 2015 by Ali Al Omairi(Abu AlHassan)
I have a shared folder on the server with an approximate size of 54 GB. I want to make it accessible from a web application by mapping it to a virtual directory on IIS.My question is:Does it make any problem with the IIS if I create that virtual directory?
20 Jun 2012 by Ali_100
Hi, folks,Actually we are accessing a remote pc having IIS7,while creating Vdirectory,as click on test setting the error of authorization display.Kindly guide me CLick here for the imageThanks
23 Apr 2013 by Ali_100
I am getting the exception , i cant able to understand that,,I copied it from Event viewer.Log Name: ApplicationSource: ASP.NET 4.0.30319.0Date: 4/23/2013 5:17:51 PMEvent ID: 1309Task Category: Web EventLevel: WarningKeywords: ClassicUser:...
24 Apr 2013 by Ali_100
I solved it by the help of this linkhttp://www.devexpress.com/Support/Center/Question/Details/Q343381[^]
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 !
12 Mar 2013 by Alysson Moulin
Hi!Guys, in my company we have the scenario bellow:Several applications published in the same IIS virtual directory, using the same "bin" folder to publish the DLL's and under the same application pool.In a long time ago, in a galaxy far, far away, we had to do this because we wanted...
18 Aug 2014 by Am Gayathri
I have created one asp site.I want to host the site in my local IIS.Below are the steps i am following:1. Publish the site2. Open IIS 7.0.Right click new -> add web site3. Selecting my published path.Then ok.But when i try to browse am getting below error.HTTP Error 500.19 -...
22 Oct 2014 by Am Gayathri
How can i create a website in IIS7?I tried to follow below steps but it doesn't work. http://technet.microsoft.com/en-us/library/cc772350%28v=ws.10%29.aspx[^]in my case, i have developed one asp site and i have published that in to one folder.I tried to add new website (Rightclick->add...
23 Oct 2014 by Am Gayathri
I have created a website which contains more than 10 pages.Here one page will do some kind of extraction of data and create pdf files.This should happen on daily basis at midnight.I have written the code in pageload of one page (say job.aspx) so when i run this page this process will happen(ie...
5 Mar 2014 by Amalraj Ramesh
Hi its simple Host your site in local IIS and then access to another system via IP Address For Example Your IP: 19.168.1.2 Website Host PortNo : 2013 In another system open browser typehttp://19.168.1.2:2013
11 Apr 2012 by ambarishtv
try this http://blogs.msdn.com/b/jongallant/archive/2009/05/02/solution-to-the-format-of-the-initialization-string-does-not-conform-to-specification-starting-at-index-0-exception.aspx[^]
21 Mar 2014 by ameymh
I am doing project in .net using Microsoft visual studio 2012,ASP.net,WCF,IIS,windows 7 and while updating service references from client side i get error as follows..There was an error downloading 'http://localhost/Srvc/RDService.asmx/_vti_bin/ListData.svc/$metadata'.The request failed...
20 Jan 2014 by Ami2014
Hi,I have dot net c# application which is using VS 2010 with Mysql.I have installed Crystal Reports 13.0.I can run reports made in above tool on local server but on IIS 7.5 reports are not running.Have been struggling for last more than 2 weeks but not found any solution for...
13 Jun 2012 by amin uddin cs
I have a webservice which is script enable. I try to get data from server by jquery ajax method with json format. when I run it in local machine it works fine but not after host in server. I have catch the bug by fire bug "500 Internal Server Error". I am trying to solve it to search in google...
11 Dec 2011 by AmitGajjar
Hi,please check this MSDN forum[^]this may help you,thanks-Amit.
14 Feb 2012 by AmitKumar89
Hi there, You can share the website in local area network only. A computer connected to your computer using LAN can only access that website.. If you are thinking that after hosting your site in IIS any one can access it, then you are wrong..Go ahead with LAN.. :)
12 Jul 2011 by amitthk
Custom Membership and Role Providers, a website administration tool, and Role based access to individual files.
15 Dec 2007 by ammar_shaker
14 Feb 2007 by Amod Deshpande
This article gives an overview of various authentication mechanisms for applications on Windows. It also touches upon upcoming technologies like CardSapce and OpenID. It concludes with relating the development of new authentication mechanisms to be evolving with a basic need for SSO.
10 Feb 2020 by Amogh Natu
Hi all,I'm facing a really weird scenario here with my local IIS. I have hosted multiple sites in the default website in my local IIS. One of them has the login page. From the login page, I'm redirecting the user to another page that is located in another site (which is also hosted in the...
21 Oct 2013 by Amogh Natu
Indeed, the problem was with the way I had hosted the sites in my application. I just removed all the sites related to my application from IIS and then hosted all of them again much more carefully. This resolved the "wrong redirect url" problem. Also, I had some tables with missing required...
2 Feb 2015 by Amresh Bahadur Singh
HTTP Error 500.19 - Internal Server ErrorThe requested page cannot be accessed because the related configuration data for the page is invalid.
24 Aug 2015 by Amrut Bishnu
Hi All, I am facing a difficulty when I try to access larger SSRS reports(hosted in another server) from my application(different server). I have a report server(SSRS), an application server(IIS) and a database(Sql server).When I try to open reports in application, it calls ssrs...
24 Aug 2015 by Amrut Bishnu
Hi All, I have some dlls to update in an application, but the application is currently being used by a no. of users. Is there any process to stop the IIS for 1 mins or something like that and update the dlls? Also there is another problem, if a user is doing a transaction and I...
27 Oct 2012 by Anand Ranjan Pandey
The purpose of this article is to create a proof of concept to demonstrate the feasibility of ASP.NET Web API Beta Version.
8 Dec 2008 by Anas Karkoukli
A new implementation of the Custom Profile Provider for ASP.NET 3.5, using LINQ, Workflow Foundation, and the Responsibility-Centric-Singleton DataContexts pattern.
30 Dec 2007 by Anders Revsgaard
No matter how well you design your system, a distributed SOA application is always complex. When a SOA application fails, it can be difficult to track down the cause of the problem and the Web service where the error occurred. To handle this difficulty, you need a logging system such as UptoLog.
30 Dec 2007 by Anders Revsgaard
No matter how well you design your system, a distributed SOA application is always complex. When a SOA application fails, it can be difficult to track down the cause of the problem and the web service where the error occurred. To handle this difficulty, you need a logging system such as UptoLog.
4 Dec 2014 by andrian_b
My application have to create sites programmatically. Application worked just fine until code "ServerManager manager = new ServerManager()", here is making redirect to login page. I think the problem is that application do not have administration rights. who is familiar with IIS7, please help...
4 Dec 2014 by andrian_b
I am working first time with IIS. I made an asp.net-mvc-4 application which have to create a new web site. All worked fine on the server until I installed Microsoft.Web.Administration class library. Server gave me this error:"The Role Manager feature has not been enabled." After I made these...
22 Feb 2014 by Andrius Leonavicius
Hi,You can use the Microsoft Web Platform Installer to install IIS and applications that run on IIS:Microsoft Web Platform Installer[^]But you're not the only one with this problem. Microsoft knows about it and gives a solution:You receive error code "0x80073712" or the "Windows...
25 Jun 2015 by Andy Lanng
Ok - this could be super simple.First: you won't see the full error with error reporting turned off. Find out more here:Custom Errors in ASP.NET[^]It appears that your code is .Net3.5 (at least) but your app pool is running 2.0.You can find out how to install 3.5 and run your app...
8 Jul 2015 by Andy Lanng
Hi,So close to a UAT version of my website.I have made strides in design and my mgr wants me to push to UAT so the client can have a look at how pretty the site is.I published locally and copied the files over to prod.No none of my resources can be found.Here, see for...
15 Feb 2013 by angelvarun
Hi, I have created a WCF Rest service in framework 4.0 which returns a xml document. I viewed it in browser by right clicking the svc file in the solution, and it is fine. The URL to get the response xml on my local machine is http://localhost:50052/Service1.svc/GetDocument/However, the...
14 Feb 2013 by angelvarun
The WCF REST service can be published from the site itself and directly be hosted.
21 Aug 2013 by Anh Nguyen Trong
Let try this:Cache pageResponse.Cache.SetExpires(DateTime.Now.AddSeconds(60));Response.Cache.SetCacheability(HttpCacheability.Private);Defragment cache:
22 Aug 2013 by Anh Nguyen Trong
Let try this for all page.Web.config
13 Aug 2012 by anish.karunakaran
hai,i have configured my iis and hosted the application. all it works fine except crystal report. VS2008 is am using with sql2008 r2.My OS is windows 7 and iis7 am using.crystal report 10.5.0.1943 is am using.crystal report's tool bar is wage(ie shows 'submit query' instead of buttons)...
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.
20 Jan 2011 by anjali.l2003
Adding .asp extension in IIS7 Windows Server 2008
9 Sep 2010 by Ankur\m/
403 Forbidden is a HTTP status code returned by a web server when a user agent requests a resource that the server does not allow them to.Reference: Wikipedia- HTTP 403[^]So you see there can be various reason for this.Can you check Event Log and IIS Logs? If yes, check for a...