Check the xsp4 shell script and ensure it's using the correct Mono version. It might be using /usr/bin/mono instead of /opt/mono3/bin/mono.
On Mon, Mar 11, 2013 at 12:49 AM, Brad Robinson <[email protected] > wrote: > I've just built and installed latest Mono (3.0.7) and XSP on OpenSuse and > while the fastcgi server works, trying to run XSP4, fails with the error > shown below. Running under Windows with XSP4 works fine with both .NET and > Mono runtimes. > > I'm not sure if this is related but I'm running Mono 3 in parallel to Mono > 2.10.2, build and installed with --prefix=/opt/mono3. I'm setting the > following environment variables before launching XSP: > > MONO_PREFIX=/opt/mono3 > export > DYLD_LIBRARY_FALLBACK_PATH=$MONO_PREFIX/lib:$DYLD_LIBRARY_FALLBACK_PATH > export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH > export PATH=$MONO_PREFIX/bin:$PATH > > Launching XSP with the following from the webapp directory: > > sudo xsp4 --port 80 > > And getting the following error: > > System.Web.Compilation.CompilationException > CS8026: Invalid sdk version name > > Description: Error compiling a resource required to service this request. > Review your source file and modify it to fix this error. > Details: CS8026: Invalid sdk version name > Error origin: Compiler > Error source file: ~/Global.asax > Exception stack trace: > at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.Web.VirtualPath virtualPath, > System.CodeDom.Compiler.CompilerParameters options) [0x00000] in <filename > unknown>:0 > at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 > at System.Web.Compilation.BuildManager.GenerateAssembly > (System.Web.Compilation.AssemblyBuilder abuilder, > System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, > Boolean debug) [0x00000] in <filename unknown>:0 > at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath > vp, Boolean debug) [0x00000] in <filename unknown>:0 > > Any help would be greatly appreciated. > > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Invalid-SDK-Version-Name-when-compiling-Global-asax-tp4658900.html > Sent from the Mono - ASP.NET mailing list archive at Nabble.com. > _______________________________________________ > Mono-aspnet-list mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list >
_______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
