[Mono-dev] Method 'SqlParameter.set_TypeName' not found. & fastcgi

Chad Grant chad.grant at vevo.com
Sat Oct 31 03:34:59 UTC 2015


Trying to run a site that is built under v4.5 profile.

I'm building with the latest docker image:

docker run --name=monobuild -it -v `pwd`/src:/var/src -v `pwd`/out/temp:/var/out -w /var/src/ -e MONO_IOMAP=case mono:latest xbuild /var/src/Api.Admin.sln /p:Configuration=Local /p:OutDir=/var/out/

I had this same error when compiling but I forgot how I got it to go away.

Now I'm getting it when attempting to run it in this docker image: https://github.com/seif/docker-mono-fastcgi-nginx

I suspect it's not loading up the v4.5 libs but I have no clue of how to configure fastcgi to do this.

The error screen gives : Version Information: 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Aug 25 23:11:51 UTC 2015); ASP.NET Version: 4.0.30319.17020

I've had a hell of a time trying to get this to run in apache/nginx. Any help would be super appreciated.

The Web.config has:

<httpRuntime targetFramework="4.5" />
<compilation targetFramework="4.5" />

I asked on stackoverflow as well, http://stackoverflow.com/questions/33445856/mono-method-sqlparameter-set-typename-not-found-fastcgi

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20151031/a22c3c3b/attachment.html>


More information about the Mono-devel-list mailing list