Hello.
I created a console application (I don't need the actual window) which runs perfectly on my development box. But when I run the application on the production server, the process does not run.
I just copied the .exe file from the bin\Debug folder to a new folder on the Production Server.
I get the following error from the event viewer on production:
the application uploads files, moves them to a folder and then writes the results of the process to a text file.
Why would I get an error on production, but not on development? Do I need to copy other files to the production folder? I placed just the executable so that the task scheduler could run. Could the window be creating the problem. How would I get rid of the actual window?
Please advise.
I created a console application (I don't need the actual window) which runs perfectly on my development box. But when I run the application on the production server, the process does not run.
I just copied the .exe file from the bin\Debug folder to a new folder on the Production Server.
I get the following error from the event viewer on production:
Code:
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Net.WebRequest.Create(String requestUriString)
at FileCopy.uploadFile.Upload(String ftpServer, String userName, String password, String uplfile)
at FileCopy.Program.UploadEdi()
at FileCopy.Program.Main(String[] args)
the application uploads files, moves them to a folder and then writes the results of the process to a text file.
Why would I get an error on production, but not on development? Do I need to copy other files to the production folder? I placed just the executable so that the task scheduler could run. Could the window be creating the problem. How would I get rid of the actual window?
Please advise.