???? ?? ????

?? ? ?? ? ? ???? ?? ??? ???. ??? SharePoint URL? ???? ?? ??? NoRedirect? ??? ??? ?? ??????. ???? „SharePoint ??? URL“ ? „?? ??“? ?? ????? ????. ?? ?? ???? ???? ID ??? ?? ????? ????. ?? ?? ??? ???. http://knrs.blogspot.com/2010/11/sharepoint-401-unauthorized-when.html ??? ?? ?? ?? ????? ?????. ???? ?? ???? `??`??? ??, ? ??? ???? ???? ???(????? ?? ??? ? ? ?? ??? ??? ? ? ?? ??? ???? ?? ?? ??) ??? ?? ???? ??? ? ?? ??? ???? ?? ?????. ?? ? ? ??? ?? ? ??? ??? ???? ?? ?? ?? ? ? ??? ?? ?? ? ??? ?? ? ? ????. ?? ???? ???? ?? ???? ?? ? ??? ??? ???? ???? ? ????. ?? ?: : ??????? ?????? ?? ??? ??????. ?? ?? ????“ „??, ?? „401: ??“ ??? ??? WebClient.DownloadFile ???? ?? ? ? SharePoint?? Infopath ??? ????, ?? ??? ??? ?? ?? ??? (WebClient.Credentials ?? ??). ?? MOSS 2007 ?????? ???? ???? ?? ?? ?? ?????.

? ??? /_layouts/FormServer.aspx ???? ???????. ?? ??? „? ???? ????? NoRedirect=true“? url? ??? ?? http://ServerName/sites/SiteCollection/FormLibrary/Form1.xml?NoRedirect=true. /_layouts/FormServer.aspx ????? ??? ? ?? ?? ?? ?? ??? ?? ??? ??: http://msdn.microsoft.com/en-us/library/ms772417.aspx „?? ????? ???? ???? ?? ????? ???? ???? ? ?? ??? ? ?? ??? ????? : ??? ??? ?? ?? ??? ??? ?? ?? „? ?? ? ? ??? ??????. NoRedirect=true“? ?? ?? ???? ???? ? ? ????.