| Author |
Message |
bmains
Joined: 13 Dec 2010 Posts: 10
|
Posted: Mon Dec 13, 2010 4:57 pm Post subject: Issue with <compilation targetFramework="4.0" /> |
|
|
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 |
|
 |
bmains
Joined: 13 Dec 2010 Posts: 10
|
Posted: Mon Dec 13, 2010 5:03 pm Post subject: |
|
|
| 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 |
|
 |
bmains
Joined: 13 Dec 2010 Posts: 10
|
Posted: Mon Dec 13, 2010 5:37 pm Post subject: |
|
|
| 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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Tue Dec 14, 2010 6:40 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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