Results 1 to 10 of 10

Thread: What is MIME Type for .aspx and .asmx to set in IIS6.0

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up What is MIME Type for .aspx and .asmx to set in IIS6.0

    Hi friends,

    I need information that MIME Type for .aspx and .asmx both.

    I need to configure MIME Type in IIS for .aspx and .asmx.

    For eg: Extension : asx.
    MIME Type : video/x-ms-asf.

    Hope your's reply.

    Thanks
    Failing to plan is Planning to fail

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    I hope you are looking for this one
    Please mark you thread resolved using the Thread Tools as shown

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Hi,

    Thanks for your reply. But where is it here MIME Type for .aspx and .asmx.

    I couldn't find it.

    Thanks
    Failing to plan is Planning to fail

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Hey,

    I am not sure that I understand your question?!?

    These files types don't needed to be registered under MIME Types.

    Gary

  5. #5
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Quote Originally Posted by Guvera View Post
    Hi,

    Thanks for your reply. But where is it here MIME Type for .aspx and .asmx.

    I couldn't find it.

    Thanks
    MIME types are only for media/text contents not for .aspx files. Could you please explain what you are trying to do ?
    Please mark you thread resolved using the Thread Tools as shown

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Hi,

    I am trying to publish the asmx files and run in localhost. http://localhost/mdirectcp/mdirectalpha/addons.asmx.Its running in my browser.But i put the file in mob server it's not working. I got an error like

    XML Parsing Error: not well-formed
    Location: file://///Mob/mdirectalpha/CPWebserviceAlpha/Addons.asmx
    Line Number 1, Column 2:<%@ WebService Language="C#" CodeBehind="~/App_Code/Addons.cs" Class="Addons" %>

    So i thought that give an extension to IIS in my server.So only i asked what the MIME Type for .asmx and .aspx files extension.

    I believe that now you understood whats the problem i am facing here?

    Thanks
    Failing to plan is Planning to fail

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Hey,

    So it sounds like you have posted essentially the same question in your other thread:

    http://www.vbforums.com/showthread.php?t=601868

    Please don't create two threads for the same topic.

    Gary

  8. #8
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    Check the Viewsource of the two pages
    Please mark you thread resolved using the Thread Tools as shown

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    The mime type for .aspx is text/html.

    However, this isn't the solution you are looking for. That error usually indicates another problem, which you can talk about in one thread. I'm closing this one.

    http://www.vbforums.com/showthread.php?t=601868

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: What is MIME Type for .aspx and .asmx to set in IIS6.0

    (And let me know if you need it reopened)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width