Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
My website work successfully in local
but when I Host it an error appears but I don't know where I have error!!
this error appears only on signup page

http://www.kutub.somee.com/LoginPage.aspx?SignUp

I tried to do as they said in this page:

https://msdn.microsoft.com/en-us/library/bb397417(v=vs.140).aspx

and tried to put in web config:

HTML
<configuration>
    <system.web>
        <customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm" />
    </system.web>
</configuration>


but it didn't gave me the error..
How can I know where's the error?!

[edit]Code block added - OriginalGriff[/edit]
Posted
Updated 8-Jun-15 22:10pm
v2
Comments
F-ES Sitecore 9-Jun-15 4:12am    
Change the mode to "Off" (capital "O", it is case-sensitive) and you'll get to see the actual error.

1 solution

See here: http://help.ablecommerce.com/faqs/ablecommerce_7/how_do_i_turn_on_debugging_for_error_messages_.htm[^]

Once you know where in your code the error is and what the actual exception was, you can start looking at what has caused it: but not until then.
Don't forget to change it all back when you are finished!
 
Share this answer
 
Comments
Y.Ahmad 9-Jun-15 9:43am    
Thank you,
but I didn't reach to any thing.. it gave me trace of every thing, not the error..
And there's no error when I run the website locally..
OriginalGriff 9-Jun-15 10:21am    
It either gives you the error, or it gives you instructions on how to find out what the error is. Or it always has with me...

What's the "trace" look like?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900