﻿<?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 Database Deployment Toolkit » Issues  » Errors creating package</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 05 May 2026 19:49:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Errors creating package</title><link>http://forum.strataframe.net/FindPost15449.aspx</link><description>I'm getting a 1026 message ID error when I try to create a package. It indicates there is "No row at position zero".  Screen shot attached.</description><pubDate>Tue, 15 Apr 2008 10:09:16 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15637.aspx</link><description>Ahhh...priorities.&amp;nbsp; You need to set the view priorities since one relies on the other.&amp;nbsp; This is a relatively new feature of the DDT.&amp;nbsp; It will need to look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/74e3cbfb-c55c-4f45-b23c-17ed.png"&gt;&lt;/P&gt;&lt;P&gt;I went ahead and made your profile work, so if you do this you should be in good shape.&lt;/P&gt;&lt;P&gt;[quote] Is there any way to set a folder for the file(s)?[/quote]&lt;/P&gt;&lt;P&gt;We are adding a new feature...literally as we speak here, that allows you to have pre and post scripts that execute.&amp;nbsp; You would have to write a pre-script that sets the folder for you...which honestly I recommend against.&amp;nbsp; This is a setting on the SQL Server side of things and when you start moving the MDF file locations...well...it becomes a full time job and your responsibility instead of SQL Servers.&amp;nbsp; But if you have this need you will be able to set the folder location via a pre-execution script in the next update.&lt;/P&gt;&lt;P&gt;[quote]How do I get rid of the extra data (.mdf) file?[/quote]&lt;/P&gt;&lt;P&gt;If it is not in use, then just "smoke it"&amp;nbsp; but if it IS in use, then you may have to detach it first.&amp;nbsp; Again, this would need to be done via a script...or manually through the Management Studio.</description><pubDate>Tue, 15 Apr 2008 10:09:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15613.aspx</link><description>Also, I'm also having problems managing my filegroups.  I just have one (PRIMARY), but in some cases, the file was not originally placed in the standard SQL server data folder, but in another folder.  I just noticed that I now have two data files (plus a log file): my original and an updated one added by the DDT.  So, two questions:&lt;br&gt;
&lt;br&gt;
1. Is there any way to set a folder for the file(s)?&lt;br&gt;
2. How do I get rid of the extra data (.mdf) file?&lt;br&gt;
&lt;br&gt;
I sometimes wish learning all this stuff wasn't so painful  :pinch:&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Mon, 14 Apr 2008 15:02:03 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15610.aspx</link><description>That helped, but still issues. It is barfing on the a couple of the SF security views, with this error:&lt;br&gt;
[quote]X 4/14/2008 12:32:09 PM-&gt; SqlException        &lt;br&gt;
X 4/14/2008 12:32:09 PM-&gt;   Invalid object name 'SFSUserPermissionInfo'.        &lt;br&gt;
X 4/14/2008 12:32:09 PM-&gt; Invalid object name 'SFSUserRolePermissionInfo'.[/quote]&lt;br&gt;
&lt;br&gt;
I'm attaching the package and the log file.</description><pubDate>Mon, 14 Apr 2008 14:40:37 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15595.aspx</link><description>Greg,&lt;/P&gt;&lt;P&gt;Did you notice that the SFSAuditDataActions and SFSAutodDataFields are in your package twice?&amp;nbsp; Just smoke one of them and see if the issue persists.&amp;nbsp; I will check to see if I need to make an import change to prevent this from happening again in the future, but this is probably the crux of your issue.</description><pubDate>Mon, 14 Apr 2008 11:26:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15565.aspx</link><description>You too,amigo :)</description><pubDate>Fri, 11 Apr 2008 20:28:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15564.aspx</link><description>Thanks Trent.&lt;br&gt;
&lt;br&gt;
Have a good weekend!</description><pubDate>Fri, 11 Apr 2008 19:49:21 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15563.aspx</link><description>I wil take a look at it.&amp;nbsp; From looking at the log file it looks as though the security tables are not up to date....but I will run it and see if I can see what is going on.</description><pubDate>Fri, 11 Apr 2008 19:34:15 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15555.aspx</link><description>Here is the package.  I haven't had a chance to check it out yet, but I'm pretty sure the issue with it attempting to delete the data file is because I have a mismatch between the actual file name and the template assigned to the file group.  However, as mentioned, I still get errors when attempting to load this to a new db.&lt;br&gt;
&lt;br&gt;
I also figured out were the log files are...in the same folder as the package file...doh!  I've attached the log file from when I was creating a brand new database.</description><pubDate>Fri, 11 Apr 2008 15:51:40 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15492.aspx</link><description>Hmmm...you might let me take a look at your package and try it on my side so I can see it live and in color :D</description><pubDate>Wed, 09 Apr 2008 22:27:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15475.aspx</link><description>OK, I deleted the data packages and then used the wizard to recreate the packages. After doing a bit of massaging to get them the way I like 'em, the package deployed nicely.  :D&lt;br&gt;
&lt;br&gt;
Next....:blink:&lt;br&gt;
&lt;br&gt;
When deploying it, I get errors. When deploying to an existing db, I first get an error that it can't delete the file group...fortunately.  (my history is completely clear and I'm using the $DbName$ token in the file group name).  This is the case even if the name if the same as the db name in the DDT. &lt;br&gt;
&lt;br&gt;
Then I get errors related to various items (PK, FK, views)...I'd post the log, but I can't find it :blush:&lt;br&gt;
&lt;br&gt;
I tried to deploy it to a new db (using a new name), but it also errored out.  &lt;br&gt;
&lt;br&gt;
Probably the best would be to figure out were the log file is, then you could see the issues.  Sooooooooo, were is that rascal?&lt;br&gt;
&lt;br&gt;</description><pubDate>Wed, 09 Apr 2008 12:36:41 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15469.aspx</link><description>LOL...Yeah, Ivan is right, there were some structure changes in the last update of the security.&amp;nbsp; So that could be what is getting in the way, but generally you get a different error.&amp;nbsp; But that is definitely a possibility.</description><pubDate>Wed, 09 Apr 2008 09:30:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15457.aspx</link><description>Yes, if I'm not mistaken the Security tables had a new field or something, so if you had the Security tables already in Deployment Data, that could be it. As Trent said, deleting the packages and generating them back again should do it. This boy is learning a lot... :D</description><pubDate>Tue, 08 Apr 2008 18:09:21 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15455.aspx</link><description>I'm just deploying permissions and roles (and associated links). &lt;br&gt;
&lt;br&gt;
So, if SF made changes then yes.  I haven't.&lt;br&gt;
&lt;br&gt;
I about to do a meeting, then finish a bug fix...so I'll get back to this tomorrow am.&lt;br&gt;
&lt;br&gt;
Thanks for the ideas!</description><pubDate>Tue, 08 Apr 2008 17:05:38 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15454.aspx</link><description>Hey Greg, have you changed the structure of a table that you already had in the Deployment Data node?</description><pubDate>Tue, 08 Apr 2008 15:02:59 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Errors creating package</title><link>http://forum.strataframe.net/FindPost15450.aspx</link><description>It looks like something may be fishy about your Deployment Data items.&amp;nbsp; Just looking at the code and the stack trace isn't cluing me in as to what is causing the issue...other than it is possible that the error may be occuring due to a recursive call that attempts to get the children records based on the level specified...or the server cannot be accessed...or something along those lines.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You might try removing the deployment data items and adding them back one at a time to see where the error is coming from so that we can at least trouble shoot what is causing the error.</description><pubDate>Tue, 08 Apr 2008 13:38:40 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>