ClickOnce Error

ClickOnce Error

Old forum URL: forums.lhotka.net/forums/t/4410.aspx


DeanB posted on Monday, February 25, 2008

Ok,

I have developed a C# 2008 WinForm App that contains Csla, .Library, and .Win projects using VS 2008 and Vista.  I have deployed to Server 2003 IIS 6 site using ClickOnce.  The application installs perfectly on Vista Machines.  However, when I try to install on XP machines I get this after the download completes:


WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 * [2/25/2008 5:04:32 PM] : Activation of (sorry, had to delete the link due to work) has started.
 * [2/25/2008 5:04:32 PM] : Processing of deployment manifest has successfully completed.
 * [2/25/2008 5:04:32 PM] : Installation of the application has started.
 * [2/25/2008 5:04:32 PM] : Processing of application manifest has successfully completed.
 * [2/25/2008 5:04:34 PM] : Request of trust and detection of platform is complete.

ERROR DETAILS
 Following errors were detected during this operation.
 * [2/25/2008 5:04:35 PM] System.ArgumentException


  - Culture name 'km-kh' is not supported.


Parameter name: name
  - Source: mscorlib
  - Stack trace:
   at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
   at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
   at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
   at System.Deployment.Application.AssemblyMetaDataImport.ConstructAssemblyName(IntPtr asmMetaPtr, Char[] asmNameBuf, UInt32 asmNameLength, IntPtr pubKeyPtr, UInt32 pubKeyBytes, UInt32 flags)
   at System.Deployment.Application.AssemblyMetaDataImport.ImportIdentity()
   at System.Deployment.Application.AssemblyMetaDataImport.get_Name()
   at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromCompLibAssembly(String filePath)
   at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath)
   at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath)
   at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
   at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
   at System.Deployment.Application.FileDownloader.OnModified()
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
   at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
   at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
   at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
   at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
   at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

I noticed km-kh in Csla output.  I am stumped on this.  Any ideas????  Experts-Exchange is drawing a blank.  It happens on Every XP SP2 machine we try it on.

Thanks.

RockfordLhotka replied on Monday, February 25, 2008

If you don't need that culture you might consider deleting its resource file from the Csla project and doing a Clean then a Rebuild.

In fact, to minimize download size, you might consider deleting all resource files for cultures you aren't supporting in your app - just make sure not to get rid of the core resource.resx file Smile [:)]

Curelom replied on Wednesday, February 27, 2008

I have also had this error.  Changing the language of the assemblies from none to a specific language appears to work.

 

jobyspencer replied on Tuesday, August 05, 2008

I just ran into the same problem.  What I did to fix it was to go into the "Application Files" window in the "Publish" tab, and set each of the CSLA culture resources.dll files to a "Publish Status" of "Exclude".  Ex:  "km-KH\Csla.resources.dll" -> Publish Status = Exclude.  This keeps the unwanted resource files from being included in your ClickOnce deployment.

Vinodonly replied on Tuesday, April 20, 2010

i'm posting in this old post bcos i think this is a similar issue which i'm facing..

i just moved from Vs 2008 to VS 2010 and once the app is deployed through clickonce and executed on testing machine it gives error that library.resources.dll is missing.. Library is the project in the same solution and is referecing csla..

 

there are no satellite libraries included with my project.. any idea if this is related with csla or how to solve this..

Copyright (c) Marimer LLC