Deploy the ASP.NET application on the same website as Sharepoint

I am trying to deploy the Bugtracker.NET tool ( http://ifdefined.com/bugtrackernet.html ), which is a regular ASP.NET 2.0 application, to the default IIS website where Sharepoint is already installed. OS - Windows Server 2008 R2, IIS 7.5, and Sharepoint Services 3.0.

The question is, when I run the application, I get a NullReferenceException, because HttpContext.Current.Session is NULL, and I think this could be due to a website configuration problem, because the application works fine on websites without installing Sharepoint.

I already know that Sharepoint customizes the website with handles, modules, etc., so that all applications on the website inherit, changing their behavior. I already passed the ASP.NET application Full trust, enabled anonymous authentication and InProc session state, but I still get HttpContext.Current.Session to be null. Even changing the application pool from Wss3AppPool to DefaultAppPool fails.

Perhaps someone will tell me what settings I need to configure on the website to avoid this exception.

Thank you very much in advance.

Jose Antonio Arroba

+3
source share
1 answer
+3

Source: https://habr.com/ru/post/1754795/


All Articles