???? ????? ??? ??? ?????? ????? ????? ??? ASP.NET 2.0 ????? ??? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 919284 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ?????? ????? ????? Microsoft ASP.NET 2.0 ??? ????? ??? Microsoft .NET Framework 2. 0? ?? ????? ????? ??? ?????? ????? ????? ????? ???????:
????? ????? ???????? ?? ????? MyControl _1' ???? ????? ????? ?? (MyControl) ??? ?????? ?? ??? ???? ?????? (ASP. MyControl _ascx).
??? ???? ??? ????? ???? ?? ????? 'ASP. MyControl _ascx' ??? ????? ' MyNameSpace.MyControl '.
??? ????? ??? ????? ??? ?????.
?????? ?? ????? ????? ??? MyControl ?? ??? ???? ?????? ???? ???? ?? ?????. MyNameSpace ?? ??? ????? ??? ???? ?????? ??? ???

?????

??? ???? ??????? ???? ??????? ???? ASP.NET 2.0 ?????? ????? ??????? ????? ?????? ??????? ????? ???????. ??? ??? ????? ??????<compilation> ?????? ?? ??? web.config ????? ?????? ?????? ? ASP.NET 2.0 ??????? ?? ???? ?? ??????? ?? ????? ??????. ?? ??? ?????????? ?? ???? ???? ?????. ???????? ??? ???? ?? ???? ????? ??????? ??????? ??? ???? ?? ?? ??????? ???????:
  • ????? ??????? ??? ????? ??? ????? ???? ???.
  • ????? ??????? ??? ????? ??? ????? ??? ???? ?????? ??????.

????

??? ??? ???????? ?????? ???? ????? ???????:

??????? 1: ????? ????? web.config

?????? ??? web.config ?????? ????? ??????<compilation> ?????? ?? ??? web.config ????? ?????? ??? false.

?????? ???? ???? ??????? ??? ?? ??? ????????? ???????. ??? ????? ??????? ?????? ??? false ? ASP.NET 2.0 ??????? ?? ???? ?? ??????? ?? ????? ?????? ?? ??????? ????? ?????. ??? ????? ????????? ???? ????? ?? ?????? ?????? ??????? ????????. ???????? ??? ???? ?? ???? ??? ????????? ???? ?????. ???? ??? ????? ???????.

??????? 2: ????? ????? ???????? ?? ???????

????? ???? ?????? ????? ????? ???????? ?? ???????. ?????? ????? ??? ???????? "? ???? ??????? ???????:
  1. ???? ??????? ??? ????? ??? ????? ???? ??? ??????? ????? ?????? ????? ?????.
  2. ?????? ??? ???? ?????.
  3. ????? ?????? ???????? ??? ??????? ???????? ?? ??? ??????.

??????? ????

?????? ??? ???? ?? ????????? ??? ????? ??????? <compilation> ?????? ?? ????? web.config ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????: http://msdn2.microsoft.com/en-us/library/s10awwz0.aspx

????? ?? ????????? ??? ??? ??? ????? InvalidCastException ?? ??? ??? ?? ????? ??? ???? ASP.NET ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
915782FIX: ?? ???? ??? InvalidCastException ?? ????? ??? ???? ASP.NET

???????

???? ???????: 919284 - ????? ??? ??????: 29/????? ???????/1427 - ??????: 1.2
????? ???
  • Microsoft ASP.NET 2.0
????? ??????: 
kbmt kbasp kbtshoot kbprb KB919284 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????919284
????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com