Server Error in '/' Application.

Operator '<>' is not defined for type 'DBNull' and 'Nothing'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Operator '<>' is not defined for type 'DBNull' and 'Nothing'.

Source Error:


Line 25:     Stealth.Modules.Basic.Functions.InstallCookieBarTemplate(app);
Line 26: 
Line 27:     string OutputHtml = Stealth.Core.RequestProcessor.requestProcessorModule.processRequest(lang, app.Code);
Line 28: 
Line 29:     Response.Write(OutputHtml);

Source File: c:\Websites\IlFerrone\index.aspx    Line: 27

Stack Trace:


[InvalidCastException: Operator '<>' is not defined for type 'DBNull' and 'Nothing'.]
   Microsoft.VisualBasic.CompilerServices.Operators.ConditionalCompareObjectNotEqual(Object Left, Object Right, Boolean TextCompare) +189
   Stealth.Core.Parsers.oncePerValueTag.process(HtmlNode node, ParseRequest& parseRequest, String language, stealthApplication application, Object objectToProcess) in C:\Users\marco\Desktop\Sviluppo\Advinser\Coroconsulting\ilferrone.it\Stealth 5\Stealth.Core\Modules\parserModule.vb:2637
   Stealth.Core.Parsers.parserModule.parseAsTemplate(String templateHTML, String language, stealthApplication application, DataRow content, Int32 rowIndex, Int32 rowMaxIndex, ParseRequest& parseRequestObj) in C:\Users\marco\Desktop\Sviluppo\Advinser\Coroconsulting\ilferrone.it\Stealth 5\Stealth.Core\Modules\parserModule.vb:333
   Stealth.Core.Parsers.queryAsTemplateTag.process(HtmlNode node, ParseRequest& parseRequest, String language, stealthApplication application, Object objectToProcess) in C:\Users\marco\Desktop\Sviluppo\Advinser\Coroconsulting\ilferrone.it\Stealth 5\Stealth.Core\Modules\parserModule.vb:2540
   Stealth.Core.Parsers.parserModule.parseAsTemplate(String templateHTML, String language, stealthApplication application, IStealthContent content, ParseRequest& parseRequestObj) in C:\Users\marco\Desktop\Sviluppo\Advinser\Coroconsulting\ilferrone.it\Stealth 5\Stealth.Core\Modules\parserModule.vb:278
   Stealth.Core.RequestProcessor.requestProcessorModule.processRequest(String language, Object application) in C:\Users\marco\Desktop\Sviluppo\Advinser\Coroconsulting\ilferrone.it\Stealth 5\Stealth.Core\Modules\requestProcessorModule.vb:162
   ASP.index_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Websites\IlFerrone\index.aspx:27
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3761.0