ASP NET 2.0 not support for MOD_MONO

Status
Not open for further replies.

dchirinos

New Member
Messages
7
Reaction score
0
Points
0
Hi All:
Anybody has an application in this server with ASP NET 2.0? please tell me how!!!. Thanks.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
I have not confirmed this myself as I don't use ASP.NET, but you have to add this to the file .htaccess in /home/{username}/

AddHandler mono .asp .aspx .ashx .asmx .ascx .asax .config .ascx

I've also heard you had to add handlers in cpanel->advanced->apache handlers
 

dchirinos

New Member
Messages
7
Reaction score
0
Points
0
in effect i put the directive in file .htaccess and in cpanel "application/mono" but i obtain an error while the interpreter compile the scripts.
My application works fine in my computer the scripts are ok
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Are you sure it's just ASP.NET and not ASP? Pure ASP is not supported by mod_mono
 

dchirinos

New Member
Messages
7
Reaction score
0
Points
0
sure I develop my application with visual studio 2005 and files are .aspx not .asp :(
 

dchirinos

New Member
Messages
7
Reaction score
0
Points
0
My page is "http://pf.x10hosting.com" if you visit the page this is the error:

Server Error in '/' Application

--------------------------------------------------------------------------------

Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Compiler Error Message: VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5913 (Mono 2.2 - r) Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC99999: Unexpected error: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in /home/cpeasyapache/src/mono-2.2/mcs/class/corlib/System.Reflection/Assembly.cs:348 at vbnc.TypeManager.LoadReferencedTypes () [0x00028] in /home/cpeasyapache/src/mono-basic-2.2/vbnc/vbnc/source/General/TypeManager.vb:441 at vbnc.TypeManager.LoadReferenced () [0x000e3] in /home/cpeasyapache/src/mono-basic-2.2/vbnc/vbnc/source/General/TypeManager.vb:306 at vbnc.Compiler.Compile () [0x001e2] in /home/cpeasyapache/src/mono-basic-2.2/vbnc/vbnc/source/General/Compiler.vb:534
Compilation took 00:00:00.5531320

~/Forms/Principal.master


--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
I think mono is setup ok for your site. The problem looks like its with the reflection class. This could be a bug with mono or with our install. You might want to give this info to a staff member and see if they can fix it.
 

dchirinos

New Member
Messages
7
Reaction score
0
Points
0
Dear Friend:
Yes, I consult first with the technical staff and they told me exactly the same thing.
I appreciate your help and time, thanks a lot.
I wait for a solution or a new version of mod_mono
 

sjpatel

New Member
Messages
6
Reaction score
0
Points
0
No solution for me still , i am trying for few months , this is a business sxap

Hi,
I have read all the forum posts in few days, I want to setup the website so the .aspx files work for the website. I am new to this this site, and the server supports Linux and PHP. But i have some limited use of the web hosting and i am currenly not sure to extend my capacity to learn all over for the Website in PHP. I have though all the software for PHP and website development at my place.
Computer limitation and effort to convert the website make the PHP development hard for me. I am thinking of that near future. I wanted to start up with the present .aspx files.
Is there any simple way to run few .aspx files in the server , before I extend that to 100's of PHP files.
Thanks
SANDIP
vidhi-comp-cs.com
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
@sjpatel yes you can use ASP.NET. Read my first post in this thread.

Good luck!
 
Status
Not open for further replies.
Top