Click here to Skip to main content
15,904,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to deploy a web application in IIS when builded in Visual Studio?

When I build the solution in Visual studio,the web site must be deployed in IIS.Can any one give me clear idea about this?
Posted

1 solution

There is many way to Publish on IIS .
Here is Step , Try it....

I) Method ---

a. Identify where is your project in your drive.
b. Right Click on My Computer Icon then -->Manage-->Internet Information Service Then Right Click Default Web Site --> New-->Virtual Directory Then
Locate Your Website.


Then Run Browser :http://localhot/test.aspx


II) Method---

If Your Web site is http Type then Your Web site already Publish.
You can run one time your website then You can Access Your site through Direct Write Your : http://localhost/test.aspx
 
Share this answer
 
Comments
Vikas_Shukla_89 10-Nov-11 5:13am    
well explained..
u can also try it..
first publish your website..
1.go to run command>> type inetmgr >>enter
2.follow first step //steps may different bcoz it depends on operating system
3.right click on your website and click on browse.
4. now close all the window, go to run command >> type iisreset >> press enter
5. open explorer and type : http://Servername/ur Directoryname/pagename.aspx

hope this help u...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900