none
IIS and .NET version RRS feed

  • Question

  • Hi,

    I'm not sure if this is the right place to ask... I'm running Win7 x64. I'm using IIS 7.5 for development purposes.

    Now, I tried to upload a Silverlight 4 app to the IIS. Did not work. I reduced the problem to calling a simple index.html page (for test purposes). And even this did not work, as long as I tell the AppPool to use .NET 4. If I switch back to .NET 2, everything works fine!

    I'm really starting to despair... Can anyone help? Any ideas?

    Tuesday, July 13, 2010 12:06 PM

Answers

  • Sorry, problem fixed!

    There was an old beta version of the .NET 4 framework still lingering around in my Windows\.NET Framework directory. I checked that before in the "add or remove programs" dialog, but there everything was fine.

    Now, I deleted the old version 4.0.30128, and voila! Everything works fine now. Sorry for that, but that was really confusing...

    • Marked as answer by mavo0013 Tuesday, July 13, 2010 3:29 PM
    Tuesday, July 13, 2010 3:29 PM
  • Hi Mavo0013,

    Thank you for your kindly sharing here!

    I'm so glad to hear that you have solved your problem yourself.

    Based on your description, it might be that .NET Framework 4.0 beta version brought some negative effect on IIS configuration. It would be better that we can remove the beta products and install the RTM version. You can download the .NET 4.0 RTM from http://www.microsoft.com/downloads/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=en.

    I notice that you're developing Silverlight applications with IIS.
    Here are some specific forums for Silverlight development and IIS.
    Silverlight forums: http://forums.silverlight.net/forums/
    IIS forums: http://forums.iis.net/

    If you need any help on Silverlight or IIS, you can try these forums to get more useful help.

    Hope this helps!

    Have a nice week!

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Edited by YiChun Chen Wednesday, July 14, 2010 2:12 AM typo
    • Marked as answer by YiChun Chen Friday, July 16, 2010 8:40 AM
    Wednesday, July 14, 2010 2:07 AM

All replies

  • There are several links in this thread that may be helpful.

    http://forums.iis.net/p/1168601/1946799.aspx

     

    Tuesday, July 13, 2010 2:06 PM
  • Thanks for the link, but my problem is by far more basic.

    I do not (no longer) try to run a Silverlight app - I simply try to call a html file (located in a application called "test" I created). No other files are there. The steps I performed:

    1) I create a simple HTML file in the IIS (as mentioned before)
    2) I define ".NET 2.0" for the app pool

    When I go to the browser and type localhost/test/index.html (my file), everything is ok

    Now, if i set ".NET 4.0" for the app pool, and again open the page in the browser, the AppPool stops with error code 503 (shown in the browser).

    Any ideas?

    Tuesday, July 13, 2010 3:10 PM
  • Sorry, problem fixed!

    There was an old beta version of the .NET 4 framework still lingering around in my Windows\.NET Framework directory. I checked that before in the "add or remove programs" dialog, but there everything was fine.

    Now, I deleted the old version 4.0.30128, and voila! Everything works fine now. Sorry for that, but that was really confusing...

    • Marked as answer by mavo0013 Tuesday, July 13, 2010 3:29 PM
    Tuesday, July 13, 2010 3:29 PM
  • Glad you got it sorted!
    Tuesday, July 13, 2010 6:53 PM
  • Hi Mavo0013,

    Thank you for your kindly sharing here!

    I'm so glad to hear that you have solved your problem yourself.

    Based on your description, it might be that .NET Framework 4.0 beta version brought some negative effect on IIS configuration. It would be better that we can remove the beta products and install the RTM version. You can download the .NET 4.0 RTM from http://www.microsoft.com/downloads/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=en.

    I notice that you're developing Silverlight applications with IIS.
    Here are some specific forums for Silverlight development and IIS.
    Silverlight forums: http://forums.silverlight.net/forums/
    IIS forums: http://forums.iis.net/

    If you need any help on Silverlight or IIS, you can try these forums to get more useful help.

    Hope this helps!

    Have a nice week!

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Edited by YiChun Chen Wednesday, July 14, 2010 2:12 AM typo
    • Marked as answer by YiChun Chen Friday, July 16, 2010 8:40 AM
    Wednesday, July 14, 2010 2:07 AM
  • Hi Mavo0013,

    I've marked my reply as answer here as the supplement of your concern. If you have any concern, please feel free to let me know.

    Have a nice day!

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Friday, July 16, 2010 8:40 AM