Toad World® Forums

Error when creating database

I get a Null error when trying to create a database. I right click on databases then create database and this error displays:

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.SqlServer.Doe.Databases.DatabaseProperties.OnInit_New()
at Quest.Toad.SqlServer.Doe.Databases.DatabaseProperties…ctor(ITrl itrl, EnumActionType actionType, ScriptOptions scriptOptions, Boolean bIsSnapshot)
at Quest.Toad.SqlServer.Doe.Databases.DatabaseEditForm.InitializeProperties()
at Quest.Toad.SqlServer.Doe.Databases.DatabaseEditForm.Initialize()
at Quest.Toad.Doe.BaseDoeForm.BaseDoeForm_Load(Object sender, EventArgs e)
at Quest.Toad.Doe.BaseDoeForm.PreShowInitialize()
at Quest.Toad.Doe.BaseDoeForm.Create(Object sender, ItemClickEventArgs e)

Hello,
is it reproducible on demand in your environment?
And another question to you - what TSS version you are using?

regards,
Alexander

Marcie,

Thanks for reporting the issue. I have found it’s b/c of your limited rights - you do not have access to “model” database. There is no error in my dev build, but toad doesn’t allow me to open dialog anyway. Same time I know I can create a database, so the root problem still exists and we need to fix it going forward.