Solved

virtual directory in asp.net to another server problems

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calling stored proc in EDMX 11 23
How to get the web content with different encodings 2 27
Not showing page correctly 3 29
Angular JS Route 3 47
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

20 Experts available now in Live!

Get 1:1 Help Now