| Author |
Message |
le001ya
Joined: 19 Dec 2006 Posts: 10
|
Posted: Tue Aug 05, 2008 1:00 am Post subject: SQL Packager and Visual Studio 2008 - ZLib -object reference |
|
|
When upgrade SQL Packager C# project to Visual Stuido 2008, Zlib raised the following error. Any help is greatly appreciated.
Event Type: Error
Event Type: Error
Event Source: ConquestPPD
Event Category: None
Event ID: 0
Date: 8/4/2008
Time: 1:58:18 PM
User: N/A
Computer: MNXPAPPSSSBUILD
Description:
Object reference not set to an instance of an object.
at RedGate.Compression.ZLib.CompressionStream..ctor(Stream stream, Boolean writeable, Int32 chunkSize)
at RedGate.Compression.ZLib.CompressionStream..ctor(Stream stream, Boolean writeable)
at Package.ConquestPPD.PackageResourceManager.DllHandlerFront.GetBatchCount(Int32 fileIndex)
at Package.ConquestPPD.PackageResourceManager.SQLBatches.SQLBatchesEnumerator.MoveNext()
at Package.ConquestPPD.PackageExecutor.ExecutePackage()
at Package.ConquestPPD.PackageExecutor.Execute()
at Package.ConquestPPD.PackageApplication.ExecutePackageQuietly()
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |
|
| Back to top |
|
 |
le001ya
Joined: 19 Dec 2006 Posts: 10
|
Posted: Thu Aug 07, 2008 5:22 am Post subject: Other has reported similar problem |
|
|
This issue was reported by someone else by the title
object reference not set to an instance of an objec
Mon Mar 10, 2008 4:30 pm
Is this a bug? Did it get fixed in the latest 5.5 version?
Thanks.[/quote] |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Aug 07, 2008 10:14 am Post subject: |
|
|
Hi,
I can't check against this at the moment, but historically, you cannot upgrade SQL Packager projects to newer versions of .NET Framework because MS always seem to change the .resx format that the SQL resources use so that it is no longer compatible. If the SQL Packager project is compatible with .NET 2.0, it should probably only be edited using VS2005. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Thu Aug 07, 2008 11:04 am Post subject: |
|
|
Hi,
You may also want to let us know if you are compiling the project as 64-bit. The zlib.dll resource that comes in the package is a 32-bit version and can't be linked from a 64-bit application. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
le001ya
Joined: 19 Dec 2006 Posts: 10
|
Posted: Fri Aug 08, 2008 5:19 am Post subject: |
|
|
Is the new SQL Packager 5.5 generate C# code in VS 2008 format? and does it support 64-bit?
My company has SQL Packager 5.0, and it generates C# code in Visual Studio 2003. The C# project in VS 2003 upgrade to VS 2005 work fine. But the same C# project in VS 2003 upgrade to VS 2008 did not work.
The work around is to compile the C# project in VS 2005.
Currently, our application only support 32-bit. We intend to support 64-bit soon. |
|
| Back to top |
|
 |
Tom Harris
Joined: 06 Oct 2004 Posts: 308
|
Posted: Tue Aug 12, 2008 5:54 pm Post subject: |
|
|
SQL Packager 5.5 generates VS2005 projects. However, you can openand convert them in VS2008. I have done this succesfully on a 32bit machine and executed the resulting package without error.
SQL Packager 5.5 also works on x64 now.
Thanks, Tom
Tom Harris - Red Gate Software |
|
| Back to top |
|
 |
|