|
Have a look in your event logs and see if there are any IIS events written there. Status 500 is the catch all "something is wrong with the server" error, so without more information there is little we can help you with.
|
|
|
|
|
Hi Thanks for responding
when i checked the event log
i found entries like this
11:07:29 127.0.0.1 GET /_vti_bin/owssvr.dll 500
11:07:29 127.0.0.1 GET /MSOffice/cltreq.asp 404
11:07:29 127.0.0.1 POST /xmlsportsin/xmlsportsin.asmx 500
11:09:21 127.0.0.1 POST /xmlsportsin/xmlsportsin.asmx 500..
i looked the log file in the following path
C:\WINNT\system32\LogFiles\W3SVC1...in my local machine.
Any idea.
Regards
DilipRam
|
|
|
|
|
You also get the Text response in responseText. Check the property name anyway.
|
|
|
|
|
Hi
Thanks.I got the error from the response text and i fix the problem
Thanks
Regards
DilipRam
|
|
|
|
|
Hi!
Anybody knows how to insert checkbox into a datagrid in Device Application NOT in ASP.NET!!??
Thanks!
Marta Paniti
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
hi
add a checkbox to the form and in the click event on the datagrid read the positions of the datagrid cell.
set the position of the checkbox to the values read.
Regards
Bharath S
Bharath.S Ron
|
|
|
|
|
mhmm.. other method?
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
Hi,
if you are using .Net 2.0 (V.S. 2005) then use DataGrid View checkbox column is already present there.O/W you have to implement custom grid.
|
|
|
|
|
I'm using Compact Framework because the program is for PocketPc. And there is no DataGridView...
--------------------------------
visit: http://pmartike.deviantart.com/
|
|
|
|
|
then implement your custom data grid and add column in the table style. a little tricky but a little search gonna help alot
|
|
|
|
|
Hiya all,
Is it good practice to use NUnit Testing..??
What are the advantage n disadvantage of using Nunit testing.. Well i dont think its good if the application is not that big.
Anyway i would like to know the experienced developers comment on this....
Thanks
|
|
|
|
|
It's unit testing with NUnit and not NUnit testing. (A subtle, but important distinction because there are other unit testing frameworks). This is a large topic, and I will attempt to give you a succinct answer which explains why I use it on all projects.
NUnit (and other frameworks) allow you to write repeatable tests. If you change your code, simply rerun the tests and check that you get the correct values. This all depends, of course, on your unit tests actually testing your code effectively.
Now, this is all well and good, but where NUnit (and the other frameworks) comes into its own is with Test Driven Development (TDD). This approach means that you write unit tests before you actually write the code. You then build up your code and unit tests little bit by little bit until you can prove that the code works properly.
|
|
|
|
|
Hi all,
I want to handle a unhandled exception thrown by a plugin running in its own appDomain (ie not Defualt appDomain) in defualt appDomain (host appliation), and then unload the culprit appDomain..
Is it really possible to handle this kind of cross appDomain exception. the exception may occur any time during the life time of plugin appdomain ( say some buttton in the plugin throws some unhandled exception..)
please have a look on the sample code given below.. What should i do handle the exception thrown by button1.. I never want to close my host application at any cost. it should continue its execution whatever happens in plugins..
please give me guide lines.
//********************* Plug in *******************************
public class BadPlugin: Form,IPlugin
{
private System.Windows.Forms.Button button1;
public StaffList()
{
InitializeComponent();
}
private void InitializeComponent()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(232, 96);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(176, 48);
this.button1.TabIndex = 1;
this.button1.Text = "button1";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// StaffList
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(488, 302);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox1);
this.Name = "StaffList";
this.ResumeLayout(false);
}
private void button1_Click(object sender, System.EventArgs e)
{
throw new Exception("Bad plgin exploded exception");
}
}
//********************* Plug in Interface *******************************
public interface IPlugin
{
void Show();
}
//******************** Plug in Host Application***************************
try
{
AppDomain app = AppDomain.CreateDomain("PluginDomain");
IPlugin plugin = (IPlugin)app.CreateInstanceAndUnwrap("SamplePlugins","SamplePlugins.BadPlugin");
plugin.Show();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
Thanks and regards
123developer
-- modified at 1:06 Tuesday 10th July, 2007
|
|
|
|
|
|
Dude,
I already had a look on AppDomain members.. if u r pointing to AppDomain.UnhandledException event.. , it is not firing in my case. I have registered this event bfore Application.Run().. in defualt appDomain..
According to MSDN documents, it sholud be fired before the application going to unstable state.. But in my case i am getting the unhanled exception message runtime messagebox..
What i am really missing my code.
can you point the specific member you are suggesting.
Thanks and regards
123developer
|
|
|
|
|
i didn't get it.. could u please explain that which appDomain member should i concentrate on?
|
|
|
|
|
I write a web service in C# and I want to debug some error but when I click Run button then Visual Studio 2005 show error message box as below.
"Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a send"
Please help me to deal with this problem.
Thanks so much.
A student in Viet Nam.
|
|
|
|
|
Google[^] has several suggestions for this. It could be something to do with the way your network is configured, or with the version of OS that you are using. Please have a read through some of the threads in Google and see what they come up with.
|
|
|
|
|
hi
how can i get the system processor number using C# for .net compact framework 1.0?
thanks
|
|
|
|
|
I'm not sure, but the only way I've found to get similar information ( HDD number ) is to use WMI. If that doesn't work, I know there are C++ api's you can p/invoke. Google for how to do it in C++ then go to www.pinvoke.net[^] to find out the p/invoke signatures
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thank you. i'll try out that way. and is there any way i can get access to the registry of the remote device that is in sync with my PC over ethernet using active sync.
|
|
|
|
|
i have to determine who is logged in, then find out if they have taken the exam before. If they have you deny them access, otherwise you permit them to sit the exam.
<pre>
SqlCommand cmd=new SqlCommand ("select EmpId from DBAnswer where Testtaken=1");
if ( Testtaken==Convert.ToString(1))
{
Response.Redirect ("alertmessage.aspx");
}
else if(Testtaken==Convert.ToString(0))
{
Response.Redirect ("Survey.aspx");
}
</pre>
srinivas
|
|
|
|
|
I would just do a login timestamp on the database side.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
what is Generic in ASP.NET 2.0 and what are it's advantages.
Can anybody provide me a good article on this topic or make me understand??
adil kazmi
|
|
|
|
|
You can read here.
The way I understand is that Generics save the cost of boxing and unboxing expenses. Generics can set the constrains to a particular things.
Please let me know if i'm in wrong way. Thanks.
|
|
|
|