In SQL
Edit Table = $ndo$dbproperty Field = Identifiers
Value should be
2000000001=“Object”,1=“Type”,2=“Company Name”,3=“ID”,4=“Name”,5=“Modified”,6=“Compiled”,7=“BLOB Reference”,8=“BLOB Size”,9=“DBM Table No_”,10=“Date”,11=“Time”,12=“Version List”,40=“Locked”,50=“Locked By”;2000000009=“Session”,1=“Connection ID”,2=“User ID”,3=“My Session”,5=“Login Time”,6=“Login Date”,16=“Database Name”,17=“Application Name”,18=“Login Type”,19=“Host Name”,20=“CPU Time (ms)”,21=“Memory Usage (KB)”,22=“Physical I_O”,23=“Blocked”,24=“Wait Time (ms)”,25=“Blocking Connection ID”,26=“Blocking User ID”,27=“Blocking Host Name”,28=“Blocking Object”,29=“Idle Time”;2000000010=“Database File”,1=“No_”,2=“File Name”,3=“Size (KB)”
Bad one looks like this
2000000001=Object,1=Type,2=Company Name,3=ID,4=Name,5=Modified,6=Compiled,7=BLOB Reference,8=BLOB Size,9=DBM Table No_,10=Date,11=Time,12=Version List,40=Locked,50=Locked By
Also if you need to create a script form another Database for the “Session” and “Database Files” views then make sure you add the $ndo$shadow permissions to the view after you create them, just look at any other table for the permissions that should be there in SQL