I failed to get help for this on StackOverflow, so I'm going to ask here.
I've inherited an ASP.net web forms application.
I've been getting some weird error messages, and I've narrowed down the cause to a single web control. (Some other pages have similar issues with other web controls, but I'm using a test page with a single web control for illustrative purposes.)
I created a blank new page in my web forms application called testPage.aspx. In the page, I created a single asp:Menu control and bound it to "web.sitemap". When I run the page on my development workstation, there is no problem. The control works fine.
When I deploy this page to my production server, it is another story. When I hit www.myserver.com/testpage.aspx, I intermittently have the following 3 problems:
1) The icon for the menu fails to load (missing image icon shows instead)
3) The page entirely fails to load.
I've spoken to the network admin. He says that www.myserver.com is actually routed to three web servers. In my development environment, I can hit them as 10.0.0.1, 10.0.0.2, and 10.0.0.3. Guess what? When I go to my workstation in the development environment and hit 10.0.0.1/testpage.aspx, it works fine every single time. Same thing with 10.0.0.2 and 10.0.0.3! It looks like the error has something to do with the network setup.
Another developer in my office noticed that WebResource.axd was intermittently getting re-routed to error.aspx.
What should I do?Read more...