473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Accessing network share - win serv. 2003 - IIS 6

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 4145
miller
1,089 Expert 1GB
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 Expert Mod 8TB
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 Expert 4TB
In my opinion the IIS part of your migration looks. Anyone disagree? After that try and report on results. HTH.
Jun 12 '07 #4
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
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 Expert Mod 8TB
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
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...
36
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...
5
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...
3
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...
0
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...
5
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...
4
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...
4
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.