I have an asp.net4.0 page.

First question, can someone confirm that an aspx page created with VB2010 is asp.net4.0?

Second question:

My code behind imports a c++ Dll with DllImport.
When I try to use the DLL, I get a DllNotFoundException.
I've been researching this and I think the answer is:

Quote Originally Posted by http://bytes.com/topic/net/answers/375662-how-call-c-c-web-service
Ugghh... I finally figured this out with the help of Microsoft Tech support.

The Administrator need to grant me (the siegfried account) access to the ASP.NET temporary directory (somewhere down in the bowels of the WINNT direcotry). Then I had to use the web.config file to impersonate the siegfied account.
So I researched impersonating, but I can't get it working.
Can anyone help?