IDE :: Publish - Won't Copy Database On Setup?
Mar 20, 2012IDE :: Publish - Won't copy database on setup
View 3 RepliesIDE :: Publish - Won't copy database on setup
View 3 Repliesive created a program in VB 2008 and i cant remember how to publish it in such a way that it includes the database that the program uses. At the moment when i publish it, it only works on my system because i have the database on my PC, if i delete the database from my pc the program messes up because it doesnt have a copy of the database in its program resources etc.how do i publish the program so that it includes a copy of the database that it needs to function?
View 6 RepliesI am using VB 2008 Express. When I publish my project, all files show up properly in the publish directory. When I go to setup.exe it installs with no errors. When I go to launch the program it says it is missing the database. Sure enough the database that is suppose to go along with the install does not get copied over. If I manually copy the file to the install directory and remove the .deploy from the name the program works like it should.[code]...
View 2 RepliesI resive this message
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.3603
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3603 (GDR.050727-3600)
[Code]...
I can't get VB.Net to publish my current project, it can't find SETUP.BIN.It looks for SETUP.BIN in the directory where I have my application, not Program Files Windows SDK .. etc.If I move the ENGINE directory of the SDK path to my directory, it finds SETUP.BIN but not SIGNTOOL.EXE I've got VS 2008 on XP Pro SP2 using .Net 2.0 and Oracle - It all works fine with a BUILD out of VS 2008.
View 1 Replies(image removed)
After publishing and running the setup, i get the above msgbox.. how do i fix this validation, to where i can publish my app without having it validated?
I am creating a project which i will be selling to an organization
View 9 RepliesPublic Sub bk()
Try
Dim strDatabasePath As String =
[code].....
Public Sub bk()
Try
Dim strDatabasePath As String =
[code]....
when I try to publish my app I get this error.I am using VB 2008 XE on Win XP
Error2An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISigned
:Sign returned error: 0x80880253
The signer's certificate is not valid for signing.SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exeMITS 2008
I get this error when I try to publish: Error 2 An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253
The signer's certificate is not valid for signing.
SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exe MITS 2008
I downloaded the .net 3.5 sp1 and it performed a repair but it still will not publish.
I have been googling and searching many different forums for what I think should be a fairly straightforward answer, but I am unable to get it to work, or find the proper way to get it to work. the closest that I seem to be able to find the answer is along the lines here: [URL]
I have a similar setup, where I have three projects defined, one is my UI, one is my DB Access, and one is my real logic. DB Access and Real Logic are dll's, and each have their own app.config file, that when I build individually, it renames to mylogic.dll.config in the debug directory like it should. The dll.config file at the moment contain only Logging Application Blocks from the EntLib 5.0 library.
However, when I build the main exe, only the exe.config is there, and the dll.config's are not. Now, for one of them, I have gotten around it by changing the name of the file in VS to mylogic.dll.config, and set it to copy to output always. This works, as if I change the level of logging in the config, its changed next time I run the program. However, to get that to work, in my Logic class, I needed to specify the name of the config directly to the Logger, which I would prefer not to do.
Now, to compound the issue, in the DB Access dll class, I want the config to hold Logging Application Block config settings, but it will also hold other settings, such as the connection string to connect to the DB as, and so on, and if I rename it from app.config, then the standard VS tools (like XSD Designer) dont work.
So, for something that seems to be so elementary, I cant seem to figure it out... perhaps my logic is wrong... but in the end, I dont want to need to manually merge the different app.config's from the dll's into the exe app.config by hand, as this is very error prone.
I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?
NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?
I am doing the POS system. I have one database only. When i run the program in the VB.net Application, it has no error, the program work fine. But after i publish it and install into my computer. I run the program, it still can work when in the login part, it can retrieve the database in the login part but cannot work in the Sales part.. I really have no idea on what is wrong with my database connection. I have try many way but fail. hope someone can give me some direction. below are the error message and detail it gave me. The error message pop out.
[Code]...
i want to have a built in database for my project this is what i did so far, i placed the mdb file inside the project
[Code]...
I have tried to publish my program. For the time being, no errors when save or do anything. Then again, when I check the database (Ms Access 2007) that is being used, there is no data in there.
My program is to capture image. The image is captured in put in folder but no data at all in my database. How to solve this?
I have setup Build = content and copytooutputdirectory = copy if newer.
vs 2010, vb.net My program uses clickonce to automatically check my website for an updated publish, and then download and install if a newer version exists. I have been publishing my updates with the database excluded because if I include it, it overwrites the user's existing database with a new empty database.
My issue is that the new version of my software needs to have additional columns added to the existing database so that the user can save additional information. For example, the previous database table allowed saving client first name and last name, but the new version needs to have a new column for "address".
Is there a way for me to add a permanent database table or add a column to the user's existing database table without overwriting their current data?
how to publish an application with an access database file on vb 2005?
View 2 RepliesWhat is the difference between vb.net application and asp.net application? How can I publish an ASP.Net application with database residing in the server and user could update that through internet?
View 2 RepliesHow do I publish/deploy the WinForms application including a database file via ClickOnce?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback,
Now I did a clean build, and tried to publish, and I get a lot of errors and warnings that I don't understand.
Error1Cannot publish because a project failed to build.11AllJ Slots
Warning2Assembly 'Microsoft.DirectX.AudioVideoPlayback.DLL' is incorrectly specified as a file.AllJ Slots
Warning3Assembly 'Microsoft.DirectX.DLL' is incorrectly specified as a file.AllJ Slots
Warning4Assembly 'Microsoft.DirectX.DirectSound.DLL' is incorrectly specified as a file.AllJ Slots
Error5An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISigned
:Sign returned error: 0x80880253
The signer's certificate is not valid for signing.
SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exeAllJ Slots
What type of database?[code]...
View 1 Replies[code]....I have a dialog that comes up and asks for a reason for declining the business.I don't want the code to move on after not enabling the "me" until the reason has been entered and saved into the database. Also, at that point where it says "I WANT...." I want to copy the textbox fields into a new database and then delete this entry from the database, how can I do that. I am using VS 2008 and SQL.
View 2 RepliesI am trying to copy a table from a network database to a local database. I used DAO and could check if the network table existed using a function that tried to assign a TableDef object to the table in question. If there was no error then I assumed that the table existed and the function returned true...Or it would error out and return false.I could then proceed with the copy or not as the case may be.I am converting the code to ADO.net and need to know how to check for a table. [code]
View 1 Repliesim making a setup project with my windows application. i have pack it but the problem is my database. how do i set there new targets once i added the mdb file. i know thats the problem but i really dont know how to reconfigure
another thing, when its already pack and when i try to run the msi, the interface has an error on the picture above. and whats the bootstraper for? why is it that clicking the bootstraper is an error.
also if my target machine doesnt have vb.net and ms access, would my project be still running in there? this is my first time in making setup projects.. im using vb.net 2k3.
I trained myself to program beginning in 1980 with the Basic language for Radio Shack's TRS-80 Model III.Later learned to program macros in Lotus 1-2-3, then taught myself DBase, then started Visual Basic.I've trained myself on Visual Basic up to VB 6.0.Now, as I understand it, Windows 7 and beyond will not support using VB 6.0. I have programmed many pieces of software we use in our offices.My software is Access Database intensive. I put the database on the server and we can connect from our various computers to the databases and work on the data as necessary.I've never gotten into Server/Client types of organization because I don't understand the server model and how to do that...For the sample databases one needs a server application running and I don't have one (Our server only has a standard operating system on it).
Now I was looking at Visual Basic 2010 and am totally lost.In VB 6.0 samples, I could put a break point (debug) and stop the program and examine what it is doing.now I don't even know where to put a break point..When I put one in the samples, the sample application loads and does not hit the break point...Is there anywhere I can learn how to move up to Visual Basic 2010?I don't want to have to quit my job and go back to school but it seems soooo different from VB 6.0.Just trying to figure out 'datasets' is a chore and to see how they work in the samples, I have to set up some form of database somewhere and it does not show me how.
1. What tools do I need to set up/create a database?
2. How do I set up/create a database?
3. Lets say I have some sort of "text" in my database. How would I get another one of my programs to connect to my database, and download the "text".
4. How would I "host" my database? I want my program to be able to connect to my database without having my computer on 24/7. must be free
I have written many programs and never really needed a database before. Just never came up. I am a self learned programmer. I have experience in using php and database on websites etc. I am currently writing a program in VB 2010 and need some assistance in using a database.simplest way to setup and use a database in VB. I would believe that it's better then saving "clients/data" to a file. . The software is being created only to be used on one computer and not over a network etc.
View 4 RepliesI have been Google-ing for four days now and still i can find no solution to my problem:(and my brain hurts) i recently made a windows application that pulls data from a mySQL Database and populates my form but when i was told to use excel instead of MySQL thats when the problems started. while setting up vb to connect to MySQL i found a few articles that explained in good enough detail how to set up vb before ever doing any coding
ie.( boot vb, start windows form project, click project/add reference, click on the COM tab and add the MySQL reference then click ok. next click data/Add new data source, chose database click next, click new connection, choose MySQL data source click continue, enter database info(server, user, password, port) click ok. then start coding connection strings and commands ( which i have no problem with)
My problem i can find all sorts of code to work with excel but i feel i need to go through the same environment set up as with MySQL but i cant figure out how to set it up i only need to read data from excel file to populate my form data ie.( text boxes, labels, datagridview, Ect...) does anyone know how to set up the development environment to facilitate my use of excel. or does anyone know of a better way to store and retrieve my data maybe a vb local database ( does that travel with the .exe easily?)
I'd followed Beth's video which nicely explains how to setup a "connector" to an existing database. Also, I've updated a method to retrieve information from one of the tables.Now, I need to retrieve information from the table, but I don't succeed to find the "method" to do so (I don't get to the situation that "Fill" or "GetData" are recognized methods). Could anyone send me references through which I could easily understand. how this needs to be done?
View 1 Replies