IIS 7 Welcome Page not showing - asp.net

O/S: Windows 7 ,Home Premium
I have just installed IIS manager Express from Web platform installer and Turned on the IIS7 feature from the Program Feature in control panel.
Q) I was playing with IIS Manager (inetmgr) I was able to view the Welcome page on typing localhost but after adding some sites and deleting them I'm unable to see any site hosted on IIS and even can't see Welcome page of IIS
Note: I was assuming IIS switched off ,but its running
Services.msc from start menu > run
Progress:
After trying Update2 from "Andrei Drynov" here is the sanpshot

Is there page iistart.html in C:\inetpub\wwwroot?
Is the default web site there and running?
UPDATE:
You can you can uninstall and then install again IIS components like Default document, if you really want that welcome page:
UPDATE 2:
I was able to reproduce your issue by creating another web site with site1.com as a host name in Site Binding and removing the default web site. Remove the host name there and you will be able to open the welcome page again:

Is the default IIS website running? that means in the IIS can be on, but the website can still be stopped...try restarting the website...and then try --- right click on website>Manage Website>Browse...

Related

Getting You do not currently have a default Web page established for your users. when running VS2008 solution

I have website in VS2008. Created the Virtual directory in IIS 5.1. When I try and run the site to debug from Visual Studio I keep on getting:
Your Web service is now running.
You do not currently have a default Web page established for your users. Any users attempting to connect to your Web site from another machine are currently receiving an Under Construction page. Your Web server lists the following files as possible default Web pages: default.htm,default.asp,index.htm,iisstart.asp. Currently, only iisstart.asp exists.
To add documents to your default Web site, save files in c:\inetpub\wwwroot.
I have no idea why this is happening.
Can anyone help me?
If I understand correctly, it may be as simple as this:
In Solution Explorer, right-click on the page you want to be the default page and click "Set as Start Page".

How to set up a asp.net application on IIS

I've copied a whole folder which keeps a website inside from a web server to another computer.From the original server I can easily run the web application. Now I need to know what exactly I have to do in order to be able to run the application on the second computer too. I think there are some special considerations with IIS. What and how do I have to set up in IIS?
Follow these steps.
create a new site from left menu By right clicking and add new website.
Give physical path to that folder
Map with the site url
Give permissions to Directory as (like everyone)
Set up the default page if (index page is not present in the directory)
Set framework which ever you are using.
Install the IIS Windows component for whatever version of Windows you're using.
Create a new site in IIS
Point this new site to your web root
Configure DNS for the site (maybe using your hosts file)
There are some considerations to make depending on which version of IIS you are using. It would be helpful to know if you are using 6 or 7.
If you are under 7, you need to copy the site to your IIS directory (typically wwwroot) and then setup the basic settings in IIS by choosing your application pool and such. Application pools are typically (but not always) setup by .Net Framework. You may need to setup your default page and set it as an application. There are many blogs and sites out there that will tell you how to setup this basic functionality but are specific to your application.
For configuring IIS
1. Firstly, in Programs and features go to Turn on and off windows features...in that tick everything under IIS..go to sub folder and tick everything everywhere
Go to Internet Explorer> Setting> Internet Options> Advanced> untick Show friendly http error messages option
Go to IIS manager
a. In default application pool> advanced settings > Set true enable 32-bit program option
b. Go to Asp> setting> expand debugging properties> there will an option of error messages some 2nd last or last option that would be false...set it to true..apply changes
Run vbscript and asp only in Internet Explorer (edge 10 in developer options for pop ups)

FTP Error 530 User cannot login

I am trying to FTP to a new FTP site I setup with IIS 7.0 for the Windows Server Web (64-bit) edition. But I get the above error when I try to login to this site. But I can login to my other FTP sites.
Also, when I select this website from IIS Manager, the FTP section does not display in the middle section although it does display in Action panel. And I cannot successfully login to this FTP site either.
I have checked and I have Log on locally selected. I do not have allow only anonymous connections. I have Access this computer from the network selected.
I restarted my IIS and FTP services also.
The one different thing I noticed about this website in IIS different from the other site that has FTP working is that this one there are 3 virtual directories beneath the site. And that when I click on any one of these 3, then the FTP strip does appear in the center pane. Make sense?
How can I debug cause of this error? Any SW tools I can use?
I figured out this problem. Problem was I had two instances of IIS: 6 and 7. I was modifying the wrong instance.

Unable to access asp.net website after setting asp.net version to 2.0 in IIS 6.0

I have an asp.net website that has been running well in IIS 6.0. I very well remember the sites ASP.NET version was set to version 2.0 in IIS but i just checked and found the version set to nothing. If i click the site asp.net version dropdownlist in IIS, i can see two options(1.1.4322 and 2.0.50727).
The problem is i set it back to 2.0 and now the site can nolonger be accessed both remotely and locally.
And i cant set it back to "nothing" since the version dropdownlist only has two options( 2.0.50727 and 1.1.4322).
Any ideas what could be going wrong.
Below is what i get in the browser
The page cannot be found The page you
are looking for might have been
removed, had its name changed, or is
temporarily unavailable.
Please try the following:
•Make surethat the Web site address displayed in
the address bar of your browser is
spelled and formatted correctly.
• If
you reached this page by clicking a
link, contact the Web site
administrator to alert them that the
link is incorrectly formatted.
•Click the Back button to try another
link. HTTP Error 404 - File or
directory not found. Internet
Information Services (IIS)
Technical Information (for support
personnel) •
Go to Microsoft Product
Support Services and perform a title
search for the words HTTP and 404.
• Open IIS Help, which is accessible
in IIS Manager (inetmgr), and search
for topics titled Web Site Setup,
Common Administrative Tasks, and About
Custom Error Messages.
This is the culprit
http://blogs.msdn.com/b/webtopics/archive/2010/06/14/iis-6-applications-may-stop-responding-after-you-install-microsoft-update-kb-982666.aspx
​​​​​​​​​​
It sounds like .NET isn't properly installed on your IIS website.
Try to open a command prompt, step into %windir%\Microsoft.NET\Framework\v2.0.50727\ and run aspnet_regiis.exe (use the directive -? for help). If you only run one IIS website on your server you can run aspnet_regiis.exe -i
Hope this may help you.
.net 1.1 and .net 2.0 don't get along well on IIS 6.0. You must run one of the frameworks in a different app pool - so, for every 1.1 website, for example, run it in a new app pool (other than the default).

Getting 404 with locall IIS 7 served page

My setup:
Vista 64-bit PC (my local PC)
IIS 7 obviously
VS 2008
I setup a new "Application" manually under the IIS default site. It's running.
The application is pointing to the correct directory (where my default.aspx exists)
I've setup this same exact setup on our dev server running Server 2008 and it runs fine
But for me, when I go to http://localhost/MyAppName I get a 404 not found.
I have no clue why.
So since that did not work and still got a 404, then I tried instead changing from using the VS web server to using IIS in my web project properties in the "Web" tab in VS 2008. Then clicked the "Create Virtual Directory" button and it created a new Application in IIS for me. Same thing though. If I go to that address, I get a 404 on my local machine where it's running.
Ok, I had not installed the IIS 6 functionality of IIS in Vista. I did not know it still used legacy features in IIS 7 to run sites locally....I guess. Not sure why but I guess it uses these IIS6 features. Will have to research why it's dependent on this stuff.
Do you have the home directory to look for "default.aspx" as the default page?
A couple things to check:
First, look at your access logs to see exactly what request is getting logged.
Check your IIS config - you may have a default.aspx page, but is IIS configured to use that as one of the default pages? If you go to http://localhost/AppName/default.aspx do you still get a 404?
If you put a static test.html file in the same directory, can you access it?
These should all help determine the cause.

Resources