Click here to Skip to main content
13,055,408 members (53,142 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hi everybody,

This is the error , when i try to insert data to my DB.

How to resolve this issue . can anyone help me to resolve this issue.

why it's showing this error...?

when it's showing this error...?



System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: 0  Records Inserted Successfully...!!!
1  Records Already Exists ...!!!
  at EDRSysDAL.edrDrawingSchedule.Insert_Data_To_DB(String Title, String Dwg_Size_Desc, String Job_code, String Dwg_Category_Short_Desc, DateTime Approval_Date, DateTime Release_Date, Byte Multi_Disc_Check, String Proj_Code, String Doc_No, Int32 SNo, DateTime Client_Approval_Date, DateTime Client_Release_Date, Single Weightage, Int32 User_Id)
  at DesignService.Design.Insert_Data_To_DB(String Title, String Dwg_Size_Desc, String Job_code, String Dwg_Category_Short_Desc, DateTime Approval_Date, DateTime Release_Date, Byte Multi_Disc_Check, String Proj_Code, String Doc_No, Int32 SNo, DateTime Client_Approval_Date, DateTime Client_Release_Date, Single Weightage, Int32 User_Id)
  --- End of inner exception stack trace --- 
Posted 26-Dec-12 16:42pm
(unknown member)
Comments
Rai Pawan 26-Dec-12 22:55pm
   
It seems that an exception is raised while trying to insert data to database. It could be because the same value is provided for primary key column(s) that already exists in the database (just a guess thought). I'd recommend that you first of all try to debug the database insert code. You may want to post the part of your code that is producing the exception.
Regards
Pawan
pranathis012 26-Dec-12 22:59pm
   
i already try to insert some sample data by using my SP here there is no issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100