FileGroupIsNotSupportedInScriptExceptionI've just added File group definitions to my VSDB (2008) project and build is now failing with the following exception:<br/>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets(105,5)Error MSB4018: The &quot;SqlBuildTask&quot; task failed unexpectedly.<br/>Microsoft.VisualStudio.TeamSystem.Data.Schema.FileGroupIsNotSupportedInScriptException: Exception of type 'Microsoft.VisualStudio.TeamSystem.Data.Schema.FileGroupIsNotSupportedInScriptException' was thrown.<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SchemaManager.LoadSchemaObject(String sqlScript, SchemaType expectedType, SchemaManagerCommandContext commandContext)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SchemaManager.LoadSchemaObjectFromFile(String path, SchemaType expectedType, SchemaManagerCommandContext commandContext)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.BuildSchemaObjects.LoadSchemaObjectFromFile(SchemaManager sm, ErrorManager em, String fileName, ConnectionSettings settings)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.BuildSchemaObjects.BuildSchemaManager(Boolean quotedIdentifier, ConnectionSettings defaultSettings, String suppressedWarnings, BuildConfig config)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SqlBuildTaskHelper.Initialize()<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Tasks.SqlBuildTask.Execute()<br/>   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean&amp; taskResult)<br/> Done executing task &quot;SqlBuildTask&quot; -- FAILED.<br/><br/>Any idea why or what the fix for this might be?© 2009 Microsoft Corporation. All rights reserved.Thu, 19 Nov 2009 17:13:53 Ze83f7f64-7aef-479f-942f-075a53a54600http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#e83f7f64-7aef-479f-942f-075a53a54600http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#e83f7f64-7aef-479f-942f-075a53a54600Craigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionI've just added File group definitions to my VSDB (2008) project and build is now failing with the following exception:<br/>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets(105,5)Error MSB4018: The &quot;SqlBuildTask&quot; task failed unexpectedly.<br/>Microsoft.VisualStudio.TeamSystem.Data.Schema.FileGroupIsNotSupportedInScriptException: Exception of type 'Microsoft.VisualStudio.TeamSystem.Data.Schema.FileGroupIsNotSupportedInScriptException' was thrown.<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SchemaManager.LoadSchemaObject(String sqlScript, SchemaType expectedType, SchemaManagerCommandContext commandContext)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SchemaManager.LoadSchemaObjectFromFile(String path, SchemaType expectedType, SchemaManagerCommandContext commandContext)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.BuildSchemaObjects.LoadSchemaObjectFromFile(SchemaManager sm, ErrorManager em, String fileName, ConnectionSettings settings)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.BuildSchemaObjects.BuildSchemaManager(Boolean quotedIdentifier, ConnectionSettings defaultSettings, String suppressedWarnings, BuildConfig config)<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Schema.SqlBuildTaskHelper.Initialize()<br/>   at Microsoft.VisualStudio.TeamSystem.Data.Tasks.SqlBuildTask.Execute()<br/>   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean&amp; taskResult)<br/> Done executing task &quot;SqlBuildTask&quot; -- FAILED.<br/><br/>Any idea why or what the fix for this might be?Sun, 28 Jun 2009 06:29:36 Z2009-11-19T17:13:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#1dab06bf-caf8-44e1-9994-c5685e0a7063http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#1dab06bf-caf8-44e1-9994-c5685e0a7063Orlanzohttp://social.msdn.microsoft.com/Profile/en-US/?user=OrlanzoFileGroupIsNotSupportedInScriptException<p>I do recall receiving an error when the filegroups were defined within a server project.  I'm unsure if it's what you're receving now, although it may have been.  Are you creating the filegroup in a server or database project?  <br/><br/>I'm using Filegroups in my solution without error.  They are defined in a database project under: <br/><strong><br/>Schema Objects &gt;&gt; Database Level Objects &gt;&gt; Storage &gt;&gt; Filegroups</strong><br/><br/>The script is very basic.</p> <pre lang=x-sql>-- Do not change the database name. -- It will be properly coded for build and deployment -- This is using sqlcmd variable substitution ALTER DATABASE [$(DatabaseName)] ADD FILEGROUP [Guideline_Extract_2009_01]</pre> The individual files are defined under:<br/><br/><strong>Schema Objects &gt;&gt; Database Level Objects &gt;&gt; Storage &gt;&gt; Files<br/><br/><br/></strong>The script for these appear as:<br/><br/> <pre lang=x-sql>-- Do not change the database name. -- It will be properly coded for build and deployment -- This is using sqlcmd variable substitution ALTER DATABASE [$(DatabaseName)] ADD FILE ( NAME = N'Guideline_Extract_2009_01', FILENAME = '$(DefaultDataPath)$(DatabaseName)_Guideline_Extract_2009_01.ndf', SIZE = 100000 KB, MAXSIZE = UNLIMITED, FILEGROWTH = 100000 KB ) TO FILEGROUP Guideline_Extract_2009_01 </pre><hr class="sig">OrlanzoMon, 29 Jun 2009 13:20:53 Z2009-06-29T13:20:53Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#4696bb3a-6f03-4a16-bb5d-aaaa98107944http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#4696bb3a-6f03-4a16-bb5d-aaaa98107944Craigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionYes, this is in a database project and my scripts are basically the same as above. <div>Interestingly, if I try to build the project using VS2010 beta, it builds fine. That isn't an acceptable solution for me though - I need to get this working on VSDB 2008.</div> <div><br/></div>Mon, 29 Jun 2009 17:30:05 Z2009-06-29T17:30:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#8f76eab9-b46d-40d3-aadf-923ad9f08981http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#8f76eab9-b46d-40d3-aadf-923ad9f08981Orlanzohttp://social.msdn.microsoft.com/Profile/en-US/?user=OrlanzoFileGroupIsNotSupportedInScriptException<p>Can you share the scripts you're using?</p><hr class="sig">OrlanzoMon, 29 Jun 2009 17:51:10 Z2009-06-29T17:51:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#fcf7187c-8dad-4c34-b5c7-20ef95245ddahttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#fcf7187c-8dad-4c34-b5c7-20ef95245ddaCraigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionIf I simply add a default filegroup script to the Filegroups folder without editing it I get the error.<br/><br/>-- Do not change the database name.<br/>-- It will be properly coded for build and deployment<br/>-- This is using sqlcmd variable substitution<br/>ALTER DATABASE [$(DatabaseName)]<br/> ADD FILE <br/> (<br/>     NAME = [SqlFile1], <br/>     FILENAME = '$(DefaultDataPath)$(DatabaseName)_SqlFile1.ndf', <br/>     SIZE = 3072 KB, <br/>     MAXSIZE = UNLIMITED, <br/>     FILEGROWTH = 1024 KB<br/>    ) <br/> Mon, 29 Jun 2009 18:22:30 Z2009-06-29T18:22:30Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#54ef07f1-1102-4ecc-889f-9acb3198c664http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#54ef07f1-1102-4ecc-889f-9acb3198c664Craigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionI tried creating a new database project and adding a filegroup to it. That builds OK.<br/>I don't really want to have to recreate my database project if I can avoid it...Mon, 29 Jun 2009 18:34:34 Z2009-06-29T18:34:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#5f1fe784-70ba-4fcd-9bf1-01a0ac3f918bhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#5f1fe784-70ba-4fcd-9bf1-01a0ac3f918bOrlanzohttp://social.msdn.microsoft.com/Profile/en-US/?user=OrlanzoFileGroupIsNotSupportedInScriptExceptionI just did the same and it built without error.  Did you happen to change any of the database properties through the Prjoect Settings page?  These are defined in the Catalog properties file.  Is this a 2005 or 2008 database project?<br/><br/>Also what version of Visual Studio are you using?  I'm at version 9.1.40413.00 of Microsoft Visual Studio Team System 2008 Database Edition GDR.<hr class="sig">OrlanzoMon, 29 Jun 2009 18:59:12 Z2009-06-29T18:59:12Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#6e3113ab-39dd-4bfb-9a62-4fd43489a94chttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#6e3113ab-39dd-4bfb-9a62-4fd43489a94cCraigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionSame VS version - VSDB GDR (9.1.40413.00)<br/>Targetting SQL 2005.<br/>I copied the settings file from my real project to the new dummy project and that still builds OK.Mon, 29 Jun 2009 19:16:17 Z2009-06-29T19:16:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#b498fc8e-90bd-4ae5-bbfb-f2eed9cdb29dhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#b498fc8e-90bd-4ae5-bbfb-f2eed9cdb29dCraigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionBy comparing the newly created project file with my failing project file I've found the cause of the problem.<br/>The targets file that is being referenced by the new project is different than that referenced by the existing project (which was created prior to GDR - I omitted that tidbit earlier).<br/><br/>New GDR projects use this:<br/>  &lt;Import Project=&quot;$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets&quot; /&gt;<br/><br/>My failing project was using this:<br/>  &lt;Import Project=&quot;$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets&quot; /&gt;<br/><br/>I guess there's a bug here in that GDR should convert the project to the newer target file?<br/>Mon, 29 Jun 2009 19:40:58 Z2009-06-29T19:40:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#5289384e-6153-43f3-b9f2-cc7737798270http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#5289384e-6153-43f3-b9f2-cc7737798270Orlanzohttp://social.msdn.microsoft.com/Profile/en-US/?user=OrlanzoFileGroupIsNotSupportedInScriptExceptionI'm wondering if the ...ProjectVersion.. tag in each of the dbproj files are the same. <hr class="sig">OrlanzoMon, 29 Jun 2009 20:59:57 Z2009-06-29T20:59:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#41541136-669c-4417-8ef4-b66173e3ebb1http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#41541136-669c-4417-8ef4-b66173e3ebb1Craigfishttp://social.msdn.microsoft.com/Profile/en-US/?user=CraigfisFileGroupIsNotSupportedInScriptExceptionYes, both had  the same project and schema version:<br/>    &lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt;<br/>    &lt;ProjectVersion&gt;3.5&lt;/ProjectVersion&gt;<br/>Mon, 29 Jun 2009 22:35:09 Z2009-06-29T22:35:09Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#6a2eb2bc-e131-4da7-b412-3f8e1ea020f7http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#6a2eb2bc-e131-4da7-b412-3f8e1ea020f7Orlanzohttp://social.msdn.microsoft.com/Profile/en-US/?user=OrlanzoFileGroupIsNotSupportedInScriptExceptionThat is pretty interesting.  The project and schema versions are the same in my files as well.  In the same file, I see a PreviousProjectVersion tag that I presume is an indication of a converted project.  One of the moderators may be able to explain why this occurred or answer to whether this is a bug.<hr class="sig">OrlanzoTue, 30 Jun 2009 12:09:35 Z2009-06-30T12:09:35Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#b0cffc5a-466b-4acf-88c6-4c204ceddb55http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#b0cffc5a-466b-4acf-88c6-4c204ceddb55Jill McClenahanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jill%20McClenahanFileGroupIsNotSupportedInScriptException<p>What was your starting project (VS 2005 or VS 2008 Orcas)?  And did you convert directly to GDR R2 or did you upgrade to GDR and then R2?  We will investigate to see if we can repro this bug.<br/><br/>Thanks,<br/>Jill</p>Tue, 14 Jul 2009 22:51:12 Z2009-07-14T22:51:12Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#63259ba0-5bff-4ec3-9154-f66bc67c918fhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#63259ba0-5bff-4ec3-9154-f66bc67c918fBarclay Hillhttp://social.msdn.microsoft.com/Profile/en-US/?user=Barclay%20HillFileGroupIsNotSupportedInScriptExceptionHi Craig,<br/><br/>I cant repro this from an upgrade of a 2008 Visual Studio Team System Database Edition SP1 Project to a GDR R2 Project.  Were you using the earlier power tools with the pre GDR project?<br/><br/>Can you send my your old project so I can get a repro on this issue?<br/><br/><a href="http://blogs.msdn.com/bahill/contact.aspx">http://blogs.msdn.com/bahill/contact.aspx</a><br/><br/>Thanks,<hr class="sig">Barclay Hill Program Manager VSTS: DB Team (DataDude, DBPro, Database Edition) Please mark the responses as answer if it resolves your question. Tue, 04 Aug 2009 17:46:50 Z2009-08-04T17:46:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#16c6dad9-d47c-4c74-853c-c4c0f12f4e0chttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#16c6dad9-d47c-4c74-853c-c4c0f12f4e0cBarclay Hillhttp://social.msdn.microsoft.com/Profile/en-US/?user=Barclay%20HillFileGroupIsNotSupportedInScriptException  <p style="margin:0in;font-family:Verdana;font-size:10pt">Hi Craig,</p> <p style="margin:0in;font-family:Verdana;font-size:10pt"> </p> <p style="margin:0in;font-family:Verdana;font-size:10pt">This thread has been changed to a “General Discussion” since you have not followed up with the necessary information. If you have the time to revisit the issue and provide additional information, please feel free to respond and change the issue type back to “Question”.</p> <p style="margin:0in;font-family:Verdana;font-size:10pt"> </p> <p style="margin:0in;font-family:Verdana;font-size:10pt">If the issue is resolved, we would appreciate it if you can share your solution or information with other forum members who may have similar questions or issues.</p> <p style="margin:0in;font-family:Verdana;font-size:10pt"> </p> <p style="margin:0in;font-family:Verdana;font-size:10pt">Thanks.</p><hr class="sig">Barclay Hill Program Manager VSTS: DB Team (DataDude, DBPro, Database Edition) Please mark the responses as answer if it resolves your question. http://blogs.msdn.com/bahill Mon, 24 Aug 2009 22:36:56 Z2009-08-24T22:36:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#1deb335f-f695-4f77-a2a6-e731cdeb32e3http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#1deb335f-f695-4f77-a2a6-e731cdeb32e3bjkjhttp://social.msdn.microsoft.com/Profile/en-US/?user=bjkjFileGroupIsNotSupportedInScriptException<p>Was there any additional information on this topic?  We just upgraded to GDR2 and have been getting a few errors.  This is one of them.</p>Tue, 20 Oct 2009 17:49:57 Z2009-10-20T17:52:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#d52ba49e-7d29-4ed0-9da3-a85e381a908ehttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#d52ba49e-7d29-4ed0-9da3-a85e381a908etomsmihttp://social.msdn.microsoft.com/Profile/en-US/?user=tomsmiFileGroupIsNotSupportedInScriptExceptionHi bjkj,<br/><br/>You are getting the NotSupportedInScript exception in GDR R2?  If so, can you check your project file to see if this is in there:<br/>  &lt;Import Project=&quot;$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets&quot; /&gt;<br/><br/>If so, that line should be changed to this:<br/>  &lt;Import Project=&quot;$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets&quot; /&gt;<br/><br/>Easiest way to check this is to open the .dbproj file in Notepad.  <br/><br/>Thanks,<br/>-Tom<br/><hr class="sig">Tom Smith, SDET - Microsoft Visual Studio Team Edition for Database ProfessionalsTue, 20 Oct 2009 19:54:49 Z2009-10-20T19:54:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#c7081cfe-9027-43ec-8d0a-44c9d532699fhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#c7081cfe-9027-43ec-8d0a-44c9d532699fbjkjhttp://social.msdn.microsoft.com/Profile/en-US/?user=bjkjFileGroupIsNotSupportedInScriptExceptionOk, so it looks like I caused this issue by trying to solve another.  I changed the line you mentioned above because I was getting an error stating the &quot;SqlBuild&quot; target was missing.  I noticed the Microsoft.Data.Schema.SqlTasks.targets file does not have the &quot;SqlBuild&quot; target so I switched it to the Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets file.  <br/><br/>I have switched the Import back and am back to the original error: &quot;The target &quot;SqlBuild&quot; does not exist in the project&quot;.<br/><br/>Do I need to specify both import files?Tue, 20 Oct 2009 20:22:37 Z2009-10-20T20:22:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#daec5c2b-81b1-4f55-b74e-23552b245723http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#daec5c2b-81b1-4f55-b74e-23552b245723Christian Whiteheadhttp://social.msdn.microsoft.com/Profile/en-US/?user=Christian%20WhiteheadFileGroupIsNotSupportedInScriptExceptionThe only import that you need is: <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt"><span style="">  </span>&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Import</span><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span><span style="font-family:'Courier New';color:red;font-size:10pt">Project</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=</span><span style="font-family:'Courier New';font-size:10pt">&quot;<span style="color:blue">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\TeamData\Microsoft.Data.Schema.SqlTasks.targets</span>&quot;<span style="color:blue"> /&gt;<br/><br/>Before you upgraded did you have any PowerTools installed?<br/><br/>Also, would it be possible for me to get a copy of your project?</span></span></p><hr class="sig">This posting is provided &quot;AS IS&quot; with no warranties, and confers no rightsWed, 21 Oct 2009 17:35:23 Z2009-10-21T17:35:23Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#ab14aa09-7117-4ad8-8f19-5268031c3665http://social.msdn.microsoft.com/Forums/en-US/vstsdb/thread/e83f7f64-7aef-479f-942f-075a53a54600#ab14aa09-7117-4ad8-8f19-5268031c3665bjkjhttp://social.msdn.microsoft.com/Profile/en-US/?user=bjkjFileGroupIsNotSupportedInScriptExceptionThanks for your help.<br/><br/>Yes I had the Power Tools installed.  I currently have the 2008 Database Edition - Power Tools installed ver 9.0.1.  FYI, I opened a new thread dedicated to this topic thinking this thread might be stale and not easily identified by the initial question.Wed, 21 Oct 2009 19:51:15 Z2009-10-21T19:51:15Z