Open Dental

De gacq wiki
Revisión del 10:11 3 sep 2006 de WikiSysop (discusión | contribuciones) (Using MySQL database on linux)
Saltar a: navegación, buscar

Introduction

License: GPL Developed in .NET (Current estimate on running Open Dental on Linux or Mac is December 2006 using Mono)


Installation tutorial

Using MySQL database on linux

  • Load it all up on a Windows machine as the server. Make sure it's working and that the other computers can connect to it.
  • Install Webmin on the Linux computer if you have not already done so.
  • Either share C:\mysql\data\ or the corresponding directory on the Linux server. You simply need a way to transfer the files from one to the other.
  • Move the C:\mysql\data\opendental\ to the Linux server. You will have to look on the Linux server to see where your mysql data directory is.
  • Use Webmin or your favorite admin program to add a user to the mysql database. I suggest root@% (root from any computer) with no password. You would not normally do it this way, but this is just for an intranet.
  • Restart the mysql server (not the whole computer) using Webmin or similar.
  • Try to connect to the database from another computer.

You might also separately move C:\OpenDentalData\ over to the Linux computer and share the directory. After doing this, when you start up OD, it will not be able to find the old path, and you will have to enter the new path.

Misc

Download Manual

To download full user manual and images and recreate internal links structure for off line reading use:

wget -c -t 50 -T 5 -w 1 -e robots=off -r -k -I manual,images http://www.open-dent.com/manual/toc.html

Multiple servers

OpenDent to another server

  1. Make backup of existing files using the backup feature in the manage module. One of those USB Flash Drives work well.
  2. Install OD in new server. Be sure to install as Server (includes MySQL).
  3. Run OD on the new server and go to the Manage module. Select the backup/restore function.
  4. Restore from the backup.

Very easy. You could also do it by copying the database folder (Opendental) and the A-Z folders.

Multiple monitors

This is how it done

  1. Hardware. A new dual-head video card (or add another video card to your existing computer) and 2 monitors
  2. You know you can open 2 (or more) OD window by just clicking at OD icon one more time, then move that new OD window to the other monitor.


Errors

Security Policy

After build the installer when you try to install Open Dent in a clean PC you get the following error:

Microsoft .NET Framework
Application attempted to perform an operation not allowed by the security policy. To grant..........
......
......
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=.....' failed
Details:
************** Exception Text **************
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
 at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
......
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The Zone of the assembly that failed was:
Internet

Resolutions:

  • You have to execute the installer from a local drive, See this page