Last post Mar 04, 2014 08:38 PM by Starain chen - MSFT
Mar 03, 2014 03:44 AM|rami.sleiman|LINK
I uploaded my web application already running on a local server to a godaddy sub domain I've already created.
I updated my web.conf file to point to my online database.
When browing to my new website. the default page keeps always auto-refreshing without displaying any error or any content.
Not that the custom error tag in Web.conf is set to 'off'.
Any hints will be appreciated.
Thank you in advance.
Mar 03, 2014 04:43 AM|tasnim5|LINK
You can try this link:
Hope it solves your problem.
Mar 03, 2014 05:18 AM|rami.sleiman|LINK
Thank you for your reply.
In fact my problem is not how to turn on/off autorefresh.
when I browse different pages of my website. they keep doing autorefresh.
I right clicked on the page and click on view page source. I got empty html, head and body tags.
It seems I have a bug in the web.conf file. In fact I turned off the custom error tag in the web.conf file to be able to see the error, if any.
But I got the same behavior: all pages (aspx) keep doing auto-refresh.
I removed the web.config then I added a simple index.html file. the problem was resolved and I was able to browse it only.
hope I have clarify a little bit my problem.
Mar 03, 2014 10:28 PM|Starain chen - MSFT|LINK
Which browser that you used? Please try to browser that website by other browsers.
On the other hand, please create a new project and upload to the server, then check the result.
Mar 04, 2014 03:22 AM|rami.sleiman|LINK
I found the problem but not the solution.
When having a bug in a page. The page keeps redirect to itself.
I created a new web application. I threw an exception in the code behind.
and that's it the page is always redirecting to itself.
My new problem is that I'm not able to display the error even so I change the Custom error mode tag to off in the web.conf file.
Mar 04, 2014 08:38 PM|Starain chen - MSFT|LINK
First, please check the Error Pages setting of the website in the IIS.
Secondly, please check whether there is the handle exception logic in the Global.asax.
On the other hand, please provide the detail code to me. (How to throw an exception; The web.config code)