Solved

virtual directory in asp.net to another server problems

Posted on 2009-05-04
3
569 Views
Last Modified: 2012-05-06
I have two servers .
one server called 'data'  it has sql data bases and IIS intranet on port 80 for internal webs.
Other server  called 'web'  under IIS one web site is called WWW on port 80 and anonymose for internet access. The next is Intranet on port 443 via a link from www. This Intranet is a copy of the internal intranet on the data server. Everything uses sql data from the data server.
No physical data exists on the web server. The entire www is a virtual folder kept on the data server hard drive. The entire Intranet is a virtual folder that is the same intranet as the internal one , and kept on the data server.
Everything on old asp works fine. ASP.net doesnt work .
The point is to have one central location of the Intarnet asp pages so not having to keep a copy on both servers. I wanted the Data server kept away from the direct internet connection.
Could this virtual folder work to another server share ?
I get confused over the web.config
I tried creating in another application pool ... in IE page display "service unavailable"
Any ideas please.

iisweb.bmp
0
Comment
Question by:harveygs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
keithdmitchell earned 500 total points
ID: 24296338
So basically you don't want the one server to have any actually data and you want to create a virtual directory to the server containing the information? Well if you have the other server drive mapped to the machine that is the webserver then you should be able to do this. Since the actual drive path has to exist and as long as it remains mapped then yes, you will be able to use the mapped drive as a virtual directory. You'll have to setup the virtual directory as a local directory first. But after you do, you can go back and change to to the network shared directory by selecting a share located on another computer.

Keith D Mitchell, Server Engineer @ Hostmysite.com
0
 
LVL 1

Author Comment

by:harveygs
ID: 24296492
The remote is setup as a share rather than a mapped drive. Unless you think mapped drive is better e.g z:
I have played with permissions and giving share permissions everone read adn folder permission data\users read it works.
I need to know what to cut this down to as everone is rather to open!
I had domain users, network serice and iis_wpg but without eveyone it stops working.
0
 
LVL 1

Author Closing Comment

by:harveygs
ID: 31577492
Couldnt get map drive to work but shares with \\ worked ok. The asp was easy but asp.net was far more critical about using permissions. I wonder what the difference between data\users and everyone is? It wanted the data\users to work.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question