Gettting Object reference not set to an instance of an object in the below line of codes when the .net version changed from 1.1 to 2.0.
Fallowing is the code snippet and details
protected override void OnLoad(System.EventArgs e)
{
ShowUCIToolForInternalNavigator();
bool IsResultPageLoaded = false;
bool isExplorerLoaded = false;
Literal content = new Literal();
content.Text = GetNavigatorScriptsAndLinkContent;
Include.Controls.Add(content);
error details are as below
Type
System.NullReferenceException
Message
Object reference not set to an instance of an object.
S ...
Go to the complete details ...