Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Comments
Sergey Alexandrovich Kryukov 4-Dec-12 12:53pm    
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.
--SA
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

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 ASP.net tab in IIS ( or check the application pool for IIS 6 and above)
 
Share this answer
 

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