Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   VB 2008 Express Edition HELP (http://www.programmingforums.org/showthread.php?t=14747)

imabeast1991 Dec 13th, 2007 6:38 PM

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.
_________________

Jimbo Dec 13th, 2007 9:29 PM

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...

imabeast1991 Dec 13th, 2007 10:27 PM

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

Jimbo Dec 14th, 2007 12:41 AM

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.

imabeast1991 Dec 14th, 2007 12:25 PM

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

Jabo Dec 15th, 2007 11:32 PM

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.

Jimbo Dec 16th, 2007 8:38 PM

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.

mattireland Jan 4th, 2008 9:43 AM

Re: VB 2008 Express Edition HELP
 
Or just put it straight onto the c drive like C:\file

Jabo Jan 4th, 2008 8:34 PM

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.

mehul_gor020680 Sep 19th, 2008 7:22 AM

Re: VB 2008 Express Edition HELP
 
Hi to all
I am new in programming
I have one problem in vb 2008
I can enter data into database
and bind it in datagridview
but from datagridview i can't take
back in textbox
Pls. Help me.
My project is on hang mode because of this


All times are GMT -5. The time now is 12:55 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC