IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old March 14th, 2005, 01:25 PM
tompalen tompalen is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 1 tompalen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 37 m 40 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old March 15th, 2005, 05:08 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Connection Refused when trying to access UNC path from Batch file...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway