this is my Income.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %>
<!DOCTYPE html>
and here my Income.aspx.vb
Namespace iplapp
Public Class Income
Inherits System.Web.UI.Page
Private strCon As String = "Data Source=alopex;Integrated Security=true;Initial Catalog=iplmaster;Persist Security Info=True;User ID=nizar;Password=password"
Dim sql_statement As Object
Dim ViewBag As Object
'Private Property db As Object
End Namespace
then here the result
Object variable or With block variable not set ~> ViewBag.uploader = System.Web.HttpContext.Current.User.Identity.Name.ToString()
big thanks for answer