Click here to Skip to main content
12,701,854 members (36,017 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
hi every one ,,
i used .net4 and C# programing language in my project ,,
its working true on my local host Computer ,

but when i uploaded my project on the Host ,, its give me a Error !

The XML page cannot be displayed

what does it mean ?
is it my program problem or its the Error of Host Server !?

any help or advice?
Posted 4-Dec-12 4:05am
There are many ways to screw up things, and you did not provide any information on your ways. Can you see "Improve question" above? That's for you.
Teenustar 4-Dec-12 16:59pm
It is always good to first google the error message and try a few solutions on your own and then post a question here.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There are multiple reasons that can cause this same error. In this case there is a possibility that the IIS Configuration is not done properly or the .NET framework not installed properly or the application is not in the application root or Incorrect version of .net Framework is being used or ASP.Net is not registered in IIS.

Try this solution
1. Re-install the .net Framework 4.0 in the Host server
2. Run aspnet_regiis.exe -i
3. Configure the folder or Virtual Directory as an application in IIS.
4. Configure the application to use the correct version of .net framework in the tab in IIS ( or check the application pool for IIS 6 and above)

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100