ווי צו טראָובלעשאָאָט מיסטעריעז שאַרעפּאָינט ערראָרס.

איבערבליק:

דיבאַגינג איז שווער ווען דעוועלאָפּינג מנהג פאַנגקשאַנאַליטי פֿאַר ווינדאָוז שאַרעפּאָינט באַדינונגס 3.0 (ווסס) אָדער מייקראָסאָפֿט אָפיס שאַרעפּאָינט סערווירער (מאָך). The main culprit is that SharePoint normally surfaces very little diagnostic information on the web browser when an error occurs. This blog entry describes how to locate additional system-generated diagnostic information that can often provide that extra bit of detail that one needs in order to identify root causes. This can then lead to solving the problem.

איך האב געניצט דעם טעכניק מיט גרויס הצלחה צו סאָלווע אַנדערש מיסטעריעז ערראָרס.

צוגאַנג:

שאַרעפּאָינט סאַוועס אַ גרויס האַנדלען פון אינפֿאָרמאַציע צו אַ דיאַגנאָסטיק קלאָץ אין אַ קלאָץ טעקע אין די 12 כייוו.

The "12 hive" is usually located at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12". (איך בין נישט זיכער אויב עס ס מעגלעך פֿאַר די 12 כייוו צו לעבן ערגעץ אַנדערש, אין פאַקט).

דער געדאַנק איז צו געפינען דעם קראַנט קלאָץ טעקע, force the error and then quickly open the log file. These log files are characterized by:

  • Copious amounts of information. SharePoint generates a very large amount of diagnostic information and writes it to that log file very quickly. You need to be quick with the fingers to capture it.
  • Multiplicity. SharePoint does not write to a single log file but rather generates multiple log files in sequence.
  • קאָפּי און פּאַפּ נייסלי אין מס עקססעל.

מייַן באַליבט אופֿן:

  1. עפענען זיך אַ Windows Explorer פּוינטינג צו די 12 כייוו לאָגס.
  2. סאָרט די מיינונג צו ווייַזן דורך מאַדאַפייד דאַטע (רובֿ פריש ערשטער).
  3. הויכפּונקט די מערסט קראַנט קלאָץ טעקע.
  4. אין אַ וועב בלעטערער פֿענצטער, קראַפט דער טעות צו פאַלן.
  5. געשווינד עפענען דעם קראַנט קלאָץ טעקע און נאָכמאַכן זייַן אינהאַלט צו מס עקססעל.
  6. שפרינג צו דער סוף און פונאַנדערקלייַבן די באַטייַטיק איינסן.

אנדערע נאָטעס:

דורכ פעליקייַט, די דיאַגנאָסטיק קלאָץ איז ליגן אין די 12 כייוו לאָגס Directory.

מס בעסטער פּראַקטאַסאַז (ווי פּער מייק ה. פון מייקראָסאָפֿט) state that the log files should be saved to a separate hard drive. One does this via central admin. Your system administrator may have done this, אין וואָס פאַל איר 'ד דאָך דאַרפֿן צו געפינען די קלאָץ טעקע דאָרט אַנשטאָט פון די פעליקייַט 12 כייוו אָרט).

דעם פּאָזיציע ווענדט ישוז אַזאַ ווי:

  • שאַרעפּאָינט וואָרקפלאָוו ניט אַנדערש צו אָנהייבן רעכט צו אַן ינערלעך טעות.
  • (מער צו זייַן צוגעגעבן איבער צייַט)
  • דעם פּאָזיציע האט שוין נוציק דייאַגנאָוסינג וואָרקפלאָוו ערראָרס (e.g. "The workflow failed to start due to an internal error").

4 געדאנקען אויף "ווי צו טראָובלעשאָאָט מיסטעריעז שאַרעפּאָינט ערראָרס.

  1. Larry Virden

    אַזוי, there are times when I go to the 12 hive logs and find there is little to nothing in them, even though the logging levels are such that there should be data there. לעמאָשל, I’m sitting here looking at the windows explorer view of the logs folder and I see that, in average, the logs are 1-2 gig. But then I see several hours in which the logs are 10k. איצט, the sharepoint sites in question are in use pretty much 24 hrs a day. So something is happening to the threads/processes generating the information that prevent them from logging information, I would have to assume. אַזוי, how do I figure out what is causing this issue?

    I discovered all this when I went to go to the logs to try and debug a problem. A user added a web part and the web part tells them to check the logs. But of course, there’s nothing in the log.

  2. Nafees wrote:
    Thanks man! this is great. I was finally able to track error from log file generated. and what i did was just forget to change the name of assembly name in manifest file workflow.xml specified in feature.xml.
    Excellent.
    "RunWorkflow: סיסטעמ.יאָ.פילענאָטפאָונדעקססעפּטיאָן: Could not load file or assembly ‘NewWorkFlowewWorkFlow, ווערסיע = 1.0.0.0, קולטור = נייטראַל, PublicKeyToken=ed96fa43c5396ebe’ or one of its dependencies. The system cannot find the file specified. File name: ‘NewWorkFlowewWorkFlow, ווערסיע = 1.0.0.0, קולטור = נייטראַל, PublicKeyToken=ed96fa43c5396ebe’ at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembl…"

לאָזן אַ ענטפֿערן

אייער בליצפּאָסט אַדרעס וועט ניט זיין ארויס. Required fields are marked *