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

Recompilling builds OLD code???

I'm at my witts end! I've written a Windows service using VS.NET 2K3. It's a service that is basically a TcpListener. When I telnet to it, the text responses the service gives back are not even in my source code... I removed them days ago. I've done the obvious like:

- searched all my local drives for the binaries and deleted them.
- deleted the bin and obj folders from the main project folder and the setup folder.
- I even did a search (both 8-bit and Unicode) search on ALL files on ALL of my drives for the existence of the old strings and found nothing. (I used Visual SlickEdit's search, not Windows XP Pro's search).
- Ensured the service exe wasn't cached in the Windows cache folders.

But every time I build the exe and the setup, then install and test, it's STILL producing the old strings. I am totally baffled.

OS = WinXP Pro
Dev = VS.NET 2K3
Using SourceSafe 6.0c (Build 9447) (and I checked the version in source safe... also does not have the old strings).

I'm hoping I've just overlooked something really simple, but I think I've got my bases covered here. Any ideas?
Jul 21 '05 #1
4 1476
Hi

I remember we were having similar issues some time back
that we fixed. My memory is not 100% on how we fixed it,
but I think using InstallUtil to unistall the service and
reinstall the new version was involved.
Either that or the GAC had a copy, but you seem to have
eliminated that probablity..?

HTH..Paul

-----Original Message-----
I'm at my witts end! I've written a Windows service using VS.NET 2K3. It's a service that is basically a
TcpListener. When I telnet to it, the text responses the
service gives back are not even in my source code... I
removed them days ago. I've done the obvious like:
- searched all my local drives for the binaries and deleted them.- deleted the bin and obj folders from the main project folder and the setup folder.- I even did a search (both 8-bit and Unicode) search on ALL files on ALL of my drives for the existence of the
old strings and found nothing. (I used Visual SlickEdit's
search, not Windows XP Pro's search).- Ensured the service exe wasn't cached in the Windows cache folders.
But every time I build the exe and the setup, then install and test, it's STILL producing the old strings.
I am totally baffled.
OS = WinXP Pro
Dev = VS.NET 2K3
Using SourceSafe 6.0c (Build 9447) (and I checked the version in source safe... also does not have the old
strings).
I'm hoping I've just overlooked something really simple,

but I think I've got my bases covered here. Any ideas?
Jul 21 '05 #2
Hi Programmer

I don't know if this could be the cause of your problem, but I had a similar
situation recently in a Windows forms app. I tracked it down to the
references that VS keeps. Go to Project / Application Properties / Common
Properties / Reference Path. Have a look in the Reference Path list and
remove any that are incorrect. I had a long list as I had moved the project
directory a couple of times.

HTH

Charles
"Programmer" <no***@nowhere.com> wrote in message
news:ul*************@tk2msftngp13.phx.gbl...
I'm at my witts end! I've written a Windows service using VS.NET 2K3. It's
a service that is basically a TcpListener. When I telnet to it, the text
responses the service gives back are not even in my source code... I removed
them days ago. I've done the obvious like:

- searched all my local drives for the binaries and deleted them.
- deleted the bin and obj folders from the main project folder and the setup
folder.
- I even did a search (both 8-bit and Unicode) search on ALL files on ALL of
my drives for the existence of the old strings and found nothing. (I used
Visual SlickEdit's search, not Windows XP Pro's search).
- Ensured the service exe wasn't cached in the Windows cache folders.

But every time I build the exe and the setup, then install and test, it's
STILL producing the old strings. I am totally baffled.

OS = WinXP Pro
Dev = VS.NET 2K3
Using SourceSafe 6.0c (Build 9447) (and I checked the version in source
safe... also does not have the old strings).

I'm hoping I've just overlooked something really simple, but I think I've
got my bases covered here. Any ideas?
Jul 21 '05 #3
Yes. Unfortunately. :(

Here's some more info:

What I'm writing is a customized SMTP server. When I change the text of the
initial response string, it's always OK. But the text from the QUIT command
always says, "221 Closing connection. Good bye." That text is no longer in
my source code. I've even added several other lines of text to output upon
the QUIT command, but they don't show up. I can even debug it and step
through the new lines of code. They execute, but strangely, the output of
the QUIT command is as if it's running a week-old version.

One of my initial thoughts was that I was still running the Microsoft SMTP
server, but I'm not. I've shut it down and everything else about the
running SMTP server on port 25 is my stuff.

It's just supre strange. I would never believe anyone telling me this
unless I saw it for myself.

Thanks

"Paul Lyons" <pa**@removethis.the-lyons.com> wrote in message
news:09****************************@phx.gbl...
Hi

I remember we were having similar issues some time back
that we fixed. My memory is not 100% on how we fixed it,
but I think using InstallUtil to unistall the service and
reinstall the new version was involved.
Either that or the GAC had a copy, but you seem to have
eliminated that probablity..?

HTH..Paul

-----Original Message-----
I'm at my witts end! I've written a Windows service

using VS.NET 2K3. It's a service that is basically a
TcpListener. When I telnet to it, the text responses the
service gives back are not even in my source code... I
removed them days ago. I've done the obvious like:

- searched all my local drives for the binaries and

deleted them.
- deleted the bin and obj folders from the main project

folder and the setup folder.
- I even did a search (both 8-bit and Unicode) search on

ALL files on ALL of my drives for the existence of the
old strings and found nothing. (I used Visual SlickEdit's
search, not Windows XP Pro's search).
- Ensured the service exe wasn't cached in the Windows

cache folders.

But every time I build the exe and the setup, then

install and test, it's STILL producing the old strings.
I am totally baffled.

OS = WinXP Pro
Dev = VS.NET 2K3
Using SourceSafe 6.0c (Build 9447) (and I checked the

version in source safe... also does not have the old
strings).

I'm hoping I've just overlooked something really simple,

but I think I've got my bases covered here. Any ideas?

Jul 21 '05 #4
Programmer <no***@nowhere.com> wrote:
Yes. Unfortunately. :(

Here's some more info:

What I'm writing is a customized SMTP server. When I change the text of the
initial response string, it's always OK. But the text from the QUIT command
always says, "221 Closing connection. Good bye." That text is no longer in
my source code. I've even added several other lines of text to output upon
the QUIT command, but they don't show up. I can even debug it and step
through the new lines of code. They execute, but strangely, the output of
the QUIT command is as if it's running a week-old version.

One of my initial thoughts was that I was still running the Microsoft SMTP
server, but I'm not. I've shut it down and everything else about the
running SMTP server on port 25 is my stuff.

It's just supre strange. I would never believe anyone telling me this
unless I saw it for myself.


I suggest you examine the assembly with ILDASM - that should show you a
bit more information. Have a look at where the QUIT text is coming from
- and preferrably, make a change in that method and see whether the IL
changes at all.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #5

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

Similar topics

6
by: Nick Dreyer | last post by:
In VB.NET I would like to not have to create property get/set procedures for every class variable I want to expose to Excel VBA projects in COM builds. Can anyone tell me if that is possible, or...
2
by: adolf garlic | last post by:
hi, i'm having problems running something in vs.net (it builds ok with no errors or warnings) scenario: - c# dll class library is used to log events to perf mon/counters - interop is...
3
by: Bob | last post by:
I Debug build my (WinForms) assemblies and then deploy them (simple copy to client) without the .pdb files. This works fine, but I like to know: - Without the .pdb files, will the .dll's act...
4
by: Programmer | last post by:
I'm at my witts end! I've written a Windows service using VS.NET 2K3. It's a service that is basically a TcpListener. When I telnet to it, the text responses the service gives back are not even in...
8
by: neilmcguigan | last post by:
I just wanted to list some reasons why I prefer inline code to code-behind. 1. you can fix some bugs more quickly. remote desktop into server, change the aspx file, and she's good to go. I'd say...
28
by: lovecreatesbeauty | last post by:
Besides printing out for example " a.out: p113.c:8: main: Assertion `0' failed. Aborted " and a switch option NDEBUG, what other benefits does assert() provide in any scope of designing,...
1
by: Daniel | last post by:
do release builds have the same amount of info in exceptions? e.g. will exceptions cought in release builds contain stack trace etc.?
7
by: martin DH | last post by:
Hello, I have a report that I open that pull its data from a form that builds a where string. Opening the report first opens the form, where I enter criteria, and then pulls matching records from a...
3
by: Pixel.to.life | last post by:
All, A question on JIT debugging with VS2005. I have a managed app that builds great on one machine (Vista Home basic, VS2005, JIT enabled for managed/unmanaged code). I can also debug it...
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:
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...

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.