i have uploaded my websire on a web server web server have asp.net 2.0 and IIS 6
but no problem they will update asp.net version. aspect IIS version
and i have deloped my web site using webmatrix2
after uploading website i am facing an error
"
The page you are requesting cannot be served due to the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognised, and is therefore not allowed.
Please try the following:
Contact the Web site administrator to alert them that they have not enabled the necessary file extensions through their MIME map policy.
HTTP Error 404.3 - File or directory not found: MIME map policy prevents this request. Internet Information Services (IIS)
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Working with MIME Types, How to Enable Web Service Extensions, and About Custom Error Messages."
and now i fixed my MIME type like .cshtml and Content type text/html
after all its i can see my web page on the net but still have a n issue with it that there is appearing my razor codes and website is not working proper.
Please remember to click “Mark as Answer” on the post that helps you and to unmark it if a marked post does not actually answer your question.
Thank you!
----------------------
"Microsoft Community Contributor Award 2011"
abrsaifi
0 Points
8 Posts
is it compatibility issue of web server or web config. ..?
Jul 23, 2012 10:03 PM|LINK
i have uploaded my websire on a web server web server have asp.net 2.0 and IIS 6
but no problem they will update asp.net version. aspect IIS version
and i have deloped my web site using webmatrix2
after uploading website i am facing an error
"
The page you are requesting cannot be served due to the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognised, and is therefore not allowed.
Please try the following:
HTTP Error 404.3 - File or directory not found: MIME map policy prevents this request.
Internet Information Services (IIS)
Technical Information (for support personnel)
and now i fixed my MIME type like .cshtml and Content type text/html
after all its i can see my web page on the net but still have a n issue with it that there is appearing my razor codes and website is not working proper.
pleas tell me a perfact solution for it..
santa_1975
Star
8574 Points
1499 Posts
Re: is it compatibility issue of web server or web config. ..?
Jul 23, 2012 10:20 PM|LINK
Hi,
This means that the web server (IIS) is not configured to handle the aspx files or asp.net extensions.
Refer to this link.
http://www.netomatix.com/development/IIS7_404Error.aspx
Hope this helps.
Thank you!
----------------------
"Microsoft Community Contributor Award 2011"
abrsaifi
0 Points
8 Posts
Re: is it compatibility issue of web server or web config. ..?
Jul 28, 2012 09:36 AM|LINK
Thank you for the answer santa ..!