.NET /COM相互運用機能を使用してTOMAPIを介してコンポーネントを作成しているときに、問題が発生しています。
実際の問題:
カスタムページから作成する550個のコンポーネントがあります。400〜470のコンポーネントを作成できますが、その後失敗し、次のようなエラーメッセージが表示されます。
Error: Thread was being aborted.
何かアイデア/提案、なぜそれが失敗しているのですか?
また
Tridion 2009に制限はありますか?
更新1:
@ user978511リクエストによると、以下はApplication
イベントログのエラーです:-
Event code: 3001
Event message: The request has been aborted.
...
...
Process information:
Process ID: 1016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpException
Exception message: Request timed out.
...
...
...
更新2:
@Chris:これは私の一般的な関数であり、パラメーターのリストを渡すことによってループで呼び出されます。ここでは、Interopdllを使用しています。
public static bool CreateFareComponent(.... list of params ...)
{
TDSE mTDSE = null;
Folder mFolder = null;
Component mComponent = null;
bool flag = false;
try
{
mTDSE = TDSEInitialize();
mComponent = (Component)mTDSE.GetNewObject(ItemType.ItemTypeComponent, folderID, null);
mComponent.Schema = (Schema)mTDSE.GetObject(constants.SCHEMA_ID, EnumOpenMode.OpenModeView, null, XMLReadFilter.XMLReadAll);
mComponent.Title = compTitle;
...
...
...
...
mComponent.Save(true);
flag = true;
}
catch (Exception ex)
{
CustomLogger.Error(String.Format("Logged User: {0} \r\n Error: {1}", GetRemoteUser(), ex.Message));
}
return flag;
}
前もって感謝します。