Recommended Posts

Posted (edited)

 

How can I resolve the "File not found: System.Security.Permissions" error with mysql?

EDIT: i solved this :P

 

 

 

 

Edited by Juance

Share this post


Link to post
Share on other sites

I get the same System.Security.Permissions error. Where should I put it? Should I need to reference it? I tried some methods, but none of them worked...

I would really appreciate some help!

Share this post


Link to post
Share on other sites
1 hour ago, Norbooo said:

I get the same System.Security.Permissions error. Where should I put it? Should I need to reference it? I tried some methods, but none of them worked...

I would really appreciate some help!

You must enable the option to copy all the files in your folder when compiled in Visual Studio, then copy all the ".dll" in the "runtime" folder within "bridge"

  • Like 1

Share this post


Link to post
Share on other sites
1 minute ago, Juance said:

You must enable the option to copy all the files in your folder when compiled in Visual Studio, then copy all the ".dll" in the "runtime" folder within "bridge"

Thank you in advance. But I must ask your help again. Where should I enable this option?

Share this post


Link to post
Share on other sites
Just now, Norbooo said:

Thank you in advance. But I must ask your help again. Where should I enable this option?

In this tutorial he explains it. You must press on your resource -> edit -> and put this

<CopyLocalLockFileAssemblies> true </CopyLocalLockFileAssemblies>

Follow the steps of this tutorial and we will have that option activated

Share this post


Link to post
Share on other sites
9 minutes ago, Juance said:

In this tutorial he explains it. You must press on your resource -> edit -> and put this

<CopyLocalLockFileAssemblies> true </CopyLocalLockFileAssemblies>

Follow the steps of this tutorial and we will have that option activated

Thank you. I think something else causing the problem. I checked it, and this line was already there. I put manually the .dll to different locations, but the error message still pops up when I try to connect to MySQL.

Share this post


Link to post
Share on other sites
1 minute ago, Norbooo said:

Gracias. Creo que algo más está causando el problema. Lo revisé y esta línea ya estaba allí. Puse manualmente el .dll en diferentes ubicaciones, pero el mensaje de error sigue apareciendo cuando intento conectarme a MySQL.

 

You must copy all the generated .dll and paste them in the "runtimes" folder, all

Share this post


Link to post
Share on other sites

What a fantastic tutorial, thank you very much!

Share this post


Link to post
Share on other sites

Not sure if anyone is able to help me out. I am getting an access violation.

ragemp-server.exe has exited with code -1073741819 (0xc0000005) 'Access violation'.

I believe the code 0xc0000005 is linked to a memory issue, I've done a precautionary test on my memory and everything is fine but not sure if anyone knows a workaround.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.