StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Error during deploymentExpand / Collapse
Author
Message
Posted 11/17/2006 1:08:18 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
I received an error during my initial deployment. I don't know if it's significant.

Please advise.

Derrick

Post #4603
Posted 11/17/2006 1:11:08 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
I cannot see the errors.  You can attach the image as an attachment.  But bascially, when you see errors like this, it is because something in the deployment package does not adhere to the SQL Server rules.  One very common cause that people run into in the beginning is having a table with data in it and then not providing a default value (or allow null) for a new field.

But I will have to see the error in order to give any better advice.

Post #4604
Posted 11/17/2006 1:27:27 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
Hmm the database is empty. And now is dropped due to the deployment process. I'm in SQLServer 2005 Express.
Post #4606
Posted 11/17/2006 1:30:03 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Look in your History...is there a delete of the database? This is another common "oops".  Is so, remove the deletion record or clear your history.
Post #4608
Posted 11/17/2006 1:30:33 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
Fix it.. the keys in one of my tables where wrong. Just the error really didnt seem to tell me.
Post #4609
Posted 11/17/2006 1:33:26 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
However the deployment then drops the database... Guess there is a setting. Looking now
Post #4610
Posted 11/17/2006 1:37:13 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Look at my previous post....I am willing to bet that you deleted a database then added that same database name bak into the DDT.  This will have a history record of a delete of the database with that name.

So in this example, if I when and created another database named "appt", it will delete that database during the deployment after it has already been created.  Remove this line from the history and you will be good to go.

Post #4611
Posted 11/17/2006 1:42:15 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
Yes I did delete the database in my history. I deleted the individual row I saw in history where I deleted the database, then rebuilt the package and now it worked.
Post #4612
Posted 11/17/2006 1:43:56 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Good deal!
Post #4613
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse