This paper mainly makes two modifications to the DNN code : 1 in the GetPortalSettings method of the portal settings class in the configuration. Vb file, let me. =Convert .ToInt32(dt. Line number (0). Project ('') was changed to : I in the user login method of portal security class in component security. Superuser Id=-1 2). Vb file, dr=data provider. Instance (). If dr.Read, then =Convert. If dr.close () is commented out, Toint 32 (dr ('superuserid')) ends.