|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Connection Refused when trying to access UNC path from Batch file...
Hello everyone,
This is my first post so I'd like to start by saying hello! I am running a PERL script which has some embedded SQL in it. When the SQL runs it creates an XML file (This all works fine). Once I have my XML file I run a batch script (FOP.bat) on the XML that was created by the SQL. This batch script is what creates a PDF from XML. system("..\\fop\\fop.bat -xsl input.xsl -xml trash.xml -pdf pdfs\\TIPsheet_$cur_date4.pdf"); My problem occurs when the batch file tries to access a UNC path on a different server to get images for the PDF. The server I am grabbing the images from is a 2000 server and I am running the script from the Win2k3 box. When the script tries to grab the image from the UNC path I encounter this error.: ERROR : //gpgarchive/archive/cover_scans/1591580/1591580439.jpg) : Connection refused : Connect. If I type this UNC path into a run window on the Win2k3 box the image opens up fine. For some reason I just can't access the images from the batch file. I am logged in as administrator on the Win2k3 box and all permissions are set to full access... Anybody have any ideas? |
|
#2
|
|||
|
|||
|
You may have some firewall blocking the connection between computers.
Or more likely, the user account used by the web server is a local account to the web server computer and has no permission to use the other computer.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Connection Refused when trying to access UNC path from Batch file... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|