Debian Programming :: WebApp Crashing After Upgrading To Mono 3.0
Nov 28, 2013
I have a machine where I dabble a bit with mono and .NET in my spare time. It's running Jessie and upgraded mono to 3.0.6 from 2.x and MonoDevelop to 4.0.
Rebuilt my webapp after upping the target platform to Mono .NET 4.5 and it works fine in the debugger.
When copying the app to the production folder (on the same machine) it will no longer start and apache's error log says:
Code: Select allSystem.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionA
ttribute' from assembly 'System.Web'.
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono
.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String vhost, Int32 p
ort, System.String path, Boolean defaultToRoot) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer:GetApplication
ForPath (string,int,string,bool)
[Code] ....
I understand from posts like this one: [URL] .....
...that Microsoft moved the ExtensionAttribute from System.Core.dll to mscorlib.dll in .NET 4.5. And that a [TypeForwardedTo] attribute is supposed to make this transparent.
I get this - but have no clue to how to make my webapp work? It does so under the debugger so it obviously does some magic.
View 2 Replies
ADVERTISEMENT
Feb 28, 2010
I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.
View 4 Replies
View Related
Aug 24, 2010
So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the following message:
$ ~/bin/MyMonoApp
wine: Install the Windows version of Mono to run .NET executables
~/bin/MyMonoApp: command not found
I can only convince it to run by explicitly calling mono:
$ mono ~/bin/MyMonoApp
So, how can I make this the default, so I don't have to explicitly call mono every time?
View 1 Replies
View Related
Nov 18, 2010
How can I create packages for Windows7 and Linux using C# in mono-develop ? Will the packet be directly installed under Windows7 ?
View 1 Replies
View Related
May 13, 2010
I am creating a simple program using C# to print the contents of the todo.txt file once it has run. Problem is when I run the program, I get this warning.
PHP Code:
[code]....
View 12 Replies
View Related
Jul 10, 2011
I am running Server 11.04 / Tomcat 7.0.16 / Sysaid ( webapp )
I have configured the Java environment, tomcat is up and running and moved the sysaid.war to the webapps folder in tomcat.
I got to http://127.0.0.1:8080 - verify that sysaid is listed as an app, it is. The .war has extracted in the webapps folder but fails to start.
Everytime I try to start it I get:
"FAIL - Application at context path /sysaid can not be started"..
Anyone have thoughts regarding the fail to run the app? I have hit up sysaid forums, but no luck through searching and or replys at this time...
View 1 Replies
View Related
Jun 30, 2009
I am trying to launch a java web application automatically when the server starts from rc.local. Logged in as root with a console I can call the jar directly "java -jar /apps/web/fitapp.jar &" everything starts no problems. Once I add the same command to rc.local and reboot the webapp fails to start. Re-directing the output shows "Unable to access jarfile fitapp.jar". I've tried setting java environment variables (using in the rc.local, and in root's profile (bash), but that error persists.
View 2 Replies
View Related
Apr 13, 2011
I know it might seem a stupid question, but i'm gettin' nuts over avoiding webapp auto startup on Tomcat restart.i have a server, used for developing. Its tomcat has a bunch of webapps deployed. MOst of them are old/kept just for the sake of it, and I would like to avoid TC to start them on start / restart. How do I prevent a context to autostart on service start / restart?
I would like to go in the config files and selectively choose the apps to start. When tomcat is started, if anyone needs an app to be started, i would like to do it from the manager. But when I restart TC, i would like my choices to be up and running only.
View 1 Replies
View Related
Jun 12, 2010
I'm using KeePass 2.10 (with mono) and I am able to copy a password from KeePass (Ctrl+C) and paste into ALL applications except for the GNOME Terminal. When I copy something, I am not able to paste into the terminal, and find the Paste menu item in the edit menu disabled. However, if I paste into another application and cut from there, I can paste into the terminal.
(if it is a bug) which project I should report a bug to (gnome or KeePass?).
View 5 Replies
View Related
Sep 6, 2010
i am interested how to remove mono from my Debian Squeeze Gnome.
View 14 Replies
View Related
Apr 27, 2011
I am looking for music player like banshee but do not want mono . Banshee unfortunately requires mono
[Code]...
Obviously have not given all all the deps, but the last 7 odd ones tell you what I mean. If anybody knows of any good music player which has similar functionality as banshee lemme know. Look for two things:-
a. Should be able to play all and any music format (have all the plugins)
b. Should be able to close it and have it in the system tray playing in the background.
View 6 Replies
View Related
May 19, 2011
I've got a relatively simple question. I'm trying to start a program that must be run with mono when my system boots. It's a webserver (McMyAdmin if that helps) so I'd also like to start it as a specific user
View 6 Replies
View Related
Aug 10, 2015
I installed Mono on Debian 8 using apt-get. Specifically, I followed these instructions: [URL]..
Then suddenly, my entire machine locked up . . . I gave it a few minutes and then cold booted. It came up to a login prompt but no gnome. sigh. So, I use apt-get to uninstall all of the mono stuff and I also did apt-get clean, apt-get autoclean, apt-get autoremove . . . and rebooted . . . to a login prompt.
So, I installed gnome using apt-get install gnome-core and then after a reboot I got gnome again.
However, every time I log in, I see an "Oops" message flash briefly and then the GUI loads. Everything seems to be ok . . . but I don't like seeing that message; it says something like "something went wrong, please log out . . ."
I kind of dug around /var/logs a little and there are some error messages in kern.log files . . . how I can get my machine back to the state it was in, i.e., not flashing an Oops message when I authenticate?
View 3 Replies
View Related
Sep 10, 2014
Having trouble with pulseaudio (0.9.21, Debian Squeeze) failing to properly recognize a Turtle Beach X-ray headset?
My tv connects fine, playing Dolby Digital through it without issue, but my computer doesn't. (A possible side effect: Flash videos play in slow-mo when the headset is connected to the computer's bluetooth adapter, but not when the headset is disconnected.)
Is there a way to tell Pulseaudio to give the headset 6 channels?
Some info:
Code: Select all~ » pulseaudio --dump-modules
module-alsa-card ALSA Card
module-alsa-sink ALSA Sink
module-alsa-source ALSA Source
module-always-sink Always keeps at least one sink loaded even if it's a null one
module-augment-properties Arugment the property sets of streams with additional static information
module-bluetooth-device Bluetooth audio sink and source
[Code] ....
View 1 Replies
View Related
Jun 7, 2010
I am trying to run a .NET program with mono. I got the following:
Code:
Parser Error Message: Assembly ActiveReports.HtmlExport, Version=3.3.0.1999, Culture=neutral, PublicKeyToken=cc4967777c49a3ff not found
This means it requires ActiveReports, but could not find any Linux version of that software. So, is there any Linux alternative for it?
My system is Debian/sid (unstable).
View 1 Replies
View Related
Mar 18, 2011
i first noticed when i tried to get mono via sudo apt-get install mono i got the error
[Code]...
E: Package 'mono' has no installation candidate then i tried to get it through the software center and i noticed the software center wasn't opening.... so i tried searching to find if someone else had the proroblem, they did, one solution was to reinstall python but if i open syapitic software i get the error
[Code]...
View 6 Replies
View Related
Feb 23, 2010
I've installed mono developer, but when I want to make debug I got this message : Build failed. ApplicationName='/usr/bin/gmcs', CommandLine='"@/tmp/tmp17a7a5e2.tmp"', CurrentDirectory= ...
View 1 Replies
View Related
May 2, 2011
I am getting below information from the core file on our production servers. one of our server is crashing with segmentation fault .Program terminated with signal 11, Segmentation fault.
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
(gdb) where
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
[code]....
View 2 Replies
View Related
Mar 24, 2011
I want to know, is there any way to prevent the multi-thread process from crashing if some errors (say, segmentation faults) occur in one of its child threads? I've found pthread_sigmask() function, but that does not seem to work:
Code:
#include <stdio.h>
#include <unistd.h>
[code]...
View 3 Replies
View Related
Apr 27, 2010
I have a vpn server and dhcp server installed on my debian box.All wired and wireless authenticate through the server.Each day the system crash, the only way to recover it is to restart the box.To be honest, I don't really know how to start.I started my new job recently and Linux is my weakness... yikes*
View 2 Replies
View Related
Sep 6, 2011
So far I've tried it with Iceape and Midori. It crashed both of them. Also crashes Iceweasel and causes flash to crash on Chromium.
View 4 Replies
View Related
Aug 25, 2014
I'm not sure what the problem is but any browser i have crashes after some time of use, I've tolerated it for some time but its just too much of crashing, I have installed opera and chrome and both of them crash too..
View 13 Replies
View Related
Jun 26, 2011
My Computer Keeps Crashing And I don't know why.
View 12 Replies
View Related
Nov 18, 2015
If I watch a video on YouTube, the browser crashes when I try to change to another webpage. Typically, the video will play through but a few have crashed midway. It always crashes on changing the webpage after a video starts (whether it finishes first or not). There is no error message. I have searched the forum for 'iceweasel crash' and didn't see anything quite matching my own problem. I did look at related posts and none of them solved my problem. I'm not sure if the videos are HTML5 or flash. Perhaps a mix of both.
There's no problem with browsing regular pages, even if they have video advertisements in a sidebar. This seems to only be happening on YouTube. I have turned off all browser extensions and plugins with no improvement.
I've searched the internet and seen where there was a security problem with Flashplayer a month ago and the symptoms (if hacked into) sound similar to what's happening to me but I am using the latest version of Iceweasel and this bug is supposed to be fixed.
My Debian install is only about a week old and was a clean install to a formatted partition. I've added a few minor apps since install but nothing that would effect this. I also installed nVidia's proprietary graphics drivers. I can watch dvd movies, MP4's, .flv files, etc with no problems.
View 5 Replies
View Related
Mar 22, 2011
I am running the testing version and am fully up to date. When I try to run evolution, I get the following errors in a terminal. When I launch it normally, I don't see any messages, it just never loads.
$ evolution code...
What can I do to debug this and get it working again?
View 3 Replies
View Related
Apr 16, 2011
Because I am unable to get "report-bug" to run without crashing, I would like to report a bug in "lxterminal" on Debian 6.0 (Squeeze) running the 486 kernel.When the lxterminal Preferences are changed, they are not saved afterwards (once the application is exited.) I have to change the font size each time, as the default lxterminal screen opens up too small to read.
View 8 Replies
View Related
May 2, 2011
After today's squeeze update the nm-applet (it updated it to version 0.8.4-1) crashes when trying to connect to my vpn (pptp). I'm pretty new when it comes to this so I'm not sure what to do. I tried looking at the log file (applications--> system tools-->log file viewer) but I don't know what to make of it.
Heres the log file before it crashes:
View 1 Replies
View Related
Aug 5, 2015
Evolution keeps crashing everytime I send mail. I am also constantly asked for my keyring or email passwords. I checked the log and found this error message.
"CRITICAL **: mail_session_refresh_cb: assertion 'service != NULL' failed"
This message was in a bug report from 2013 that seems to be closed.: https://bugs.debian.org/cgi-bin/bugrepo ... bug=730256
My system : Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17)
synaptic package manager says my evolution and keyring are the latest.
I usually run Xfce if that means anything.
View 1 Replies
View Related
Aug 27, 2015
Debian Jessie
Iceweasel 38.2.0
Icedove 31.8.0
Iceweasel and Icedove spontaneously crash, sometimes individually, sometimes together. Upon restart they will both run, but the amount of time they run before crashing again decreases with each crash. The way to extend use of these programs is to reboot Debian. (I typically run my computer 24/7 to run community service programs.)
How do I get these programs to run without spontaneously crashing?
View 9 Replies
View Related
Aug 18, 2010
I got a problem with gstreamer programs and pulseaudio. I am running Debian Squeeze and needed to install pulseaudio to get better bluetooth-headset support. After installing everything every application except gstreamer applications could access the sound server the right way. Even flash and sdl are running via ALSA routing to pulse.
If I start programs running with gstreamer they crash with a segmantation fault. Totem does not start anyway. If I run it in the terminal it crashes immediately with a segmantation error. The debug mode prints out $ totem --debug
(totem:3450): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(totem:3450): Totem-DEBUG: Setting initial properties
[Code]....
I have installed the gstreamer plugin for pulseaudio and the gstreamer-plugins-good and bad. I started gstreamer-properties and choosed the right output driver. When testing the peep comes out of the right output.
Via google I founded some bugs, that were similiar to mine. But they had made the mistake not to install the plugins. I also can not choose ALSA in gstreamer and do the routing way. The programs using gstreamer simply crashing. I tried exaile. It also crashes the same way like rhythmbox. Is it a real bug? Or can I do something against that. VLC and kaffeine running very well. But I would be sad about not being able to use rhythmbox. I like that fast program. Or is there a way to get rhythmbox tto not using gstreamer?
View 6 Replies
View Related