نمایش نتایج 1 تا 2 از 2

نام تاپیک: ایجاد مشکل در حین اجرای سرویس؟

  1. #1

    ایجاد مشکل در حین اجرای سرویس؟

    سلام من یه سرویس نوشتم با این دستور:


    fileType: TextFile;
    Path: string;
    begin
    AssignFile(fileType, 'C:\path.txt');
    Reset(fileType);
    ReadLn(fileType, Path);
    fileGen.Open;
    while Not filegen.Eof do
    begin
    ForceDirectories(Path+fileGenAddress.AsString);
    fileGenContext.SaveToFile(Path+fileGenAddress.AsSt ring+fileGenFileName.AsString);
    fileGen.Next;
    end;
    CloseFile(fileType);
    fileGen.close;
    end;

    سه چهار بار اول کار رو درست انجام میده، اما بعدش با هر بار اجرا این لاگ توی سیستم ثبت می شه: این طوری ارور می ده:

    The description for Event ID ( 0 ) in Source ( FileGen.exe ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Transaction (Process ID 57) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

    چرا؟

  2. #2
    کاربر دائمی آواتار nasr
    تاریخ عضویت
    آذر 1382
    محل زندگی
    هر کجا هستم باشم آسمان مال من است پنجره فکر هوا عشق زمین مال من است
    پست
    2,018

    نقل قول: ایجاد مشکل در حین اجرای سرویس؟

    من هم همین مشکل را دارم

    آیا از دوستان کسی می دونه علتش چیه؟

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •