|
When i host site on virtual machine. That physical machine has 5 to 6 vm machines. When user get logged in session behaves abnormally. On one user it runs alright. but when load comes application start behaving abnormally. Sometime it show object reference error on getting session.
It is windows 2012 server and IIS8.5 with one worker process in it. And state management is InProc. If you have any clue please tell me.
Regards,
Arsalan
|
|
|
|
|
Have you tried turning it off and turning it back on again?
|
|
|
|
|
what i try to turn it on and off?
|
|
|
|
|
Turn it all off and then turn it all on again. If that doesn't work try just turning it off.
|
|
|
|
|
Well therer might be a problem with your hardware, mostly the processing units. According to what you described there are also other problems, like misinterpretation of the application, maybe there is a bug if it's not working for some users according to missing eligibilities and therefore capabilities to understand correctly for the processing unit. The object on this session gets lost because it's not treated the right way in this application or by the processing unit and the user.
I would recommend you to get deeper information on the problem
then try what has already be given "Turn off and on again"
or try to give the processing unit of the user this manual[^] to understand the application better
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
This physical server has 24 cores and 48GB ram. But on my vm has 4 cores and 8gb ram. This code is successfully running on windows 2003 server since many years. Could not understand what i should correct on server?
|
|
|
|
|
There's your problem then.
As a test, try removing 20 of the cores from the actual server and see what happens. You can send them to me for safekeeping in the meantime.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I blame China!
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
- The Lounge is not really the best place to be discussing technical support or programming issues.
- You don't have enough information in your post to really be able to help you.
- You should go to http://www.codeproject.com/Questions/ask.aspx[^] and post a lot more detail.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
He didn't get it on my post either
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Please give a solution so i can get rid off this issue.
|
|
|
|
|
|
i have to shift server from 2003 to 2012 within 5 days. due to hosting.
|
|
|
|
|
UrgenZ need CodeZ ?
Mate, calm down, obey to the rules and there will be someone able to solve your problem. If you stick here in the Lounge you'll never get a solution because the "helpline" can't see your question.
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
ok
|
|
|
|
|
if you have lots of code in the global.asax, try to put it somewhere else.
People always put too much stuff in the global.asax with similar results.
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Sounds to me like you might be experiencing and instancing issue (object reference). I don't know much about virtual machines, but if they are all running on the same physical server, then is there a way to configure threading, so that every instance is on its own thread?
What other sites have you tried? You could post this in Codeproject's Q&A forum as well.
|
|
|
|
|
I have a business idea. Inform people that Lotto draws are quite random, and their best bet as punters is to use a truly random quickpick. But picking random numbers is better left to advanced computer algorithms, these being a service I provide for a fee.
Not one untrue word here.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
A better business model would be to take the money the punter normally spends on the lottery - say £5 a week - and every 6 months return half the money to them, keeping the other half to yourself.
You can prove, using data from the previous 6 months, that they are getting a better deal than if they had spent it on the lottery - and you make yourself a tidy little profit also. Everyone's a winner.
|
|
|
|
|
Lovely idea.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|
|
|
I predict that it will either be successful or it won't.
That'll be 50,000 quid, ta very much.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Quote: Not one untrue word here.
What? Try telling you local fraud investigators that!
Computer algorithms as the best random number pickers is an outright, barefaced, lie! As anyone with half a brain already knows from the fact that lottery numbers are not picked by computers (I realise this may not be true of all lotteries in all places at all times but it should be!)
|
|
|
|
|
Where did I assert that lottery draw numbers are picked by computers? In my country they are picked by a suspicious, Goldbergesque machine that makes a big show of juggling numbered balls. Or something like that, last I was unfortunate enough to see a draw on TV.
Right, now, please tell the jury where I further where I suggested that computer algorithms are "the best" random number generators. And, if you still feel up to it, please name one random number generator, versus merely a source of random numbers, that is better than a computer algorithm.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde
|
|
|
|