Input string was not in a correct format.

Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:


Line 18:                 <td style="padding-left:5px; padding-right:5px;" valign="top" colspan="2">
Line 19:                     
Line 20:                      <asp:HyperLink ID="hpView" runat="server" Text='<%#Eval("Title")%>' ForeColor="#636331" Font-Bold="true" Font-Size="14px"
Line 21:                      NavigateUrl='<%# GetUrl(Eval("Id"),Eval("DoctorId"),Eval("CategoryId"),Eval("Ext2")) %>'
Line 22:                      >

Source File: E:\cpd\DesktopModules\TNArticle\Forms\UserView\TNDoctorArticleListOtherUserView.ascx    Line: 20

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +714254
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +114

[InvalidCastException: Conversion from string "" to type 'Double' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +714583
   TN.Modules.TNArticle.TNDoctorArticleListOtherUserView.GetUrl(Int32 id, Int32 doctorid, Int32 catid, String ext2) +50
   ASP.desktopmodules_tnarticle_forms_userview_tndoctorarticlelistotheruserview_ascx.__DataBinding__control3(Object sender, EventArgs e) in E:\cpd\DesktopModules\TNArticle\Forms\UserView\TNDoctorArticleListOtherUserView.ascx:20
   System.Web.UI.Control.OnDataBinding(EventArgs e) +132
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +170
   System.Web.UI.Control.DataBindChildren() +11145999
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +182
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +175
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +734
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +89
   TN.Modules.TNArticle.TNDoctorArticleListOtherUserView.BindData() +650
   TN.Modules.TNArticle.TNDoctorArticleListOtherUserView.Page_Load(Object sender, EventArgs e) +1619

[ModuleLoadException: Lỗi: TN.Module.TNDoctorArticleOtherView hiện chưa có.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +141
   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +41
   TN.Modules.TNArticle.TNDoctorArticleListOtherUserView.Page_Load(Object sender, EventArgs e) +1961
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

[PageLoadException: Lỗi: TN.Module.TNDoctorArticleOtherView hiện chưa có.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +407
   System.Web.UI.Page.HandleError(Exception e) +109
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11157259
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11156810
   System.Web.UI.Page.ProcessRequest() +91
   System.Web.UI.Page.ProcessRequest(HttpContext context) +240
   ASP.default_aspx.ProcessRequest(HttpContext context) +52
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


Version Information: Microsoft .NET Framework Version:2.0.50727.8000; ASP.NET Version:2.0.50727.8001