简体   繁体   English

Visual Studio 2012 HTML错误

[英]Visual Studio 2012 HTML Error

I have created this in VS2012. 我已经在VS2012中创建了这个。 For some reason I get the following error when I try to view it in page inspector. 由于某些原因,当我尝试在页面检查器中查看它时,出现以下错误。

"Uh-oh, something went wrong! Error Code: 403" “哦,哦,出事了!错误代码:403”

Can anyone please tell me why? 谁能告诉我为什么? Thank you. 谢谢。

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>TEsting</title>
</head> 
    <body>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        .auto-style2 {
            text-align: right;
            width: 274px;
        }
        .auto-style3 {
            height: 23px;
            width: 602px;
        }
        .auto-style4 {
            text-align: right;
            height: 26px;
            width: 274px;
        }
        .auto-style5 {
            height: 26px;
            width: 602px;
            text-align: left;
        }
        .auto-style6 {
            height: 23px;
            width: 274px;
        }
        .auto-style7 {
            width: 274px;
        }
        .auto-style8 {
            width: 212px;
        }
        .auto-style9 {
            height: 26px;
            width: 212px;
        }
        .auto-style10 {
            height: 23px;
            width: 212px;
        }
        .auto-style11 {
            width: 602px;
        }
        .auto-style12 {
            width: 602px;
            text-align: left;
        }
        #Reset1 {
            width: 84px;
        }
    </style>

    <form id="form1" runat="server">
    <div>

        <table class="auto-style1">
            <tr>
                <td class="auto-style2">User Name</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBoxUN" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="auto-style12">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxUN" ErrorMessage="User Name is required" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">E-Mail</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBoxEmail" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td class="auto-style12">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxEmail" ErrorMessage="E-mail is required" ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail" ErrorMessage="Not a valid E-mail address" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">Password</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
                </td>
                <td class="auto-style12">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxPassword" ErrorMessage="Password is required" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">Confirm Password</td>
                <td class="auto-style9">
                    <asp:TextBox ID="TextBoxConfirmPass" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
                </td>
                <td class="auto-style5">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxConfirmPass" ErrorMessage="Confirm Password is required" ForeColor="Red"></asp:RequiredFieldValidator>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBoxPassword" ControlToValidate="TextBoxConfirmPass" ErrorMessage="Password does not match" ForeColor="Red"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">Country</td>
                <td class="auto-style9">
                    <asp:DropDownList ID="DropDownListCountry" runat="server" Width="180px">
                        <asp:ListItem>Select Country</asp:ListItem>
                        <asp:ListItem>United States</asp:ListItem>
                        <asp:ListItem>United Kingdom</asp:ListItem>
                        <asp:ListItem>Germany</asp:ListItem>
                        <asp:ListItem>France</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="auto-style5">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="DropDownListCountry" ErrorMessage="Select a country name" ForeColor="Red" InitialValue="Select Country"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style6"></td>
                <td class="auto-style10">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Submit" />
                    <input id="Reset1" aria-required="False" type="reset" value="Reset" /></td>
                <td class="auto-style3"></td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style8">&nbsp;</td>
                <td class="auto-style11">&nbsp;</td>
            </tr>
        </table>

    </div>
    </form>
</body>
</html>

I know of a case when this error was caused by adware activity. 我知道这种错误是由广告软件活动引起的。 Scan your computer for malware, check what your proxy setting is, remove program RocketTab , if it is installed on your computer. 扫描您的计算机中是否存在恶意软件,检查您的代理设置是什么,如果您的计算机上已安装了RocketTab程序,请将其删除。

source: http://support.proboards.com/thread/509964/ip-address-banned?page=2 来源: http : //support.proboards.com/thread/509964/ip-address-banned?page=2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM