Re: Sharepoint 2.0 causing problems with .NET applications?

From: Dustin Miller [MVP] (dustin-s-p-a-m_at_sharepointexperts.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 11:52:17 -0600

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_sp2003_ta/html/sharepoint_wsscodeaccesssecurity.asp

(watch for wrapped URLs)

Does that help you understand what's happening to your app?

-- 
Dustin Miller [MVP]
SharePoint Experts      http://www.sharepointexperts.com
SharePoint University   http://www.sharepointu.com
SharePoint Bootcamp     http://www.sharepointexperts.com/training.htm
______________________________________________________________________
"Damian" <grwghow@yahoo.com> wrote in message
news:c2436dc8.0402190945.55ce9edd@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

  • Installing a SharePoint Site breaks OMA
    ... At our organisation we use OMA heavily and we recently purchased SharePoint ... It appears to have changed some security settings. ... To grant this application the required permission ... Exception Details: System.Security.SecurityException: Request for the ...
    (microsoft.public.exchange.setup)
  • Re: Sharepoint 2.0 causing problems with .NET applications?
    ... Get the SDK or Administrator's guidfe and look for Managed Path ... > sites that have been extended with Sharepoint. ... > run just fine if I move them to another web site that hasn't been ... > An unhandled exception was generated during the execution of the ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Weird Sharepoint question
    ... On my companies sharepoint farms, the only protocols allowed in or out for ... Once again I feel compelled to mention that Sharepoint is designed to remove ... MCSE NT4-2003 (+ Security) ... web site named "Group" which is my Sharepoint portal site. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Unable to manage SharePoint
    ... Please ensure that access the SharePoint Central Administration web site ... You have to rerun the CEICW to make sure your SBS 2003 server have right ... How to configure Internet access in Windows Small Business Server 2003http://support.microsoft.com/kb/825763/en-us ...
    (microsoft.public.windows.server.sbs)
  • RE: icw error / owa, iis
    ... Identifier 1 should be Default Web Site. ... Identifier 2 should be Microsoft SharePoint Administration ... Identifier 4 should be companyweb ...
    (microsoft.public.windows.server.sbs)

Loading