Red Gate forums :: View topic - Error when package a script (v6.2.1.3)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager 6
SQL Packager 6 forum

Error when package a script (v6.2.1.3)

Search in SQL Packager 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
nnodari



Joined: 30 Mar 2009
Posts: 19

PostPosted: Fri Sep 18, 2009 3:04 pm    Post subject: Error when package a script (v6.2.1.3) Reply with quote

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
Back to top
View user's profile Send private message
nnodari



Joined: 30 Mar 2009
Posts: 19

PostPosted: Fri Sep 18, 2009 3:57 pm    Post subject: HELP ! Reply with quote

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 !
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Mon Sep 21, 2009 2:25 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Sep 24, 2009 9:32 am    Post subject: Reply with quote

Thanks for contacting us and letting us know that the SQL Packager Code Template was corrupt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group