How can I run ASP.NET MVC3 in Apache? - asp.net-mvc-3

I have an Ubuntu 12.10 server installed running Mono 2.10.8. I also have Apache2 running and was able to run ASP.NET with mod_mono version 4. I am now trying to run an ASP.NET MVC3 web app, but I get the error message
Could not load file or assembly 'System.Web.Helper, Version=2.0.0.0, Culture=neutral, PublicKeyToke=...' or one of it's dependencies. The System cannot find the file specified.
I know it is running under ASP.NET 4.0 because the Yellow Screen of Death says ASP.NET Version: 4.0.30319.1
I have bin deployed that assembly as well as the other ones needed.
The weird part is that running the command
sudo xsp4
in the websites directory makes the app work as expected.
How can I troubleshoot what is going on here.

Related

Double restart and Failed SCCM installer: 0x40010004(1073807364)

We have a package which was recently deployed in SCCM. This package requires dot net 4.8 as a pre requisite and installs dot net 4.8 before installing the application. It is expected for the machine to restart after installing dot net 4.8 . But, in case of this package, even after restarting once post dot net 4.8 installation, it restarts the machine once again after starting the application install and this time without even a warning or 1.5 hours of countdown. Even after restarting the machine twice, the application is not successfully installed.
When clicked on more information on "Failed" status in SCCM, the error code is 0x40010004(1073807364). Please see below image for reference.
So, I wanted to know if this is an issue with SCCM or if this is an issue with the application msi files and .cmd script?

Where should I put ASP.NET Core Runtime binaries?

Some example code I'm playing with informs me that I need ASP.NET Core Runtime 2.1.14. I found it here. I'm on macOS and there is no installer, so I downloaded the "binaries" at the link "x64" under the heading "ASP.NET Core Runtime 2.1.14" on the right. I extracted the compressed folder, called "aspnetcore-runtime-2.1.14-osx-x64", which has the following contents:
dotnet
host
LICENSE.txt
shared
ThirdPartyNotices.txt
Now, I haven't the foggiest idea what I should do with these to install ASP.NET Core Runtime 2.1.14. Could someone please tell me what I should do?
To build and run ASP.NET Core apps on macOS, you need to install the SDK which also contains the runtime. There's an installer for that on the page you linked.
You can check the installed SDKs using dotnet --list-sdks and see where are they located. Same goes for the runtimes with dotnet --list-runtimes. The .NET CLI chooses the SDK version for each dotnet command, so in your case it will pick the one compatible with the version specified in your project. By default, it would use the latest.
There is an installer for MacOS on the download page for 2.1 you visited:
Make sure to download the SDK (it includes the Runtime) in the column Installers, not Binaries.
Then install it as any MacOS application. Once you did it, you can type dotnet --version in a terminal and it will return the version you just installed.

Apache Cordova The system cannot find the file specified

I am developing Apache Cordova app on vs 2015 community with Angularjs on onsen.
And keep getting "The system cannot find the file specified" error no matter what i've done.
Things that i've done so far:
Clear cordova cache, Clean, Rebuild (like a hundred times)
Format pc, install everything
Copied the solution to another pc and worked fine nothing is wrong but does not work on my pc.
Close vs instances and change the folder name under Appdata/roaming/microsoft/local/phonetools/Corecon
And nothing changed still getting the same error when deploy starts.
My NPM version is 3.10.10, Cordova CLI is 6.1.1, nodejs version is 6.9.4 and JDK version is 1.8.3

How Can i Run jboss EAP-7.0.0 as windows service on windows 7 x64?

I have installed Jboss EAP-7.0.0 on windows 7 x64 operating system.
When i run Jboss EAP-7.0.0 via standalone.bat file inside bin direcotry it starts without any problem and deployed .war files also work without any problem, but when i try to run serice.bat install command inside bin direcotry it gives following output in console: Please install native utilities into expected location D:\jboss EAP-7.0.0\EAP-7.0.0\..\jbcs-jsvc-1.0
I tried googling this issue. I also tried to follow this link: Failed to start EAP 7 as Windows service. (you might need to login on in webpage to see whole discussion) and this link 4.3. CONFIGURING JBOSS EAP AS A SERVICE IN MICROSOFT WINDOWS SERVER but the products dropdown is empty (please see the image)
I am really confused and need your help: How do i download and install jbcs-jsvc-1.0 ?
.
Disclaimer: I didn't confirm this on Windows 7 but it works under Windows Server 2016. I.e. since there shouldn't be any relevant difference, it should be fine.
The service.bat included in JBoss EAP 7 expects a prunserv.exe at one of the following locations:
%JBOSS_HOME%\..\jbcs-jsvc-1.0\sbin\prunsrv.exe or
%JBOSS_HOME%\bin\prunsrv.exe
If you don't have the proper subscription/permission to download the JBoss Core Services Jsvc (e.g. because you just have a developer subscription), you can just download the prunsrv.exe as part of the freely available Apache commons-daemon package:
Download "commons-daemon-1.0.15-bin-windows.zip", e.g. from
http://mirrors.advancedhosters.com/apache/commons/daemon/binaries/windows/
Unzip it into the %JBOSS_HOME%\bin folder
Run service.bat install
Instead of an error message, you get notified that your Windows Service has been successfully installed as "JBossEAP7" (unless you already have one with that name).
I am afraid you have to log in to the Red Hat Customer Portal JBoss Software Downloads page, in order to download and install the JBoss Core Services Jsvc package.
After downloading the appropriate zip file (latest version, correct platform and architecture), extract it into the directory "containing" your JBoss EAP installation directory. In other words, the new "jbcs-jsvc-" directory should be at the same depth as your JBoss EAP installation directory.
Then, go on and install the service the same as EAP 6.x

Issue with MvxPluginLoader

I use MvvmCross and I have installed plugins via nuget packages on xamarin studio on mac os...
Everything works well but sometimes when I add a plugin I got this error and can't build my app anymore:
Error MT2002: Failed to resolve "MvvmCross.Platform.Plugins.MvxLoaderPluginManager" reference from "MvvmCross.Platform, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" (MT2002) "
It could happens with any plugins...
The error concerns my iOS project. The pcl aren't touched by this issue.
Any idea on how to solve it ?
I ran across the exact same error when adding the PictureChooser plugin and resolved it by upgrading my MVVMCross packages to newer versions. Version 4.23 (and newer) of MVVMCross built successfully, but earlier versions would give me that same error. I hope this helps.
Maybe your plugin is referencing an older version of MvvmCross.Platform then your pcl/ios project?

Resources