Results 1 to 6 of 6

Thread: [RESOLVED] Error on opening?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2009
    Posts
    19

    Resolved [RESOLVED] Error on opening?

    Hello All,

    I've developed simple selection program which is now complete and in testing. The program has been sent to several users that have all experianced the same error when they run the program.

    This is what they recieve, they all have the latest .Net Framework, any ideas, please?

    Code:
    PLATFORM VERSION INFO
    	Windows 			: 5.1.2600.196608 (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:///C:/Documents%20and%20Settings/Administrator/My%20Documents/Downloads/Plymouth_Movements.application
    
    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\Administrator\My Documents\Downloads\Plymouth_Movements.application resulted in exception. Following failure messages were detected:
    		+ Downloading file:///C:/Documents and Settings/Administrator/My Documents/Downloads/Plymouth_Movements.application did not succeed.
    		+ Could not find file 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.application'.
    		+ Could not find file 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.application'.
    		+ Could not find file 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.application'.
    
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    	No transaction error was detected.
    
    WARNINGS
    	There were no warnings during this operation.
    
    OPERATION PROGRESS STATUS
    	* [13/08/2010 14:29:33] : Activation of C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.application has started.
    
    ERROR DETAILS
    	Following errors were detected during this operation.
    	* [13/08/2010 14:29:37] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
    		- Downloading file:///C:/Documents and Settings/Administrator/My Documents/Downloads/Plymouth_Movements.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 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.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 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.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 'C:\Documents and Settings\Administrator\My Documents\Downloads\Plymouth_Movements.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.
    I have tried sending them the "Plymouth_Movements.application" but to no avail, is simply "Building" the program in VB the correct way to finish it off?

    Kind regards.

  2. #2
    Hyperactive Member Zeljko's Avatar
    Join Date
    Oct 2006
    Location
    Internet
    Posts
    441

    Re: Error on opening?

    The 'most error-free' way to test it is to build your App inside VS IDE
    and give (preferably all) content from release folder to client.

    Can you try it? Did it help?

    But, never-less you must give minimum an .exe file from Release folder to your Client.
    Notes: Do not give .exe file from debug folder. Maybe is your App depending on some other References (Project properties-References) - if some special Reference is there you could try to mark it with 'Copy Local = True'...
    1. If this post helped you, please Rate it = That's You, saying Thanks, to Me ...Left side of this post: [Rate this post]
    2. Mark this Thread Resolved if your question has been answered That's You, saying Thanks, to Group ...Menu on top of your original Post: [Thread Tools]>[Mark Thread Resolved]
    3.
    Check my site: www.er-ef.netCheck my snippets: Get installed .NET versionsRegex extractingJoin hierarchically nested Datatables in one flattened Datatable


  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Error on opening?

    The error message states that it can't find a particular file, which you say you supplied, but it is looking in a VERY particular place: Documents and Settings\Administrator

    Lots of people won't have that location on their computer, or won't be logged in as that user. You need to do somethind else with that file, though exactly what is not so clear. If the file can reasonably be included into the resources of the application, then you can do that (Project|Properties on the Resource tab), or if the file could be found anywhere, you should give the user the opportunity to browse for the file.
    My usual boring signature: Nothing

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2009
    Posts
    19

    Re: Error on opening?

    Hi Guys,

    Thanks for the information, i've done as instructed and am waiting to see if it has worked.

    "Can you try it? Did it help?" Yep - supplied the files, still no luck, even asked the user to place the files in the exact same location as specified in the error message.

    The file is ofcourse one that is built with the program, so its not one that I've made or have had any implication in assigning to the program, I have also removed all un-used Refrences

  5. #5
    Hyperactive Member Zeljko's Avatar
    Join Date
    Oct 2006
    Location
    Internet
    Posts
    441

    Re: Error on opening?

    As I understand:
    - You send them exe file.
    - No install is necessary.
    - They received error - but in what? Where that they received this error? How can clients see it like that?
    I have never seen this type of error report which is descriptive as this one. Is it custom error report or...
    - They received an error after program is already opened and running OR in process of opening program?
    1. If this post helped you, please Rate it = That's You, saying Thanks, to Me ...Left side of this post: [Rate this post]
    2. Mark this Thread Resolved if your question has been answered That's You, saying Thanks, to Group ...Menu on top of your original Post: [Thread Tools]>[Mark Thread Resolved]
    3.
    Check my site: www.er-ef.netCheck my snippets: Get installed .NET versionsRegex extractingJoin hierarchically nested Datatables in one flattened Datatable


  6. #6

    Thread Starter
    Junior Member
    Join Date
    May 2009
    Posts
    19

    Re: Error on opening?

    Ok - just got an email from them, it's all working now after I selected the "Copy-Local = True" and enclosed all files, I've not discovered which files are required. The file in the error report is now in the Resources which has also worked, the error report wasn't one which was defined by me. But all is working now with the help from you chaps, most satisfied, many thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width