Server Error in '/' Application.

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

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 string "".

Source Error:


Line 55:         <div class="div_75_100">
Line 56:             <div class="proizvod_opsirnije">
Line 57:                 <%=WebShop.Komponente.Artikal() %>
Line 58:                 <div style="clear: both"></div>
Line 59:             </div>

Source File: C:\HostingSpaces\odeon\odeon.ba\wwwroot\ArtikalDetaljno.aspx    Line: 57

Stack Trace:


[InvalidCastException: Operator '<>' is not defined for type 'DBNull' and string "".]
   Microsoft.VisualBasic.CompilerServices.Operators.ConditionalCompareObjectNotEqual(Object Left, Object Right, Boolean TextCompare) +145
   WebShop.Komponente.Artikal() +2930
   ASP.artikaldetaljno_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\HostingSpaces\odeon\odeon.ba\wwwroot\ArtikalDetaljno.aspx:57
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +103
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +9
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +129
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +287
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5631


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