|
In web.config file make sure that CustomErrors's mode is off
<customerrors defaultredirect="~/ErrorHandler.ashx" mode="Off"></customerrors>
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
yes it is RemoteOnly but it is commented?
It display proper error message me on local buth when i upload on server and page having any error then instead of displaying proper error it displays web.config file error.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
mode should be Off instead RemoteOnly
As it is RemoteOnly you are getting Custom error when you are trying to access from local machine but when application is local you are getting proper Error
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Ok i try it. Can you tell me what is the use of cutom error tag in web.config file. I am not cleared use about that tag.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
CustomErrors is the element present in the Web.Config
Which is used to show filter errors when any Exception occures
you can redirect to any specific page build for showing errors only by using this elemet.
It has mode Attribute which Indicates whether the server channels in this application domain return filtered or complete exception information to local or remote callers. The default is RemoteOnly, which returns complete exception information (including the stack trace) only to callers on the same computer as the server.
Off: All callers receive complete exception information.
On : All callers receive filtered exception information.
RemoteOnly : Local callers receive complete exception information; remote callers receive filtered exception information.
For more informatio take help from GOOGLE which is your best friend
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Sandip,
Thanks a lot
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Hi All,
I was using following packages/namespaces in Flash project using ActionsScript3 language.
import mx.messaging.Consumer;
import mx.messaging.MessageAgent;
import mx.messaging.Producer;
import mx.rpc.AbstractService;
import mx.rpc.http.HTTPService;
import mx.rpc.remoting.RemoteObject;
import mx.rpc.soap.WebService;
Now i want to covert my project in to Microsoft Silverlight. Can anybody suggest me which are the alternatives namespaces available in .Net Framework class library for Silverlight.
Thanks in Advance
Atul
|
|
|
|
|
You may need to do a hand translation of the logic since I don't think at the moment, an automated tool for ActionScript to Silverlight exists.
BTW, there is a dedicated silverlight forum in CodeProject. You may like to query your discussions there on silverlight and also you can request a CP Admin to move this discussion set to Silverlight.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
in the gridview , I am doing paging , i have a checkbox column in the gridview , after selecting a checkbox in the row , i am going to another page in the gridview , finally i come back , and see that the row , in which i selected the checkbox , is unchecked.Can i keep that row checkbox selected ?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Yes, you could store it in a session
|
|
|
|
|
How can i find only the current page gridview rows?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
This seems quite similar to the post at the top of the page...
|
|
|
|
|
hi all,
i'm very new to UnitTest the code using the testing tool available in VS2008. Infact i didn't work with unit test yet.i added a test project to the solution.it is asking me to give the bellow details
what values needs to be given in it(DataSet expected, DataSet actual)? from where the values to be taken? guys plz help me....
[TestMethod()]
public void GetFullActiveDefinitionTreeTest()
{
DecisionTreeDataAccess target = new DecisionTreeDataAccess();
int productGroupId = 0;
DataSet expected =null ;
DataSet actual;
actual = target.GetFullActiveDefinitionTree(productGroupId);
Assert.AreEqual(expected, actual);
}
|
|
|
|
|
Dear All
I am developing one application using Asp.Net 2.0 and Sql Server in which I have to access files located on the other machine(server)through map drive.But it is showing runtime error. Please help me with some solution.
|
|
|
|
|
VivekNema wrote: But it is showing runtime error.
Did you have customerrors turned off so that the actual ASP.NET error message could be viewed towards solving this issue?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
If you can post the error message that would be a great help
|
|
|
|
|
I have all the controls in an <asp:updatepanel> in content page in an asp.net web app. Issue is that am not able to access the controls in Master page when I access this way ,(Label)Master.FindControl("lblPageMsg");
Am able to access this way when I dont use Update panel.
Any help is appreciated.
------------------------------------------------------------
"The only true wisdom is in knowing you know nothing." --Socrates
|
|
|
|
|
I think When you are using update Panel might be Label is not present in it. So even if you could access it is not going to update the message.
Are you getting any error ? while accessing the label.
Create a public property in Master Page that will set the text of label
and make sure that your label is present in update panel so that after asynchronous postback it will update the message that you want to show
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
modified on Wednesday, May 28, 2008 3:19 AM
|
|
|
|
|
Hi!I have got two dropdownlist in my page.I wish to change the second ones values based on the values of the first one.The first dropdown list takes its values from a database and the second one searches the id of this value in another database and brings items connected to it.
How can I perform this?Can somebody show me an example doing this?
(I saw some examples but they were all using javascript I want to be able to perform this without using javascript)
Thanks in advance.
|
|
|
|
|
By the way I am using Csharp.net sharp not Vb.net.
|
|
|
|
|
Create a SelectedIndexChanged handler for the first DropDownList control and in the handler set a filter on the DataSource for the Second DropDownList.
led mike
|
|
|
|
|
I am writing my own little DNS resolver class to use in hand with a proxy tester I am writing. Kind of an all in one solution. But the DNS portion keep throwing a socket exception for almost every site/domain you enter. A very good example is that entering www.google.com returns:
System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at WebTest.DNSTest.DNSLookup(String domain)
However, www.yahoo.com resolves with no issues. I have tried finding out exactly what DNS server the DNS class will use. I have verified the server this runs on has 2 of our internal dns servers configured. Maybe the DNS class doesn't like forwarded DNS queries? But there are no methods for specifying a server to query.
protected bool DNSLookup (string domain) {
try {
//performs the DNS lookup
IPHostEntry he = Dns.GetHostEntry(domain);
IPAddress[] ip_addrs = he.AddressList;
foreach (IPAddress ip in ip_addrs)
{
txtIPs.Text += ip + "<br>";
}
}
catch (Exception ex) {
txtIPs.Text += ex.ToString();
return false;
}
return true;
}
|
|
|
|
|
Dear all,
I have an asp.net web page (feedback form) that has some validators implemented in order to ensure valid data.
I also have a searh textbox and button in header of the page.
My problem is that when I click the search button in the header, its click event is not triggered if there are some validation issues due to the validators.
Is there a method by which I can only trigger the validators when clicking a particular button in the page and not on every button.
Thanks a lot,
Chris
|
|
|
|
|
validations work only when page is postback .. and every button which are using is a asp.net standard control .. so they all will generate post back ..
So i suggest using javascript for validations ,, i might be wrong ,, experts will help you still for time being use javascript to do so
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
You have to use validation Group property of the textbox, button and the validator. Put the common name(like Search group)to this property.So when you click search button then only this validator will work.
|
|
|
|