in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

ASP.net 2.0 exception for Sharepoint portal 2003

Last post 09-21-2007 8:27 AM by dggcoop. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-17-2007 11:48 AM

    ASP.net 2.0 exception for Sharepoint portal 2003

    Hi All,

        We have uninstalled ASP.net 2.0 from the server as it was causing issues, but randomly W3Wp.exe is throwing ASP.net 2.0 exception. These exceptions arises sametime when Apppool recycling takes place not sure both are connected. The exceptions are also random

    Could you please advice how to address ASP.net 2.0 exceptions

    Server has WSS v2.0 SP2 installed.

     

    The description for Event ID ( 1309 ) in Source ( ASP.NET 2.0.50727.0 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: 3005, An unhandled exception has occurred., 16/09/2007 02:00:07, 16/09/2007 01:00:07, 76a4ffc484f1bb12bc994a8f117da, 1, 1, 0, /LM/W3SVC/85487/Root-1-128343780046531983, , /, C:\Inetpub\wwwroot\<sitename>\, <servername>, , 2480, w3wp.exe, , HttpException, The current identity (<domainname>\<username>) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'., http://<URL>/default.aspx, /default.aspx, <IPaddress>, , False, , domainname\username, 3, <domainname>\<username>, False,    at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
       at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)

     

     

    Thanks

    Sathya

    Filed under:
  • 09-17-2007 12:19 PM In reply to

    • dggcoop
    • Top 10 Contributor
    • Joined on 06-19-2007
    • United States
    • Moderator

    Re: ASP.net 2.0 exception for Sharepoint portal 2003

    Did you run the "aspnet_regiis.exe -i" command to update the IIS sites after uninstalling ASP.NET 2.0? The executable can be found here:
    C:\Windows\Microsoft.NET\Framework\YOURVERSION  (possibly v1.1.4322).

    This should revert your IIS virtual servers back to .NET 1.1

    -dggcoop, MCTS

    Cick here for my blog

    Please do not email me your SharePoint questions! If you need SharePoint help, please post your question in the appropriate SharePointU.com forum.
    ------------------------------------------------------------------------
    Filed under: ,
  • 09-18-2007 3:15 AM In reply to

    Re: ASP.net 2.0 exception for Sharepoint portal 2003

     I used "aspnet_regiis.exe -u" to uninstall ASP.NET 2.0, by default -u switch should have remapped the scripts

     -u         - Uninstall this version of ASP.NET.  Existing scriptmaps
                 to this version are remapped to highest remaining
                 version of ASP.NET installed on the machine.

     

    We found a workaround, by rebooting IIS site starts to run normally

     

    Regards,

    Sathya

    Filed under:
  • 09-21-2007 8:06 AM In reply to

    Re: ASP.net 2.0 exception for Sharepoint portal 2003

    Hi DggCoop,

    We ran aspnet_regiis.exe -I command for ASP1.1 and rebooted the machine still we are getting the same error randomly.

    yur reply will be much appreciated.

    Thanks,

    Sathya

  • 09-21-2007 8:27 AM In reply to

    • dggcoop
    • Top 10 Contributor
    • Joined on 06-19-2007
    • United States
    • Moderator

    Re: ASP.net 2.0 exception for Sharepoint portal 2003

    Check out Microsoft KB article 894903

    The article mentions that when ASP.NET 2.0 is enabled on the site, several modifications are made to the web.config. Make sure you remove the noted parts (processRequestInApplicationTrust, System.Web.UI.WebControls.WebParts, enableEventValidation) out of the web.config for the site.

    I went through the same process of removing the parts that had been added to the web.config and it worked for me. Good luck!

    -dggcoop, MCTS

    Cick here for my blog

    Please do not email me your SharePoint questions! If you need SharePoint help, please post your question in the appropriate SharePointU.com forum.
    ------------------------------------------------------------------------
    Filed under: ,
Page 1 of 1 (5 items)

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.