hi friends, i am getting a run time error when i am trying to access the function defined in the webservice(WFC) from the client(i.e webform). COULD NOT FIND DEFAULT ENDPOINT ELEMENT THAT REFERENCES CONTRACT 'CITIZENSERVICE.ICITIZENSERVICE' IN THE SERVICEMODEL CLIENT CONFIGURATION SECTION. THIS MIGHT BE BECAUSE NO CONFIGURATION FILE WAS FOUND FOR YOUR APPLICATION, OR BECAUSE NO ENDPOINT ELEMENT MATCHING THIS CONTRACT COULD BE FOUND IN THE CLIENT ELEMENT. Web service Name : CITIZENSERVICE Interface Name : ICITIZENSERVICE Please help me out Thanks in Advance Chandra Gupta
chandragupta k
Posts
-
Run Tim Error while Acessing a function defined in Web Service -
Hiw do i Update the dataset records to databaseHi all, Plese some body help me out its very urgent,i am trying to update the dataset records into database but its not workinh fine ... The code i have tried as follows for your reference Da=new SqlDataAdapter("SELECT * FROM MailsInQueueTest",sqlcon); SqlCommandBuilder builder = new SqlCommandBuilder(Da); Da.FillSchema(MailDataset,SchemaType.Mapped,"t1"); Da.Fill(MailDataset,"t1"); foreach(DataRow dr in MailDataset.Tables[0].Rows) { if((Convert.ToInt16(dr[0]))==1) { dr.Delete(); //dr[3]=1; } } MailDataset.AcceptChanges(); builder.GetDeleteCommand(); Da.Update(MailDataset,"t1"); Thanks in Advance Chandra Gupta
-
Update the dataset into database tableHi all , I need to update the changes made on the dataset to database ,i wrote the following code but its getting updated to database ,please help me somebody The code like this Da=new SqlDataAdapter("SELECT * FROM MailsInQueueTest",sqlcon); SqlCommandBuilder builder = new SqlCommandBuilder(Da); sqlcon.Open(); Da.Fill(MailDataset); foreach(DataRow dr in MailDataset.Tables[0].Rows) { if((Convert.ToInt16(dr[0]))==1) { dr.Delete(); } } MailDataset.AcceptChanges(); builder.GetUpdateCommand ();//.GetDeleteCommand(); Da.Update(MailDataset); Thanks In Advance Chandra Gupta
-
Delete a record from the datasetHi Deepak Kumar The url send by you is used to delete a row from hash table but my requirement is that i need to delete a row from dataset Thnaks in Advanc Gupta
-
Delete a record from the datasetHi all, i am trying to delete a row from dataset ,i have used the following code but i am getting error like An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll Additional information: Collection was modified; enumeration operation may not execute. foreach(DataRow dreach in MailDataset.Tables[0].Rows) { if(Convert.ToInt16(dreach["Mailid"])== 37) { dreach.Delete(); MailDataset.AcceptChanges(); MailDataset=MailDataset ; sd1=MailDataset.Tables[0].Rows.Count; //Da.Update(MailDataset); } }
-
How to Comare two key's of hash tableThanks Guffa i got it
-
How to Comare two key's of hash tablehi all, I got one reuirement that i need to compare two key's of hash table how can it possible,please try to help me out, Thanks In Advance Chadragupta
-
How to insert large amount of data into column of a tablehi originSH , Thanks for your reply but my requiremet is store all the date ito one column i cannot chop up teh thing because i am getting that text dynamically..The text in the form of html Thanks in Advance Chandra Gupta
-
How to insert large amount of data into column of a tablehi Pete O'Hanlon, I have used text data type only but it is not allowing me store whole text(Actually the text in the form of HTml) into my Database