<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2038134020073746395</id><updated>2011-04-21T16:28:22.339-07:00</updated><category term='MOSS'/><category term='IIS'/><category term='ASP.NET'/><title type='text'>SharePoint Geek</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mossgeek.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2038134020073746395/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mossgeek.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ajit Singh Shekhawat</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://lh5.google.co.uk/shekhawatajit/RzLj3rwIxCI/AAAAAAAAACc/8QL59ty6OEY/Ajit%20003.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2038134020073746395.post-7052012408808473117</id><published>2007-10-04T03:56:00.000-07:00</published><updated>2007-10-04T22:42:09.810-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>MOSS and ASP.NET on same IIS but different Web Sites.</title><content type='html'>Using localhost for ASP.NET development is a common practice. After installation SharePoint on local machine (for developers learning task), web aaplication on port 80 will be stopped and a new web extended application will be created.&lt;br /&gt;&lt;br /&gt;All is okay with this approch, but when a developer try to use localhost as ASP.NET development, Visual studio 2005 will not create site on localhost and gives an error. In this article, I am presenting a approch for resolving this issue.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Issue with creating ASP.NET site on SPS extended web application&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTW1GO9suI/AAAAAAAAAAM/aoQmLopSGQY/s1600-h/1.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5117451284294513378" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 502px; CURSOR: hand; HEIGHT: 356px" height="307" alt="" src="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTW1GO9suI/AAAAAAAAAAM/aoQmLopSGQY/s320/1.PNG" width="492" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTXWGO9svI/AAAAAAAAAAU/JyABsgUi0TQ/s1600-h/2.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5117451851230196466" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 327px; CURSOR: hand; HEIGHT: 67px" height="89" alt="" src="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTXWGO9svI/AAAAAAAAAAU/JyABsgUi0TQ/s320/2.PNG" width="345" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolution &lt;/strong&gt;&lt;br /&gt;For resolving this issue, We have to create another web application on IIS on same port (If you want to use same). Steps are here&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;1. Create a physical directory on file system.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;This directory will be used for mapping IIS web application. I have create 'ASPNETROOT' directory under C:\Inetpub by giving command "md C:\Inetpub\Aspnetroot".&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;2. Create a new web application on IIS&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Start -&gt; Run -&gt; inetmgr &lt;/li&gt;&lt;li&gt;Right click on Web sites in Inetmgr&lt;/li&gt;&lt;li&gt;New -&gt; Web Site&lt;/li&gt;&lt;li&gt;Press Next&lt;/li&gt;&lt;li&gt;Put path of newly created directory in step one. In my case it is C:\Inetpub\Aspnetroot. and press next&lt;/li&gt;&lt;li&gt;Fill discripation. I choose ASP.NET Site. Press next&lt;/li&gt;&lt;li&gt;Fill header value. Don't leave it blank. I filled in my case ASPDOTNET. Press Next&lt;/li&gt;&lt;li&gt;Press Next&lt;/li&gt;&lt;li&gt;Press Finish.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Pictures are here for your reference.&lt;/p&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117453444663063298" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_Vc7ne-_pwpA/RwTYy2O9swI/AAAAAAAAAAc/pylBsTBt3UI/s320/3.PNG" border="0" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117453818325218098" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_Vc7ne-_pwpA/RwTZImO9szI/AAAAAAAAAA0/DN3efvAaxDk/s320/6.PNG" border="0" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117453594986918674" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_Vc7ne-_pwpA/RwTY7mO9sxI/AAAAAAAAAAk/iyGXD4mMjX0/s320/4.PNG" border="0" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117453715246002978" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_Vc7ne-_pwpA/RwTZCmO9syI/AAAAAAAAAAs/A6zVO56L5vA/s320/5.PNG" border="0" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117454479750181698" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTZvGO9s0I/AAAAAAAAAA8/ZipaxpEgfKw/s320/7.PNG" border="0" /&gt;3. Make it entry in hosts file&lt;/p&gt;&lt;ul&gt;&lt;li&gt;you can locate 'hosts' file in C:\&lt;windir&gt;\system32\drivers\etc folder. Note that this file does not have any extension and it is only a plan text file. you can open it with notepad.&lt;/li&gt;&lt;li&gt;You have to add you new wesite in this file&lt;/li&gt;&lt;li&gt;reset IIS by command iisreset.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5117454617189135186" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTZ3GO9s1I/AAAAAAAAABE/RS4l2EZtMsU/s320/8.PNG" border="0" /&gt;&lt;/p&gt;&lt;p&gt;Create your ASP.NET apps on newly created web application instead of localhost. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2038134020073746395-7052012408808473117?l=mossgeek.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mossgeek.blogspot.com/feeds/7052012408808473117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2038134020073746395&amp;postID=7052012408808473117' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2038134020073746395/posts/default/7052012408808473117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2038134020073746395/posts/default/7052012408808473117'/><link rel='alternate' type='text/html' href='http://mossgeek.blogspot.com/2007/10/moss-and-aspnet-on-same-iis-but.html' title='MOSS and ASP.NET on same IIS but different Web Sites.'/><author><name>Ajit Singh Shekhawat</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://lh5.google.co.uk/shekhawatajit/RzLj3rwIxCI/AAAAAAAAACc/8QL59ty6OEY/Ajit%20003.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Vc7ne-_pwpA/RwTW1GO9suI/AAAAAAAAAAM/aoQmLopSGQY/s72-c/1.PNG' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
