﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Installation Error - An error occurred while deploying the data to the server.</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 06:15:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Installation Error - An error occurred while deploying the data to the server.</title><link>http://forum.strataframe.net/FindPost13574.aspx</link><description>I get an error when installing Strataframe.&lt;/P&gt;&lt;P&gt;Here is the log file:&lt;/P&gt;&lt;P&gt;• 1/19/2008 10:11:57 AM&amp;nbsp;-&amp;gt; Deploying meta-data for database 'StrataFrameSample'&lt;BR&gt;X 1/19/2008 10:11:58 AM&amp;nbsp;-&amp;gt; Creating database 'StrataFrameSample' failed.FailedOperationException&lt;BR&gt;&amp;nbsp; Create failed for Database 'StrataFrameSample'. &lt;BR&gt;ExecutionFailureException&lt;BR&gt;&amp;nbsp; An exception occurred while executing a Transact-SQL statement or batch.&lt;BR&gt;SqlException&lt;BR&gt;&amp;nbsp; CREATE DATABASE failed. Some file names listed could not be created. Check related errors.&lt;BR&gt;Cannot create file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\StrataFrameSample_log.LDF' because it already exists. Change the file path or the file name, and retry the operation.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.SqlServer.Smo&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ExecuteNonQuery(StringCollection queries, Boolean includeDbContext)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImplFinish(StringCollection createQuery, ScriptingOptions so)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.SqlServer.Management.Smo.Database.Create()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.CreateSmoObject(ICreatable ObjectToCreate, String ObjectName, DBEObjectType ObjectType)&lt;/P&gt;&lt;P&gt;• 1/19/2008 10:11:58 AM&amp;nbsp;-&amp;gt; Finished verifying databases on server.&lt;BR&gt;• 1/19/2008 10:11:58 AM&amp;nbsp;-&amp;gt; The meta data conversion to the SQL Server has been completed.&lt;BR&gt;X 1/19/2008 10:11:58 AM&amp;nbsp;-&amp;gt; An error occurred while deploying the data to the server.NullReferenceException&lt;BR&gt;&amp;nbsp; Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame DBEngine&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.TurnOffAllForeignKeys(String DatabaseName)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.DeployDataThread()</description><pubDate>Sat, 19 Jan 2008 21:39:00 GMT</pubDate><dc:creator>Robert Moore</dc:creator></item><item><title>RE: Installation Error - An error occurred while deploying the data to the server.</title><link>http://forum.strataframe.net/FindPost13579.aspx</link><description>This is a common issue that can creep up on you when using SQL Server.&amp;nbsp; More than likely, you either uninstalled SQL Server or manually detached the StrataFrameSample database.&amp;nbsp; However, neither of these will delete the mdf and ldf files.&amp;nbsp; So when you then turn back around and try to install, it will attempt to create those files but they already exist on disk and thus the error.&amp;nbsp; To get around this, make sure that the StrataFrameSample database is not attached to your SQL Server, and then go to the c:\program files\microsoft sql server\... (wherever you install SQL Server) and go to the data directory and manually delete the StrataFrameSample.mdf and StrataFrameSample.ldf files...then try again :)</description><pubDate>Sat, 19 Jan 2008 21:39:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>