Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Using Visual Studio 2005, VB

 

The error BC30456 seems to be a regular occurrence with my asp.net sites, all im trying to do is to change the title of the asp.net page in Visual Basic on the Page_Load() Function:

 

Line 7: Protected Sub page_load()

Line 8: Me.Title = "Forums"

Line 10: End Sub

 

This works fine when running on the Developer web server within Visual Studio but when i publish it to my win2003 server i get the following error:

 

______________________

 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

 

Compiler Error Message: BC30456: 'Title' is not a member of 'ASP.Default_aspx'.

 

This also happens when using the "Request.LogonUserIdentity.Name":

 

________________________________

 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

 

Compiler Error Message: BC30456: 'LogonUserIdentity' is not a member of 'System.Web.HttpRequest'.

 

Source Error:

 

 

 

Line 6:

Line 7: Protected Sub page_load()

Line 8: MsgBox(Request.LogonUserIdentity.Name)

Line 9: End Sub

Line 10: </script>

 

 

 

Any Help would be greatly appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...