Content Mime Type for .master

This is a discussion on "Content Mime Type for .master" within the ASP.NET Forum section. This forum, and the thread "Content Mime Type for .master are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 5th, 2007, 17:11
SuperMember

SuperMember
Join Date: Aug 2003
Location: Castle Rock, CO
Age: 36
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Content Mime Type for .master

I am working with a .master file in Expression Web. So far everything works but I cannot get just the master.master page come up in the browser.

I tried text/plain but I could not bring that page up in the browser - I actually received this error
Quote:
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.master' may be incorrect. Please review the URL below and make sure that it is spelled correctly.

Requested URL: /MasterPage1.master
So I went back into IIS and removed the MIME type for now.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 5th, 2007, 18:22
TheSealPortalTeam's Avatar
User of Users

SuperMember
Join Date: May 2007
Location: Buffalo
Posts: 332
Blog Entries: 16
Thanks: 31
Thanked 1 Time in 1 Post
Re: Content Mime Type for .master

Okay the .master extension is just for the development, ASPX server and browsers can not render the content of it, It needs to have a content page first. My suggestion is make a blank page using that master file and use that to test in.

Quote:
Originally Posted by Corey Bryant View Post
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.master' may be incorrect. Please review the URL below and make sure that it is spelled correctly.

Requested URL: /MasterPage1.master
That is because ASPX server and IIS recognize it as source code and prohibit it.
Last Blog Entry: Social Bookmarking Sites and its affect on SEO (Oct 1st, 2008)

Last edited by TheSealPortalTeam; Dec 5th, 2007 at 18:24.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 5th, 2007, 19:28
SuperMember

SuperMember
Join Date: Aug 2003
Location: Castle Rock, CO
Age: 36
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Content Mime Type for .master

Thanks! I was asking someone else to take a look at it and I did not know if they could see the complete source code or not. I just also copied the file to a txt file so they could see it (but also sent them an empty page attached to that as well).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Aikido turbonostics Free Web Site Critique 3 Feb 10th, 2008 04:53
[SOLVED] the Main Content div of my template breaks when I type a long text kee2ka4 Web Page Design 2 Nov 9th, 2007 11:26
MIME type image check not working nate2099 PHP Forum 1 Jul 15th, 2007 03:33
MIME types ktsirig PHP Forum 0 Oct 10th, 2005 17:38
MIME type for email with CDONTS GillBates Classic ASP 8 Dec 1st, 2003 15:19


All times are GMT. The time now is 15:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42