This topic is locked
[SOLVED]  error CS0012: The type 'System.Object' is defined 2/3/2021
ASPRunner.NET General questions
S
sevy1971

Hi,
I got a strange error in 1 asprunner.net application build. I've modified only the Logo and create a full new build. Upload all the files to the server.
Accessing it with the URL it display the following error 500 with
PROGRAM\AspRunnerNet\FNEL - Gestion Membresv105\output\Views\.global\login.cshtml(34):

error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
First I don't know where this DLL/Reference suddenly appears, as I checked the old "build" done end of year 2020!
Update I: 03.02.2021 More Information:
Created a new project with a MYSQL/MariaDB Database connection.

Add one table +

UserTable.
Build with "Visual Studio 2019 " Framework 4.5.2 (Full build)

After the build, testing ... result in the same error!
Update II: 03.02.2021 More Information:
Created a new project with a MSSQL Database connection

Add one table +

UserTable.
Build with "Visual Studio 2019 " Framework 4.5.2 (Full build)

After the build, testing, everything works!
For me, there must be a problem with the MYSQL Connector/DLL
Can somebody help please.?
Yves

admin 2/3/2021

Yves,
I would suggest uploading this project to Demo Account and contacting support directly so we can see what exactly is happening there.

S
sevy1971 2/4/2021

>

Yves,
I would suggest uploading this project to Demo Account and contacting support directly so we can see what exactly is happening there.


Hi,
Ok uploaded under http://demo.asprunner.net/yves_solinf_lu/TESTMySQL2
Thanks for any help

Yves