VS 2010 Publishing Application That Uses SQL DB?
Jul 2, 2010I'm having troubles publishing my application to use in any computer. That's because I don't know how can I publish it within the database.
View 10 RepliesI'm having troubles publishing my application to use in any computer. That's because I don't know how can I publish it within the database.
View 10 RepliesI've made a fairly good Windows form application to solve quadratic equations, but I am having a hard time understanding the publication process microsoft uses in Visual Studio. I'd like to distribute my programm as freeware on my blog.
View 5 RepliesI have a solution with two projects. The main project connects to the second project via a reference, and the reference path is local to my machine. It looks like it references the .exe file.So when I publish the main project (ClickOnce), i get the following error:
Application validation did not succeed. Unable to continue.In the log file, under Error Details, it says
System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the download assembly Project2.exe
- Source: System.Deployment
How can I include this second project? Should I publish it, then reference the published files? What do i reference? The .application file?Is there a way to just include this second project, so when I do publish the main project, the second one just goes along with it?
Is it possible to change the application version without publishing the application? Because I'm going to make an auto updater which needs some version information to work, but I don't want to have an installer.
View 3 RepliesI have recently created an application with Visual Basic.NET. I published my application and installed it. Now the question is that I need to know where exactly does the application gets installed on my system ?
View 6 RepliesAbout publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?
View 5 Repliesi can publish my app fine.it creates the setup and the rest of the files, whatever they are.on my operating system, the setup runs fine.when trying to install it on another system, it asks for the microsoft 3.5.net.this update can take quite a while.how can i publish my app, in such a way that it can run from the files in the setup and not have to have any other addons, as .net framework. i know it's possible, since i was able to install other software before i had the .net framework.
View 19 Repliesi just finished an application it works good when i debug but i tried to publish it and the publishing fails with errors that some files are double but i don't get what the problem is the error details are as follows
PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime
: 4.0.30319.235
[code]....
Getting error 'cannot locate application' when publishing vb.net application..
View 1 RepliesI've written a really simple launcher app for my team at work to use. However I wrote it in VB.net Express 2010 so its using .NET 4. I need it to be compatible with older machines that are using .NET 2 or maybe 2.5. I don't want to force upgrading to a higher .net if its not needed. And in some cases we work on old machines that can't be upgraded. My app is really simple and I'll post the code if needed. I am still a noob, my coding is ugly, and this is a quick and dirty tool.
View 1 RepliesI have a vb.net application that has to be published on the server to a specified path. After publishing, when I try to install the application, I get the below error msg:
ERROR SUMMARY: Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \agbvseng14datasSOFTEasy_ECNNouveau dossierEASY ECN.application resulted in exception.
Following failure messages were detected:
+ Downloading http://bue479/EASY ECN/EASY ECN.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused 180.30.4.18:80
what are the benefits of publishing an application versus just grabbing and using the .exe file from the build?
View 1 RepliesIn my code I've allowed used to create their own mazes and save them, under whatever name they like. I've also included a few pre-created mazes. The mazes themselves are saves in .txt files in the bin/debug folder of the project, along with a .txt file containing the maze names.
I really need to publish this program to send it to my teacher, but when I publish it it doesn't include any of the .txt files in my bin/debug folder.
I have created a windows application. Now i am ready to distribute and install the program, but I want to have the user need a password to install the program. Like a product key that I could set per individual customer. Is there a way to do this?
View 2 RepliesI have added some files that I need to be downloaded to the Application start up path. So I set Build Action as content now the files have been copied some where
C:Documents and SettingsTestUser.ANNAMLocal SettingsApps2.0DataHVDRBMY5.8AA858AT9VM.TNP est..tion_2d7cfc137d9c2c74_0001.0013_432bd4561850d290Data
How can access file from the application. My problem since it is a dynamic path will it be same folder count so that we can use like ....Data Some think like this
Using: VB 2008 Express?I created an application that connects to my MySQL, and everything works fine, but...
1. On my development computer, Windows 7, 64bit, I add the MySQL.data.dll file as a reference. I publish the program, run the setup.exe, and sucess.
2. I then copy my published folder to my test computer, Windows Vista 32 bit, and upon running the setup, the program fails to work because it cannot find the Mysql reference.
3. I then transfer my entire project over to my Vista computer, publish the program, run the setup.exe, and sucess.
4. I finally found out what was happening. My Windows 7 comptuer was not including MySql.Data.dll.deploy file in the Application Files published directory; but when I compiled it on the Vista machine this MySql.Data.dll.deploy was included.
So, in the end, I cannot compile the program on Windows 7, because it fails to create the .deploy file, and use it on Vista or XP (for some reason Win7 doesn't need this .deploy file?); but I can publish it on the Vista machine and install it fine on Windows 7, Vista, or XP. My targe CPU setting is Any computer.
I have windows application in which I get currently windows logged in username using following environment property
System.Environment.UserName But when I ran application using visual studio, it works without any problem. But when I publish application & try to run it, it get System.Environment.Username value as nothing.
cause of this issue? Or any other alternative to get current system logged in username.
an application that stores data in xml files,after publishing where can i access those files?
View 2 RepliesApparently this is a rather common issue but after 3+ hours of searching I still couldnt figure it out...After publishing my application when I try to run it, an error occurs wherein it can't locate my database.
View 10 RepliesI have this vb program that uses 2 dlls i made in c++, the dlls are attached to the project and are set as "copy always" and in vs debug mode they work fine, however when i try to publish the program and run it it can no longer find the dlls even tho they are right there next to the program itself the dlls are declared as following: Private Declare Function Trace Lib "Lowstuff.dll" (ByVal targ as IntPtr) As UInteger.so what im thinking is that maybe theres like a switch in project settings i didnt flick or maybe i need to specify the dll with full path or wut?
As it turns out it had nothing to do with vb afterall, it was the c++ dlls that had to be made as static. However now i have a new problem: Im geting a bunch of overflow exceptions from my program but only on other computers, in the dev machine it reports no errors or warnings whatsoever, i also went over function where the error was generated and all the functions it used and detected no fault so how am i supposed to track these down?
Trying to publish a click once type app to a local directory and create a websetup with the published contents- so that i can give tat setup to install in two different servers. but as the publishing wizard takes a URL - separate setup is required for each server. Is there any way that i can create a single setup which i can use it in two servers..?
View 1 Replieswhen I publish my app and run the setiup it places the shortcut under a folder in the start menu called Microsoft
View 1 RepliesI had a working WCF published to IIS on my server. Recently I created another, self-hosting WCF (windows service) and added a reference to it from my WCF on IIS. Like this:
ASP --> WCF (in IIS) --> WCF (as win service)
Now, I can't seem to add a reference to my first WCF in my ASP app. So I've got this:
ASP XXX WCF (in IIS) --> WCF (as win service)
Here's the service model from the WCF in IIS. I'm publishing to http://localhost/LetterWriterASP/
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.A full list of settings and comments can be found in machine.config.comments usually located in
WindowsMicrosoft.NetFrameworkv2.xConfig
-->
<configuration>
<configSections>
[code]....
when i publish an app in vb.net it creates some files: application files directory, app.application, and setup.exe i am going to be distributing this application to people who can barely use a computer, so i need to bundle everything in one, self-extractable package.
View 1 RepliesIn my current program, I'm calling some EXEs by just clicking on a button (so basically an all-in-one tool). (I'm using VS 2010)Question is: when I publish my project, you get of course a setup which you have to install. I'd rather have it be an EXE you can just launch.
View 5 RepliesWhen i use the 'Publish <ProjectName>' feature in VB .NET, a setup file is created. When u run the setup, u cannot specify where u want to install ure program. Is there any way to change that.
View 5 RepliesI'm a college student, and I made a web-based game for a friend using Visual Studios. I created a WPF project, and it's saved as an .xaml file. All of the free web hosting sites I've found would only let you post in HTML, CSS, or Flash. I've looked online for any help, and even looked for converters.
View 2 RepliesI have created a simple website in visual studio 2005 Express. How do i publish this on a IIS server? I have installed asp.net so do I just copy default.aspx, default.aspx.vb and web.config into c:\intepub\wwwroot\?? I hope this is the correct forum,
View 8 RepliesI created a program, but I can only publish as an application manifest and .app file. I want to publish or resave it as a .exe file that contains the entire program.
View 4 RepliesI'm working with Visual Basic 2008 Express. My application opens with the Terms screen, a form that asks the user to declare his acceptance of certain terms and conditions or to decline. If he accepts, the app opens the main screen, giving him access to all the app's facilities. If he declines, the app gives him a message and then closes. Whether he chooses to accept or decline, the app puts his decision in My.Settings so that it can be used next time the app is opened. In this way he is presented with the Terms screen on the next opening if he declined on the last run. But if he accepted on the last run, he is presented with the main screen on his next opening.
All works fine when I do a debug run. But when I build and publish the app onto my desktop it opens with the Main screen instead of the Terms screen.
why it works on F5 but not after publishing?
Public
Class frmTerms
Dim Accept As Boolean
[Code].....