Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce application deployment issue
 

ClickOnce application deployment issue

I am not able to install a clickonce application and receiving following error
Please help!!!!!

ERROR SUMMARY

Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of file://\\Hbeu.adroot.hsbc\dfsroot\GB002\ficreditprod\ICE\Explorer\ICE Explorer.application resulted in exception. Following failure messages were detected:
+ Configuration system failed to initialize
+ Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)


ERROR DETAILS
Following errors were detected during this operation.
* [08/01/2009 15:00:15] System.Configuration.ConfigurationErrorsException
- Configuration system failed to initialize
- Source: System.Configuration
- Stack trace:
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_Sources()
at System.Diagnostics.TraceSource.Initialize()
at System.Net.Logging.InitializeLogging()
at System.Net.Logging.get_On()
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Net.WebRequest.Create(Uri requestUri)
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.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
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)
--- Inner Exception ---
System.Configuration.ConfigurationErrorsException
- Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)
- Source: System.Configuration
- Stack trace:
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
Akshay S Bhatnagar  Thursday, January 15, 2009 6:38 AM

Hi
We have resolved the problem currently by reinstalling , the solutions available on internet didn't workfor me as most people got this while they were working on WCF

In my case , it was related wth ClickOnce

Akshay S Bhatnagar  Friday, January 16, 2009 11:14 AM
Hi Akshay S Bhatnagar,

The problem seems to be caused by the error of System.ServiceModel configure section from your error log. To overcome this problem, I think the System.ServiceModel should be correctly configured. I've seen a similar error case from the internet, you can have a try the solution there, and see if it works. Please turn to here.

If the problem can't be fixed, please feel free to let me know.

Best regards,
Bruce Zhou

Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Friday, January 16, 2009 6:53 AM

Hi
We have resolved the problem currently by reinstalling , the solutions available on internet didn't workfor me as most people got this while they were working on WCF

In my case , it was related wth ClickOnce

Akshay S Bhatnagar  Friday, January 16, 2009 11:14 AM
What did you have to reinstall? .net 2.0 or what?
lurpdogg  Friday, July 03, 2009 12:17 PM

You can use google to search for other answers

Custom Search

More Threads

• Executing another setup through my application setup
• Desktop installation of new version fails
• i need help in starting another setup from my setup
• Using [TARGETDIR] to pass data via CustomActionData into .NET custom action throws error!
• Downgrading, MinimumRequiredVersion Question
• Automatical uninstallation of my already installed program Options
• Deploying a windows form
• Deploy Error With Prerequisites
• IE Toolbar self upgrade
• ClickOnce and crystal reports files