Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
0 0 0
Impact
~160 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
8
comment Virtual Directory application web.config conflicting with SharePoint web.config
@JoelEtherton can you give me a snippet on how to achieve this, perhaps as an answer instead of a comment?
Oct
8
comment Virtual Directory application web.config conflicting with SharePoint web.config
@JoelEtherton when the application runs in Visual Studio's Debug mode, the session related code works just fine. That's why I suspected that inheritance of SharePoint's web.config had something to do with this issue. The specific error message when I explicitly add a <sessionState mode="InProc" timeout="20" /> into the application is the following: Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer', which is a result of changing the inherited sessionState from SharePoint, which is based on SharePoint's usage of SqlSessionStateResolver.
Oct
7
asked Virtual Directory application web.config conflicting with SharePoint web.config
Oct
7
comment UnauthorizedAccessException in ASP.NET application after changing application pool identity
I added the user via virtual directory -> permissions, since it is a different location than the site itself. I also added Anonymous user. That didn't do much, The application makes a call to SQL Server, if that means anything. If I load a simple test ASPX page that contains only static content, there is no issue at all. I have another related question. I decided to silo off this ASP.NET application because it was using Session. But any session related code is throwing a NullReferenceException; the web.config lacks configuration for Session. What should I add in there?
Oct
6
comment UnauthorizedAccessException in ASP.NET application after changing application pool identity
I added the custom user to the IIS_WPG group on the domain controller server first and it didn't work. I realized that and later added it to the IIS_WPG group on the web server and I was at least able to load the application, albeit slowly. So it still seems to related to permissions. When you say Read permissions on disk, do you mean the entire disk?
Oct
5
comment Difference between application and virtual directory
@ScottForsyth-MVP can you please look at this question I posted on ServerFault? Thanks!
Oct
5
asked UnauthorizedAccessException in ASP.NET application after changing application pool identity
Oct
5
comment Difference between application and virtual directory
@ScottForsyth-MVP I did heed to your suggestion since I wanted them to be totally isolated. I created a new application pool and a new service account, and used this article to set up the identity. I don't know why but the application throws a System.UnauthorizedAccessException after taking a while to display the page; the application is still functional but it is slow and yields the exception prompting me to open Visual Studio. Any thoughts on what I am missing?
Oct
3
comment Difference between application and virtual directory
Default Web Site on my IIS 7 is running MOSS 2007 (SharePoint). Since I want users to feel like they are still on the portal, I created a similarly branded ASP.NET web application and set it up as a virtual directory based application under the same site. Both the Default Web Site and this ASP.NET application are using the same application pool. First of all, is this safe/good practice? Secondly, if I enable and use session in the ASP.NET application, will that in any way jeopardize the integrity/performance of SharePoint managed session, of affect SharePoint in any other way?