Error after successful deployment


Author
Message
Randy Jean
Randy Jean
StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)StrataFrame User (225 reputation)
Group: StrataFrame Users
Posts: 105, Visits: 641
This is from the end of the deployment log:



• 7/10/2008 2:00:39 PM   -> Finished verifying databases on server.

• 7/10/2008 2:00:39 PM   -> Executing Post-Deployment Scripts

• 7/10/2008 2:00:39 PM   -> Executing Post-Deployment Scripts - Complete

• 7/10/2008 2:00:39 PM   -> The meta data conversion to the SQL Server has been completed.

X 7/10/2008 2:00:39 PM   -> An error occurred while deploying the data to the server.

X 7/10/2008 2:00:39 PM   -> InvalidOperationException

X 7/10/2008 2:00:39 PM   -> The connection was not closed. The connection's current state is open.

X 7/10/2008 2:00:39 PM   ->

X 7/10/2008 2:00:39 PM   -> Source : System.Data

X 7/10/2008 2:00:39 PM   ->

X 7/10/2008 2:00:39 PM   -> Stack Trace:

X 7/10/2008 2:00:39 PM   -> at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

X 7/10/2008 2:00:39 PM   -> at System.Data.SqlClient.SqlConnection.Open()

X 7/10/2008 2:00:39 PM   -> at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.DeployDataThread()

X 7/10/2008 2:00:39 PM   ->





Notice it was successful. I'm using the dataprogress.vb form class from the demo source for database installer sample. I'm guessing something is not getting cleaned up properly but I'm not sure what.



My code that calls the form is thus:



' Update database

Dim loData As New DataProgress()



''-- Show and install database changes

dr = loData.ShowDialog()

loData.Close()

loData.Dispose()



I added the code to close and dispose the progress form so that I could delete the package file. Unfortunately, I'm not sure if this is where the problem started...
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Randy Jean - 16 Years Ago
Randy Jean - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Paul Chase - 16 Years Ago
                         Yeah, I reproduced this and it should fix the issue if you dispose and...
Trent L. Taylor - 16 Years Ago
                             Hi Trent, Hope you had agoodThanksgiving and time off, I am disposing...
Paul Chase - 16 Years Ago
                                 Well, this is all threaded. So it is possible that you are running...
Trent L. Taylor - 16 Years Ago
                                     Hi Trent, I like the idea of another variable, it makes sense....
Paul Chase - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search