473,796 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing network share - win serv. 2003 - IIS 6

5 New Member
Good morning, I hope I'm not repeating a post, but I did try to search for the topic before asking.

I am trying to resolve an issue that has come up as a result of planned migration from a single server solution to a distributed solution. A site (and interrelated batch processing scripts) has been running on a single server (IIS 6, win 2003) to two machines both are IIS 6, win 2003, the machines are as follows:

box1: Webserver
box2: MySQL & Files

scripts on box 1 need access to either a mapped drive and or a fully specified path (ie \\box2\intf or \\box2\d$)

I do not have control to set up the box myself (ahh the joys of the corporate world) so I need to be able to tell the admin team exactly what I need. I believe the following is correct:

1) Set up a Domain account for IIS to run under instead of the box1 local account
2) set IIS to use the above mentioned account on box1
3) grant full access to the needed directories on box2 to the domain account.

Impersonation should not be an issue since it is by default turned off and I have not ASP or ASP.NET on the box to turn it on in the config files.

I am already successfully accessing the MySQL data.

I believe that that should take care of everything, does it sound correct?

the following two lines are how we are accessing the files currently, and we would prefer to be able to use the files the same way if possible so as to avoid having to do more code tweaking than we currently have before us.

Expand|Select|Wrap|Line Numbers
  1. open(OUTFILE, '>' . $path . $seed_file) or die "Can't open output file. $@\n";
  2. printf OUTFILE "$user_id,$dts\n";
Thanks!
Jun 11 '07 #1
6 4180
miller
1,089 Recognized Expert Top Contributor
Greetings and welcome Adam,

If you are able to map a drive, then the change should be completely invisible to perl. I'm personally not familiar with the sysadm level issues that you're talking about though, so I'll see about bringing some additional attention to your question.

- Miller
Jun 12 '07 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
Greetings and welcome Adam,

If you are able to map a drive, then the change should be completely invisible to perl. I'm personally not familiar with the sysadm level issues that you're talking about though, so I'll see about bringing some additional attention to your question.

- Miller
I'm going to move this to the IIS Forum. It can be redirected from there if necessary.

Adam if your question is not handled and you need assistance then you can post a reply here to get my attention.

ADMIN
Jun 12 '07 #3
kenobewan
4,871 Recognized Expert Specialist
In my opinion the IIS part of your migration looks. Anyone disagree? After that try and report on results. HTH.
Jun 12 '07 #4
Adam McCormack
5 New Member
To miller:

that was my expectation, that simply mapping a drive for the account that IIS runs as would take care of it, but the admin I have been working with on this claims it cant be done because the account is "non interactive" I believe is how he phrased it.

To mmccarthy & kenobewan:
Ill post the resolution as soon as I have it, I am now working with a different admin, so the responses I have previously received may be invalid, and while it has not been done yet, I think my 3 step list is going to be very close to what works.

Thanks again for the quick replies, and I apologize for placing it in the perl forum, I certainly agree it fits in IIS as I have looked at it more.
Jun 12 '07 #5
Adam McCormack
5 New Member
And the issue is now resolved.

the three steps I stated when I posted innitally:
1) Set up a Domain account for IIS to run under instead of the box1 local account
2) set IIS to use the above mentioned account on box1
3) grant full access to the needed directories on box2 to the domain account.

did the trick, with the second step specifying:
- the web site properties in the IIS manager
- under the directory security tab,
- Enable anonymous access using the domain account and password.

Thanks again for the help!
Jun 12 '07 #6
MMcCarthy
14,534 Recognized Expert Moderator MVP
Happy to hear that you got it sorted Adam.

Mary
Jun 12 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

23
2911
by: Lamberti Fabrizio | last post by:
Hi all, I've to access to a network file from an asp pages. I've red a lot of things on old posts and on Microsoft article but I can't still solve my problem. I've got two server inside the same NT domain, each one has its own web server. The web server is always IIS 5.0.
36
16436
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC path with a FSO: Set myFile = Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt") this fails with an Permission Denied. here's the deal:
5
21571
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a folder on mapped network drive (eg. N:\Storage that corresponds to \\FS1NS\SharedDir\), I get an error as "Could not find part of path N:\".
3
5058
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from the network share. It loads in VS2005 fine, and I can edit and save code changes etc, but when I try and Build the solution, I get the following error... An error occured loading a configuration file: Failed to start monitoring
0
1839
by: John Fleming | last post by:
Hello, I am building a web application with the following components: 2 Web Servers - Windows Server 2003 - IIS 6 - .Net Framework version 2.0 - Reside in Domain A 2 Clustered Database Servers
5
6688
by: lmttag | last post by:
ASP.NET 2.0 (C#) application Intranet application (not on the Internet) Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the local Administrators group on the server Workstation is on the same domain Logged into the workstation as a domain user, which is also in the local Administrators group on the server and workstation
4
3281
by: Geoff Lane | last post by:
Development environment: Windows 2003 Server running IIS6 and the same server running as a domain controller, DNS and DHCP servers. Production environment: Windows 2000 Server SP4 running IIS5 and not used to provide domain control or name services. The two environments are on different networks with no trust relationship between them. In both environments the web server is set up to disallow anonymous access and to use integrated...
4
7447
by: frikk | last post by:
I previously posted about accessing SharePoint over the web. Well I have since given up any easy means of doing this, since something else has perked my interest. Instead of going to http://sharepoint/site, why not just access \\sharepoint\site\ directly? So my question is this - How do I access that network share? If I go to start -run, and type in "\\SharPointServer\Site\Folder", windows explorer will pop up with it. I suppose I...
0
2058
by: cw808 | last post by:
Hi all. I'm new here but hoping I can get some help for my problem. My situation is that I need to upload files through a C# .NET web application to a file server. I done a search and followed some advice on how to set it up. My environment is Windows 2003 file server, Windows 2000 web service (IIS) and .NET v1.1.4. So far I've done this. Windows 2003 file server: Created an account SHAREUSER. Created a share MEDIA. SHAREUSER is...
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4119
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.