﻿<?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  » NullReferenceException while deploying</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 10:40:18 GMT</lastBuildDate><ttl>20</ttl><item><title>NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7768.aspx</link><description>&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Deplying a DB to an SQL Server 2000 DB called SPS, I receive some errors and an Application Exception that stops the deploy process.&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;P class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;This leaves the DB in un unstable status and I didn’t recover it yet.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;The deploy window showing error and the package that raises it are attached to this post&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Gianpaolo Rocchi&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 02 Apr 2007 18:25:19 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7845.aspx</link><description>Ben had sent you an email asking what version of the WIndows OS you are running (language) as well as Visual Studio and SQL Server.&amp;nbsp; We had some mail server trouble last week, which has been resolved, and may have been lost in the mix.&amp;nbsp; &lt;/P&gt;&lt;P&gt;We have deployed your package file over and over again without error, so there must be something regarding the OS language install.&amp;nbsp; We are going to setup a Virtual machine with the same OS, Visual Studio, and SQL Server versions as you so we can see what is failing.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I am sure that you noticed that we deployed to your server without error.&amp;nbsp; You can email me, send me a private message, or post this information (if you are comfortable) on the forum so we can setup your environment on our side.&amp;nbsp; Thanks!</description><pubDate>Mon, 02 Apr 2007 18:25:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7820.aspx</link><description>Hi Ben, are you going through the problem with the DDT?</description><pubDate>Mon, 02 Apr 2007 09:49:03 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7786.aspx</link><description>Sorry, Gianpaolo, could you re-email the credentials and send them to me as well?&amp;nbsp; We have been having some mail server issues of late where our virus software on the server looses the transport connection to Exchange and drops the messages, hence we loose all external email.&amp;nbsp; I think we got the server back up right now, so if you resend it, I'll take a look at it.</description><pubDate>Thu, 29 Mar 2007 10:32:16 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7784.aspx</link><description>Ok Taylor,&lt;/P&gt;&lt;P&gt;I mailed you credential to test the package against the database tha we are deploying to.&lt;/P&gt;&lt;P&gt;We have deployed the same package (with less tables or sprocs) many times before having erros. Maybe could be useful to dig deeper in the problem, or maybe adding some more information in the log. Actually I don't know which operation raises the error. I only know the last successfully executed task.&lt;/P&gt;&lt;P&gt;I am trying to deploy to a SQL 2005 EXPRESS and I still get same exception.&lt;/P&gt;&lt;P&gt;Tomorrow this project will have been in stand by for a week. I hope you help us to solve this problem.&lt;/P&gt;&lt;P&gt;Gianpaolo</description><pubDate>Thu, 29 Mar 2007 10:21:16 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7779.aspx</link><description>I doesn't look like the NullReferenceException is an issue with the DDT itself, it looks to be more of an environment issue.&amp;nbsp; I have run and re-run your package file over and over again and it deploys perfectly.&lt;/P&gt;&lt;P&gt;The first thing I would try is to deploy to another server to see if you get the same results.&amp;nbsp; Also, if you have a SQL Server 2005 instance see if it deploys to that server and if this is a SQL Server 2000 problem.</description><pubDate>Thu, 29 Mar 2007 09:08:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7778.aspx</link><description>Ben,&lt;/P&gt;&lt;P&gt;this doesn't seem to solve the NullReferenceException tha DDT raises while ensuring indexes.&lt;/P&gt;&lt;P&gt;Have you tried to deploy attached to the first post?&lt;/P&gt;&lt;P&gt;Gianpaolo</description><pubDate>Thu, 29 Mar 2007 05:41:00 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7773.aspx</link><description>BTW, that needs to be copied to the location where you installed the StrataFrame applications.&amp;nbsp; Generally C:\Program Files\MicroFour\StrataFrame, I think, but I'm not positive :D</description><pubDate>Wed, 28 Mar 2007 16:46:39 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7772.aspx</link><description>Here's the DDT exe that has the posted fix.&amp;nbsp; The sprocs that have already been imported will need to be manually modified.&amp;nbsp; The problem is that when we package up the sprocs for deployment, we add the whole IF EXISTS... DROP PROCEDURE... to the top of the sproc to replace it in the database.&amp;nbsp; However, when you import from a package file, that code does not get removed from the sproc before being imported.&amp;nbsp; So, for each sproc in your imported profile, you will need to manually remove the IF EXISTS and everything up to the declaration of your parameters (or the AS if you don't have any parameters) in each of the imported sprocs.&amp;nbsp; &lt;/P&gt;&lt;P&gt;In otherwords, this fix will fix the import process, but you'll still have to clean up the data that was already imported.</description><pubDate>Wed, 28 Mar 2007 16:44:20 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: NullReferenceException while deploying</title><link>http://forum.strataframe.net/FindPost7769.aspx</link><description>This has been fixed.&amp;nbsp; We will post the updated assembly here in this post in later today or early tomorrow.&amp;nbsp;</description><pubDate>Wed, 28 Mar 2007 16:28:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>