To resolve missing type metadata info I tried the
trick mentioned on: http://www.winterdom.com/mcppfaq/
site.
Basically I had to put the following code in
WorkerRequest.cpp:
namespace Apache {
namespace Native {
extern "C"
{
struct apr_table_t {};
struct apr_bucket_alloc_t {};
struct apr_pool_t {};
}
}
}
mod_aspdotnet.cpp also had to be changed because of
ambiguous apr_pool_t symbol. All apr_pool_t variables
in mod_aspdotnet.cpp were disambiguated by global
scope resolution operator ::apr_pool_t.
The next problem I had was access exception reported
by CLR:
[HttpException (0x80004005): The current identity (NT
AUTHORITY\SYSTEM) does not have write access to
'C:\WINDOWS\Microsoft.NET\Framework\v1.2.30703\Temporary
ASP.NET Files'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext
context) +702
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext
context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest
wr) +100
Really, I had no 'Temporary ASP.NET Files' subfolder
on my machine at all. I don't know who creates it - I
guess IIS installation may create it but I had never
run ASP.NET under IIS (nor IIS itself) on this
machine. So I created the folder manually.
And then my .NET Web applications started running just
fine!
Nice!
Tony
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo