We help IT Professionals succeed at work.

Why does my ajaxToolkit:MaskEditExtender cause a security exception on my local machine?

Michael Sterling
Michael Sterling used Ask the Experts™
I'm using an ajaxToolkit:MaskEditExtender for my textbox, and it's throwing a security exception. i've included the markup. Any ideas?
<asp:TextBox runat="server" ID="txtStudentIdSearchBox" MaxLength="17"></asp:TextBox>
                <ajaxToolkit:MaskedEditExtender ID="meeStudentIDSearchBox" runat="server" TargetControlID="txtStudentIdSearchBox"
                    Mask="CCCCCCCCCCCCCCCCC" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
                    OnInvalidCssClass="MaskedEditError" MaskType="None" InputDirection="LeftToRight"
                    AcceptNegative="None" DisplayMoney="None" ErrorTooltipEnabled="True" Filtered="*" />

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Look for the .dll in your project that is responsible in this case:

 and any related ones.

Right-click on the .dll  go to properties and check for the following security message: “This file came from another computer and might be blocked to help protect this computer.” If present, click “Unblock”, “Apply” and “OK”.

Sometimes if you have copied it, it can cause issues.
Michael SterlingWeb Applications Developer