hi friends how to clear that error

Posted by Gow.Net under ASP.NET on 4/19/2012 | Points: 10 | Views : 1023 | Status : [Member] | Replies : 10
http://www.freedialinfo.com/ this is my application URL but when i use that URL display the following server error how to i solve that error any one help me urgent please

Server Error in '/' Application.
Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>



Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


gowthaman8870226416


Responses

Posted by: Sakthi.Singaravel on: 4/19/2012 [Member] Silver | Points: 25

Up
0
Down
i don't hav idea about this..

but see this may useful for u..

http://world.episerver.com/FAQ/Items/Access-Denied-add-assembly-error/

Regards,
Singaravel M

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/19/2012 [Member] Silver | Points: 25

Up
0
Down
In my system http://www.freedialinfo.com/ that produced error is..

See attached file..

May it giv some idea for u..
 Download source file

Regards,
Singaravel M

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gow.Net on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
hi Sakthi.Singaravel sir i get different error
See attached file..
 Download source file

gowthaman8870226416

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gsm_Gsv on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
Use custom error codes like 403, 404 etc and turn on mode ="on"

Example
<customErrors mode="On" defaultRedirect="/ErrorPages/403.aspx">

<error statusCode="403" redirect="/ErrorPages/403.aspx" />
<error statusCode="404" redirect="/ErrorPages/404.aspx" />
</customErrors>


statusCode
404: Page Not Found
403: The request is for something forbidden/ some error in code


---------------------------------------
Live the life you've dreamed

Regards
MADHU

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/19/2012 [Member] Silver | Points: 25

Up
0
Down
oh.. sorry Mr.gowtham.. nw i can't see ur file.. nw only i leave frm office.. in my mobile i can't saw any attachments.. sorry Mr.gowtham..

Regards,
Singaravel M

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gow.Net on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
k thank sir

gowthaman8870226416

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kk86kiran on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi i have seen your link but i got ajax control tool kit error so for this error you should add ajax control library reference to your project. First you have to download tool kit from net and click on your project in that click on add reference option & then add tool kit reference to your project.

k.m.j.kiran

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Gowthaman,

Plz do reply if you rectify that error

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 4/20/2012 [Member] Bronze | Points: 25

Up
0
Down
@Madhu.......

You posted an excellent code regarding custom errors !


Thanks and Regards
Akiii

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: GSM_GSV on: 4/20/2012 [Member] Starter | Points: 25

Up
0
Down
@Akiii,

Thank you !

---------------------------------------
Live the life you've dreamed

Regards
MADHU

Gow.Net, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response