473,396 Members | 2,016 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,396 software developers and data experts.

App only runs in debug mode

I can only get our application to work in debug mode. I have compiled in
release mode and I have changed the the web.config's compilation tag to
debug="false", but I experience lots of problems with the application in this
mode. If I include the pdb files and set debug="true", the application works
fine.

Can someone explain to me what's going on or how to properly publish the
application?

Thanks,

Tim

VS2003
ASP.NET 1.1

Aug 29 '06 #1
4 1308
It'd be useful if you described the types of problems you are having.

karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"Little Gazer" <Li*********@discussions.microsoft.comwrote in message
news:41**********************************@microsof t.com...
>I can only get our application to work in debug mode. I have compiled in
release mode and I have changed the the web.config's compilation tag to
debug="false", but I experience lots of problems with the application in
this
mode. If I include the pdb files and set debug="true", the application
works
fine.

Can someone explain to me what's going on or how to properly publish the
application?

Thanks,

Tim

VS2003
ASP.NET 1.1

Aug 29 '06 #2
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
netwrote in message news:um**************@TK2MSFTNGP06.phx.gbl...
It'd be useful if you described the types of problems you are having.
Oh come on, Karl - you've obviously forgotten to take your telepathy pill
this morning!

If you look hard enough at the OP, you can actually see the code...

;-)
Aug 29 '06 #3
Sorry.

The application locks up on the clients machine forcing them to restart it.
As soon as a load is applied, the application degrades until it no longer
responds.

Thanks,

Tim

"Karl Seguin [MVP]" wrote:
It'd be useful if you described the types of problems you are having.

karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"Little Gazer" <Li*********@discussions.microsoft.comwrote in message
news:41**********************************@microsof t.com...
I can only get our application to work in debug mode. I have compiled in
release mode and I have changed the the web.config's compilation tag to
debug="false", but I experience lots of problems with the application in
this
mode. If I include the pdb files and set debug="true", the application
works
fine.

Can someone explain to me what's going on or how to properly publish the
application?

Thanks,

Tim

VS2003
ASP.NET 1.1


Aug 29 '06 #4
Hi,

Little Gazer wrote:
Sorry.

The application locks up on the clients machine forcing them to restart it.
As soon as a load is applied, the application degrades until it no longer
responds.

Thanks,

Tim
Are you sure that it has to do with the Debug vs Release configuration?
Did you try to install the Debug version on the target machine? I think
you did, but just to confirm.

If yes, then a typical candidate for this type of problems is code
included in the "#if DEBUG" sections. If you're not careful with that,
you can have nasty effects because this code will be missing in the
Release configuration. Also, most developers I know test the Release
configuration too little, if they test it at all. I would start looking
in that direction.

If you don't find anything, try to add tracing to your application, and
study the logs...

Good luck.
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 30 '06 #5

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

Similar topics

10
by: Scott | last post by:
I have a simple asp.net app which works fine in debug mode, but crashes on the following line when I run it on the production server: Dim dt As DataTable I have tried the following variations...
8
by: Jothishankar | last post by:
Hi, I am new to c#. I am trying to build an application that does backup of files to an external hard disk. My application behaves strangely. When i run the application under debug mode (F5),...
7
by: Just_a_fan | last post by:
I have a program which runs fine here (created in VB9). I publish it to my web site for download & install. It runs on some computers (one or two) but not others. When it does not run, it causes...
11
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...

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.