I have a SharePoint website that is being moved from a windows 2003 / IIS6 to a Windows 2008 R2 / IIS7. And there's a lot of things that are not working.
On IIS 6 I had a virtual diretory called /sistema. On IIS 7 I created an Application with the same name. Problem is, when I try to access CSS or JS files on that application, like: /sistema/includes/script.j
s , I get an error:
Server Error in '/Sistema' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
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.
[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +134
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +262
I know the file is there, and I think it is a permission issue, but I could not fix it.
How do I do that?