> For the complete documentation index, see [llms.txt](https://kythuat.dtechvn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kythuat.dtechvn.com/cai-dat-dtech/loi-dang-nhap-tren-may-chu.md).

# LỖI ĐĂNG NHẬP TRÊN MÁY CHỦ

## 1. Đăng nhập máy chủ không thấy phản hồi

* Kiểm tra Task Manager và tắt hết exe Dtech đang chạy ngầm
* Xoá file trạm và kết nối lại để kiểm tra xem có vào được không
* Vào QL dữ liệu, nếu có data nghĩa là SQL đã chạy được
* Vậy khả năng do các file dll của phần mềm lỗi

## 2. Sau khi nhập user và mật khẩu, thì bật lỗi 11cannot per....

<figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2FTgAYIMzqQ4oqgXYvtuTQ%2F%C4%91%C4%83ng%20nh%E1%BA%ADp%20b%E1%BB%8B%20l%E1%BB%97i%20cannot%20per.jpg?alt=media&amp;token=a8074dea-3919-42de-8929-a58a2b191c89" alt=""><figcaption><p>Báo lỗi sau khi đã nhập user và mật khẩu. </p></figcaption></figure>

* Lỗi khả năng liên quan đến mở giao diện nhập liệu bị lỗi
* Vào thư mục Dtech/Dtech..../Temp&#x20;
  * Tìm tới tệp "LastTimeUpdateSource"+ dataName
  * Sửa thời gian trong file về trước ngày hôm nay
  * Rồi chạy file checkupdate để phần mềm cập nhật lại các file code của phần mềm&#x20;
  * Nếu không được, thì thử copy exe mới nhất sang (lưu ý thử file 64 hoặc 86 tuỳ máy)

## 3. Đăng nhập phần mềm nhưng không hiện danh sách user để chọn

* Nguyên nhân:&#x20;
  * Lỗi có thể gặp cả ở máy trạm hoặc máy chủ
  * Hỏng file trong thư mục&#x20;

    <figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2FG7odGLbgTvW4La1oXw5Q%2F%C4%91%C4%83ng%20nh%E1%BA%ADp%20kh%C3%B4ng%20th%E1%BA%A5y%20user.png?alt=media&amp;token=4cb47a72-c589-4093-82d9-d46b842209d6" alt="" width="563"><figcaption><p>Đăng nhập không có user để chọn</p></figcaption></figure>
* Giải pháp:
  * Đăng nhập vào thư mục: Dtech/Dconfig/ Sep/DT/ tìm và xoá thư mục có tên database đăng nhập bị lỗi ( bản dịch vụ sẽ có nhiều thư mục database)&#x20;

    <figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2F1CcEYmZFqcPgnkrO6Gyb%2F%C4%91%C4%83ng%20nh%E1%BA%ADp%20kh%C3%B4ng%20th%E1%BA%A5y%20user%20-%20gi%E1%BA%A3i%20ph%C3%A1p.png?alt=media&amp;token=654dc187-50f3-4eda-bb8f-44136831f4d8" alt="" width="563"><figcaption><p>Xoá thư mục có tên data tương ứng</p></figcaption></figure>

## 4. Font "Segoe UI: does not support style Regular

<figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2F2O37TTr5RnSIWgGtQwh0%2Fimage.png?alt=media&amp;token=74d25762-3c5c-47ee-b3b7-e11edb434c0f" alt=""><figcaption></figcaption></figure>

**Nguyên nhân:**

* Font chữ trong hệ thống đăng ký với Registry bị thay đổi sang 1 tên có dấu \_0 dẫn tới hệ thống nhận không đúng
* Đường dẫn Font hệ thống:

```
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
```

<figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2FqhbllPrS15xS0WYIY9uU%2Fimage.png?alt=media&amp;token=2721c1fb-3a5a-4187-9513-b2c10309616e" alt=""><figcaption></figcaption></figure>

**Khắc phục:**

* Mở registry lên theo đường dẫn font hệ thống sau, nhấn Ctrl+F để tìm font Segoe UI kia, click chuột phải vào chọn Modify, bổ sung đúng đường dẫn font và tên của font bỏ đi \_0

<figure><img src="https://3934179848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpqWC051kMhpZgqZaU9Oy%2Fuploads%2FwxdqE3l06wIQ2OA5EzbA%2Fimage.png?alt=media&amp;token=478a078f-5245-4ec6-b725-1bce5544375c" alt=""><figcaption></figcaption></figure>

* Sửa xong đóng registry lại khởi động lại máy tính là được.
