I wrote a simple program that has a close button and a ping button. When you click the ping button it is hard coded to ping a specific website and return into the richtextbox the ip address returned. I built it on a windows 7 machine in VS 2010 pro then chose to Build > Build console app. It created an .exe that I launched on my computer and installed to make sure it ran which it did. I then sent the file to a different computer where it wouldn't install (windows 7 machine as well). It gave this error:
I don't understand what the error is saying or why it wouldn't install on the other computer. Thanks to anyone who has some suggestions.
Code:
PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) Common Language Runtime : 4.0.30319.1 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) clr.dll : 4.0.30319.1 (RTMRel.030319-0100) dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100) dfshim.dll : 4.0.31106.0 (Main.031106-0000) SOURCES Deployment url : file:///D:/Guy/Desktop/setup/IP%20Address%20Tester.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of D:\Guy\Desktop\setup\IP Address Tester.application resulted in exception. Following failure messages were detected: + Downloading file:///D:/Guy/Desktop/setup/IP Address Tester.application did not succeed. + Could not find file 'D:\Guy\Desktop\setup\IP Address Tester.application'. + Could not find file 'D:\Guy\Desktop\setup\IP Address Tester.application'. + Could not find file 'D:\Guy\Desktop\setup\IP Address Tester.application'. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [10/30/2010 8:08:54 PM] : Activation of D:\Guy\Desktop\setup\IP Address Tester.application has started. ERROR DETAILS Following errors were detected during this operation. * [10/30/2010 8:08:54 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading file:///D:/Guy/Desktop/setup/IP Address Tester.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.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation) 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 - Could not find file 'D:\Guy\Desktop\setup\IP Address Tester.application'. - 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 file 'D:\Guy\Desktop\setup\IP Address Tester.application'. - 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.FileNotFoundException - Could not find file 'D:\Guy\Desktop\setup\IP Address Tester.application'. - 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) 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.

Comment