I'm currently trialling memory profiler to help identify and resolve suspected memory leak issues on a .net 2 site. When I first installed the trial it worked straightaway and gave some interesting results (somewhat stymied by the lack of any of our classes in the instance retention graph for the biggest culprits but that's an aside for now).
Trouble is, now the site doesn't work in the profiler and I'm not sure what's changed. The site executes fine in iis going to it outside of profiler. To start with I was getting a duplicate config section error - fair enough a section was in both machine.config and web.config but it worked fine before. I've gotten past this by removing that section in web.config, but now I'm getting unrecognized attribute 'targetFramework'.
This is present because the .net 2 site is making calls to a .net 4 authentication layer. The .net 4 layers run in their own sites with their own app pools set to .net 4 so I'm not sure why this error is occurring and why it didn't come up when I first installed the profiler.