LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2013, 06:00 PM   #1
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Rep: Reputation: 1
Question mod_mono 2.10 problems with running Visual Basic asp.net pages


I am having real trouble running Visual Basic web apps using mod_mono v2.10

I installed the mono basic feature fine, using this tutorial:
http://blog.bennyland.com/2010/02/06...e-on-centos-5/

But using these files:
mod_mono-2.10.tar.bz2
mono-3.2.1.tar.bz2
xsp-2.10.tar.bz2

Leaving out the prefix directive in the ./configure script (because I am only doing this on a temporary sandbox server for now, nothing else is being tested on this server), so of course defaults to /usr/local

Which when I tried running ./configure when I decompressed the file: mono-basic-2.10.tar.bz2

The mono-basic application installed fine, but just keeps bringing up an error when I run the following asp.net page in Visual Basic:

Quote:
Application Exception
Runtime Error
A runtime error has occurred

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed (for security reasons).
Details: To enable the details of this specific error message to be viewable, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
I know what's going on here, just not sure why this is happening is there any thing I have done wrong? C# worked perfectly.

Any help is greatly appreciated,
Jeremy

PS this is the page I ran on the web using VB:
Code:
<%@ Page Language="vb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%Response.Write(now())%></div>
    </form>
</body>
</html>
To install mod-basic I just did the ./configure and 'make && make install' did I miss anything by chance?

Last edited by j.smith1981; 08-21-2013 at 06:50 PM. Reason: Adding of sample vb page
 
Old 08-25-2013, 09:53 AM   #2
j.smith1981
Member
 
Registered: Feb 2009
Distribution: Mainly CentOS6.4 x64
Posts: 161

Original Poster
Rep: Reputation: 1
Hmm tried using the same versions 2.10 for each install and for some weird reason the basic one just doesn't seem to even bother running just outputs html.

I might just retry this though, very weird.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP and ASP .NET running on Apache? isra_mv Linux - Server 1 10-28-2007 05:39 PM
How to run Microsoft ASP.Net Pages on Redhat Apache mskingdom Linux - Networking 2 11-04-2006 06:44 AM
running Visual Basic/Visual Fox Pro in Linux? depam Linux - Software 9 02-11-2006 03:42 PM
Visual Basic.net Question Ryan450 Programming 1 05-20-2005 12:31 PM
Visual Studio to Develop ASP.NET for Apache? PlorkZ Linux - Software 5 03-10-2005 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration