StrataFrame Forum

an error ocurred while deploying the data to the server

http://forum.strataframe.net/Topic21329.aspx

By Felix M Avendano - 12/27/2008

Ill tryed to install several times and when I reach to the point Deply StrataFrame Data i get the message an error ocurred while deploying the data to the server.

Im working with windows Vista.

This is the Window

And this is the log:

• 27/12/2008 12:21:51 p.m. -> Deploying meta-data for database 'StrataFrame'
X 27/12/2008 12:21:54 p.m. -> Creating database 'StrataFrame' failed.FailedOperationException
  Error de Crear para Base de datos 'StrataFrame'.
ExecutionFailureException
  Excepción al ejecutar una instrucción o un proceso por lotes Transact-SQL.
SqlException
  Error en la instrucción CREATE DATABASE. El archivo principal debe tener un tamaño mínimo de 10 MB para poder almacenar una copia de la base de datos model.

Source     : Microsoft.SqlServer.Smo

Stack Trace:
   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   en System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   en System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   en System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   en System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   en System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   en Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
   en Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)
   en Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)
   en Microsoft.SqlServer.Management.Smo.SqlSmoObject.ExecuteNonQuery(StringCollection queries, Boolean includeDbContext)
   en Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImplFinish(StringCollection createQuery, ScriptingOptions so)
   en Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()
   en Microsoft.SqlServer.Management.Smo.Database.Create()
   en MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.CreateSmoObject(ICreatable ObjectToCreate, String ObjectName, DBEObjectType ObjectType, Boolean verboseLogging)

• 27/12/2008 12:21:54 p.m. -> Finished verifying databases on server.
• 27/12/2008 12:21:54 p.m. -> The meta data conversion to the SQL Server has been completed.

Im very intrested on this product but I want to be able to test it.

Thanks in advance.

Félix

By Ivan George Borges - 12/27/2008

Hi Félix.

When a new database is created, it can't be less in size than the Model Database. And it looks like your Model database is 10 MB, and the error message is saying that you can't create a database less than 10 MB. I can't say why your Model database is that big, but changing its size to 2 MB, if possible, should help.

By Felix M Avendano - 12/29/2008

It worked fine. Thanks a lot Smile
By Ivan George Borges - 12/29/2008

Glad you got it working. Cool