- Server Error in '/' Application.
- Application uses a value of the wrong type for the current operation.
- 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.Runtime.InteropServices.COMException: Application uses a value of the wrong type for the current operation.
- Source Error:
- Line 840: cmd.Parameters("@title").Value = title
- Line 841: cmd.Parameters("@about").Value = about
- Line 842: cmd.Parameters("@cat").Value = cat
- Line 843: cmd.Parameters("@imgurl").Value = imgurl
- Line 844: cmd.Parameters("@userid").Value = userid
- Source File: C:inetpub4markdb.inc Line: 842
- Stack Trace:
- [COMException (0x800a0d5d): Application uses a value of the wrong type for the current operation.]
- Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateSet(Object o, Type& objType, String name, Object[] args, String[] paramnames, Boolean OptimisticSet, CallType UseCallType) +2983
- Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase, CallType CallType) +306
- Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSetComplex(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase) +179
- ASP.addlink_aspx.AddLink(Object url, Object title, Object about, Object cat, Object imgurl, Object userid, Object flag) in C:inetpub4markdb.inc:842
- ASP.addlink_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:inetpub4markaddlink.aspx:49
- System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
- System.Web.UI.Page.Render(HtmlTextWriter writer) +39
- System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
- System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753
- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0
Parsed in 0.003 seconds