HelioHost Posted June 29, 2017 Posted June 29, 2017 (edited) Dears When i run my asp.Net app (http://khaled.heliohost.org/MedSys/MedSys/Default.aspx) I get this error :error VBNC30451: 'EventArgs' is not declared. It may be inaccessible due to its protection level. I searched for this error but I can't find any solution ... But when I remove the following code : === Private Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load MsgBox(" Welcome to my site") End Sub Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate If Login1.UserName = "sys_admin" And Login1.Password = "<removed>" Then e.Authenticated = True Server.Transfer("webform1.aspx", True) Else e.Authenticated = False MsgBox("Not a user .. please try again ") End If End Sub == the App. run without error .. The problem that i can't go without the above code , >>> Please Investigate and help me Best regards Khaled Mohamed A.M.S Msc in investment Manager in QA(EGX) Edited June 29, 2017 by Krydos removed password
Krydos Posted June 29, 2017 Posted June 29, 2017 What if you just remove one subroutine or the other? Maybe we can narrow down which bit of code is causing the issue.
HelioHost Posted June 29, 2017 Author Posted June 29, 2017 As I told you , if I removed the code , the site will run partly , but this code must be found for logic , One of then , using when the page loaded the other , using when I want to control on the login wizard ... thanks Khaled Mohamed A.M.SMsc in investment Manager in QA(EGX) --------------------------------------------On Thu, 29/6/17, Heliohost Support wrote: Subject: Re: [Hh#21453] Error Vbnc30451 To: khaled2607@yahoo.com Date: Thursday, 29 June, 2017, 5:00 AM What if you just remove one subroutine or the other? Maybe we can narrow down which bit of code is causing the issue. You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28637 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/
Krydos Posted June 29, 2017 Posted June 29, 2017 I still think precompiling your code would solve your issues. Check out https://msdn.microsoft.com/en-us/library/aa983464.aspx
HelioHost Posted June 29, 2017 Author Posted June 29, 2017 Dear sir I copy my web app. after compilation .... Please help Khaled Mohamed A.M.SMsc in investment Manager in QA(EGX) --------------------------------------------On Thu, 29/6/17, Heliohost Support wrote: Subject: Re: [Hh#21453] Error Vbnc30451 To: khaled2607@yahoo.com Date: Thursday, 29 June, 2017, 6:23 AM I still think precompiling your code would solve your issues. Check out https://msdn.microsoft.com/en-us/library/aa983464.aspx You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28637 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/
Krydos Posted June 29, 2017 Posted June 29, 2017 The files in http://khaled.heliohost.org/MedSys/MedSys/ still have the timestamp of several days ago. Have you uploaded your compiled files somewhere else?
HelioHost Posted June 29, 2017 Author Posted June 29, 2017 Now , I copied the Web App. after new compilation Khaled Mohamed A.M.SMsc in investment Manager in QA(EGX) --------------------------------------------On Thu, 29/6/17, Heliohost Support wrote: Subject: Re: [Hh#21453] Error Vbnc30451 To: khaled2607@yahoo.com Date: Thursday, 29 June, 2017, 6:11 PM The files in http://khaled.heliohost.org/MedSys/MedSys/ still have the timestamp of several days ago. Have you uploaded your compiled files somewhere else? You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28637 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/
Krydos Posted June 29, 2017 Posted June 29, 2017 That doesn't appear to have worked. I'll install Visual Studio some time when I have a chance and see if I can get it to work. I've never used Visual Studio so I'm not too familiar with it.
HelioHost Posted June 29, 2017 Author Posted June 29, 2017 OK .. Khaled Mohamed A.M.SMsc in investment Manager in QA(EGX) --------------------------------------------On Thu, 29/6/17, Heliohost Support wrote: Subject: Re: [Hh#21453] Error Vbnc30451 To: khaled2607@yahoo.com Date: Thursday, 29 June, 2017, 7:00 PM That doesn't appear to have worked. I'll install Visual Studio some time when I have a chance and see if I can get it to work. I've never used Visual Studio so I'm not too familiar with it. You may view the status of your ticket by visiting: http://www.helionet.org/index/index.php?showtopic=28637 Thank you, Heliohost support http://www.heliohost.org/ http://www.helionet.org/
Recommended Posts