Chào mừng đến với Diễn đàn lập trình - Cộng đồng lập trình.
Kết quả 1 đến 3 của 3
  1. #1
    Ngày tham gia
    Sep 2015
    Bài viết
    0
    Trích dẫn Gửi bởi 25cm
    Chào các bạn, ...

    Apps. mình viết bằng C#, trên nền tảng .NET 2.0. Điều lạ là khi mình download và cài đặt trên Windows 7 thì ko bị lỗi này, assembly System.Security mình đã check và không hề sử dụng ở trong apps. Mình cũng đã thử cài .NET framework 4.5 trên máy bị lỗi nhưng vẫn không được. Bạn nào biết nó bị sao chỉ mình với. Thanks!
    Hỏi tìm nơi mà hỏi, đây đâu phải là nơi để hỏi, để xin !
    Đây là nơi :
    Dự án & Source code C#, ASP.NET là diễn đàn để bạn chia sẻ các dự án, mã nguồn do bạn xây dựng hoặc sưu tầm được về C# hoặc ASP.NET

  2. #2
    Ngày tham gia
    Sep 2015
    Bài viết
    0
    Trích dẫn Gửi bởi Van8Hien62
    Hỏi tìm nơi mà hỏi, đây đâu phải là nơi để hỏi, để xin !
    Đây là nơi :
    Dự án & Source code C#, ASP.NET là diễn đàn để bạn chia sẻ các dự án, mã nguồn do bạn xây dựng hoặc sưu tầm được về C# hoặc ASP.NET
    nhờ mod chuyển giúp bài của mình vào đúng chủ đề với nhé. thanks!

  3. #3
    Ngày tham gia
    Sep 2015
    Bài viết
    0

    Install ClickOnce error: Could not load file or assembly 'System.Security, Version=4.0.0.0

    Chào các bạn,

    Mình vừa gặp lỗi như thế này khi cài đặt app ClickOnce trên Windows 8.1:

    Mã:
    PLATFORM VERSION INFO
    	Windows 			: 6.2.9200.0 (Win32NT)
    	Common Language Runtime 	: 4.0.30319.34209
    	System.Deployment.dll 		: 4.0.30319.34274 built by: FX452RTMGDR
    	clr.dll 			: 4.0.30319.34209 built by: FX452RTMGDR
    	dfdll.dll 			: 4.0.30319.34274 built by: FX452RTMGDR
    	dfshim.dll 			: 6.3.9600.16384 (winblue_rtm.130821-1623)
    
    SOURCES
    	Deployment url			: file:///C:/Users/SMX/Downloads/TestApp%20(3).application
    
    ERROR SUMMARY
    	Below is a summary of the errors, details of these errors are listed later in the log.
    	* Activation of C:\Users\SMX\Downloads\TestApp (3).application resulted in exception. Following failure messages were detected:
    		+ Could not load file or assembly 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.
    
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    	No transaction error was detected.
    
    WARNINGS
    	There were no warnings during this operation.
    
    OPERATION PROGRESS STATUS
    	* [2/1/2016 4:19:28 PM] : Activation of C:\Users\SMX\Downloads\TestApp (3).application has started.
    
    ERROR DETAILS
    	Following errors were detected during this operation.
    	* [2/1/2016 4:19:28 PM] System.BadImageFormatException
    		- Could not load file or assembly 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.
    		- Source: System.Deployment
    		- Stack trace:
    			at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
    			at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
    			at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
    			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
    			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
    			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    
    COMPONENT STORE TRANSACTION DETAILS
    	No transaction information is available.
    Apps. mình viết bằng C#, trên nền tảng .NET 2.0. Điều lạ là khi mình download và cài đặt trên Windows 7 thì ko bị lỗi này, assembly System.Security mình đã check và không hề sử dụng ở trong apps. Mình cũng đã thử cài .NET framework 4.5 trên máy bị lỗi nhưng vẫn không được. Bạn nào biết nó bị sao chỉ mình với. Thanks!

 

 

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •