Microsoft KB Archive/252831: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 44: | Line 44: | ||
== SYMPTOMS == | == SYMPTOMS == | ||
When you are using Systems Management Server (SMS) Installer Script Editor to assign a temporary file name (Get Temporary Filename into <code>variablename</code>), the generated SMS Installer program can cause an | When you are using Systems Management Server (SMS) Installer Script Editor to assign a temporary file name (Get Temporary Filename into <code>variablename</code>), the generated SMS Installer program can cause an "Access violation" error message similar to: | ||
<div class="errormessage"> | <div class="errormessage"> | ||
The instruction at <code>xxx</code> referenced memory at <code>yyy</code>. The memory could not be | The instruction at <code>xxx</code> referenced memory at <code>yyy</code>. The memory could not be "read". | ||
</div> | </div> |
Latest revision as of 13:52, 21 July 2020
Article ID: 252831
Article Last Modified on 10/25/2006
APPLIES TO
- Microsoft Systems Management Server 2.0 Service Pack 5
This article was previously published under Q252831
SYMPTOMS
When you are using Systems Management Server (SMS) Installer Script Editor to assign a temporary file name (Get Temporary Filename into variablename
), the generated SMS Installer program can cause an "Access violation" error message similar to:
CAUSE
This behavior can occur if the Get Temporary Filename script action is used within a loop. For example, the following sample script generates the error message:
Set Variable COUNT to 1 While COUNT Not Equal 200 do Get Temporary Filename into MYFILE Set variable COUNT to %COUNT% (Increment) End Block
For small loop iterations (less than 130), the problem does not occur.
WORKAROUND
Do not use the Get Temporary Filename script action in a loop that is likely to iterate beyond 130 times.
STATUS
Microsoft has confirmed this to be a problem in Systems Management Server Installer version 2.0.91.
Additional query words: prodsms
Keywords: kbbug kbprb KB252831