Sonic.exe access denied

Tags: General, Software

I've started exploring SubSonic for one of my projects and found this issue. For a class library project, when you want to generate DAL off your sql db, you do the following at the command prompt:

D:\Projects\BusinessObjects>"C:\Program Files\SubSonic\SubSonic 2.0.3\SubCommander\sonic.exe" generate /out Subsonic\Generated

The command above, for some reason, gave me "Access Denied". This drove me nuts for a while and then I moved the contents of Subsonic 2.0.3 directory to C:\Program files\Subsonic and the following worked fine.

 D:\Projects\BusinessObjects>"C:\Program Files\SubSonic\SubCommander\sonic.exe" generate /out Subsonic\Generated

I'm still in a surprise why that worked and the one above didn't work. BTW, Rob SubSonic rocks! Thank you!

 

No Comments