Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 904847 - Last Review: January 15, 2007 - Revision: 1.2
You may receive a "Repository was locked on host" error message when you try to validate an EDI schema in BizTalk Server 2004
In Microsoft BizTalk Server 2004, when you try to validate
an Electronic Data Interchange (EDI) schema in Microsoft Visual Studio .NET
2003, you may receive an error message that is similar to one of the following
error messages:
Error message 1Schema validation failed. Repository was
locked on host [host name] by process [compeif],
processid [###]
Error message 2Schema validation failed. Repository was
locked on host [host name] by process [xsd2edi],
processid [###]
This problem occurs when the
Compeif command or the
Xsd2edi command runs and the EDI repository is locked in the BizTalkEDIDb
database.
The EDI repository may remain locked when one of the
following conditions is true:
- The Compeif command, the Xsd2edi command, or the Visual Studio .NET Devenv process (Devenv.exe)
exits when the Compeif command, the Xsd2edi command, or the Devenv process validates an EDI
schema.
- The BizTalk Base EDI service stops when you try to validate
an EDI schema.
To resolve this problem, unlock the EDI repository in the
BizTalkEDIDb database. To do this, follow these steps:
- Click Start, click
Programs, click Microsoft SQL Server, and
then click Query Analyzer.
- In the Connect to SQL Server dialog box,
enter the SQL Server server name and the logon credentials.
- In the Query window, type and then run the following
Transact-SQL script.
USE BizTalkEDIDb
GO
UPDATE parame SET repolock=null
GO
- At a command prompt, type the following command to generate
the .eif file that is used by the BizTalk Base EDI service:
Compeif
Note By default, the Compeif.exe file is installed in the Program
Files\Microsoft BizTalk Server 2004\EDI\Subsystem\ folder. - After the Compeif command has finished, restart the BizTalk Base EDI
service.
Typically, the EDI repository is locked when you compile an
EDI schema and then unlocked when the compilation is completed. Under the
conditions that are described in the "Cause" section, the EDI repository may
remain locked.
APPLIES TO
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Standard Edition
- Microsoft BizTalk Server 2004 Partner Edition
- Microsoft BizTalk Server 2004 Developer Edition
| kbbtsorchestration kbinfo kbtshoot kbprb KB904847 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate