Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I just uploaded files to my hosting account.

While trying to access some pages with forms and input fields, (that has to do with database) I will be redirected to my custom error page.

I have not noticed such while testing it on my developer's machine, although I am not using IIS.

Does anyone know what could be the cause?

Thanks in advance.
Posted
Updated 11-Oct-11 15:30pm
v2
Comments
Nueman 11-Oct-11 21:30pm    
Edited for punctuation, capitalization, readability.
hitech_s 12-Oct-11 0:04am    
debug the page which leads to redirecting to customerror page
you will get one error

Check the web.config of the website in the IIS. I have strong feeling that it should have errorPages configuration
 
Share this answer
 
once replace your connection string with live database connection string in your developing system and place a breakpoint in that page and check whether you are getting any error.

if you are not getting any error when you followed above procedure then
the error occured may be because of lack of permissions.
this occurs when you are uploading images or videos through your application.
 
Share this answer
 
Comments
Uwakpeter 24-Oct-11 22:01pm    
Thanks this has solved the problem. Thank you once again!

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