Solved

virtual directory in asp.net to another server problems

Posted on 2009-05-04
3
565 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
  • 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now