ERR_TOO_MANY_REDIRECTS | The ASP.NET Forums

文章推薦指數: 80 %
投票人數:10人

But if it is a code bug, why isn't seen with the asp.net application server? also when it is running in windows server 2008 R2 with IIS 7.0 it ... We’resorry.Thecontentyourequestedhasbeenremoved.You’llbeautoredirectedin1second. Askaquestion Quickaccess Forumshome Browseforumsusers FAQ Searchrelatedthreads RemoveFromMyForums Askedby: ERR_TOO_MANY_REDIRECTS ArchivedForums  >  ConfigurationandDeploymentofASP.NET Question 0 Signintovote User-102950003posted Hiall, Ihavethefollowingsituation:Ihaveawebsitewithasp.net2.0noMVCinVisualStudio2010.WhenIrunthewebsiteinthedebuggertheasp.netdevelopmentserverisstartedandthewebsiteisrunningproperly.  WhenIconfigureinIIS8.5awebsitewithanapppoolon.net2.0.IgetallthetimeError_Too_Many_Redirects.Itriedthefolderwherethecodeisintoconverttoapplication.Doesn'tmatter.  Ihopesomebodycanhelpmeout.  Thanksinadvancedallforyourhelp,timeandeffort.  Itisreallyappreciated.  Regards, StefanVerheggen Friday,November10,201711:28AM Allreplies 0 Signintovote User475983607posted Thiscanhappenwhensettinganauthenticationmode(likeFormsAuthentication)butthere'snologinpageortheloginpagedoesnotallowanonymoususers.  TrysettingIISauthenticationtoAnonymousonlyandseeifthatfixestheissue. Fromthereyou'llneedtofigureoutwhattodonext. Otherwise,youmighthavearedirectloopbuginthecode. LookforResponse.Redirectsinyourcodebase. Friday,November10,201712:05PM 0 Signintovote User-102950003posted Thanksforthequickreply.Butifitisacodebug,whyisn'tseenwiththeasp.netapplicationserver?alsowhenitisrunninginwindowsserver2008R2withIIS7.0itisn'tshowingup.  anonymousalsodoesn'twork.  Thanksinadvancedforyourhelpandeffort.  Regards, Stefan Friday,November10,20171:37PM 0 Signintovote User753101303posted Hi, StartbycheckingtheIISlog.Itshouldallowtospotwhichpage(s)arecausingthisredirectioncycle. Friday,November10,20171:46PM 0 Signintovote User991499041posted HiStefan, Ifawebpagehastoomanyredirects(forexample,ApointstoB;BpointstoC;CpointstoD…andsoon);insuchasituationaswellbrowserswillshowtheredirectlooperror. Thisproblemmaybecausedeitherattheclientendortheserverend. Ifthereisnoredirectionloopontheserverside,theproblemislikelytobesolvedjustbydeletingcookies. Youcouldalsotryopeningupanetworkmonitorlike Fiddler. WithFiddlerrunning,youcantrytoreproducethehang,andfromitscapturedHTTPconversationsyoushouldbeabletogainmoreinsightsontheproblems. Inaddition,pleasepostintheIISforumformoreassistance: http://forums.iis.net/ Regards, zxj Tuesday,November14,20177:14AM 0 Signintovote User61956409posted HiStefanVerheggen,   Firstly,pleasecheckifusingsomethinglikeResponse.Redirectscausetheissue. Besides,yousaid,theyourMVCappworksfineonIIS7.0,butnotworkfineonIIS8.5,PleasecheckifyouareapplyingURLrewrite rulewithredirect.   WithRegards, FeiHan    Friday,November17,20173:21AM 0 Signintovote User-102950003posted HiAll, Thanksforyourreplies.Itseemslikeadatabaseerror.IchangedtheapppoolcredentialstomyadministratoraccountonmydevelopmentPCandallisrunningnow.Ihavetofigureoutwhythecredentialsintheapppoolaren'tworking.  Regards, Stefan Monday,December4,20173:57PM



請為這篇文章評分?