CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    15

    Can I create web browser in C# for run OneClick ?

    I was create simple Web Browser in C# . when I run OneClick in this web browser it show error Cannot Start Application and detail of error like this. Can I create web browser in C# for run OneClick ?

    PLATFORM VERSION INFO
    Windows : 6.2.9200.0 (Win32NT)
    Common Language Runtime : 4.0.30319.18449
    System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
    clr.dll : 4.0.30319.18449 built by: FX451RTMGDR
    dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
    dfshim.dll : 4.0.41209.0 (Main.041209-0000)

    SOURCES
    Deployment url : file:///C:/Users/Admin/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Content.IE5/H6XXAKVZ/Caller%5B1%5D.application

    IDENTITIES
    Deployment Identity : Caller.application, Version=1.0.0.76, Culture=th-TH, PublicKeyToken=b253a5ae70a720c9, processorArchitecture=msil

    APPLICATION SUMMARY
    * Online only application.
    * Trust url parameter is set.
    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Caller[1].application resulted in exception. Following failure messages were detected:
    + Downloading file:///C:/Users/Admin/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/H6XXAKVZ/Application Files/Caller_1_0_0_76/Caller.exe.manifest did not succeed.
    + Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.
    + Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.
    + Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [3/26/2014 1:57:26 PM] : Activation of C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Caller[1].application has started.
    * [3/26/2014 1:57:30 PM] : Processing of deployment manifest has successfully completed.
    * [3/26/2014 1:57:30 PM] : Installation of the application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [3/26/2014 1:57:30 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
    - Downloading file:///C:/Users/Admin/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/H6XXAKVZ/Application Files/Caller_1_0_0_76/Caller.exe.manifest did not succeed.
    - Source: System.Deployment
    - Stack trace:
    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.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
    at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
    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, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    --- Inner Exception ---
    System.Net.WebException
    - Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.
    - Source: System
    - Stack trace:
    at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
    at System.Net.FileWebRequest.GetResponse()
    at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    --- Inner Exception ---
    System.Net.WebException
    - Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.
    - Source: System
    - Stack trace:
    at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
    at System.Net.FileWebRequest.GetResponseCallback(Object state)
    --- Inner Exception ---
    System.IO.DirectoryNotFoundException
    - Could not find a part of the path 'C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\H6XXAKVZ\Application Files\Caller_1_0_0_76\Caller.exe.manifest'.
    - Source: mscorlib
    - Stack trace:
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
    at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
    at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Can I create web browser in C# for run OneClick ?

    How and where did you deploy it to? I've delivered an app that connects to a web db, over my website with no problems.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured