[Mono-list] No registered provider for extension '.aspx'.

retslig retslig at gmail.com
Mon Apr 5 13:47:42 EDT 2010


I get the following error after I upgraded to Mono 2.4.2. from Mono 1.2.
System configuration: 
(Ubuntu)
Apache/2.2.8 (Ubuntu) mod_mono/2.4.2

Here is my mod_mono.conf
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
DirectoryIndex index.aspx

# Include the web application definitions generated by
mono-server(2)-update.
#
# If want want to use ASP.NET 1.1 (via mono-apache-server), use:
# Include /etc/mono-server/mono-server-hosts.conf
#
# If you want to use ASP.NET 2.0 (via mono-apache-server2), use:
# Include /etc/mono-server2/mono-server2-hosts.conf

Include /etc/mono-server2/mono-server2-hosts.conf


Here is my mono-server2-hosts.conf:
# Default configuration, don't edit it!
<IfModule mod_mono.c>
  MonoAutoApplication disabled
  MonoUnixSocket /tmp/.mod_mono_server2
  MonoServerPath /usr/bin/mod-mono-server2
  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
  MonoApplicationsConfigDir /usr/lib/mono/2.0
  MonoPath /usr/lib/mono/2.0:/usr/lib
</IfModule>


Here is my 000-default site file:
<VirtualHost *:80>
	DocumentRoot /var/www/asp/
	ServerName reslig.ath.cx
	ServerAlias *.reslig.ath.cx
	HostnameLookups Off
	UseCanonicalName On
	MonoPath default "/usr/bin/mono/2.0"
	MonoServerPath default /usr/bin/mod-mono-server2
	AddMonoApplications default "/:/var/www/asp/"
	<location />
		MonoSetServerAlias default
		SetHandler mono
	</location>
	<Directory /var/www/asp/>
		Options Indexes FollowSymLinks
		AllowOverride None
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>

Lastly I get no errors in my error.log except for these.
[Mon Apr 05 11:58:20 2010] [notice] caught SIGWINCH, shutting down
gracefully
[Mon Apr 05 11:58:21 2010] [warn] (2)No such file or directory: Failed to
destroy the '/tmp/mod_mono_dashboard_XXGLOBAL_1' shared memory dashboard
[Mon Apr 05 11:58:30 2010] [notice] Apache/2.2.8 (Ubuntu) mod_mono/2.4.2
configured -- resuming normal operations



-- 
View this message in context: http://n4.nabble.com/No-registered-provider-for-extension-aspx-tp1751833p1751833.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list