MSDTC on the server 'jhchen-pc' is unavailable

Source: Internet
Author: User
Tags stack trace

"/" Server error in application.

Msdtc on the 'jhchen-pc' server is unavailable.

Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details:System. Data. SqlClient. SqlException: msdtc on the 'jhchen-pc' server is unavailable.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Solution

MSDTC (Distributed Transaction Coordinator) coordinates transactions across multiple databases, message queues, file systems, and other resource managers. The service is named msdtc.exe. The process calls Microsoft Personal Web Server and Microsoft SQL Server. This service is used to manage multiple servers.
Location: control panel -- Administrative Tools -- service -- Distributed Transaction Coordinator
Dependency: Remote Procedure Call (RPC) and Security Accounts Manager
Suggestion: Generally, it is not involved in the home computer, unless you enable the Message Queuing service, you can stop.

Solution: 1. Choose windows Control Panel> Administrative Tools> services> Distributed Transaction Coordinator> Properties> Start

2. Run "net start msdtc" under CMD to enable the Service.

NOTE: If Step 1 Distributed Transaction Coordinator cannot be started, it is because the log file is lost, re-create the log file, and then start it. To recreate the MSDTC log and restart the service, follow these steps:
(1) Click Start, click Run, Enter cmd, and then press OK ".
(2) Input msdtc-resetlog (note that when running this command, do not execute the pending transaction)
(3) Enter net start msdtc and press Enter!

 

"/" Server error in application.Display name has been existed.

Note:An error occurred while executing the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details:BaoJianSoft. Common. Validation. ValidationException: Display name has been existed.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

Solution:

Current: Asp.net source code "RapidWebDev framework source code" Comments [view all]

Show | view in new window


Decompiled the program and estimated it. Changed the LoweredApplicationName field in the aspnet_Applications table. It is OK if it is not localhost (I changed it to the website domain name. However, the system prompts invalid user authorization during logon.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.