FontaneMas je napisao/la:
Server Error in '/' Application.
Parameterized Query '(@Sifra nvarchar(13),@Konto nvarchar(13))SELECT COUNT(NOZ_ID) AS' expects parameter @Sifra, which was not supplied.
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.Data.SqlClient.SqlException: Parameterized Query '(@Sifra nvarchar(13),@Konto nvarchar(13))SELECT COUNT(NOZ_ID) AS' expects parameter @Sifra, which was not supplied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): Parameterized Query '(@Sifra nvarchar(13),@Konto nvarchar(13))SELECT COUNT(NOZ_ID) AS' expects parameter @Sifra, which was not supplied.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1948826
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844747
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
System.Data.SqlClient.SqlDataReader.get_MetaData() +83
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteScalar() +139
LineShop.ArtikalMal.DaLiJeComplex(String Sifra, String Konto) in C:\Projects.Net2008\LineShop\LineShop\ArtikalMal.aspx.vb:218
LineShop.ArtikalMal.ProvjeriComplex() in C:\Projects.Net2008\LineShop\LineShop\ArtikalMal.aspx.vb:54
LineShop.ArtikalMal.ArtikalMal_Init(Object sender, EventArgs e) in C:\Projects.Net2008\LineShop\LineShop\ArtikalMal.aspx.vb:25
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +12
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378