.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
ASPEvil
Jean Paul
satyapriyanayak
Ashutosh Jha
SP
Post New Web Links

Troubleshooting Webservices

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net
 

Hello All,

I have been working on web services for quite sometime. Have been creating and consuming simple to intermediate levels of web services. But now i want to start using some third party web services.

I have got to know that there are good ways to troubleshoot issues in our own web services or any third party web services. For example, if a particular web method was working since 3 months and all of a sudden, it stopped working as expected or its not giving the results now. In these kind of situations, what are the best approaches to troubleshoot the issue. 

Can someone please share some points on this? May be some right articles having some examples will give me the clear picture. Please let me know. Thanks.




View Complete Post


More Related Resource Links

Learning Snack for IT Professionals: Managing and Troubleshooting with Microsoft SharePoint 2010

  
Learn about the powerful performance improvement in SharePoint 2010, large list resource throttling, unattached content database recovery options, and how to use the SharePoint Best Practices Analyzer.

troubleshooting clustering

  
i need step by step for installations of clustering in sql server 2008 environment? please help me on this.

Troubleshooting IIS 7 network performance issues and TCP Chimney Offload, Receive Side Scaling, and

  
There is a lot of posts on http://forums.iis.net related to network performance.  Actually, there was two today!.  The problems can be different, but the common thread seems to be network performance.  Windows Server 2008 (and R2) enabled a new network feature by default which has been referred to as "Scalable Networking Pak".  Some people refer to the feature as TCP Chimney Offload.  Either way, in my experience this feature causes more issues than it solves.  If you are having a network related issue or performance, this is a easy setting to check and verify if disabling portions or all of them can resolve the issue.   KB article on TCP Chimney Offloadhttp://technet.microsoft.com/en-us/network/dd277645.aspx KB Article how to show your settings and disablehttp://support.microsoft.com/kb/951037 I strongly encourage test these changes in a non-production environment before making changes to your production systems! Enjoy, Steve SchofieldMicrosoft MVP - IIS

Open SQL Server Connection Troubleshooting

  
Hello, This is regarding ASP.Net (VB) 2.0 and SQL Server 2008.  My project's (there is only one in my solution) has a "Start Action" set to a "Specific Page" (..\Forms\frmMain.aspx).  Occasionally (though not always) a large number of connections (30+) will be opened prior to the frmMain.PreInit event.  These connections stay open for quite some time.  I am closing all of my connections with extreme prejudice.  In my "finally" clause of my try...catch I have myconnection.close.  Immediately after the "End Try" I have myconnection.dispose (redundant, I know).  I have accounted for all connections.  I placed a breakpoint on frmMain.PreInit and then (sometimes) a large number of connections (used SSMS to run sp_who and sp_who2) will have just opened.  What would open a large number of connections prior to the starting page's preinit event?  I am closing (and then disposing) all of my connections.  I thought that I must be missing a myconnection.close in the "finally" clause, but I have looked repeatedly and cannot find anywhere that a connection is open and then not closed.  Also, I do not believe that I have even opened a connection prior to the frmMain's preinit event.        

sharepoint webservices add task AssignedTo

  
Hello everyone, I am currently working on a biztalk project that has to create a task through the sharepoint webservices. Everything works fine except for the AssignedTo part. When I get the response of the getuserinfo() method, I notice that the userid I get is '87'. I then enter this userid in the AssignedTo part and send it to the updateListItems() method and the task gets created, but it is assigned to another person. When I create a task statically (by surfing to sharepoint and click add task..) and I view this task in CAML viewer I see that my userId in assignedTo is '218'. Why does the userinfo() method return an id '87' for my username while it actually is '218'? Is this a active directory problem or something like that? Hope someone can help thx

applying styles to xml element while reading it from webservices

  
hi,i have one xml document. i used to read the xml from webservices using c# and display the xml document content in the popup window. i wish to apply style for the xml element in the xml document. codes:  xml document:       <?xml version="1.0" encoding="utf-8" ?> <BubbleHelp> <Module name="ADMIN"> <HelpItem ID="BRANCHID"> <B>Hello</B>World!! ---bold format style is not applying while display it in the popup window </HelpItem> </Module> </BubbleHelp> webservice code used to read the xml document.      helpTopic[0]  = tagnode.InnerText; //text between the node i.e Hello World!!        

Troubleshooting an XSL Select to another List in a Dataview.

  
I've done this before to join in some column from another List into a dataview.    I've looked over the two list and  this line of code for a few hours now. It's producing no output, when I know there are matches. <TD class="{$IDASV40H}">    <xsl:value-of select="/dsQueryResponse/Applicant/Rows/Row[@ID = current()/@ApplicantID]/@AName"/></TD> None of the colums or lists have been renamed. None of the columns have spaces in the names. I want to make sure I'm reading this right.  do I need to define current()? Any bood way to troubleshoot this in Designer? any issue with trying to compare @ID? Thanks.

SQL 2008 R2 and Webservices

  
I'm trying to expose SQL 2008 through webservices, but I found multiple articles saying that webservices will not be supported in future releases and I should use WCF. My question is , how can I directly from SQL expose data to be consumed. If WCF is the way to go, I can't seem to find a good article that describes the process.There is 10 types of people in the world, those that understand binary, and those that don't.

Expose Dynamic Known Types in WSDL (mimic CRM 4.0s webservices)

  
Hi there, I am trying to mimic the extensability to the APIs from CRM 4.0. I been through IXmlSerializable, ServiceKnownType and the DataContractSerializer - but I can't seem to find the cure for my answer. I have a database that is extensable with new tables and attributes (entities with properties), why I do not have strong-typed classes for these tables, as users can create what-ever they wish. However I wish to publish the entities as they where strong-typed though WCF to clients, and through a single class on the server side, capture attributes and such to implement business logic. The design is exactly as the CRM 4.0 webservices. I made success with IXmlSerializable:GetSchema, but the problem is that I can change only one class and not inject all of the classes I wish to expose. How do I change the known type serialization of my WSDL though WCF?

Communicating with webservices using client certificates

  
We are facing an issue with our .NET (2.0) application consuming a Java web service that requires client certificates. Context     Java web service running on JBoss              requires a client certificate signed by internal CA (child of internal Root CA)              has a server certificate signed by the same internal CA for authenticating itself to a consumer       .NET 2.0 Windows Application (running on an XP workstation) consuming the above Java web service               XP workstation has a client certificate (signed by internal CA) is installed in the local machine personal store             XP workstation has the internal CA and internal Root CA installed in the local machine, trusted root certification authorities hive             Visual Studio 2005 debugger shows that the client certificate is successfully retrieved from the personal store and being attached to the web service proxy             however, exception is thrown at the point of invoking the web service method             exception is: The request was aborted: Could not create SSL/TLS secure channel.                  Appears from the trace log that the initial retrieval of client certificate from the local machine personal store is successful - ---------------------------------------------------------- System.Net Information: 0 : [7480] SecureChannel#16263241 - Attempting to restart the session using th

Method overloading in webservices

  
Hi, I have following class in webservices, I am not able to override the constructer of webservice. Asp.net always call first method not the one with parameter.  ------------------------------------------Public Class Employee Public Sub New() End Sub Public Sub New(ByVal Str as String) End Sub End Class ----------------------------------------------------- How can i call the second constructer in asp.net? Pls provide vb.net code. 

How to debug webservices code into asp.net

  
Hello All, We are making use of webservices in asp.net console application.we could able to debug the console application but we would like to debug the webmethod calling in our console app. so, how can we debug the code present in the webserices? Thanks,

Troubleshooting Alert Emails

  
Hi, I have a case where one particular user is not receiving alert emails for a particular doc library.  Any help or further insight will be appreciated. Here's some background and steps I've already taken to investigate/correct the issue: MOSS 2007 SP 2 farm, multiple WFE servers, MOSS 2007 SP1 was the original install to this farm. This user is able to receive the confirmation email after the alert is initially created.  It is just the alert emails that are not being received.  The alert was created using the immediate notification setting. This same user, user A,  is also able to receive the confirmation email and subsequent alert emails from another site collection (different content DB) on the same web app of the same farm.  That alert was created using the immediate notification setting.  Another user, user B, is able to receive the confirmation email and subsequesnt alert emails from the doc library that user A is not. User A has contribute permissions on the doc library the alert was created for, User B has full-control permissions. Executed the query "select * from eventcache where eventdata is not null" against the related content database.  The query returned 0 results. Verified that the Windows SharePoint Services Timer service is running on the index server and all WFE servers. Checked the Timer Job Status

Troubleshooting query question?

  
Hi All, We have below query which is working perfectly fine:-  ;WITH CTEA AS ( SELECT ....... FROM TABLEA LEFT OUTER JOIN TABLEB ON TABLEA.COLUMN1 = TABLEB.COLUMN2 ), CTEB AS ( SELECT ........ FROM CTEA -------------- record count of CTEA is 2 million records EXCEPT SELECT ... FROM TABLEC ), CTEC AS ( SELECT ..... FROM CTEB GROUP BY ........ ) SELECT * ----------------------- records count of CTEC is 30-40K records, execution time 2 mins FROM CTEC  But we have to do below query instead of "SELECT * FROM CTEC":- SELECT ......... FROM CTEA INNER JOIN CTEC ON CTEA.COLUMN0 = CTEC.COLUMN0 AND CTEA.COLUMN1 = CTEC.COLUMN1 AND CTEA.COLUMN2 = CTEC.COLUMN2 AND CTEA.COLUMN3 = CTEC.COLUMN3 AND CTEA.COLUMN4 = CTEC.COLUMN4 But above is not giving us any result for more than 30 mins, finally we have to kill the query, we tried it is not doing any cartesian product, so can anybody help us to troubleshoot where I'm doing mistake and what is wrong? Please feel free more questions for doubts, Also my 5 columns where I'm doing join operation are VARCHAR columns. Any Help ? Also let me know if their any other way to write above query instead of JOIN, main purpose is to reduce the execution time. Thanks Regards, Kumar
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend