Bcp Does Not Work In Deployed Application

Aug 21, 2009

I am calling a stored procedure that calls a bcp command from a visual basic 2005 application to export data to excel. When I publish the app on my machine the procedure works fine. However when I attempt to install on another users machine when I push the button to call the event ..the export does not happen. I am trying to install from a network and the other modules work fine.

View 2 Replies


ADVERTISEMENT

Can't Run Published/deployed Program (debugging Version Work Find However)

Jun 9, 2010

I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment, I get the following error:

"WindowsApplication has encountered a problem and needs to close. We are sorry for the inconvenience."

Here's some of the error details:

EventType : clr20r3 P1 : windowsapplication.exe P2 : 1.0.0.0
P3 : 4c0f1ae6 P4 : microsoft.visualbasic P5 : 10.0.0.0 P6 : 4ba2183b
P7 : 88 P8 : 8 P9 : system.io.fileloadexception

And then a second error pops up shortly after:

AppName: windowsapplication.exe AppVer: 1.0.0.0 AppStamp:4c0f1ae6
ModName: kernel32.dll ModVer: 5.1.2600.5781 ModStamp:49c4f482
fDebug: 0 Offset: 00012afb

The errors only occur once I try installing the program and just before the application loads.Here's the code for the program:

Imports System
Imports System.Windows.Forms
Imports Microsoft.DirectX.DirectInput
Imports Microsoft.DirectX

[code]....

View 2 Replies

Using Switches In A Deployed Application?

Nov 30, 2010

This may be a dumb question, but I am stumped. I wrote a simple desktop application in vb.net (vs2005) and published it via the "deploy" method. After I deployed the app and ran the deployment exe - the application runs fine. However, I have recently added some command line switches so I can run the app via a scheduled job. But I cannot find the "exe" file in order to run the application from the command line. Am I missing something or did I deploy/publish the application wrong?

View 1 Replies

.net - Debugging ClickOnce Deployed Application

Nov 9, 2010

I am new to ClickOnce deployment and at first glance it seems a great way to maintain .Net applications updated with ease. I am developing a simple application that stores information on a mdb database and over some XML files. I understood how to use the "data" folder with ClickOnce and I am developing the part of my application that should migrate the data from older versions after a ClickOnce update. Now I need to debug that part of my code that only runs when the application is in "networkDeployed" mode. So actually I'm doing the following really slow process to test a new deployed version:

publishing the application on a provisional website (I can choose between a faster locale iis site or a real online one) installing the application from the deploying website (the first time) or running the old installed application so it automatically catch new updates and gets updated... running the application

So basically I have two problems here:

the whole process is much too slow :/ I'm running the app as every other app directly from the OS, so I can't access to the debugger...

I am pretty sure that there are better way to test ClickOnce deployed applications...

View 2 Replies

Add Crystal Reports To Deployed Application?

Sep 27, 2010

I want to know how i can add reports either crystal or microsoft to a folder called reports in my application and then for them to be displayed in my menu tool bar under reports and then for them to run once clicked. I know it can be done its just how it is done.

View 2 Replies

LicenseException For AxMSFlexGrid In Deployed Application

Jun 24, 2009

I have migrated a VB6 application to .Net which uses the MSFlexGrid in a total of 7 different places on 3 forms.When the compiled application is installed on a non-development PC, one of the forms throws a LicenseException when trying to create the instance of the MSFlexGrid control.The other two forms successfully create and use the MSFlexGrid instances that they contain.The problem doesn't occur when the application is run on a development PC.[code]I have looked at the designer.vb code for the forms, comparing the instances which work with the one that doesn't.In both cases, (working and failed) the same calls are made to the control wrapper (i.e. a new instance is created, BeginInit() is called, attributes are set, it is added to the containing control, and EndInit() is called, where the exception is raised.To reiterate, this is not the 'usual' problem of a missing developer license.The exception is not occuring during development, it is occurring in the application installed in the production setting.

View 1 Replies

Deployed MSAccess Database Not Updated Through Application?

May 26, 2009

I've created a VB.NET Windows Form application which pulls info from an MSAccess database via datasets and tableadapter. When the user makes a change to the data, I use the Update method of the tableadapter to send the changes back to the database. This all works fine in the Visual Studio 2008 IDE, but once the build is done and the application is installed, I run into problems. The application keeps the original data and will not read or write to the database, although any changes I make through the application are mysteriously saved somewhere. If I make changes directly to the database using MS Access - which I need to be able to do - those changes don't show up in the data pulled into the application.

View 13 Replies

Desktop Shortcut For Click Once Deployed Application?

Aug 12, 2009

I would like to create a desktop shortcut for my clickonce deployed application.The IDE is VS2005 and there is no need for upgrading to 2008 yet.

View 3 Replies

Smart Client Application Deployed As A Click Once Application Called "PDFSplitter"

Jun 24, 2009

I have a smart client application deployed as a click once application called "PDFSplitter". The link to install this PDFSplitter is on our company intranet and when you click the link you get a "The publisher could not be verified. Are you sure you want to run this software?" message. Is there any way to make this message go away?

View 4 Replies

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

Dec 17, 2011

I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.

During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)

It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.

In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.

View 16 Replies

Deployed And Installed Application / Want To Attach Database Within SQL Server Management Studio

Mar 9, 2009

I've developed an application in VB2008 express and have installed it to another PC. The installation has put the mdf file in c:documents and settingsuserappsdata.I want to attach this with SQL Server Management studio but when I try to browse to the file in order to attach it, I find I can't browse further then C:documents and settingsuser.

View 3 Replies

Can't Run Published / Deployed Program

Jun 8, 2010

I've been using a piece of code I found that reads in joystick movement into my VB application using DirectInput. Building an executable works great, the program operates as should be, however when I publish my program for final deployment[code]...

View 10 Replies

VS 2010 .net 4.0 Framework Deployed With App?

Oct 30, 2010

Ok a simple question, I should know the answer but I am embarrased to ask. How do I get the .Net 4.0 framework deployed with my application when I publish it.Instead of having to download it on other pc's. Im sure its just a tick box in the preferences/settings somewhere.

View 3 Replies

Can't Find Access DB When Deployed With ClickOnce

Jan 22, 2011

I have built a simple app that searches an Access DB. When I build it, I can run it without error. When I try to use ClickOnce to deploy the app, it says it cannot find the Access DB. I am pretty new VB.NET, working with a DB and ClickOnce, so any thoughts or assistance.

I have the the "build action" set to "content" and "copy to output directory" set to "copy always". In the Publish > App Files I have the db set to "include" and "required". Worse than a newbie, the business guy who wants to code...

View 2 Replies

Copying Deployed Data Files?

Jun 23, 2011

I have three data files that I include with my project. They are all set to Build Action Content and Copy to Output Copy Always. I have a preferences form that allows the user to copy these files to a folder of their choosing. It works fine in the IDE. However, when deployed one file will copy but the next returns an error the the file cannot be found. In the following code block a deployed application will copy ABW11Data.sdf but cannot find 100610_40.dtb or 2118@005.dtb. They are in the deployment files and I can search and find them in the clickonce installation although they are not in the same place as the ABW11data.sdf.

If My.Application.IsNetworkDeployed = False Then
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "ABW11Data.sdf", TextBoxFolder.Text, True)
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath + "100610_40.dtb", .SelectedPath + "100610_40.dtb", True)

[code]....

View 4 Replies

Deployment - EXE Built By VS2005 Be Deployed As A Standalone EXE?

Jun 15, 2010

VB.NET: Can the .EXE built by VS2005 be deployed as a standalone EXE?When I change the mode in VS2005 to "Release" and build the solution, the binRelease directory then contains the solution .EXE file, but also a .pdb, vshost.exe and .xml file. What are these extra files and are they necessary?

I copied the .exe file to another machine and it executed properly, but there was a significant delay when it first executed - thereafter it was like any other program. What is the reason for this, Is it because the other 3 files in the Release folder are not there with it?

View 4 Replies

IDE :: Resource File Not Being Deployed With ClickOnce Installation?

Feb 15, 2010

I have a file in the Resources folder for one of my libraries, which is set to "Content" and "Copy Always".In debugging, the file is there, and the program works.

View 2 Replies

IDE :: Upgrading App Deployed As A Remote App On Server 2008

May 20, 2010

I have a vb.net app that is installed on server 2008 and registered as a remote app with approximately 70 users accessing it. There is an issue that when I put a new version of the app on the server, every user must remote desktop in and run setup.exe before the app will update to the newest version. If they try to run it without doing this step first, the app just runs the previously installed version under their login.

View 2 Replies

Launching Deployed App Error: Stopped Working

Apr 5, 2010

I deployed a VB.Net app and ran it and I get 'AppName has stopped working" "Windows is checking for a solution to the problem" along with a Cancel button under Windows 7. Under XP I am only getting the option to Send the error report to Microsoft or not. There is no apparent way to hook into a debugger. I am not getting any exception data. I have put msgboxes at the very start of my code and they are not hit so it is failing before any of my code is even executing. I have checked all dependencies that I can think of. I developed the app on VS2008 Windows 7 and deploying to Windows 7 and WinXP. I need some advice - how do I debug this?

View 2 Replies

VS 2008 Change The Location Where The Project Is Going To Be Deployed?

Feb 18, 2011

Using the clickonce deployment, how can I change the location where the project is going to be deployed? I want it to be deployed to program files!

Because at the moment and I suppose as default the files are going to C:UsersAdminmgrAppDataRoamingMicrosoft......, it is even hard to find them at all

And also how to create a shortcut after it installs ? those are the features I could not find how to do using the clickonce. I know there are setups as well but I have read somewhere that clickonce should be able those two things and I would prefer to use it.

View 7 Replies

Application Won't Work On Another PC?

Apr 24, 2011

I just finished creating my VB application and now when this application running on another PC, jumping out error (error image here [URL]..

View 1 Replies

.net - Accessing Private Keys From Certificate Deployed To Windows Azure?

Nov 17, 2011

I am trying to access the private key of a certificate I uploded to Windows azure do do decryption. I used a code similar to this post: Using DotNetOpenAuth OAuth 2 with Azure - Reading Certificate - difficulty extracting keys. Andrew Arnott provided an answer to what post referencing this link:[URL].. However I cannot access it so I am not sure what is the solution.

Essentially when try to cast the private key of a certificate as a RSACryptoProvider. I get nothing:
Dim provider As RSACryptoServiceProvider = DirectCast(certificate.PrivateKey, RSACryptoServiceProvider)

That is provider is assigned nothing. The code works perfectly outside of Azure.

View 1 Replies

Application Suddenly Won't Work

Sep 7, 2011

I recently had to format my PC, So I moved my project files and build files to my External Hard Drive, and continued to work on my project..I started to receive emails saying that the application is saying "Cannot download the application. The application is missing required files. Contact application vendor for assistance." After clicked view details, I found this:+ Downloading file:///C:/Users/myuser/Downloads/Browser.application did not succeed.I was confused, the .application file is not in Downloads, its supposed to download it from my website. And if I were to open my project on a computer with it already installed, it won't check for updates - it opens really quick without the "Viewing Application Requirments" window.

View 1 Replies

Application Suddenly Won't Work?

Jul 7, 2011

I recently had to format my PC, So I moved my project files and build files to my External Hard Drive, and continued to work on my project..I started to receive emails saying that the application is saying "Cannot download the application. The application is missing required files. Contact application vendor for assistanc

View 2 Replies

Application Work On A Tablet PC?

Jan 20, 2011

I've written an application using Visual Basic 2008 Express. It's intended for widespread use on individual PCs running Windows XP (Service Pack 2) and later. It has been found to work nicely with XP, Vista and Windows 7. The queston: Will it work on the Windows operating systems used on tablet/slate computers - particularly Windows CE 6.0R3 and Windows 7?

View 5 Replies

Get Hotkeys To Work In Application?

Aug 8, 2009

I'm trying to get hotkeys to work in my application (to make it visable if its minimized). I got it to work except that they only work once... the second time you try it does nothing.

here is the code i was using

Public Enum HotKeyModifiers As Integer
MOD_ALT = &H1
MOD_CONTROL = &H2

[Code].....

View 10 Replies

VS 2010 Application Don't Work?

Jul 1, 2011

VS 2010 application don't work?

View 6 Replies

VS 2010 Get Application To Work On 3.5 Only?

May 16, 2012

My application is looking for .Net Framework 4.0 but I only have 3.5 on my machine so I get an error.How can I get my application to work on 3.5 only?Is there some code which is 4.0 code only? which creates this error?As this is corperate computer I can't upgrade to 4.0 myself either.

View 4 Replies

Why Application Doesn't Work

Jan 28, 2012

So basically I made this code below to make my application (when the mouse leaves), go smoothly in an 70% opacity, with a fade.

Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
Me.Opacity = Me.Opacity - 0.05

[code].....

View 2 Replies

Data Management Application For Work

Jun 1, 2009

I am trying to construct a data management application for work. I had this working fairly well then moved over to VS 2008. When I am submitting my data via the button it is giving me a null exception error on the call sub.. Here is the code.[code....]

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved