473,654 Members | 3,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Release Version Problems

Problem:
App works OK in debug both in VS.Net and build version.
Also OK as release version in VS.net

Not working as release version build.

Gets to this line of code: (private func called from sub Main())
da.Fill(crms_ds _ParcelList, "rfaPRef")

then stops (does not hang) just stops...

Also one of the messages boxes in the try..catch...fi nally statement
I have included to trap prob in release version
Flashes up but to quick to see which one....

Any thoughts....

Jul 21 '05 #1
3 1490
Hi,

You should implement some sort of logging (perhaps to a file) to see where
the problem is.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"KeithO" <Ke****@discuss ions.microsoft. com> wrote in message
news:C4******** *************** ***********@mic rosoft.com...
Problem:
App works OK in debug both in VS.Net and build version.
Also OK as release version in VS.net

Not working as release version build.

Gets to this line of code: (private func called from sub Main())
da.Fill(crms_ds _ParcelList, "rfaPRef")

then stops (does not hang) just stops...

Also one of the messages boxes in the try..catch...fi nally statement
I have included to trap prob in release version
Flashes up but to quick to see which one....

Any thoughts....

Jul 21 '05 #2
Thanks MM

Good thought... Will try

"Miha Markic [MVP C#]" wrote:
Hi,

You should implement some sort of logging (perhaps to a file) to see where
the problem is.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"KeithO" <Ke****@discuss ions.microsoft. com> wrote in message
news:C4******** *************** ***********@mic rosoft.com...
Problem:
App works OK in debug both in VS.Net and build version.
Also OK as release version in VS.net

Not working as release version build.

Gets to this line of code: (private func called from sub Main())
da.Fill(crms_ds _ParcelList, "rfaPRef")

then stops (does not hang) just stops...

Also one of the messages boxes in the try..catch...fi nally statement
I have included to trap prob in release version
Flashes up but to quick to see which one....

Any thoughts....


Jul 21 '05 #3
Miha suggested using a log file...
This also bombed.
But got me thinking along another line...

After using JIT debug and a whole lot of frustration,
it turned out to be something unrelated to the line of code
initially indicated (surprise, surprise!)

The release version was working OK until this rollout...
I had made some code changes to the way the app
started (changes to splash screens etc).

This line of code unintentionally was left in Sub Main()
--->> dim f as new frmMain
.....after some initialiazation code....
this line of code starts the UI
--->> Application.Run (New frmMain)

This was handled OK in the IDE (debug or Release)
AND in the debug build....
But not in the Release Build....

After removing 'dim f as frmMain' all was OK...

Once again thanks MM...

"KeithO" wrote:
Thanks MM

Good thought... Will try

"Miha Markic [MVP C#]" wrote:
Hi,

You should implement some sort of logging (perhaps to a file) to see where
the problem is.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"KeithO" <Ke****@discuss ions.microsoft. com> wrote in message
news:C4******** *************** ***********@mic rosoft.com...
Problem:
App works OK in debug both in VS.Net and build version.
Also OK as release version in VS.net

Not working as release version build.

Gets to this line of code: (private func called from sub Main())
da.Fill(crms_ds _ParcelList, "rfaPRef")

then stops (does not hang) just stops...

Also one of the messages boxes in the try..catch...fi nally statement
I have included to trap prob in release version
Flashes up but to quick to see which one....

Any thoughts....


Jul 21 '05 #4

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

Similar topics

0
1178
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.3 (release candidate 1). Python 2.3.3 is a bug-fix release of Python 2.3. A couple of serious bugs related to weakrefs and the cyclic garbage collector have been fixed, along with a number of bugs in the standard library. See the release notes on the web page for more details. For more information on Python 2.3.3c1,...
4
1468
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the first release candidate of Python 2.4. Python 2.4c1 is a release candidate - we'd greatly appreciate it if you could download it, kick the tires and let us know of any problems you find, but it is probably not suitable for production usage. At this point, we're particularly interested in build bugs. If you could grab the source archive, build it...
0
1307
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.1 (release candidate 2). Python 2.4.1 is a bug-fix release. See the release notes at the website (also available as Misc/NEWS in the source distribution) for details of the bugs squished in this release. Assuming no major problems crop up, a final release of Python 2.4.1 will be out around the 29th of March - straight...
10
3842
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install time. Install log shows installation successful.. Control Panel> Admin Tools> Services section shows SQL server instance running.
3
263
by: KeithO | last post by:
Problem: App works OK in debug both in VS.Net and build version. Also OK as release version in VS.net Not working as release version build. Gets to this line of code: (private func called from sub Main()) da.Fill(crms_ds_ParcelList, "rfaPRef") then stops (does not hang) just stops...
0
1202
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm announcing the release of Python 2.3.6 (release candidate 1). Python 2.3.6 is a security bug-fix release. While Python 2.5 is the latest version of Python, we're making this release for people who are still running Python 2.3. Unlike the recently released 2.4.4, this release only contains a small handful of security-related bugfixes. See the website for more.
0
1143
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was built on. Now I want to build a release version so I can deploy it to Windows 2003 server. This project is compiled with "/clr:oldSystax". I've run into several problems and I am not sure all of the things I am discovering are related. Any help...
3
1838
by: Russ | last post by:
I have a Web Service that was originally created with .NET VC 2003, and subsequently converted to the 2005 version. It works fine when built as a debug version, and run on the workstation it was built on. Now I want to build a release version so I can deploy it to Windows 2003 server. This project is compiled with "/clr:oldSystax". I've run into several problems and I am not sure all of the things I am discovering are related. Any help...
13
1738
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
Within a few weeks, we will release Python 2.5.3. This will be the last bug fix release of Python 2.5, afterwards, future releases of 2.5 will only include security fixes, and no binaries (for Windows or OSX) will be provided anymore (from python.org). In principle, the release will include all changes that are already on the release25-maint branch in subversion . If you think that specific changes should be considered, please create an...
0
8372
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8285
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8591
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7304
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5621
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.