Solved

virtual directory in asp.net to another server problems

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

689 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