Comments
Sort by recent activity
I'm not running 2008 R2 (it's 2008 SP2), but I'll try it. / comments
I'm not running 2008 R2 (it's 2008 SP2), but I'll try it.
The cumulative patch did not correct the issue. / comments
The cumulative patch did not correct the issue.
Got it, thx. Pls close. / comments
Got it, thx. Pls close.
Stumped no longer; I figured it out. DataGenerator will not allow me to create a custom string generator on a varchar or nvarchar column if there is a unique index on the column. Once I removed the unique index, the custom generator appeared in the drop-down.
For my purposes, my custom generator will generate unique values as it's enumerated. Is there a way that this restraint can be removed?
Thanks for the support! / comments
Stumped no longer; I figured it out. DataGenerator will not allow me to create a custom string generator on a varchar or nvarchar column if there is a unique index on the column. Once I removed the...
Tried it, and it did not fix the problem. I've also tried reinstalling Data Generator, renaming the problematic table, the column in the table, and dropping then recreating my database; nothing worked. I've also checked my rights to the Data Generator folder and subfolders and I have full R/W access.
Again, on some columns in other tables with or without the same datatype and length, it worked both with and without the xml file.
I also modified my .sqlgen file by hand, copying the custom generator from a different table and column where it worked correctly, and pasting the generator block in the problematic column's generator tag. I was able to save and load the project successfully, but it still had the same problem, and after I saved the project again it overwrote my sqlgen file change.
I'm stumped. / comments
Tried it, and it did not fix the problem. I've also tried reinstalling Data Generator, renaming the problematic table, the column in the table, and dropping then recreating my database; nothing wor...
I can send config file. Can you tell me which one you need?
Interestingly, the problem doesn't appear to be related to the data type, data length, nullability, or ordinal position of the column in the tables. I see my custom generator on most tables in my database, but not all. Weird.
I tried specifying a new "category" of generators by changing this:
[Generator(typeof(String), "Generic", "Company Emails", "In [url=a.b@nowhere.com]a.b@nowhere.com[/url] format")]
to:
[Generator(typeof(String), "Interclick", "Company Emails", "In [url=a.b@nowhere.com]a.b@nowhere.com[/url] format")]
which gave me the same symptoms on the same tables. I also reinstalled Data Generator, and created a brand new project on the same database, and have the same problem on the same tables.
Really weird.
I can send the entire generator .cs file to you if you'd like. / comments
I can send config file. Can you tell me which one you need?
Interestingly, the problem doesn't appear to be related to the data type, data length, nullability, or ordinal position of the column in ...