"David Wang" <w3.4you.DeleteThis@gmail.com> wrote in message
news:f68acff4-c899-4371-9a9b-3f8907285dc2@k2g2000hse.googlegroups.com...
On Feb 27, 3:36 am, "Graham Cottle" <nos....DeleteThis@kcc.com> wrote:
> Hello,
>
> I created a new ASP.NET 2.0 Website on a SBS Server, with a non-standard
> domain name, deliberately shortened so that the Intranet users could find
> it. I created a local DNS CNAME entry on the server and it works just
> fine.
>
> Now the server owner would like to have external access to the site - They
> already have an external facing site which serves such things as Outlook
> Web
> Access.
>
> I created a virtual directory for the external site, pointing to the same
> folder as before and set it up as an application. This took out the
> internal
> site. When I removed the application, leaving the virtual directory, the
> internal site was restored. I need to create the virtual directory as an
> application as it will not run otherwise.
>
> Is there a way to do this, or do I need to copy the folder and then have
> the
> external facing virtual directory pointing to that instead? I was hoping
> that I can have both sites pointing to the same folder to ensure there is
> only one set of files to update.
>
> Thanks
> Graham Cottle
There are no IIS restrictions on the number of websites and virtual
directories pointing at the same folder.
However, different websites and virtual directories may have different
Application Pools or other runtime differences that conflict to the
point that it takes the internal site down. For example, your website
may be .Net 1.1 and your application is .Net 2.0, and moving them from
website to virtual directory may have caused conflicting versions
of .Net Framework to run inside the same process, which does not work.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
All becomes clearer. I think that must be the case. I contacted the guys who
run the server for my customer and they suggested that we create an
additional external facing website on a difefrent port, which will then
overcome the issue.
Many thanks for your assistance
Kind Regards
Graham Cottle
>> Stay informed about: Website and Virtual Directory accessing same folder