I migrated my site to a new server that is using IIS7 and was getting 404s for every sub page I clicked on, obviously suggesting that the URLRewriting wasn't working. I looked at the web.config and noticed that <system.webserver> was essentially empty, so I found this article:https://kb.instantasp.co.uk/Knowledgebase/Using-InstantKB.NET-2.0-within-an-IIS7-Integrated-Application-Pool?Keywords=IIS7
I used that web.config and updated my connection string and now I get the following error:
NET Runtime version: 2.0.50727.4200Application Domain:
Name: InstantASP.InstantKB, Version=188.8.131.52, Culture=neutral,
PublicKeyToken=nullAssembly Version: 184.108.40.206Assembly Build Date:
8/4/2010 10:14:56 AMException Type: System.NullReferenceExceptionException Message:
Object reference not set to an instance of an object.Exception Source:
InstantASP.InstantKBException Target Site: GetCurrentUser---- Stack Trace ----
Now, I could have stuck with Classic, but it wasn't even working with that as I was getting 404s. At least with Integrated, it seems to be getting somewhere. I have the source code and can't seem see anything that would be wrong in that GetCurrentUser method.
Have you experienced this before or do you have any suggestions?
The server is x86 Server 2008.