I am not an expert in using vb.net, but I am trying to make my vb.net project accessible to others. I've done it before (about 5 years ago) with another program. This program is basically the same just for a different product line for us. I have all the files on a server. I published everything to a directory on the server...the directory is in the same spot as the other directory. I checked all of my project properties and have now made sure they are the same as my other project. The publishing works fine. But, when I try to run the setup.exe or the .application file, I an error message that pulls up a log file. I've looked all over and found similar log files, but no solution that seemed to work. Here is what the log file is telling me. Any help would be great. I am thinking it is something simple...remember I am not an expert. And, I know I got the other one to work a few years ago when I moved it from visual basic 6.0 to vb.net. I am using Visual Basic 2008 Express Edition to work with my project.
All,I seem to have stumbled upon a ClickOnce error that stops me from auto-updating. When I Deploy my program using ClickOnce it publishes to the specified location and installs just fine. I can run my program no problem if I activate it from the start menu. However, I have code that registers the program as the default to open a specific file type. Naturally, I want my user to be able to double click on the file type of my choice and have my program open like normal. All-in-All this works.
The problem arises because I need my program to check for updates before loading my program, much like it does when I open the program from the start menu (I set the auto-update check within the ClickOnce options). However, this check does NOT run when the user double-clicks a file type to run my program, it merely skips this step and opens the program. So first I tried to find a way to run the Update manually through code, what I cam up with was this: [Code]
While installing the application that i build on Visual Basic VS 2010, the following error occurs.
"Unable to install or run the application. The application requires that assembly stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. "
The message is "System Update Required"Unable to install or run the application. The application requires that assembly Microsoft.VisualBasic.PowerPacks.Vs Version 9.0.0.0 be installed in the Global Assembly Cache(GAC) First. It is not completely clear to me if this is something that I have to 'include' in my application, or something I have to direct my friend to install in his computer. (Or how he can get it?)
i am installing a VB application and the installer will install the app just fine for the first install. But if the program is uninstalled, then re-installed, i get an error from the installer that has a code of 2908 or something close to it. (It means that it cannot register a component). I cannot figure out why this is only occurring during a re-install.
i 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.
i built a very simple application in vb.net, installed it, it worked. then i did some very slight updates, build it, tried to install it but got the following errors. i restarted computer, uninstalled app for the uninstall menu, and tried to run setup.exe and still have been getting this error.
PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 2.0.50727.3053
I want to distribute this program I've made and it has a database it needs to install. So I made the setup project and put the database in the "application folder".
I built the setup project and ran it. It does successfully copy the database file into the application folder. But when I run the program it says file cannot be found, even though the file does exist and at the path specified where the program says it cannot find the file.
i have made a few of my own vb application using visual studio 2008.but after i publish those applications,i have to install it in order to run it.also, .net framework 3.5 is also needed.so,is there a language SIMILAR to visual basic that can make standard exe's without the need to install and no additional files necessary???? is c# something like that?
i running into an error when installing a windows service that i have created in vb .net. i followed the tutorial but i am getting an error. bellow is the log for the whole process until we get to the error. can someone please assist.
I created a simple windows service on my local PC and added the following code to it [code]...
Next I added a Setup project to this solution and added a custom action (By double clicking application folder then clicking add output folder then selecting primary output from the dialog). The solution builds fine but I have 2 problems.
1) Everytime I install the service, it asks me for the username, password and confirm password; I was wondering if there was anyway to get rid of it atleast while running locally. I tried setting the account type to user, local service, local system etc but it keeps popping up.
2) Once I enter the credentials (random ones), I get an error "No mapping between account names and security ids was done".
We are using a Windows 7 virtual machine as a testing platform for our VB 6 application. Th application utilizes an Access database.The application locates the database by looking at a configuration (ini) file.When I install the application on the virtual machine, it places a database where InstallShield directs it to and writes that path to the ini file. All well and good.However,somehow a second copy of the database is created in a user local folder.
If the user uses the "run as administrator" option, the application uses the database that is in the location designated in the ini file and that works fine. But if the user does not select the "run as administrator" option, the application apparently somehow attempts to use the local database and is unable to locate it.
Is this behavior is peculiar to the virtual machine, or is it something we need to be concerned about on "real" Windows 7 systems?If it is peculiar to the virtual machine, is there some way to get the virtual machine to behave more normally?
Is it possible to create a VB.Net application which users can just run without installing it first.If not, is it possible in another .Net language.The application only has to run under Windows (>= XP).
I've done a vb.net program. The program basically uses few reference for example system.io etc.In order for my program to run on another computer, the computer need to have .net framework 2.0 installed.Instead of installing the whole framework, can I just pack the references I used in the program together with the vb.net program.? What packager/packer program should I use and how do I go about doing it..?
I have created my windows from app. and published it. but i was wondering if there is any way to publish it so that the user doesnt have to install to there hard drive so when they click the .exe file it just runs the program Does anyone know of any good walkthrough's or could you let me know how to do this?
I developed a vb.net application using Ms-Access 2007 as backend. Now can i deploy this application in a machine where Ms-Access 2007 is not installed. Is Ms-Access runtime necessary for running the Apllication in machine not having Ms-Access 2007 installed?
I get the following error when I try to access a asp.net application on my local machine.HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x80070021
sometimes when we install our soiftware developed in VB6 under XP the error deletefile failed code 5 an error occured while trying to replace this file access denied c:windowssystem32shdocw.dll it does not happen all the time about 755 but if you click ignore the program installs perfectly and runs fine.
I new to .net My project involves developing a windows service application using VB .NET. I have installed the service successfuly on the first attempt using the installutil provided by the frame work.When i uninstalled the application the it gave me the following result.
System.ComponentModel.Win32Exception: The specified service does not exist as an installed serviceAn exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
The uninstall has completed.
When i tried to install the app again it gave me the following error
An exception occurred during the Install phase.System.ComponentModel.Win32Exception: The specified service already exists
I removed the application from the list of application event log entries in the registry(HKEYLOCAL_MACHINESYSTEMCurrentControlSetServicesEventLogApplication) ant tried installing the app agin it installed successfully. Why is uninstalling the service not removing the entry from the registry.
My application runs using Framework 1.1. It runs perfect when the client PCs have Framework 1.1 (without SP).After installing Framework 1.1 SP1, Framework 2.0, 3.0, 3.5 (and their Service packs), it gives a Nullreferenceexception error when adding a row to the datatable. This is the entire exception message
[Code]...
I have checked each of the values getting inserted and they all look fine. I even tried with values hardcoded but in vain. The patches cannot be avoided as they are pushed by our Corporate IT and we have no control over them.
I'm going to be using a text file to record and save values, line by line, and then pull these values out again upon restarting the application. Almost like a save file of sorts, just for some basic numeric variables.Getting the information in and out won't be too much of an issue, however I am wondering if there is a way that during the installation of this application, I could specify a place to create and save this text file, for eg:
c:ProgramFilesPOSxstocklevels.text
I have VS8 Professional, so I do have the Setup Wizard tool, which may allow me to attach files.
We are installing our application on windows 7. The application utlizes a Acces database. The application locates the database by looking in the registry under at HKEY_LOCAL_MACHINE / SOFTWARE / WOW6432NODE / COMPANY NAME / SOFTWARE NAME /STARTUP. When i install the application on windows 7 it places the a database where installshield directs it to and writes the path to the registry. However, somehow local copies of the database are showing up under the user profiles. (Example: c:/users/profilename/AppData/Local/VirtualStore/Program FIles (X86)/Company/SoftwareName/Data). We recently changed it to store the information in c:/ProgramData/Company/software however the same issue occurs and its creating local copies of the database and when the application runs it points to the local copy of the database. What we need is for all users to be pointed to and use the same database in ProgramData, is there something we are missing to accomplish this?
I have an app developed with VB .NET as front end and SQL Server Express 2005 Database. Now I want to install it on a server so that other client PCs can access it. My gquestions are:
1. Do I have to install SQL Server Express on the Server before I can install my database on it?
2. Do I have to install Visual studio on the clients before I can install the front end?
3. Is there any online walk-through/tutorial on how to accomplish this (ie, installing a database app on a server and connecting the clients)?
When I try to install the application from the files it produces when I follow the prompts from Build - > Publish (Visual Studio 2010) onto another computer, and then run the application on the other computer, it wont connect to the SQL database on the original computer. I've been receiving a timeout error or one which says it can't find the server.I have no idea where to start looking to fix this, both computers are running XP and 4.0 .NET Framework. The computers are linked on the same network.I think my connection string is the culprit, but I don't know how it should be set up to run on multiple computers. Here's my connection string:[code]The connection string works on the application I've installed on the original computer, but not the second computer I've tried installing the application on.My second thought was that it could be the server which is wrong, I've just used the name of my computer for that, is this correct? I thought it may be because all the computers are connected on the network.
I had developed a vb.net windows forms application for my company. It is working fine in our company. The database of that application is maintained in a separate server. I had direct connection to that database through sql connection in my application.Now one of our colleague wants that application to be installed in his laptop so that he can work on it when he is at home. How will I do that? The application will get installed but the problem is that the data won't get saved (as he won't be connected
I am a new Visual Basic 2008 Express Edition and just finished and distributed my first program. However, one of my users (Using Windows Vista 64-bit) cannot install my program. He gets the following error An error occurred while installing system components for <PROGRAM NAME> Setup cannot continue untill all system components have been successfully installed. Component .NET Framework 3.5 SP1 has failed to install with the following error message: "Another installation is already in progress. Complete that installation before proceeding with this install." Other 64-bit users on both Windows 7 and Vista don't have this problem.