I have an (console, .NET 3.5, C#) application that I’m trying to call from a Windows Server (2003, with .NET 3.5) from a system (Windows server 2003 with .NET 2.0) via a scheduler (the scheduler app is called 24×7, it’s a script based scheduler, in this case, it calls the executable strait up, no parameters, etc).
The issue is when it tries to call it, it sees it as a file and tries to “download” it. I’ve tried running the app from the command prompt, only to get the same results. I’ve tried everything I can think of, even writing a launchpad type application and using that to call the app, but I get the same results every time.
Am I missing something? Is there a security flag or something I’ve overlooked? I’ve never seen this before.
Edit: Sorry, forgot to mention that the app is being called via full UNC path (\myserver\myfolder\myapp.exe)
hmm…. how exactly are you “calling” this application? via SMB? (i.e. by executing the command
\\myserver\sharepath\foo.exefrom a command line)If so, your application doesn’t run with the same permissions and you can run into code access issues, but that’ll come as an error message, rather than a file download.
The fact that you’re getting a file download leads me to believe that you’re trying to “run” the console application over http, but I don’t have enough information to know for sure, hence my question.