Skip to main content
August 31, 2012
Question

access to unc unavailable until cf-service is restarted

  • August 31, 2012
  • 1 reply
  • 2602 views

hello all,

i'm currently running into a problem that is driving me nuts...

i've set up a cf10 server about 10 days ago, its running on a win-xp machine, and the service is logging itself in as a domain-user who has the permissions to access the files and folders that the code is trying to access.

as of right now its working like a charme, but every 2 or 3 hours i need to restart the service because it's telling me the file doesnt exist.

without changing a line of code, after the service is restarted the file are accessible.

anybody ran into a problem like that with cf10 (or v9 / v8 or whatever)??

answers are very much appreciated.

thanks in advance guys.

This topic has been closed for replies.

1 reply

Miguel-F
Inspiring
August 31, 2012

How are you connecting/using the unc path?

Could be that the connection is being reset do to some period of inactivity.

August 31, 2012

first of all thanks for the reply

could you be more specific with your question? i think i dont really understand where you're heading.

in case you're talking about my code:

i try to create files using cffile at eg "\\fs1\Produktion"

Miguel-F
Inspiring
August 31, 2012

What I meant was are you mapping the unc from the OS and then using a reference to that in CF or are you using the unc in CF directly.  Looks like you are using the unc path in CF directly.  Can you share your cffile logic (change names to protect the innocent)?

Can you share the error that you are receiving?  You mentioned that it says the file doesn't exist.  Is it complaining about the file or the unc path?