Hi, i am using a wcf web service developed by Microsoft. i have hosted that service on server and trying to consume it. for consuming web service, using ADD service Reference then put credential and got error accordingly ****************************************************************************************** Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "TESTLAB\administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The Security Support Provider Interface (SSPI) negotiation failed ******************************************************************************************* Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The identity check failed for the outgoing message. The expected identity is 'identity (http://schemas.xmlsoap.org/ws/2005/05/identity/right/possessproperty: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn)' for the 'http://localhost/SCVMMService/VirtualMachineManagementService.svc' target endpoint. ******************************************************************************************* Client.ClientCredentials.Windows.ClientCredential.Domain = "testlab.ourcp.com"; Client.ClientCredentials.Windows.ClientCredential.UserName = "testlab.ourcp.com\administrator"; Client.ClientCredentials.Windows.ClientCredential.Password = "M!ndMasT23"; Client.ClientCredentials.UserName.UserName = "administrator"; Client.ClientCredentials.UserName.Password = "M!ndMasT23"; Error: The Security Support Provider Interface (SSPI) negotiation failed. Please suggest me needful Thanks in Advance.
prateekfgiet
Posts
-
WCF Error: The identity check failed for the outgoing message -
run time errori have made a web application which run smoothly at local system but when i uploaded on web server and trying to login it gives runtime error error is: Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. Thanks in advance
-
how to resolve this Error "You are not authorized to view this page" errorpage PinIm trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance
-
how to resolve this Error "You are not authorized to view this page" errorpageperhaps application pool is supported on iis 6.0 while i am using iis 5.1. i have done one more thing start -> programs -> visual studion 2005 -> visual studion tools than type the command aspnet_regiis -i for reparing iis
-
how to resolve this Error "You are not authorized to view this page" errorpagepool??? i didn't get pool means. and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server. and web application is running smoothly on local server
-
how to resolve this Error "You are not authorized to view this page" errorpagei have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".
-
how to resolve this Error "You are not authorized to view this page" errorpagei hv given right directory path. n problem is still unresolve
-
how to resolve this Error "You are not authorized to view this page" errorpageIm trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance
-
how to save value in Ms Access using asp.net 2.0 C#yes i can do in sql server,but i want to MsAccess Db. is it possible? how can i do?
-
how to save value in Ms Access using asp.net 2.0 C#HI, i m trying to save value in access database,can i do this if yes then how can i implement. thanx in advance
-
problem in sending mail using gmail accounthiii i m using asp.net 2.0 using c# i have made a application which have a form after filling that form it will send mail automatic.it was working till morning, but now it will send error The remote certificate is invalid according to the validation procedure. code is: SmtpClient client = new SmtpClient(); client.DeliveryMethod = SmtpDeliveryMethod.Network; client.EnableSsl = true; client.Host = "smtp.gmail.com"; client.Port = 587; System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("rma.maksat@gmail.com", "******"); client.UseDefaultCredentials = false; client.Credentials = credentials; MailMessage msg = new MailMessage(); msg.From = new MailAddress("rma.maksat@gmail.com"); msg.To.Add(new MailAddress("prateekfgiet@gmail.com")); msg.To.Add(new MailAddress("prateek_fgiet@yahoo.com")); msg.To.Add(new MailAddress("prateekfgiet@live.in")); //msg.To.Add(new MailAddress("TextBox10.Text")); msg.Subject = "New RMA No:'" + Label3.Text + "'"; msg.IsBodyHtml = true; msg.Body = "<html><body><b>RMA No is:</b>'" + Label3.Text + "',<br /><p><b>Srno is:</b>'" + TextBox1.Text + "',<br /><b>Product Name:</b>'" + TextBox3.Text + "',<br /><b>Problem Description:</b>'" + TextBox5.Text + "'</p>,<p><b>Company Name:</b>'" + TextBox6.Text + "',<br /><b>Contact Number:</b>'" + TextBox8.Text + "',<br /><b>Entry By:</b>'" + TextBox4.Text + "',<br /></p> </body></html>"; client.Send(msg); please help me thanks in advance
-
problem in sending mailno i m not using session. i have post the code it was working till morning now its giving error
-
problem in sending mailit was working till morning but now its not working,where is problem in the code and how can i resolve it please help me
-
problem in sending mailhiii i m using asp.net 2.0 using c# i have made a application which have a form after filling that form it will send mail automatic.it was working till morning, but now it will send error The remote certificate is invalid according to the validation procedure. code is: SmtpClient client = new SmtpClient(); client.DeliveryMethod = SmtpDeliveryMethod.Network; client.EnableSsl = true; client.Host = "smtp.gmail.com"; client.Port = 587; System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("rma.maksat@gmail.com", "******"); client.UseDefaultCredentials = false; client.Credentials = credentials; MailMessage msg = new MailMessage(); msg.From = new MailAddress("rma.maksat@gmail.com"); msg.To.Add(new MailAddress("prateekfgiet@gmail.com")); msg.To.Add(new MailAddress("prateek_fgiet@yahoo.com")); msg.To.Add(new MailAddress("prateekfgiet@live.in")); //msg.To.Add(new MailAddress("TextBox10.Text")); msg.Subject = "New RMA No:'" + Label3.Text + "'"; msg.IsBodyHtml = true; msg.Body = "<html><body><b>RMA No is:</b>'" + Label3.Text + "',<br /><p><b>Srno is:</b>'" + TextBox1.Text + "',<br /><b>Product Name:</b>'" + TextBox3.Text + "',<br /><b>Problem Description:</b>'" + TextBox5.Text + "'</p>,<p><b>Company Name:</b>'" + TextBox6.Text + "',<br /><b>Contact Number:</b>'" + TextBox8.Text + "',<br /><b>Entry By:</b>'" + TextBox4.Text + "',<br /></p> </body></html>"; client.Send(msg); please help me thanks in advance
-
multi selction and show in single tablehi i m using asp.net with c# i have 10 pathology test name each contain few test id,name and price,now i wana select 1st path test in 1st path test select 2 testid out of 5.same as 3rd and 4th path test.and at last all selected test id(all 6 selected test id) with name and price show in a single table. as 1stid name price 2ndid name price 3rdid name price .......... .......... .......... pls help me thanks in advance
-
compare problemi m using asp.net with c# i submit some value in database and then access it i m trying to do when any fiels contain 0 value then labels visibility should be false. i m doing like this cmd.CommandText = "select * from invoice where invoice_no=(Select max(invoice_no) from invoice)"; adp.Fill(ds, "re"); foreach (DataRow dr in ds.Tables["re"].Rows) { Label49.Text = dr["invoice_no"].ToString(); Label2.Text = dr["indate"].ToString(); Label9.Text = dr["po_no"].ToString(); Label10.Text = dr["dc_no"].ToString(); Label11.Text = dr["comp_name"].ToString(); Label13.Text = dr["tin_no"].ToString(); Label68.Text = dr["total_vat"].ToString(); Label27.Text = dr["prod1"].ToString(); if (dr["prod2"].ToString() == 0) { Label28.Visible = false; } else { Label28.Text = dr["prod2"].ToString(); } but it will give error how i'll do if prod2 contain null or 0 value then label28.visible=false; plsease help me thanks in advance
-
windows applicationhiiiiiii i m web devloper and now i wana learn windows application, how can i create a small project means i wana guideline to create small project.
-
error String or binary data would be truncated.hi i m using asp.net c# n i m trying to save data in to data base it give error at time of save code is cmd.CommandText = "select invoice_no from invoice where invoice_no=(select Max(invoice_no) from invoice)"; adp.Fill(ds, "dm"); foreach (DataRow dm in ds.Tables["dm"].Rows) { Label2.Text = dm["invoice_no"].ToString(); } Label2.Text = Convert.ToString( Convert.ToInt32(Label2.Text) + 1); // add in the table material incoming cmd.CommandText = "Select * from invoice"; adp.Fill(ds, "re"); dr = ds.Tables["re"].NewRow(); cb = new SqlCommandBuilder(adp); adp.Update(ds.Tables["re"]); dr = ds.Tables["re"].NewRow(); dr["invoice_no"] = Convert.ToString(l); //dr["enterby"] = Label64.Text; //ddlinby.SelectedIndex.ToString(); dr["po_no"] = TextBox2.Text; dr["dc_no"] = TextBox3.Text; dr["comp_name"] = TextBox4.Text; dr["comp_add"] = TextBox5.Text; dr["tin_no"] = TextBox42.Text; dr["total_vat"] = TextBox34.Text; dr["prod1"] = TextBox35.Text; dr["prod2"] = TextBox36.Text; dr["prod3"] = TextBox37.Text; dr["prod4"] = TextBox38.Text; dr["prod5"] = TextBox39.Text; dr["prod6"] = TextBox40.Text; dr["prod1_q"] = TextBox12.Text; dr["prod2_q"] = TextBox13.Text; dr["prod3_q"] = TextBox14.Text; dr["prod4_q"] = TextBox15.Text; dr["prod5_q"] = TextBox16.Text; dr["prod6_q"] = TextBox17.Text; dr["prod1_p"] = TextBox18.Text; dr["prod2_p"] = TextBox19.Text; dr["prod3_p"] = TextBox20.Text; dr["prod4_p"] = TextBox21.Text; dr["prod5_p"] = TextBox22.Text; dr["prod6_p"] = TextBox23.Text; dr["vat"] = TextBox31.Text; dr["total"] = TextBox30.Text; dr["price"] = TextBox33.Text; ds.Tables["re"].Rows.Add(dr); cmd.CommandText = "Select * from invoice"; cb = new SqlCommandBuilder(adp); adp.Update(ds.Tables["re"]); and error is String or binary data would be truncated.The statement has been terminated. at this line adp.Update(ds.Tables["re"]); pls help me
-
how to convert numeric value to wordok thanks a lot for the help
-
how to convert numeric value to wordyea due to null value its give error. thanks one more problem is here when i put 223456.00, it converts in to Rupees Two hundred Twenty Three Thousand Four hundred Fifty Six Only while it should be rupees two lac twenty three thousand four hundred fifty six only pls help me about this