![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2007
Posts: 3
Rep Power: 0
![]() |
VB 2008 Express Edition HELP
Please help me im new to the forums and a noob to programming. I made a program with vb 2008 express eiditon and it works perfectly on my computer but when i send it to another computer or someone else it dosnt not work. It says that there is missing files. I clicked on details and this is what it says
PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.1433 System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400) mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400) dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400) dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400) SOURCES Deployment url : file:///C:/Documents%20and%20Settings/Administrator.JESSICA-D7708A4/Desktop/C++/Beasty_WebBrowser/Beasty%20WebBrowser/browser.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.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application resulted in exception. Following failure messages were detected: + Downloading file:///C:/Documents and Settings/Administrator.JESSICA-D7708A4/Desktop/C++/Beasty_WebBrowser/Beasty WebBrowser/browser.application did not succeed. + Could not find file 'C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application'. + Could not find file 'C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application'. + Could not find file 'C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application'. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [12/13/2007 1:20:07 PM] : Activation of C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application has started. ERROR DETAILS Following errors were detected during this operation. * [12/13/2007 1:20:12 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading file:///C:/Documents and Settings/Administrator.JESSICA-D7708A4/Desktop/C++/Beasty_WebBrowser/Beasty WebBrowser/browser.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(SubscriptionSto re 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) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) --- Inner Exception --- System.Net.WebException - Could not find file 'C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.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.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.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.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.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) 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 to get help from other forums and nobody has been able to solve my problem I hop one of you can. _________________ |
|
|
|
|
|
#2 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 742
Rep Power: 3
![]() |
Re: VB 2008 Express Edition HELP
The crystal ball is a little bit cloudy today, so I could be taking this in a totally incorrect direction...
It looks like you're trying to download a file from a hard-coded path on your desktop. When you deploy your app to another computer, the file you're looking for isn't at the same path (notice that the path depends on the username and computer name, so just copying the files to the desktop won't fix it). This is just a guess though...
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Dec 2007
Posts: 3
Rep Power: 0
![]() |
Re: VB 2008 Express Edition HELP
ive tried it from the desktop and from the projects folder in vb 2008 main folder thing and both did the same but what u r saying is making since just not my problem becasue ive tried from desktop and in vb project folder
|
|
|
|
|
|
#4 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 742
Rep Power: 3
![]() |
Re: VB 2008 Express Edition HELP
The problem is that your program is looking for a file 'C:\Documents and Settings\Administrator.JESSICA-D7708A4\Desktop\C++\Beasty_WebBrowser\Beasty WebBrowser\browser.application'. If this file doesn't exist (or you don't have permissions) then your program will fail. Taking a random guess, you're using the Administrator account on a computer called JESSICA-D7708A4. And your program fails on any other user account or computer.
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Dec 2007
Posts: 3
Rep Power: 0
![]() |
Re: VB 2008 Express Edition HELP
so what ur saying makes sence but what can i do to help me fix this because im still new with visual basics and this is kinda confusing lol
|
|
|
|
|
|
#6 |
|
Not a user?
Join Date: Sep 2007
Posts: 232
Rep Power: 1
![]() |
Re: VB 2008 Express Edition HELP
You can put the file on the C: drive in a folder, say C:\WebBrowser\browser.application
That way, unless somebody doesn't have a C: drive, then it will work...as long as the file is in the C: drive in the WebBrowser folder. You will want to copy that file to that specific folder before running it. |
|
|
|
|
|
#7 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 742
Rep Power: 3
![]() |
Re: VB 2008 Express Edition HELP
Either make your VB program not depend on the browser.application file, or deploy the browser.application file with your program so that you know where it is.
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
|
Re: VB 2008 Express Edition HELP
Or just put it straight onto the c drive like C:\file
|
|
|
|
|
|
#9 |
|
Not a user?
Join Date: Sep 2007
Posts: 232
Rep Power: 1
![]() |
Re: VB 2008 Express Edition HELP
Well, the reason I say to put it in a folder, if somebody copies a file with the same name to C:, your file is overwritten. If it's in it's own folder, less likely to be overwritten.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot Get VB Express 2005 | u2cannv | Visual Basic .NET | 11 | Feb 23rd, 2008 10:10 AM |
| Visual C# 2005 Express Edition How to deploy | kruptof | Coder's Corner Lounge | 11 | Sep 15th, 2007 11:15 AM |
| VB 2002 -> VB 2008 conversion | pal | Visual Basic .NET | 1 | Sep 15th, 2007 3:43 AM |
| Trouble with Visual C++ 2005 Express Edition installation | swedish_dude | Other Programming Languages | 9 | Feb 18th, 2006 7:31 AM |
| Visual Basic 2005 Express Edition IDE | George Giolfan | Visual Basic .NET | 15 | Dec 5th, 2005 7:26 AM |