about IIS 6 and IIS 7

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony Johansson

    about IIS 6 and IIS 7

    Hello!

    I have an application written in C# asp.net that use a DLL written in MFC
    that seems to work when running in vista which have IIS 7 but give protected
    memory when being run under windows server 2003 which use IIS 6.0.
    It doesn't give protected memory every time but far too often.

    Now to my question is IIS 7 more tolerant to programming error then IIS 6 is
    ?

    //Tony


  • Alexey Smirnov

    #2
    Re: about IIS 6 and IIS 7

    On Nov 12, 7:43 pm, "Tony Johansson" <johansson.ande rs...@telia.com >
    wrote:
    Hello!
    >
    I have an application written in C# asp.net that use a DLL written in MFC
    that seems to work when running in vista which have IIS 7 but give protected
    memory when being run under windows server 2003 which use IIS 6.0.
    It doesn't give protected memory every time but far too often.
    >
    Now to my question is IIS 7 more tolerant to programming error then IIS 6is
    ?
    >
    //Tony
    Hej Tony

    if this is an ISAPI filter, then Microsoft recommends to use modules
    under IIS7


    In general, I think the problem is not in ASP.NET therefor you need to
    use C++/MFC or IIS newsgroups.

    Hope this helps

    Comment

    • bruce barker

      #3
      Re: about IIS 6 and IIS 7

      no. most likely the vista box is not using as many threads or reusing
      the same threads and the mfc module is probably not completely threadsafe.

      you might look at hosting the dll in com+

      -- bruce (sqlwork.com)



      Tony Johansson wrote:
      Hello!
      >
      I have an application written in C# asp.net that use a DLL written in MFC
      that seems to work when running in vista which have IIS 7 but give protected
      memory when being run under windows server 2003 which use IIS 6.0.
      It doesn't give protected memory every time but far too often.
      >
      Now to my question is IIS 7 more tolerant to programming error then IIS 6 is
      ?
      >
      //Tony
      >
      >

      Comment

      Working...