You are not logged in.

#1 2009-12-04 06:11:25

majiq
Member
Registered: 2009-03-06
Posts: 259

Local ASP.NET Server

Hello. I've taken up managing/updating a website for some friends, and the system they're using has ASP and I cannot get PHP. So, for development, I need a local environment, right?

So I installed apache, configured it, installed mono and mod_mono. I'm able to get ASP to work (i.e. I use a <!--#include --> directive that works), but I can't get this sample ASP.NET code under HTML Server Controls to run on my computer, but on a Windows IIS system that I have access to, it works fine.

It looks to me like it needs vbnc and it doesn't have it, and a pacman -Ql of everything I have that is mono related doesn't show a vbnc. Can someone who has a working ASP.NET installation say how they got it working?

The error I get is as follows:

Server Error in '/~majiq' Application
Error running vbnc: Cannot find the specified file

Description: HTTP 500. Error processing request.

Stack Trace:

System.SystemException: Error running vbnc: Cannot find the specified file
  at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x00000] 
  at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] 
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, Boolean ignoreContextHandler) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] 

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

Offline

#2 2009-12-04 06:19:31

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Local ASP.NET Server

vbnc is part of the package mono-basic. So, just install mono-basic and it should work.

Offline

Board footer

Powered by FluxBB