Catastrophic Error During Deployment?

Jun 22, 2009

I'm using VS 2005 and have managed to get my application to run fairly robustly. Now it is time to deploy it and let the rest of the group use it.

File
Add
New Project
Setup & Deployment
Setup Wizard

I double click Setup Wizard and I get: "Catastrophic failure (exception from HRESULT: 0x8000FFFF (E_UNEXPCTED)" I've googled a lot of references and read through them but none of them seem to be applicable to my case.

View 2 Replies


ADVERTISEMENT

Catastrophic Failure, GetLocationEvidence, Winform Startup With Arguments?

Dec 30, 2011

We are running a Winform VB.net application with command line arguments via an automation system so we can run scheduled maintenance jobs, etc., it has worked perfectly for years.

<ExceptionInformation><AdditionalInformationProperty MachineName="*removed from post*" TimeStamp="12/29/2011 2:15:22 PM" FullName="*removed from post*, Version=4.0.0.0, Culture=neutral, PublicKeyToken=f1ffc79106150be8" AppDomainName="ARS2.exe" ThreadIdentity=""

[code].....

View 9 Replies

Asp.net - Error With SQLXMLCommand And Deployment To IIS 6.0?

Jun 15, 2011

I am getting an error when trying to move my ASP.NET application from VS2010 to our IIS 6.0 webserver. The error happens on the first time the app tries to make a new SQLXMLCommand Object on the login page. When navigating to the login page and entering valid credentials I got an error saying a null reference exception was thrown. Investigating into the exception we were able to determine another exception was being thrown and caught, causing the null reference exception later in the code.

The Corresponding line of code throwing the exception:

New SqlXmlCommand(conn.ConnectionString & ";Provider=SQLOLEDB.1;")

The exception causing the problems below:

Retrieving the COM class factory for component with CLSID {83D0FC3E-8B31-4B35-A1B2-346BA3954514} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

[code]....

Looking further into the problem, the exception is only thrown on the Web Server. No exception is thrown if I am using localhost. I though I may be missing a reference to Microsoft.Data.SqlXml.dll as it was working localhost and not on the webserver. I tried fixing this by included the dll reference in my deployment project and making sure it was added to the bin folder, but with no avail.

Edit:SQLXML 4.0 was not installed on our webserver, it was part of the baseline installation of my machine.

View 1 Replies

ClickOnce Deployment Error

Aug 3, 2011

I Have a BIG problem. I make applications on Visual basic 2010 and of course use clickonce. when another computer wants to install an application (From the mediafire in a ZIP folder) the user extracts the folder, launches either the "Setup" or the ClickOnce application and then selects install and the following error message appears:

"Unable to install or run the application. The Application requires thaat assembly Microsoft.VisualBasic.Powerpacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) First. Please contact your system anministrator."

View 3 Replies

Setup And Deployment Error

Aug 15, 2011

When i am running my application on my machine at that there is no problem but when i am running on diffrant machine at the time login failed is occurring

View 1 Replies

Deployment :: Error (not Conect To Sql Server)

Oct 10, 2008

i create and finish my program using vb.net 2005 with database sql server2005 i did a setup package including .net fram and sql server coz other pc's which i want to install my prog in it doesn't have sql server in it. thee setup complete successfully but the problem is my programe start with a login form and that form read from a table in my database so after i install my program in other pc and try to enter by write a username and password i already use it in my pc when i creat the pro it gives me an error that i can't reach to the database and its not able to connect to remot computer!how can i solve this?is that mean that the program is working without conecting to the database?is my datab ase included in my setup package coz it had data and my programe open and work with that data?what if i have a server and that server has sql server 2000 is that will affect my program?is it better to install my program in to the server then connect other pc's to the network?

View 1 Replies

Deployment :: Error When Installing Application

Jun 14, 2012

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.

[Code]...

View 2 Replies

Deployment :: Error While Signing Key Not Valid?

Aug 7, 2009

"Error 2 An error occurred while signing: Key not valid for use in specified state." I found this solution on the internet but I have no idea how to do it."Delete all data sources in the Server Explorer and add them again. Run the wizard again."

View 1 Replies

VS 2005 - Deployment Error On XP Machine

Mar 29, 2010

I am getting the following error on a users machine who is running XP method not found 'system.string system.windows.forms.openfiledialog.get_safefilename
Do I need netframework 3.5 ?

View 12 Replies

ClickOnce Deployment Error And Application Identity

Mar 26, 2009

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]

View 5 Replies

Deployment :: Error - Unable To Find Version

Mar 20, 2009

I have developed a windows based application using visual studio 2005 called DMS. On the client side, this application runs on asp dot net framework 2.0. We have created its setup file which has to be installed on the client pc. After the installation of the application, some of the users get the error message as:

DMS.exe - .net framework initiation error Unable to find a version of the runtime to run this application

(I have also attached the screen shot of the error message.)Trouble shooting done by me:

a. I had tried the re-install Dot Net Framework 2.0.

b. Scanned the PC for virus attack.

c. Install dot net framework 2.0 first and then the application.

But none of the solution works. The only thing that works temporarily is un-install the whole application and re-install it. Then it works for a few hours.

View 1 Replies

Deployment :: Reflection Error Loading Assembly?

Jun 18, 2008

i am writing a simple games client using an XNA 2.0 engine to play games. The games are written in dll files and the client uses the assembly.loadfrom method to read and execute the games accordingly...Now this all works fine on my computer and my laptop. However when i give it to my friend he gets this error and the dll doesnt load - "Unable to load one or more of the requested types. Retrieve the loader exceptions property for more information"

View 1 Replies

Windows - Deployment And / Or Registration Failed With Error

May 22, 2012

When trying to deploy onto a touchscreen phone, I get an error: Deployment and/or registration failed with error: 0x80070020. How do I resolve this?

View 1 Replies

Deployment :: User Error When Writing To Shared Drive?

Feb 24, 2009

I have create a vb.net app that creates an excel spreadsheet. When I deployed the app, to the shared drive, I have no problems but the user gets the below error. The user can create the spreadsheet but gets the error when writing. When the user logs onto my PC, the user does not get the error. When I log onto the users PC, I got the error. Application attempted to perform an operation not allowed by the security policy To grant the application the required permission, cintact your local system adminsitrator, or use the Microsoft .net framework

request for the permission type 'System.security.permissions.securitypermissions mscorlib
version 2.0.0.0 culture =neutral
Publickeytoken='b77a5c56193e089'

I have tried to use caspol but it doesn't help?

View 1 Replies

Deployment Package Error In Visual Studio 2008?

Dec 31, 2009

I installed the latest version of Toad yesterday. When I restarted Visual Studio 2008, the project that is my installation package for my application would not longer load. The message I get in the output window is "The Visual Basic Deploy Deployment Package ({CCD045E8-6236-4B3D-B820-97F7DD14C77C}) did not load because of previous errors." When I try to reload that project, I get the following error: " The operation could not be completed. No such interface supported" I tried to repair the VS installation, but that originally failed. The Deployment folder under Common7Tools was currupted so I ran check disk. A few bad files and clusters were found and corrected and the second run of check disk ran clean. I uninstalled Visual Studio and then reinstalled it, but am still getting the same error. I tried reinstalling .Net 3.5 before the reinstall of VS as well. I tried creating a new installation project, but that failed as well.

View 1 Replies

SQL Database Read Only Error When Using VS 2008 Setup And Deployment Wizard?

Dec 9, 2009

I am trying out the Visual Studio 2008 Standard Edition Setup and Deployment - Setup Wizard on a very simple VB 2008 app which includes a simple SQL Express dB. The build works fine and it installs on the target system ok. But when I go to run the application and add a new record for example, I get a "read-only" error indicating that the sql db is read-only. Yet none of the files in the folder are read-only. What is odd is that the folder that it was installed into "acts" like it is read only, yet it is not identified as such. If I move the .exe and db files out of that folder, (onto the desktop for example) it works just fine. Should I set up a post build event or something to make

View 6 Replies

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

"Collection Was Modified; Enumeration Operation May Not Execute" Error On Deployment

Sep 20, 2010

I'm getting this error when I deploy a VB.NET application and for the life of me I cannot figure out why.I do not get this error when I run the app from the IDE and the test machine I am deploying it to has a similar configuration to the dev machine...Windows 7 & .NET 3.51 SP1 and 4.0.The app bombs out when the main form is loaded after logging in. I've narrowed it down to the main form because if I load another form from login and then open the main form, this happens.

View 1 Replies

Deployment :: Error - "application Validation Did Not Succeed. Unable To Continue"

Jan 25, 2010

I publish my project normally to a folder in my computer. When I run the setup the following message appears:

"application validation did not succeed. unable to continue"

I am using a SQL Server database in my project, I don't know if it has anything to do with that..

View 1 Replies

"Incorrect Format" Reference Error While Building Web Deployment Project In TeamCity

Nov 17, 2010

I began setting up a TeamCity server a couple days ago for use in automated testing and CI. We mainly do VB.net web apps and up until now, it had been checking out things and building just fine.

A problem came up when I tried to add actual deployment into the mix. I saw this article: [URL]

referenced all over the place as a good guide, so I followed the steps relating to setting up a Web Deployment project and rigging TeamCity to run it. Basically, it recommends setting up a new build configuration in VS2010 called "Deployment" which builds the Web Deployment project, then creating a build configuration in TC that targets it.

The issue is that the web deployment project won't compile when run under TeamCity. The regular build works just fine, but if I set MSBuild to use the build configuration that includes the Web Deployment project, it crashes halfway through and gives an error about attempting to load the System.Data.OracleClient assembly in an incorrect format. I assume this means a 32-bit/64-bit error, especially since my development machine is a 32-bit box, and the build server is 64, but I don't know why this is happening, especially when the regular build works, and nothing in my project involves using an Oracle database.

I saw in the log that there's a warning about missing reference assemblies for the 4.0 framework, so I headed off to the MS website and downloaded the SDK, but that didn't change anything. At this point, I'm stuck, and I didn't see anything already here on Stack Overflow that looked quite like this. I'll attach the log below. Have I missed something simple?

[10:46:05]: Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):
[10:46:05]: [Project "MyTools.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build target(s)):] Project "MyTools.sln" (Rebuild target(s)):

[CODE]...

View 1 Replies

Deployment :: Windows 7 (64 Bit) Deployment?

Feb 24, 2010

I have compiled my app to x86 so that it will run in a 64 bit processor, the issue I am facing right now is that when I install the app in under application folder I am not able to edit the config file which is in the same folder of the exe. how to give admin previlages to the application ?

PS: the app runs fine when installed in a different folder other than applicaitonfolder

View 3 Replies

Application And SQL DB Deployment

Dec 4, 2011

I have decided to try and engage creating my first app with a database. I have run through all the VB Express 2010 default tutorials and feel confident to move up one notch.My application on has two users and we do not have a server, just a file sharing setup which works okay if youre using MS Access DB. I have also constructed the app with a Service based DB attached to the project (VB Express 2010)I have spent a week trying to research this on Google but cannot find any specific answers to my questions.So, how do I setup the app prior to publishing so that I can install the app on both desktops and have SQL server installed on only one of the desktops with the DB residing on that?

View 5 Replies

Deployment - Can't Even Package

Jan 28, 2009

I am basically an EAI consultant and for my work I took an initiative to develop a windows based GUI whose functionality would be to simply execute a couple of Oracle SELECT queries and display the results in the form. I took the help of my friend who is a VB.NET expert and he was kind enough to develop the complete code for me within a day (He isn't available now). The application did work fine and we tried to package into an MSI using the Deployment & Packaging Project option. Now when I installed the application on a different computer, it throws OraOps10.dll not found ! I also tried the Setup Wizard from the same Deployment & Packaging Project option but it results in the same error.

Please note the following:

-> We used .NET 1.1 and the backend database is Oracle 10g.
-> We downloaded the Oracle Data Access components for .NET from Oracle's website. The DLL file in the error message actually came with this installation.

When I am packaging the solution, I expected all the dependencies including this OraOps10.dll should have also been packaged. What could go wrong here? I don't think I can request my customer to install the Oracle Data Access components for .NET, in this case we don't even need a packaging feature. I would be grateful to you guys if this silly issue is fixed very soon.

View 2 Replies

Deployment Not Working On Some PC's?

Aug 31, 2009

I installed VB2008 Express a few days ago and have written a small program. When trying to deploy this I'm having problems that it's only working on some PC's, but not on others. At first I thought it may be something in my program, but I've been doing some tests and I'm noticing that ALL programs don't work on some PC's.

To do the most basic test possible, I opened VB, started a new app called 'Test' and without doing ANYTHING I published the application to Test On the PC which wrote the program and on a friend's PC, it works fine. But on this PC and on another friend's PC, as soon as I hit the 'Run' button I get a XML page (pasted below).As I say, the program has NOTHING in it, it's just an empty form.Forgot to add one thing, when trying to deploy via disk earlier on this PC, the installer DID install both Windows Installer and also the latest .net. I've also had a guy on another forum who can't run from my webpage, even though he's a VB user.

XML page that comes up when I hit 'Run' reads as follows.

<?xml version="1.0" encoding="utf-8" ?>
- <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-

[code]....

View 2 Replies

Deployment Of .net Application?

Jun 22, 2010

i have developed a small application of vb forms in which i have use a service based sql server databas(.mdf)i want to make its msi installer last time i have made it and after installation application giving error for connecting?

View 1 Replies

Deployment Other Than Click-once

May 14, 2011

does VB2010 express offer a different deployment than Click-Once?

On the MSDN help pages i did not see any of the items that were described when using File->Add-New Project.

View 3 Replies

Deployment, Cannot Write To MDB

May 7, 2011

I have an app that gets installed into the Program Files folder (in its own folder of course). It has a small access mdb file to which I write some data. I'm able to read the data fine, but the app won't write to the db unless I run it as an administrator and always gives an error.

View 12 Replies







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