Re: Share point Services ASP.NET error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Nov 27, 9:14 am, "richard.markiewicz"
<richard.markiew...@xxxxxxxxxxxx> wrote:
On Nov 27, 2:58 am, RadPi <Ra...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:





Yes, I understand.
But we have configuration IIS to use ASP.NET 1.1.4322

"Mike Walsh" wrote:
As I have written a couple of times recently (to you?) SPS 2003 even at
SP2 level can not be used with ASP.NET 2.0.

(WSS 2.0 (with SP2) can be used with ASP.NET 2.0.)

As SPS 2003 can't be used with ASP.NET 2.0 it also can't be "configured
for use with ASP.NET 2.0.50727.832"

You thus need to turn ASP.NET 2.0 off.

Mike Walsh
WSS FAQhttp://www.wssfaq.com
no questions by e-mail please

RadPi wrote:
Hello we have often this problem. If we connect to Sharepoint pages via
browser we see this error message :
This Windows SharePoint Services virtual server has not been configured for
use with ASP.NET 2.0.50727.832. For more information, please refer to
Knowledge Base article 894903 athttp://go.microsoft.com/fwlink/?LinkId=42660
I have tried to fix it by KB894903 but unsuccessfully.
we are using Microsoft Office Sharepoint Portal Server 2003 SP2- Hide quoted text -

- Show quoted text -

We have battled with this problem previously.

We have several SharePoint portal sites running, and some other web
sites, generally everything is under ASP 1.1. SharePoint is definately
under ASP 1.1. We have a couple of internal applications and third
party apps that run under ASP 2, under virtual directories.

Everything is very carefully seperated out into different application
pools, so two versions of the framework do not try and load in one
application pool. However we would still randomly get this error,
maybe about once every two weeks. When it happened, it affected every
portal site; and would not go away until IIS was reset.

If you have no ASP 2 applications running I would recommend, as Mike
says, completely switching it off. Or preferably removing it.

If you need ASP 2 for some applications, as we do, I would recommend
very carefully studying what is loading in what pool to make sure
there is no crossover. Check all websites/virtual directories
(including the default web site).

I would also check the ASP script mappings on your sites and virtual
directories.

What I noticed about our situation was that it would tend to occur
when either the SharePoint application pools were recycled by hand; or
when they would hit a memory limit and recycle themselves. I isolated
all our SharePoint portals into their own pools; disabled the memory
limit and set them to recycle automatically at 0400, and at no other
time/reason. I banned our development team from recycling the pools
(to, say, add a new template to the global gallery) and have enforced
that they must wait until it happens automatically at 0400. Touch wood
we haven't had the problem since.

Richard- Hide quoted text -

- Show quoted text -

Here is the configuration of our dev and production servers and they
are running fine on ASP.NET 2.0

SPS 2003 with SP3
Windows 2003 server with SP2

WSS 2.0 with sp3
ASP.NET 2.0

We configured the main portal to use ASP.NET 2.0 and after that we ran
stsadm tool to upgrade the version and these are the settings that we
added to the web.config file

<pages enableSessionState="false" enableViewState="true"
enableViewStateMac="true" validateRequest="false"
enableEventValidation="false">
<namespaces>
<remove namespace="System.Web.UI.WebControls.WebParts" />
</namespaces>
</pages>
<trust level="Your Trust policy file" originUrl=""
processRequestInApplicationTrust="false" />

In fact running stsadm command should add these entries to the
web.config file. If not add them manually.

.



Relevant Pages

  • Re: Share point Services ASP.NET error
    ... generally everything is under ASP 1.1. ... pools, so two versions of the framework do not try and load in one ... when they would hit a memory limit and recycle themselves. ... all our SharePoint portals into their own pools; ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Share point Services ASP.NET error
    ... That must have been a change in functionality that SP3 provides that I missed. ... generally everything is under ASP 1.1. ... pools, so two versions of the framework do not try and load in one ... all our SharePoint portals into their own pools; ...
    (microsoft.public.sharepoint.portalserver)
  • Re: IIS6 new install and asp.net
    ... When I changed IIS home directories I failed to include the ... My configuration for asp works great. ...
    (microsoft.public.inetserver.iis)
  • Re: How do I configure IIS for the following?
    ... IIS Application. ... ...did you mean ASP or ASP.NET? ... An error occurred during the processing of a configuration ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Win2003 Server IIS6 and ASP
    ... Under the list of extensions verify the extensions ... > Does anyone has issue with compatibility issue of ASP script on Windows ... > What went wrong with my configuration. ... as I have to restart server everyday now. ...
    (microsoft.public.windows.server.general)