Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Website and Virtual Directory accessing same folder

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Problem accessing Virtual Directory - I have an IIS 5.0 server with a Virtual Directory called test. This virtual directory points to a share on the network, and uses a valid domain account in the As" field. From an IE browser, you can access the virtual..

error 500 accessing virtual directory - I am trying to access a virtual directory on another computer (as UNC) within IIS 6.0. I am receiving an error 500 whenever I try to browse to any file under the vdir (via http). Yet from the IIS MMC, I can drill down into the same virtual..

Accessing a Virtual Directory over https only - I have created a virtual directory in IIS6 on a 2k3 R2 SP2 server that serves files fine when viewed over http, however I want to control access and do so securely to this dir so I first disable anon access and require basic which works..

login required when accessing a virtual directory.... - Hi, I'm using Win 2003 and IIS6 I have a web site (which is a one), and a virtual directory which run under another pool. the content of the virtual folder is displayed in IFrames under my first web site. I have a domain with a..

Virtual directory on network folder - I have this build on asp.net for uploading and reading files (mainly photos). I have created a virtual directory on IIS (ver.5 - win2k server) which I use for uploading the files. As long as this directory stays on the same server as the..
Next:  IIS: webDAV - documents being opened in readonly  
Author Message
Graham Cottle

External


Since: Feb 27, 2008
Posts: 2



(Msg. 1) Posted: Wed Feb 27, 2008 9:04 am
Post subject: Website and Virtual Directory accessing same folder
Archived from groups: microsoft>public>inetserver>iis (more info?)

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

 >> Stay informed about: Website and Virtual Directory accessing same folder 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 357



(Msg. 2) Posted: Thu Feb 28, 2008 12:34 am
Post subject: Re: Website and Virtual Directory accessing same folder [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
//

 >> Stay informed about: Website and Virtual Directory accessing same folder 
Back to top
Login to vote
Graham Cottle

External


Since: Feb 27, 2008
Posts: 2



(Msg. 3) Posted: Fri Feb 29, 2008 5:04 pm
Post subject: Re: Website and Virtual Directory accessing same folder [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"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 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]