Is the 2.0 Framework required on the deployment server?

I'm in the process of deploying a Smart Client application via our Windows 2003 servers.  Are we required to install the 2.0 Framework on the servers from which the application will be installed   I believe the answer is "yes", but I just want to make sure.

TIA


Answer this question

Is the 2.0 Framework required on the deployment server?

  • RH .Net

    D'oh!  Figured it out.  Stupid mistake.  I had been adding the MIME types to the Default website.  I needed to go down to the lowest level application and add them at that level.  That fixed it.  For those of you who still need this information though, the answer is here:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=17026&SiteID=1

  • Alexander B

    Thanks Gene.  I'm going to be working with the server folks this week and I'll let you know how it goes.

  • Adam_Nathan

    Gene,

    What do you put for the Extension and MIME Type in IIS 6 to make this work   I have tried setting up my mime types but can't get it to work correctly.  Every time I click the "Install" button, I just get the XML file displayed (I have been restarting IIS after each attempt to setup the MIME type).

    Thanks,
    Dan

  • Peter McEvoy

    Having the .NET Framework 2.0 installed on the server is *not* a requirement for hosting ClickOnce apps. See http://msdn2.microsoft.com/en-us/library/ms228998.aspx for more info on server configuration for ClickOnce apps.

    Thanks,
    Sameer

  • -Matze-

    Thank you very much Sameer.

  • Patrick Schmid

    Not sure if you ever got an answer but I had a problem where I was trying to deploy a ClickOnce application where the framework was not installed on the client. If the framework was installed on the client my deployment worked fine. When it was not installed it would start to run the setup.exe file for the bootstrapper and I would get a 404 file not found. After countless hours of searching I found that the problem was when I created the virtual directory on IIS that I had checked enable scripts and executables. If you do this running on IIS 6 on Windows Server 2003 your setup.exe will not run. You need to just select scripts only. 

    This fixed my problem and now my ClickOnce application installs fine. 

    This coupled with the fact that I had not setup the Mime Types for .application, .deployment, and .mainfest cost me many hours of work as I did not do my homework.

    Anyway on a standard windows server 2003 with the 1.1 framework after doing those two things (adding the Mime Types and fixing the scripting attribute) my ClickOncea pplication worked like a charm! Big Smile

  • Is the 2.0 Framework required on the deployment server?