Error when package a script (v6.2.1.3)

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

Error when package a script (v6.2.1.3)

Postby nnodari » Fri Sep 18, 2009 3:04 pm

Hi,

After upgrade 6.2.0.1 to 6.2.1.3 (to fix script lenght problems) I´m getting error below, from event viewer:

Compilation errors:
c:\\Users\\Nilton\\AppData\\Local\\Temp\\Red Gate\\PE4e8866a1-1fe1-46ab-97c2-87cecab19c7e.cs(13,17) : error CS0101: Espaço para nome 'Package.SQLPackage' já contém uma definição para 'PackageExecutor'
c:\\Users\\Nilton\\AppData\\Local\\Temp\\Red Gate\\PE4e8866a1-1fe1-46ab-97c2-87cecab19c7e.cs(592,17) : error CS0101: Espaço para nome 'Package.SQLPackage' já contém uma definição para 'EnvironmentFolders'
c:\\Users\\Nilton\\AppData\\Local\\Temp\\Red Gate\\PE4e8866a1-1fe1-46ab-97c2-87cecab19c7e.cs(756,17) : error CS0101: Espaço para nome 'Package.SQLPackage' já contém uma definição para 'DatabaseProperties'
c:\\Users\\Nilton\\AppData\\Local\\Temp\\Red Gate\\PE4e8866a1-1fe1-46ab-97c2-87cecab19c7e.cs(869,17) : error CS0101: Espaço para nome 'Package.SQLPackage' já contém uma definição para 'CompressionAssemblyLoader'
em RedGate.SQLPackager.Engine.PackagerEngine.c(ArrayList )
em RedGate.SQLPackager.Engine.PackagerEngine.Package()
em Z.o()
em RedGate.Shared.Utils.ProgressTasks.ProgressTask.a()
em RedGate.Shared.Controls.ProgressDialogEx.e()

What is happening and how to fix?

Regards,
Nilton Nodari
LEGAL Sistemas
nnodari
 
Posts: 19
Joined: Mon Mar 30, 2009 9:04 pm

HELP !

Postby nnodari » Fri Sep 18, 2009 3:57 pm

After downgrade to my fisrt release (6.0.0.107), i´m getting the same error.

Then, I updated to 6.0.1.9 and... same error.

HELP !
nnodari
 
Posts: 19
Joined: Mon Mar 30, 2009 9:04 pm

Postby Brian Donahue » Mon Sep 21, 2009 2:25 pm

Hi Nilton,

The error is saying that the namespace already exists, so there must be duplicate files going into the C# project generated by SQL Packager.

If you could output the package as a C# project and send us the project files, or just the .csproj file, to support@red-gate.com, that would be helpful.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Thu Sep 24, 2009 9:32 am

Thanks for contacting us and letting us know that the SQL Packager Code Template was corrupt.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 0 guests