Invalid uri: the uri scheme is not valid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DilbagSingh
    New Member
    • Feb 2012
    • 5

    #1

    Invalid uri: the uri scheme is not valid

    hi,

    I want to deploy win forms application from my pc (win-xp) to my server (win2008 server).
    My application is consumes web service on server and a dll in ..\bin\debug directory (which is added to GAC on both systems). application deployed succesfully on server throug vs2008 ClickOnce. but when i try to launch application from my pc, an error occured.

    error message is:
    Invliad uri: the uri scheme is not valid.

    please help.
  • PsychoCoder
    Recognized Expert Contributor
    • Jul 2010
    • 465

    #2
    Give us an example on what the URL is, it sounds like there are extra items being read such as new line characters, etc.

    Comment

    • DilbagSingh
      New Member
      • Feb 2012
      • 5

      #3
      When I try on Client Machine http:\\10.78.11 .150\mytest\pub lish.htm the error is :

      ERROR SUMMARY
      Below is a summary of the errors, details of these errors are listed later in the log.
      * Activation of "C:\Documen ts and Settings\Hartro n\Local Settings\Applic ation Data\Opera\Oper a\temporary_dow nloads\ERMS MAIN.applicatio n" resulted in exception. Following failure messages were detected:
      + Invalid URI: The URI scheme is not valid.

      COMPONENT STORE TRANSACTION FAILURE SUMMARY
      No transaction error was detected.


      ERROR DETAILS
      Following errors were detected during this operation.
      * [08-02-2012 10:23:35 PM] System.UriForma tException
      - Invalid URI: The URI scheme is not valid.
      - Source: System
      - Stack trace:
      at System.Uri.Crea teThis(String uri, Boolean dontEscape, UriKind uriKind)
      at System.Uri..cto r(String uriString)
      at System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object state)



      On Localhost (server system) http:\\localhos t\mytest\publis h.htm
      ERROR SUMMARY
      Below is a summary of the errors, details of these errors are listed later in the log.
      * Activation of http://localhost/test1/ERMS%20MAIN.application resulted in exception. Following failure messages were detected:
      + Downloading http://localhost/test1/Application Files/ERMS MAIN_1_0_0_0/ERMS MAIN.exe.config did not succeed.
      + The remote server returned an error: (404) Not Found.


      ERROR DETAILS
      Following errors were detected during this operation.
      * [09-02-2012 11:46:34 AM] System.Deployme nt.Application. DeploymentDownl oadException (Unknown subtype)
      - Downloading http://localhost/test1/Application Files/ERMS MAIN_1_0_0_0/ERMS MAIN.exe.config did not succeed.
      - Source: System.Deployme nt
      - Stack trace:
      at System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)
      at System.Deployme nt.Application. SystemNetDownlo ader.DownloadAl lFiles()
      at System.Deployme nt.Application. FileDownloader. Download(Subscr iptionState subState)
      at System.Deployme nt.Application. DownloadManager .DownloadDepend encies(Subscrip tionState subState, AssemblyManifes t deployManifest, AssemblyManifes t appManifest, Uri sourceUriBase, String targetDirectory , String group, IDownloadNotifi cation notification, DownloadOptions options)
      at System.Deployme nt.Application. ApplicationActi vator.DownloadA pplication(Subs criptionState subState, ActivationDescr iption actDesc, Int64 transactionId, TempDirectory& downloadTemp)
      at System.Deployme nt.Application. ApplicationActi vator.InstallAp plication(Subsc riptionState& subState, ActivationDescr iption actDesc)
      at System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProvi derUrlFromExten sion, BrowserSettings browserSettings , String& errorPageUrl)
      at System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object state)
      --- Inner Exception ---
      System.Net.WebE xception
      - The remote server returned an error: (404) Not Found.
      - Source: System
      - Stack trace:
      at System.Net.Http WebRequest.GetR esponse()
      at System.Deployme nt.Application. SystemNetDownlo ader.DownloadSi ngleFile(Downlo adQueueItem next)

      Comment

      Working...