Forum Thread: Failed to create package: Could not load file or assembly

You are currently viewing a forum thread in the Secunia Community Forum. Please note that opinions expressed here are not of Secunia but solely reflect those of the user who wrote it.

This thread was submitted in the following forum:
CSI

This thread has been marked as locked.
DavidS Failed to create package: Could not load file or assembly
Member 30th Jan, 2013 13:02
Ranking: 0
Posts: 5
User Since: 30th Jan, 2013
System Score: N/A
Location: LT
Hi,
I'm using CSI 6.0. I'm unably to create any package. Relevant log:

[01/30 13:43:34.876] Failed to create package: : -2147352567 , In 'Publisher.invoke'
Code: -2147024894
Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
--> System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at Microsoft.UpdateServices.Internal.BaseApi.FileSyst emHelper.GetSHA256HashForFile(String filePath)
at Microsoft.UpdateServices.Internal.BaseApi.Publishe r.ComputeSHA256CRCHashAsBase64String(String fileName)
at Microsoft.UpdateServices.Internal.BaseApi.Publishe r.VerifyAndPublishPackage()
at Microsoft.UpdateServices.Internal.BaseApi.Publishe r.PublishPackage(String sourcePath, String additionalSourcePath, String packageDirectoryName)
at Microsoft.UpdateServices.Internal.BaseApi.Publishe r.PublishPackage(String sourcePath, String packageDirectoryName)
at plugin.DotNetWrapper<Microsoft::UpdateServices: :Administration::IPublisher>.invoke(DotNetWrapp er<Microsoft::UpdateServices::Administration::I Publisher>* , PluginBstr* name, Arguments* args, PluginMarshal* marshal)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


After I tried to create package again, the log showed:


[01/30 13:51:25.926] Failed to create .exe file : : -2147024894 , Cannot determine SHA1 sum of input file
[01/30 13:51:47.880] Failed to create .exe file : : -2147024894 , Cannot determine SHA1 sum of input file


Please advice.

O.Marin RE: Failed to create package: Could not load file or assembly
Secunia Official 30th Jan, 2013 13:31
Score: 30
Posts: 116
User Since: 4th Aug 2011
System Score: N/A
Location: Copenhagen, DK
Hi David,

Make sure you have .net framework 3.5 installed on your machine.

.net framework 4 is not compatible with the 32-bit version of the csi

--
Kind Regards,

Oana Marin
Solution Specialist
DavidS RE: Failed to create package: Could not load file or assembly
Member 30th Jan, 2013 15:45
Score: 0
Posts: 5
User Since: 30th Jan 2013
System Score: N/A
Location: LT
Great. That solved the problem. Thank you.
Was this reply relevant?
+0
-0

This thread has been marked as locked.