Red Gate forums :: View topic - Run Executable from a nework drive
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager Previous Versions
SQL Packager Previous Versions forum

Run Executable from a nework drive

Search in SQL Packager Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jase74



Joined: 16 May 2007
Posts: 4

PostPosted: Wed May 16, 2007 11:12 am    Post subject: Run Executable from a nework drive Reply with quote

Hi,

I've created a very simple package that will create a table and add rows to the table. I want to run the exe from a network share, so that I pass the package to a release team. When I run the exe from a network drive I get the following error:

"You don't have sufficient permissions to run an executable located on another machine"

I don't know if the exe is throwing the error or that I don't permissions to run an execute from the share.

I'm newbie to SQL Packager so I may have missed something very obvious...

Jason
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6643

PostPosted: Sat May 19, 2007 6:17 pm    Post subject: Reply with quote

Hi Jason,

Thanks for asking. This is actually a security exception being thrown from the .NET Framework. By default, the security permissions prevent you from running .NET code (such as your package) from across a network share. If you're really desparate to make this work, you can change your .NET installation's machine.config to allow remote execution as described here:

http://www.red-gate.com/MessageBoard/viewtopic.php?t=2736

Otherwise you would simply need to copy the package to the local computer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group