Re: Converted app to a Windows Service
- From: Chris Dunaway <dunawayc@xxxxxxxxx>
- Date: 19 Apr 2007 14:24:45 -0700
On Apr 19, 11:15 am, Blasting Cap <goo...@xxxxxxxxxxxxx> wrote:
Chris Dunaway wrote:
On Apr 19, 10:39 am, Blasting Cap <goo...@xxxxxxxxxxxxx> wrote:
I have an application that was converted from a VB application to a
windows service.
I pass in parameters in a file that tells the application where to pull
a file from & read it and put it into a web page.
The application works fine when the input & output locations are local
on the server the app is on. However, the location for one of the files
is going to change to be on another server, that'll have to be set up
like \\Server2\folder
I can copy that out & put it in windows explorer, and it goes to the
folder it's supposed to.
However, when I put it in the application, it won't read it in.
What do you mean when you say "it won't read it in"? Are you getting
an exception? An error message? Incorrect data result?
Right now, I have it set to put out info into the event log, each time
it checks for the file. If it's local, I'll see events out there, no
problem.
If I specify \\Server2\folder as it's input, versus
[Server1]D:\DailyInput, it just sits there - nothing at all written into
the event log. It appears not to run, unless the source for it is local.
Are you using exception handling in your code? Are you swallowing the
exceptions if any are generated?
Chris
.
- Follow-Ups:
- Re: Converted app to a Windows Service
- From: Blasting Cap
- Re: Converted app to a Windows Service
- References:
- Converted app to a Windows Service
- From: Blasting Cap
- Re: Converted app to a Windows Service
- From: Chris Dunaway
- Re: Converted app to a Windows Service
- From: Blasting Cap
- Converted app to a Windows Service
- Prev by Date: Must inherit forms don't show up in list.. is this a bug?
- Next by Date: Re: How do you set the value between tags in code
- Previous by thread: Re: Converted app to a Windows Service
- Next by thread: Re: Converted app to a Windows Service
- Index(es):
Relevant Pages
|