6 Replies - 865 Views - Last Post: 20 October 2013 - 08:14 AM Rate Topic: -----

#1 CitricThunder   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 18-October 13

Published program not working properly

Posted 19 October 2013 - 12:46 AM

My program runs fine within Visual Studio 2012, but when I publish it, it opens the install wizard then closes. And nothing else happens. Occasionally i'll get a error message saying it stopped working. Other times the process with linger and do nothing
Is This A Good Question/Topic? 0
  • +

Replies To: Published program not working properly

#2 Michael26   User is offline

  • Futurama: Insert funny joke here
  • member icon

Reputation: 414
  • View blog
  • Posts: 1,664
  • Joined: 08-April 09

Re: Published program not working properly

Posted 19 October 2013 - 12:55 AM

How to: Publish a ClickOnce Application using the Publish Wizard
Did you do this?
Was This Post Helpful? 1
  • +
  • -

#3 CitricThunder   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 18-October 13

Re: Published program not working properly

Posted 19 October 2013 - 01:01 AM

View PostMichael26, on 19 October 2013 - 12:55 AM, said:


Indeed I have
Was This Post Helpful? 0
  • +
  • -

#4 CitricThunder   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 18-October 13

Re: Published program not working properly

Posted 19 October 2013 - 01:09 AM

Heres my error message after it says "Application download did not succeed"
PLATFORM VERSION INFO
	Windows 			: 6.1.7601.65536 (Win32NT)
	Common Language Runtime 	: 4.0.30319.18052
	System.Deployment.dll 		: 4.0.30319.17929 built by: FX45RTMREL
	clr.dll 			: 4.0.30319.18052 built by: FX45RTMGDR
	dfdll.dll 			: 4.0.30319.17929 built by: FX45RTMREL
	dfshim.dll 			: 4.0.41209.0 (Main.041209-0000)

SOURCES
	Deployment url			: file:///C:/Users/Ryan/Desktop/BAWSAQ.application
	Deployment Provider url		: http://ryan-pc/BAWSAQ/BAWSAQ.application

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of C:\Users\Ryan\Desktop\BAWSAQ.application resulted in exception. Following failure messages were detected:
		+ Downloading http://ryan-pc/BAWSAQ/BAWSAQ.application did not succeed.
		+ Unable to connect to the remote server
		+ No connection could be made because the target machine actively refused it [2001:0:9d38:6ab8:1017:3e0c:b5c2:5454]:80

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	* [10/19/2013 3:07:09 AM] : Activation of C:\Users\Ryan\Desktop\BAWSAQ.application has started.

ERROR DETAILS
	Following errors were detected during this operation.
	* [10/19/2013 3:07:16 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
		- Downloading http://ryan-pc/BAWSAQ/BAWSAQ.application 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.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
			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.Net.WebException
		- Unable to connect to the remote server
		- Source: System
		- Stack trace:
			at System.Net.HttpWebRequest.GetResponse()
			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
		--- Inner Exception ---
		System.Net.Sockets.SocketException
		- No connection could be made because the target machine actively refused it [2001:0:9d38:6ab8:1017:3e0c:b5c2:5454]:80
		- Source: System
		- Stack trace:
			at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
			at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.



Was This Post Helpful? 0
  • +
  • -

#5 Michael26   User is offline

  • Futurama: Insert funny joke here
  • member icon

Reputation: 414
  • View blog
  • Posts: 1,664
  • Joined: 08-April 09

Re: Published program not working properly

Posted 19 October 2013 - 01:30 AM

Which one did you try?

To publish to the Web
To publish to a file share
To publish to a CD-ROM or DVD-ROM
Was This Post Helpful? 0
  • +
  • -

#6 CitricThunder   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 18-October 13

Re: Published program not working properly

Posted 19 October 2013 - 10:35 AM

View PostMichael26, on 19 October 2013 - 01:30 AM, said:

Which one did you try?

To publish to the Web
To publish to a file share
To publish to a CD-ROM or DVD-ROM

To publish to a CD-ROM or DVD-ROM
and
This application will not check for updates
Was This Post Helpful? 0
  • +
  • -

#7 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7105
  • View blog
  • Posts: 24,124
  • Joined: 05-May 12

Re: Published program not working properly

Posted 20 October 2013 - 08:14 AM

Do you have DNS running on your network to hand out the correct IP address for ryan-pc?
Do you have IIS or Apache running on your machine? Does it have the virtual directory named BAWSAQ being served up?
Is your firewall configured to allow incoming traffic on port 80?
Can you go to your web browser and go to the location: "http://ryan-pc/BAWSAQ/BAWSAQ.application"?

Basically all the information you need was in the error:

Quote

* Activation of C:\Users\Ryan\Desktop\BAWSAQ.application resulted in exception. Following failure messages were detected:
+ Downloading http://ryan-pc/BAWSA...SAQ.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused it [2001:0:9d38:6ab8:1017:3e0c:b5c2:5454]:80

:
--- Inner Exception ---
System.Net.WebException
- Unable to connect to the remote server
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.Sockets.SocketException
- No connection could be made because the target machine actively refused it [2001:0:9d38:6ab8:1017:3e0c:b5c2:5454]:80
- Source: System
- Stack trace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1