At 12:51 AM 12/10/2004, Tonko Juricic wrote:
>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 {};
>}
>}
>}

That's twisted LOL - glad it works!

>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.

Ick.  Gotta be something cleaner.

>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

That's easy.  Just run Apache as the ASP.NET user in the run-as
part of the service options.

Really need to document that.

Bill


Reply via email to