Apparently 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.
I 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?
About 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?
I have a running program currently installed in my server, this program is running 24hrs a day. Now I did some enhancements on this program and tried to publish it. My publishing is successful but when I click the setup.exe Im have error message: "Critical error during application's main start up procedure. Description: Required processing files missing." I tried to deploy it also on my server but the same problem so I copied back the original for the program to keep on running. Attached Images error_when_setup.jpg (19.1 KB, 38 views)
i 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
I have an ASP.NET MVC project that works fine on my local machine (no build errors, server errors or anything). However, when I publish the project to a test server, I get an "Object reference not set to an instance of an object" error on a For Each I have in my view.
I am trying to publish a .Net application but I received the error; - Cannot publish because a project failed to build - SignTool reported an error 'The Path is not of a legal form' On the Signing tab I have teh error; An error occurred trying to load the page. The path is not of a lagal form. The same project I published few minutes ago, I was trying to re-publish it. It only affects me, but if another of my colleague opens it on his PC from the same source it works fine. I checked the certificate and it is present.
when I try to publish a program it gives signing error like this:
Quote:
Error2An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM.Liquid Transfer
It happens to a company computer and who knows what updates it has. It was working fine the first day I got the computer though.
I 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
I'm trying to publish a project I created to a network server using the Publish Wizard in VB 2008. The project publishes to the specified path but I try to install the application I keep getting this error..
I published a VB.NET 2008 program that contains a Windows Media Player. The code I used to play a wav file was AxMediaPlayer1.FileName = "song.wav". After publishing the program, when it is supposed to play the wav file, I get the following error: Error HRESULT E_FAIL has been returned from a call to a COM component.
I 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?
At the end of the re-installation of Visual Studio 2008, there is this message: "Microsoft SQL Publishing Wizard: [2] Error: Installation failed for component Microsoft SQL Publishing Wizard. MSI returned error code 1638" in the log file dd_error_vs_procore_90.txt.
When I searched for just "MSI returned error code 1638", I got that it cannot install something because it is already installed: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel".
In Add/Remove Programs I see these two programs: Microsoft SQL Server Database Publishing Wizard 1.3 Microsoft SQL Server Database Publishing Wizard 1.4
Are these programs/versions what the error is refering to? Am I safe to remove them and depend on the similarly-named item which would be newly installed with Visual Studio 2008 - "Microsoft SQL Publishing Wizard"?
I still use SQL Server 2000 and 2005 on my computer, as well as 2008.
I had installed VS 2008 on my computer before without this problem and also have VS 2005 and 2010.
I'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.
trying to get my hands wet on vs 2010 and i downloaded samples from ms site but when i tried to run some of the DB samples i received this sql error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) any ideas how to get around on this?
I 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
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.
In 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.
When 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.
I'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.
I 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,
I 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.
I am facing another error "An error occurred trying to load the page. Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) )" performing the following scenario:- Opened a sample VS 2010 WPF project that I receiveved from a co-worker (Project compiles, and run on his machine)I tried to open project properties (Project --> Properties)The project properties panel/window didn't open, all it had was an error symbol (red/white X) and the error message above(HRESULT: 0x80020003).I am unable to view niether the designer window nor the code window (no messages are reported) but the pane where the code/design shoud display is empty, all you can see is the background color.