ASP .NET version question (server related)

Last post 10-07-2008 10:32 AM by carriveaud. 5 replies.

Sort Posts:

  • ASP .NET version question (server related)

    09-26-2008, 3:45 PM
    • Member
      7 point Member
    • carriveaud
    • Member since 08-07-2008, 7:16 PM
    • Posts 11

    I searched for the answer to my 'Error: ASP.NET Ajax client-side framework failed to load' question but found a bunch of thing that didin't help me at all.

     

    So my situation is:

    I have VS2008 installed on my local machine which has Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 intalled (pasted from a forced error in my app).

    The web app runs 100% fine on my local environment but when it comes to running on the server it gets the error mentioned above.

    The app was developed from scratch using ASP .NET 3.5, so as I understand it all of the Ajax functionality shouldn't need anything special.

    The front page does finish loading but there are 2 areas of 'trouble' after the error.  One is the Accordions on the page.  They don't even attempt to move (I'm sure this is because of the Ajax not loading).  The other is the buttons on the page that change their background image upon mouseover.  They just produce an error.

     

    The version on the server is Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433.   I am not sure what versions mean, but I am open to trying/doing whatever is needed to get this up and going.

    Thanks in advance (~.o)

  • Re: ASP .NET version question (server related)

    09-26-2008, 4:12 PM
    Answer
    • All-Star
      75,654 point All-Star
    • jeff@zina.com
    • Member since 09-26-2003, 10:43 AM
    • Naples, FL, USA
    • Posts 10,297
    • Moderator
      TrustedFriends-MVPs

    carriveaud:
    The app was developed from scratch using ASP .NET 3.5...

    carriveaud:
    The version on the server is Microsoft .NET Framework Version:2.0.50727.1433...

    That should indicate the solution to you.  Install ASP.NET 3.5 on the server.

    Jeff

    Blatant Self Promotion: ASP.NET 3.5 CMS Development
  • Re: ASP .NET version question (server related)

    09-26-2008, 6:20 PM
    • Member
      7 point Member
    • carriveaud
    • Member since 08-07-2008, 7:16 PM
    • Posts 11

     The people that maintain our servers have reassured me that 3.5 is installed on the servers . . . but I am suspecting the same thing.  I did verify that removing all of the Ajax components of the page makes all of the errors go away but leaves my page very bland.

     

    After thinking about this for a while I did a search for the question of wether or notyou actually need the extensions installed on the server or not.  I found a page from the asp.net website that said you indeed didn't if you were using 3.5.  So i think it may be time to re-open the issue with our server people (arrrrg).  What I don't get is that we have another app that runs just fine w/ all of the ajax components I am using on this project but it was built in 2.0.  I compared the 2 servers they each reside on and they have the same identical versions.  Well I'll leave this open for a bit longer to see if anyone else can shine some light on if extensions need to be installed or not when 3.5 is (supposed to be) installed/configured on the server.

  • Re: ASP .NET version question (server related)

    09-30-2008, 11:50 PM
    Answer

    Hi,

    To run ASP.NET 3.5 application (for example, using Linq, etc, in your application) on the server, we need to install .Net Framework 3.5 on it. We can check whether the 3.5's assemblies are installed on the server by checking the GAC folder.

    If the extension cannot be installed on the server, we can try to avoid registering it (such as System.Web.Extensions.dll) in the GAC by placing it in the \bin directory of the application. To do so, your application needs to be running with full trust mode.

    To use AJAX Control Toolkit in your application, we need to copy the AJAX Control Toolkit assembly into the \bin directory.
     

    I look forward to hearing from you. 

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: ASP .NET version question (server related)

    10-01-2008, 9:08 AM
    • Member
      7 point Member
    • carriveaud
    • Member since 08-07-2008, 7:16 PM
    • Posts 11

     Thanks for the reply and for giving me another option (which may have to be the option I use since my application is stored on a virtual server that hosts a number of other web applications.

    Geeked 

  • Re: ASP .NET version question (server related)

    10-07-2008, 10:32 AM
    • Member
      7 point Member
    • carriveaud
    • Member since 08-07-2008, 7:16 PM
    • Posts 11

     So the server people have yet to get back to me . . . How would I go about running my application in Full Trust mode and what steps would I need to do to get it running by itself (independent of ASP .NET version installed on the server)?

Page 1 of 1 (6 items)