logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Troubleshoot mod_aspdotnet installation
Author
ethereal1m



Joined: 13 Feb 2014
Posts: 2

PostPosted: Fri 14 Feb '14 7:04    Post subject: Troubleshoot mod_aspdotnet installation Reply with quote

Dear all,
I'm installing mod_aspdotnet on Apache, but for some reason, it doesn't run. I have mod_aspdotnet 2.2.0.2006. I try to run it on WAMP 2.4, Apache 2.4.4, and .Net version 4 (including the previous versions).

I put the aspdotnet config in separate file in httpd.conf
Code:

Include conf/extra/httpd-aspdotnet.conf


in httpd-aspdotnet.conf:
Code:

# Load asp.net module
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"

# AspNetVersion v4.0.30319

# Set asp.net extensions
AddHandler asp.net asp asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo

# Mount the asp.net /ASP application
AspNetMount /ASP "D:/wamp/www/ASP"

# Map all requests for /ASP to the application files
Alias /ASP "D:/wamp/www/ASP"

# Set asp.net options
Options Indexes FollowSymLinks Includes +ExecCGI

# Set asp.net permissions
Order allow,deny
Allow from all

# Set asp.net default index page
DirectoryIndex index.aspx index.htm

# Set aspnet_client files
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"

# Allow asp.net scripts to be executed in the temp folder
Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"


got the following error when run via command line:
Code:

f: Syntax error on line 2 of D:/wamp/bin/apache/Apache2.4.4/conf/extra/httpd-asp
dotnet.conf: Cannot load modules/mod_aspdotnet.so into server: %1 is not a valid
 Win32 application.


Anybody has an idea how to troubleshoot this?

regards,
ethereal1m[/code]
Back to top
ethereal1m



Joined: 13 Feb 2014
Posts: 2

PostPosted: Fri 14 Feb '14 7:44    Post subject: Reply with quote

I got it, the module doesn't work with Apache 2.4. Only compatible with 2.2
Back to top


Reply to topic   Topic: Troubleshoot mod_aspdotnet installation View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules