Red Gate forums :: View topic - Could not create licence distribution files.
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 1
SQL Data Generator 1 forum

Could not create licence distribution files.

Search in SQL Data Generator 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
CraigOttley



Joined: 15 Jul 2010
Posts: 13
Location: Newport Pagnell

PostPosted: Thu Jul 15, 2010 11:57 am    Post subject: Could not create licence distribution files. Reply with quote

Hi,

I keep getting the following error when trying to run SQL Data Generator as a batch file.

Could not create licence distribution files. Please run as administrator if you wish to create these files.
Error occurred whilst writing new distribution licence to disk: I/O error occurred.

The OS is Windows 7 Ultimate so i'm guessing i just need to grant access to which ever folder SQL Data Generator is trying to write to?

The weird thing is the data does get generated as i can see it in the database. But errors will get reported as this is an overnight process.

Info

OS: Windows 7 Ulitmate
SQL Data Generator 1 v1.2.0.286

Thanks

Craig
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 689
Location: Cambridge

PostPosted: Fri Jul 16, 2010 1:11 pm    Post subject: Reply with quote

Many thanks for your post.

Can you try following steps:
1. Browse to the file 'RedGate.SQLDataGenerator.UI' which will be in the installation path by default : x64: C:\Program Files (x86)\Red Gate\SQL Data Generator 1 for x86: C:\Program Files\Red Gate\SQL Data Generator 1
2. Right click the file and select the option "Run as Administrator"

Kindly let me know if this fixes the problem.
_________________
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Back to top
View user's profile Send private message Send e-mail
CraigOttley



Joined: 15 Jul 2010
Posts: 13
Location: Newport Pagnell

PostPosted: Fri Jul 16, 2010 1:22 pm    Post subject: Reply with quote

Hi Anu,

That doesn't solve my problem as i'm not running the data generator via the UI.

If you place this in a .bat file you'll most likely see the error.


Quote:

cd C:\Program Files (x86)\Red Gate\SQL Data Generator 1
SQLDataGenerator /pr:"C:\ProjectName.sqlgen" /v
Back to top
View user's profile Send private message
CraigOttley



Joined: 15 Jul 2010
Posts: 13
Location: Newport Pagnell

PostPosted: Mon Jul 19, 2010 2:05 pm    Post subject: Reply with quote

Look's like i've managed to solve the problem. I had to grant full access to the folder
Quote:
C:\Program Files (x86)\Red Gate\SQL Data Generator 1\Config
for the user that is running the generator.

The 'error/warning' message does not appear anymore.

Additional Notes for everyone else:

I tried setting the Privilege Level "Run this program as an administrator" for all users for "SQLDataGenerator.exe" this quickly prompted Windows 7 to ask "Do you want the following program from an unknown publisher to make changes to this computer" which didn't work for me.
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