|
Hi,
I have a straight forward string array, why would IndexOf be unavailable? I'm targeting .Net 3.5
Thanks
Started by Jade M on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Are you talking about the Array.IndexOf method:
var array = new[] { "a", "b", "c" }; Console.WriteLine(Array.IndexOf(array, "b"));
Probably because you are assuming it is an instance method instead of a static method:
using System; class Program { static... .
|
|
What do you do when your source control / bug database / network / email system is temporarily unavailable?
This is to guage how productive we can be under such a situation?
Started by Codeslayer on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Seriously, email shouldn't be crucial for productivity, version control shouldn't either if you have a decentralized version control system (that's a reason to change to one... .
As you can see, our systems are very VERY unstable.. .
I come to Stack Overflow.
|
|
My problem is that sometimes the CPU usage on the webserver is going to 100% (caused by the W3wp.exe)
At that moment the website will become "service unavailable"
Question: Where can I check from the IIS/HTTPERR logs where the website became "service ...
Started by David Bonnici on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It is located in the folder C:\Program Files\IIS Resources....
The tool is part of the IIS Diagnostics Toolkit (download and description here ) .
You could create a user dump file for the process and use the debug diagnostics tool to analyze what happened .
|
Ask your Facebook Friends
|
InetAddress serverAddr = InetAddress.getByName(serverAddress); String hostname = serverAddr.getCanonicalHostName(); Socket socket = new Socket(serverAddr, portNumber); // Freezes before this line if the server is unavailable socket.setSoTimeout(3000);...
Started by niko on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
|
|
I have a web server with apache 2.0 installed. Sometimes, probably when load increase, it serves a blank page with 503 service unavailable.
Server load is not too high, is there a solution in apache configuration to solve this problem?
Thank you
Started by Alessandro Astarita on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
In the latter case, ThreadsPerChild....
For example, if you're using the prefork or worker MPMs then you can increase the MaxClients value .
You could try changing to a different MPM, which you can do in the configuration, or tweaking the parameters of your MPM .
|
|
When I access a wrong call to a sql server data into my application in classical ASP I get this message in my entire site: Service Unavailable. It stopped. My site is in a remote host. Don“t know what to do. What can I tell to the "support team" of them...
Started by fhnaylor on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Usually after....
But how to fix that? Why an error from sql server, for example, writing the wrong name of a field, stops the application pool?
Application pools can stop if they error .
One reason you can get this is if the application pool has stopped .
|
|
Is it possible to make the website unavailable while editing it, while online?
If so, what is the method called and how is it done?
I have a webhosting company so it's not my own server!
Thanks
Started by Camran on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Typically, people use the .htaccess to password protect it until you are ready to show it to the world
Here is a link to an article with instructions
http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
Or, if it's ASP.Net - place... .
|
|
When I do #include <stat.h> in Linux, I get a compiler error. I need this library for the S_IWRITE flag, which in its turn is used in the context of system-level IO.
Is stat.h unavailable in Linux?
Started by Pieter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
From man stat.h :
NAME sys/stat.h - data returned by the stat() function SYNOPSIS #include <sys/stat.h> .
Stat.h is available under the "sys" folder, try to #include it from there or add it to the list of include directories .
|
|
What does it mean: "First-chance exception at in : 0x 6BA: The RPC server is unavailable" ?
this debug message appears in Debug output of visual studio debugger when I using socket connection, but I don't know what operation initiates this message...
Started by zakker on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can get the debugger to break when the exception is thrown, whether or not... .
Usually, these are benign, and can be ignored (because someone is going to catch it) .
First-chance exception" occurs when the exception is thrown, before anyone catches it .
|
|
Hi,
When I change the ASP.Net version of a web application in IIS 6 from ASP.Net 1.1 to 2.0. ALL sites in IIS are becoming "unavailable" (Service Unavailable) for a brief moment (the time it takes to apply the changes in the IIS dialog).
I checked with...
Started by Remco Ros on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
There is more information available here:
http://forums.asp.net/t/1174765.aspx
Edit: Thanks to Christopher in the comments for letting me ... .
Apparently you can change the framework version outside of IIS to avoid this issue by using "Aspnet_regiis.exe" .
|