473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Deployment and DLL's

Hi there I have a windows dotnet application that I am attempting to create
a deployment setup file for.

The application runs fine when run from visual studio, but as soon as I
install it from the setup things go awry. Does anyone have any idea on how
to debug this? I suspect it may be something to do with DLL's not working
properly but I really got no idea.

Does anyone have any tips they could share?

Thank you for your time and effort
John Sheppard
Sep 22 '06 #1
1 1179
Thank you Vadym,

The problem I have is with 2 applications

The first one the exact error I get is an exception ;
An exception 'System.IO.FileNotFoundException' has occured in todo.exe
So with that one i assume a file is not being found somewhere that is trying
to be opened so I can find that with a bit of searching.

The second application runs but acts weirdly on the first run, then on the
second run works fine. Thats the one im really stumped on. I will try out
with the Debugger.Launch() and see how I go with that.

Thank you heaps for your time Vadym, very much appreciated here.
John Sheppard


"Vadym Stetsyak" <va*****@ukr.netwrote in message
news:%2******************@TK2MSFTNGP05.phx.gbl...
Hello, John!

Give more description on what's happening? Application isn't staring?
Are there any exceptions being thrown? Do you see any info in the
EventLog?

You can debug your app after install. To do this you can include debug
assemblies into your
setup project.

In the entry point ( e.g. Main() ) insert

#if DEBUG
Debugger.Launch();
#endif

call.
This call will result in VS debug dialog appear, attach with Visual Studio
and
see what will happen next...
JSHi there I have a windows dotnet application that I am attempting to
JScreate
JSa deployment setup file for.

JSThe application runs fine when run from visual studio, but as soon
JSas I
JSinstall it from the setup things go awry. Does anyone have any idea
JSon how
JSto debug this? I suspect it may be something to do with DLL's not
JSworking
JSproperly but I really got no idea.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Sep 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is...
3
by: Dicky Cheng | last post by:
Hi, I have a BUSY web site and I made modification in the dll file of the web site. I just replace the dll in the bin folder (from v1 to v2) and the web request queueing up and stop responding....
2
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e....
1
by: Dave Moore | last post by:
Hi all - I have a problem I've been trying to solve for several days. I'm trying to get the 'hands free' deployment working on a .NET web project that involves both a front end web site (with web...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Mika M | last post by:
I have made Setup and Deployment Project for my application. This application uses couble of Crysral Report .rpt -files, so I included following into Setup and Deployment Project ... -...
4
by: Joseph Geretz | last post by:
Do I need to deploy both my ASMX page plus the DLL onto the web site? If so, can you please explain what role both of these deployment units play? To me they would seem to be mirror images of each...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.