473,383 Members | 1,984 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,383 software developers and data experts.

Definition of Frustrating...

Creating a test app to perfect some code before putting it in a production
app. Test app works perfectly, doesn't work at all in the production app.
Can't figure out why...
Nov 21 '05 #1
2 1124
Without some more info it's hard to help but the usual culprits are 1)
connection strings 2) configuration files 3) assembly references 4) project
references of third party tools.

That's where System.Diagnostics.Trace comes in really useful

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Terry Olsen" <to******@hotmail.com> wrote in message
news:eY**************@TK2MSFTNGP15.phx.gbl...
Creating a test app to perfect some code before putting it in a production
app. Test app works perfectly, doesn't work at all in the production app.
Can't figure out why...

Nov 21 '05 #2
Here's the breakdown...

I wrote a class to handle a TCPListener, respond to connection requests,
etc. Compiled it into a dll. Made a quick & dirty test app to test it.
Able to connect, exchange data, etc. I do this by generating events and the
test app catching the events and acting on them. All works great.

Go to the production app, create a reference to the dll, add the "imports"
statement to the app, do all the exact same calls and event handlers that I
did in the test app, but for some reason I'm not getting any events
generated. It's supposed to generate a "ConnectionRequest" event when
there's a pending connection so I can accept the connection. Works fine in
test app...not getting an event fired in the production app. I've got to do
more digging before I get too specific. It's got to be something obvious
that I'm overlooking.
"W.G. Ryan eMVP" <Wi*********@NoSpam.gmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Without some more info it's hard to help but the usual culprits are 1)
connection strings 2) configuration files 3) assembly references 4)
project
references of third party tools.

That's where System.Diagnostics.Trace comes in really useful

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Terry Olsen" <to******@hotmail.com> wrote in message
news:eY**************@TK2MSFTNGP15.phx.gbl...
Creating a test app to perfect some code before putting it in a
production
app. Test app works perfectly, doesn't work at all in the production
app.
Can't figure out why...


Nov 21 '05 #3

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

Similar topics

9
by: Dave H | last post by:
Hello, I have a query regarding definition lists. Is it good practice semantically to use the dt and dd elements to mark up questions and answers in a frequently asked questions list, or FAQ? ...
1
by: John | last post by:
Hi I have a very frustrating problem. I had a perfectly working app with a sub form on a main form. I added a few fields in tables here and there and now I can not enter data on in the sub form...
10
by: Kobu | last post by:
My question is about the use and meaning of the terms "declaration" and "definition" as it pertains to the C language. I've read sources that mix the two up when talking about such things as...
0
by: Rob Levine | last post by:
(This post also available at http://roblevine.blogspot.com/2004/11/frustrating-http-connection-behaviour.html in a slightly more readable format!) Hi All, I seem to be having a bit of a...
3
by: David Cho | last post by:
I've noticed that my code in InitializeComponent where I am linking event handlers to events vanishes from time to time. One of the things that triggers the disappearance is when I do something...
3
by: Loui Mercieca | last post by:
Hi, I have a very strange and frustrating error. I developed an application, tested it and it works fine. Then i deploy it to another machine ( no installation, direct file transfer ) but it...
2
tpgames
by: tpgames | last post by:
Not a question. Just didn't know where to put this montage. So realtek gave me a exe that will create a dump. The device refused saying that it only works with realtek. Like Duh! So, I let the...
9
by: Jess | last post by:
Hello, I was told that if I declare a static class constant like this: class A{ static const int x = 10; }; then the above statement is a declaration rather than a definition. As I've...
4
karlectomy
by: karlectomy | last post by:
Can anyone find the parse error on the fourth line of this stuff?? <table><tr> <td>Date</td> <? var $thisDate = time(); //NOW var $day1 = (7*3600); //One more day for($i = 7; $i>=0; $i--) {
3
by: Sejoro | last post by:
At this point in life, I thought syntax wouldn't be a problem, but it is. I'm trying to write yet another school program, but keep getting compile errors in the main function when I try to pass an...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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...
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...

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.