Red Gate forums :: View topic - Issue with <compilation targetFramework="4.0" />
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

Issue with <compilation targetFramework="4.0" />

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
bmains



Joined: 13 Dec 2010
Posts: 10

PostPosted: Mon Dec 13, 2010 4:57 pm    Post subject: Issue with <compilation targetFramework="4.0" /> Reply with quote

Hello,

I'm running on Windows 7, VS 64-bit, a ASP.NET web application which has the above registered statement: <compilation targetFramework="4.0" />. But I get this error:

Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive

However, it runs fine in VS... why is that an issue?

Thanks.
Back to top
View user's profile Send private message
bmains



Joined: 13 Dec 2010
Posts: 10

PostPosted: Mon Dec 13, 2010 5:03 pm    Post subject: Reply with quote

OK, switching to ASP.NET 4.0 Classic application pool seems to help, but now my issue with that is that it cannot load the pages, get a 404.2 error "not found."
Back to top
View user's profile Send private message
bmains



Joined: 13 Dec 2010
Posts: 10

PostPosted: Mon Dec 13, 2010 5:37 pm    Post subject: Reply with quote

OK, I solved that by going into ASP.NET and CGI settings and enable execute for the ASP.NET ISAPI dll's...
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6589

PostPosted: Tue Dec 14, 2010 6:40 pm    Post subject: Reply with quote

When you debug in Visual Studio, you are using WebDev.Webserver40.exe rather than IIS. So it is possible that you can debug in VS but not profile the website in IIS because you're using two entirely different applications. On your computer, ASP .NET 4.0 wasn't correctly registered in IIS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group