Command Line with UNC path

lberan01lberan01 Posts: 2
Can I call the sqldatacompare.exe using a UNC path? If I run it as c:\sqldatacompare.exe it works fine. If I run it as \\servername\c$\sqldatacompare.exe, I get the following error:
"Application has generated an exception that cannot be handled". I was hoping I could run the sqldatacompare executable for dev, test and prod all from the same place rather than putting the executable files on each server. :?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    The default .NET Framework assembly policy forbids .NET executables from running over network shares. To allow this to happen, you need to open the .NET Framework configuration in the Windows Control Panel and adjust the 'Internet' zone security. I think that level 'Medium' should allow it to run.
Sign In or Register to comment.