|
-
Sep 8th, 2011, 11:51 AM
#1
Thread Starter
New Member
[RESOLVED] Error: "No connection could be made because the target machine actively refused it"
Hi Everyone,
So I had my program working, and then after I made some substantial changes I uninstalled the program, and tried to reinstall the updated program. When I clicked on the install program, a window popped up that said:
"Application download did not succeed. Check your network connection, or contact your system administrator or network service provider."
When I click the button to see more information, I get a text doc with this information:
Code:
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 4.0.30319.235
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.235 (RTMGDR.030319-2300)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : file:///H:/HONDA%20EDI/830/HMIN/EDI%20Reader/HMIN%20830%20Reader.application
Deployment Provider url : http://erandolpdxp/HMIN%20830%20Reader/HMIN%20830%20Reader.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of H:\HONDA EDI\830\HMIN\EDI Reader\HMIN 830 Reader.application resulted in exception. Following failure messages were detected:
+ Downloading http://erandolpdxp/HMIN 830 Reader/HMIN 830 Reader.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused it 10.74.79.65:80
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [9/7/2011 4:26:39 PM] : Activation of H:\HONDA EDI\830\HMIN\EDI Reader\HMIN 830 Reader.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [9/7/2011 4:26:56 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://erandolpdxp/HMIN 830 Reader/HMIN 830 Reader.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.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 10.74.79.65: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, Int32 timeout, Exception& exception)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
I have scoured the internet for what I changed that caused this error, but I cannot find anything! My program pulls information from an Excel file, and then outputs it to a datagridview and chart on the form.
I am not trying to make this a webservice, or available on the web. I am trying to put the program where it previously was, and it successfully installed. I made very superficial changes to the program, and I don't think I changed anything in the application settings. Any help would be greatly appreciated!!!
-
Sep 9th, 2011, 12:33 PM
#2
Frenzied Member
Re: Error: "No connection could be made because the target machine actively refused i
stupid question, but did you check the firewall settings?
-
Sep 9th, 2011, 12:43 PM
#3
Thread Starter
New Member
Re: Error: "No connection could be made because the target machine actively refused i
Hi Mebhas,
I am creating this program on my computer at work, so I do not have access to changing the firewall. However, I was previously able to install this program (as recently as a week ago) and as far as I know the firewall settings have not been changed recently (A computer administrator has to do it, and no one has logged onto my computer besides me in more than a month).
Would the firewall all of a sudden start blocking it, if it did not block it before? Thank you for your help!!!
-
Sep 9th, 2011, 12:52 PM
#4
Frenzied Member
Re: Error: "No connection could be made because the target machine actively refused i
of course not, unless the port has changed.
The only reason I have seen for this error, so far, is firewall settings.
Where is this "http://erandolpdxp/" machine? Is it something in the network or is it your machine? It still does not hurt to check the firewall settings in that "http://erandolpdxp/" machine.
-
Sep 9th, 2011, 01:15 PM
#5
Thread Starter
New Member
Re: Error: "No connection could be made because the target machine actively refused i
I'm still not sure how or why the output URL changed. It is supposed to go to this file path: "H:\HONDA EDI\830\HMIN\EDI Reader". The program is successfully published to this spot, but when I try to install it to the same place is where I run into the error.
I even tried having it published to somewhere different from where I was installing it, and I was getting the same error. As I said before, I have no idea why it started sending it to "http://erandolpdxp/HMIN 830 Reader/HMIN 830 Reader". Is this something I need to fix in the Project Properties in VB2008?
Thanks!!
-
Sep 9th, 2011, 01:30 PM
#6
Frenzied Member
Re: Error: "No connection could be made because the target machine actively refused i
Yes, you need to check the deployment/publish settings for the project.
Another thing to double check is this:
you are doing a remote download and install from a "server" called "http://erandolpdxp/". If this is the right place (and by your response, it is not) make sure the IIS is configured properly (which is not required if this is where the application installer is hosted).
It will also be very helpful to have a look at what your project settings are when you publish the project.
-
Sep 9th, 2011, 01:46 PM
#7
Thread Starter
New Member
Re: Error: "No connection could be made because the target machine actively refused i
Urghhhhhhh!!!!! I figured out what I did wrong:
If you go the "Publish" tab in "Project Properties", click the "Options" button, and go to the "Manifests" tab, there is a check box labels "Exclude deployment provider URL". I guess I unchecked this box at some point while manipulating the settings, and this is what caused me so much grief over the past 3 days!
Thanks Mebhas for guiding me to look at the settings!
-
Sep 9th, 2011, 01:48 PM
#8
Frenzied Member
Re: [RESOLVED] Error: "No connection could be made because the target machine activel
no problems, happy to help
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|