"Warning: the CID values for both test machines are the same"
2008-05-14 09:30
176 查看
I came across a frustrating interesting problem today where the BizTalk Server 2006 Configuration wizard would fail every time I applied a new configuration.
Unlike a typical BizTalk developer environment (which usually consists of BizTalk and SQL Server on the same machine), this environment consisted of two separate machines: one BizTalk Server 2006 and one SQL Server 2005 (i.e. the BizTalk databases are stored on the SQL Server). Additionally, this is a virtual environment and both machines were cloned from the same base Windows Server 2003 R2 template.
I was installing the following components ...
· Enterprise Single Sign-On (SSO)
· Group
· BizTalk Runtime
· MSMQT
It would successfully install ENTSSO, but would fail when installing the group. The log file reported the following error:
Failed to configure with error message [Exception of type 'System.EnterpriseServices.TransactionProxyException' was thrown.]
The following Google search suggested to me that the underlying problem was with MSDTC (aren't all BizTalk problems?). I checked, and double-checked, the MSDTC properties on both servers and couldn't find anything wrong with the configuration. So, I had to pull out the big guns.
I downloaded DTCPing (a very handy tool for debugging DTC issues) and ran it on both machines (make sure to read the instructions on how to use DTCPing as it is not straightforward). In the generated log file I noticed the following warning:
WARNING: the CID values for both test machines are the same while this problem won't stop DTCping test, MSDTC will fail for this ...
A Google search on this warning helped me to understand that the underlying problem is that the CID values stored for MSDTC were not changed during the cloning process. But of course!
If you're experiencing this problem, check the following registry key on both of your machines. Are the keys identical?
HKEY_CLASSES_ROOT/CID
Mine were. Here's the steps I took successfully reinstall MSDTC so that the CID values were unique. Run this procedure on both machines:
1. Use Add Windows Components, and remove Network DTC.
2. Go to the command line and run: MSDTC -uninstall
3. Go to the registry and delete the MSDTC keys in HKLM/Software/Microsoft/Software/MSDTC, HKLM/System/CurrentControlSet/Services/MSDTC, and HKEY_CLASSES_ROOT/CID (if they're still there).
4. Reboot
5. Go to the command line and run: MSDTC -install
6. Use Add Windows Components, and add Network DTC.
7. Go to the command line and run: net start msdtc
After running this on both servers I was able to confirm that the CID values were unique. And, sure enough, when I next applied my configuration to BizTalk Server 2006 everything worked perfectly.
I hope this helps!
Unlike a typical BizTalk developer environment (which usually consists of BizTalk and SQL Server on the same machine), this environment consisted of two separate machines: one BizTalk Server 2006 and one SQL Server 2005 (i.e. the BizTalk databases are stored on the SQL Server). Additionally, this is a virtual environment and both machines were cloned from the same base Windows Server 2003 R2 template.
I was installing the following components ...
· Enterprise Single Sign-On (SSO)
· Group
· BizTalk Runtime
· MSMQT
It would successfully install ENTSSO, but would fail when installing the group. The log file reported the following error:
Failed to configure with error message [Exception of type 'System.EnterpriseServices.TransactionProxyException' was thrown.]
The following Google search suggested to me that the underlying problem was with MSDTC (aren't all BizTalk problems?). I checked, and double-checked, the MSDTC properties on both servers and couldn't find anything wrong with the configuration. So, I had to pull out the big guns.
I downloaded DTCPing (a very handy tool for debugging DTC issues) and ran it on both machines (make sure to read the instructions on how to use DTCPing as it is not straightforward). In the generated log file I noticed the following warning:
WARNING: the CID values for both test machines are the same while this problem won't stop DTCping test, MSDTC will fail for this ...
A Google search on this warning helped me to understand that the underlying problem is that the CID values stored for MSDTC were not changed during the cloning process. But of course!
If you're experiencing this problem, check the following registry key on both of your machines. Are the keys identical?
HKEY_CLASSES_ROOT/CID
Mine were. Here's the steps I took successfully reinstall MSDTC so that the CID values were unique. Run this procedure on both machines:
1. Use Add Windows Components, and remove Network DTC.
2. Go to the command line and run: MSDTC -uninstall
3. Go to the registry and delete the MSDTC keys in HKLM/Software/Microsoft/Software/MSDTC, HKLM/System/CurrentControlSet/Services/MSDTC, and HKEY_CLASSES_ROOT/CID (if they're still there).
4. Reboot
5. Go to the command line and run: MSDTC -install
6. Use Add Windows Components, and add Network DTC.
7. Go to the command line and run: net start msdtc
After running this on both servers I was able to confirm that the CID values were unique. And, sure enough, when I next applied my configuration to BizTalk Server 2006 everything worked perfectly.
I hope this helps!
相关文章推荐
- "error":400,"reason":"Bad Request","message":"No values provided for the request parameter '_action
- Test whether two objects hold the same data values or both are null
- Error:Application and test application id cannot be the same: both are 'com.xxxxxxx' for debugAndroi
- "this class is not key value coding-compliant for the key ..."问题的解决(转)
- android 老是弹出 "Copy" did not complete normally. Please see the log for more information.
- Error:Application and test application id cannot be the same: both are 'cn.deu.bztc.happyidiom.activ
- "The method width(int) is undefined for the type SmoothProgressDrawable.Builder"
- "EGO" Xcode Theme for Xcode 4 + EGOv2
- "this class is not key value coding-compliant for the key ..."问题的解决
- "BEA-000450" "Unable to find internal data record for the socket"
- "The value for the useBean class attribute is invalid" 错误。
- "Copy" did not complete normally. Please see the log for more information
- The source files "*\A.cpp " and "*\A.cpp " are both configured to produce the output file "*\A.obj "
- Solution For "could not be located or a different control is assigned to the same ID after postback"
- as 导入eclipse项目报错:Error:Application and test application id cannot be the same: both are 'com.hjy.act
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- 关于The GPG keys listed for the "***" repository are already installed but they are not corret
- "Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace"问题解决
- Error message "there are no property pages for the selection"
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法