Rank: Member
Joined: 3/4/2006(UTC) Posts: 121
|
I've been using SP3.1 successfully for weeks. Tonight I made a change on the Login.aspx and suddenly I was getting errors on the Login.aspx.vb.
I turned errors to off and was getting an error
Me.ContactUsHyperLink. is not a member of Login2
I ended up remarking out the code as show below.
If WebAppSettings.IsPrivateStore Then Me.pnlNewUser.Visible = False 'Me.ContactUsHyperLink.Text = Content.SiteTerms.GetTerm("PrivateStoreNewUser") 'OE CHANGE 'Me.ContactUsHyperLink.Visible = True 'OE CHANGE Else Me.pnlNewUser.Visible = True 'Me.ContactUsHyperLink.Visible = False 'OE CHANGE End If
When I look at the Event Logs I can see the errors. I saw this further back in the Event log so it was hitting the store but not always crashing the page.
C:\domains\outdoored.com\Store\Login.aspx.vb(33): error BC30456: 'ContactUsHyperLink' is not a member of 'login2'.[ at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ]
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.