Click here to Skip to main content
Rate this: bad
good
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
mahmii273
Comments
Sergey Alexandrovich Kryukov at 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 at 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
good
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 ASP.net tab in IIS ( or check the application pool for IIS 6 and above)
  Permalink  

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

  Print Answers RSS
0 Peter Leow 305
1 Mika Wendelius 275
2 CHill60 190
3 TheRealSteveJudge 170
4 Rob Philpott 130
0 Sergey Alexandrovich Kryukov 8,613
1 OriginalGriff 6,581
2 Peter Leow 3,962
3 Zoltán Zörgő 3,480
4 Richard MacCutchan 2,502


Advertise | Privacy | Mobile
Web01 | 2.8.150123.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
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