Re: Sharepoint 2.0 causing problems with .NET applications?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mike Walsh [MVP] (englantilainen_at_mvps.org)
Date: 02/19/04


Date: Thu, 19 Feb 2004 19:30:53 +0200

Sorry but this is not the newsgroup for Windows SharePoint Services (which
hasn't been STS v2 for the past nine months) but for STS 1.0 (2001)

Please post to the WSS newsgroup at

microsoft.public.sharepoint.windowsservices

Mike Walsh, Helsinki, Finland
STS FAQ at www.collutions.com/Lists/FAQ
WSS FAQ at wss.collutions.com
Please reply to the newsgroup

"Damian" <grwghow@yahoo.com> wrote in message
news:c2436dc8.0402190552.69077f15@posting.google.com...
> Hi
>
> I'm having trouble getting our .NET applications to run on IIS web
> sites that have been extended with Sharepoint. The same applications
> run just fine if I move them to another web site that hasn't been
> extended.
>
> I of course had to add the application paths to Sharepoint's managed
> paths as excludes to get to get the applications to load at all.
>
> I compared the properties of the two web sites and they're essentially
> the same with minor, non-important differences. The only thing I
> thought important was that the Sharepoint site had Sharepoint's ISAPI
> filter on it, but I added it to the non-extended site and that didn't
> stop it from working.
>
> I also compared the application pools and it's the same, only very
> minor differences regarding worker process recycling and such. Both
> app pools are running under the Network Service account.
>
> I did find KB article 828810 and tried the suggested code on the
> web.config file, with no change whatsoever (even after restarting
> IIS). I did all of the above changes one at a time, and undid them
> when there were no differences (order above all).
>
> That's as much as I can remember, .. I'm pasting the error below to
> see if any of you can help me (please!).
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Server Error in xxxxxxxxxxxxxxxx Application.
> --------------------------------------------------------------------------
------
>
> Security Exception
> Description: The application attempted to perform an operation not
> allowed by the security policy. To grant this application the required
> permission please contact your system administrator or change the
> application's trust level in the configuration file.
>
> Exception Details: System.Security.SecurityException: Security error.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of
> the exception can be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [SecurityException: Security error.]
> xxxxxx._default.Page_Load(Object sender, EventArgs e) +0
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +2106
> System.Web.UI.Page.ProcessRequest() +217
> System.Web.UI.Page.ProcessRequest(HttpContext context) +18
>
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionSte
p.Execute()
> +179
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously) +87
>
>
>
>
> --------------------------------------------------------------------------
------
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET Version:1.1.4322.573
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Thanks a lot in advance, regards
>
> Damián



Relevant Pages

  • Re: ActiveDirectory and Web Part
    ... This newsgroup is the newsgroup for the CAML language used by the SharePoint ... SharePoint Team Services (STS) does not have web parts. ...
    (microsoft.public.sharepoint.teamservices.caml)
  • Re: Save vs Save & Close - can do?
    ... Please confirm that you are using the 2001 product SharePoint Team Services ... This is the newsgroup for the CAML language as used in STS. ... to the WSS subnewsgroup for WSS Programming issues at ...
    (microsoft.public.sharepoint.teamservices.caml)
  • Re: Why nobody is replying to my question here.
    ... newsgroup is the newsgroup for the 2001 product SharePoint Team Services ... If you aren't posting a question about STS you won't get an answer ...
    (microsoft.public.sharepoint.teamservices)
  • Re: Cannot link contact list to Outlook
    ... This is the newsgroup for SharePoint Team Services version 1.0. ... Windows SharePoint Services is at ... Or re-confirm here that you are using STS (which is not supported on Windows ...
    (microsoft.public.sharepoint.teamservices)
  • Re: sharepoint user name change
    ... When you change the user name in SharePoint you still get the ... Microsoft CSS Online Newsgroup Support ... When opening a new thread via the web interface, we recommend you check the ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)