|
That is a good answer but my answer is better See my answer here[^].
It was broke, so I fixed it.
|
|
|
|
|
Your name is SAK and I claim my £10...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Eye don't know what your talking about...
It was broke, so I fixed it.
|
|
|
|
|
:InnocentWhistleSmiley:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Good idea - I'll send him an email...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
No, I think the sheep needs their shepherd now more than ever. Clickety[^]
PS: Would explain the poor quality of questions in Q&A
|
|
|
|
|
It can be possible that, in %userprofile%\AppData\Local, there exists a folder with your application name (the old one).
If there is a configuration file in it which for some reason is not valid anymore, then it can lead to a crash of the app.
Which should explain why, when you change the name of the executable, you do not have the issue anymore: because it creates in AppData a new folder with the new application name, and with an adequate configuration file.
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
I thought of that, and checked %AppData%, %LocalAppData% and %ProgramData% folders. But no, I use GUID folders to ID apps, not an app name (which makes it harder to find, but that's kinda the point) and don't refer to the app name or app folder at all. Besides, in the scenario above, the app EXE name is not changing, just the name of the containing folder's containing folder's containing folder...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I have a headache ^^
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
So do I...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I assume you tried to clean the project? I can't think you didn't.
Did you search in the registry for the full path (without the extra single character)? Maybe some system-wide setting has been settled there, which can't be applied when the path changes?
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
Yes - both via VS and manually. Before and after I turned the system off and back on again, and after a virus scan.
I searched the registry by the app name rather than the path - didn't find it (except in associations and such like that I'd expect) - odd, it's going to niggle at me this one...I hate things that "just happen" almost as much as I hate things which "go away for no reason".
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Is there a way to clean the jit cache?
.NET apps are really compiled into working machine code at the first launch. Maybe there's something wrong with the already-compiled code in the cache.
I found that: Where is the .NET JIT-compiled code cached?[^]
Do you have anything relative to your app in c:\windows\assembly?
[Flags]
public enum Bool {
True, False, ForSure, Maybe, ProbablyNot, Depends, NotDecidedYet, Undefined
}
private interface IStealth { }
|
|
|
|
|
Use Windbg and see from where the application is loading the "images".
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
A utility program that worked fine yesterday doesn't work today - no form is displayed at all - and I haven't changed the source or recompiled that.
But...if I kick up VS, it works fine in the debugger - and it works fine if I run the Release version in VS as well, annoyingly.
The release version of the previous version works fine though, so it's something I've done that is confused.
And now I have to find out what it is and fix it. Without a debugger. Joy.
So stage 1: what are the differences between V2.4 and V2.5? Many. Many and various...
This has "long week" written on it in large letters!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: This has "long week" written on it in large letters! Just pray that tomorrow isn't Monday as well. Nor the day after that. Nor the day after that...
Software Zen: delete this;
|
|
|
|
|
I guess your exe folder is missing a assembly referenced in the project. I suggest you run the application with Windbg it will show what is wrong with it.
Don't forget the pdb files for more detailed info
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Do a search for the following line of code
if (DateTime.Today.DayOfWeek == DayOfWeek.Monday)
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Nah - but I did find
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
Do you think that could be it?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Nope, that's totally different
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Got into the office this morning, eventually, lots more queuing traffic than normal, to find that lots of things do not work.
Network has gone wrong in some way.
No email, and worst of all no internet.
Gradually things start to come back up, check that servers and systems are able to talk to each other, restart things, get others to restart things, more checking, more talking to people.
Finally it looks as though things are up when I notice a message queue filling up. A system message queue in the messaging software, not a queue it is possible to access, not a queue that should be filling up.
Google finds a Knowledge Base article explaining that if a problem goes wrong with a web service call then the service that handles these calls can get blocked. The resolution? Upgrade to a newer version of the software, known defect.
Brilliant, no mention of how to get things moving again.
Bounce the message broker over to the backup server, clears the blockage, things begin to move again, backup server runs out of memory and java dumps everywhere, losing the messages.
Bring primary broker back up, bring the backup back up.
Restart things that need to be restarted, talk to people who need to restart things.
Trawl through various logs and run some code to recreate the lost messages. There is a utility what we wrote to make this easy, unfortunately it is housed on a machine that had a hard disc failure last week and is awaiting recovery and rebuild.
Four hours later I think things are working as they should and I have a banging headache.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
We had a big Church Social yesterday and to show how diverse we are, everyone was invited to wear a badge showing their nationality. When we arrived there were no UK badges left [not surprisingly] and only a few English, what I am not.
So I perused the available options and took Singapore [by birth], Ireland [from my parents] and Hungarian [I am waiting for my paper work to come through]. There were a few others with two badgers but only I managed three.
|
|
|
|
|
Nagy Vilmos wrote: There were a few others with two badgers
I presume you managed to Ferret them out.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Presumably, they mustelid their way in uninvited.
|
|
|
|
|
Nagy Vilmos wrote: There were a few others with two badgers but only I managed three. Just out of curiosity: What does one do with three badgers?
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|