473,320 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.
Feb 8 '12 #1
2 6207
PsychoCoder
465 Expert Mod 256MB
Give us an example on what the URL is, it sounds like there are extra items being read such as new line characters, etc.
Feb 9 '12 #2
When I try on Client Machine http:\\10.78.11.150\mytest\publish.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:\Documents and Settings\Hartron\Local Settings\Application Data\Opera\Opera\temporary_downloads\ERMS MAIN.application" 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.UriFormatException
- Invalid URI: The URI scheme is not valid.
- Source: System
- Stack trace:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object state)



On Localhost (server system) http:\\localhost\mytest\publish.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.Deployment.Application.DeploymentDownloadEx ception (Unknown subtype)
- Downloading http://localhost/test1/Application Files/ERMS MAIN_1_0_0_0/ERMS MAIN.exe.config 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.Downl oad(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.Down loadDependencies(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, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader. DownloadSingleFile(DownloadQueueItem next)
Feb 9 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ted Altenberg | last post by:
w3c.org recommends I ask this group, so here you go: I'm trying to validate a page I have at: http://members.cruzio.com/~webcab9/svft/contract.html but the w3c valiadator said "this type of URI...
4
by: Chris McIlvoy | last post by:
Here is my line of code Page.Response.Redirect("http://about:blank") Here is the error I am gettin Invalid URI: The hostname could not be parsed. Could someone please explain?
0
by: Simon Harris | last post by:
I'm trying to access a password protected web service. My code is as follows: Dim BS7666 As New bs7666.BS7666 'New instance of my web service Dim CredCache As CredentialCache = New...
7
by: SevDer | last post by:
Do you have any idea why I am getting the following error? Invalid URI: The hostname could not be parsed. Inner stack trace at System.Uri.Parse() at System.Uri..ctor(String uriString, Boolean...
1
by: Patrick.O.Ige | last post by:
Hi guys, I just moved a project from my pc to a server production (to an ISP). on my pc it all works fine with no errors. After fireing up the first page "default.aspx" i get the error...
0
by: dmgonzo | last post by:
I get the following when the site has been idle for several hours and i press a link. I have my application running .net 2.0 and connect to a web service that is 1.1. Any help is appreciated! ...
3
by: Elvey | last post by:
Is there a URI scheme for (geographical) map or address location? e.g. something like postal-geographical:postal:123_Main_St,Anywhere_AW,USA...
4
by: Chris Davies | last post by:
I'm curious. I'd like to determine whether a particular URI scheme (the "ftp:", "news:", "http:" part) is available within the user's browser. For example, consider this HTML snippet: ...
0
by: anacrisan | last post by:
I have a strange problem with a WebRequest. It used to work just fine, but now I get an exception (Invalid URI: The hostname could not be parsed.) every time I try to get the response from that...
0
by: =?Utf-8?B?bmZvdW50YXM=?= | last post by:
I started with having xml schema files compiled as resources in a wpf windows application. I was able to read the xml schema resource successfully using the following pack uri: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.