Solved

Soap Exception!!!

Posted on 2006-10-26
4
1,408 Views
Last Modified: 2012-05-05
I have a windows application which calls a web service for changing data and both are written in C#.

It have been under developement for 2 years and it is about to be released recently. However, it sendly Suddenly occured an error. The error message is below:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: Input string was not in a correct format.
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at EMSWS.UserWS.IsTicketValid(String ticket) in d:\ems\emsws\userws.asmx.cs:line 290
   at EMSWS.UserWS.GetUserInfo(String ticket) in d:\ems\emsws\userws.asmx.cs:line 82
   --- End of inner exception stack trace ---

Dear experts, please help.
0
Comment
Question by:bvwang
4 Comments
 
LVL 8

Expert Comment

by:sabeesh
ID: 17810232
all the methods in webservice should be in serializable format
0
 
LVL 4

Accepted Solution

by:
boy8964 earned 450 total points
ID: 17810270
most likely it is a database issue. make sure your database is runing and can be connected by web service and try again.
0
 
LVL 8

Assisted Solution

by:redpipe
redpipe earned 50 total points
ID: 17810985
I might be really missing the point here, but as fare as I can see the "only" problem is that the received value can not be parsed as an Int32. Please check the object you try to use in your webservice, and check if it is really parseable as an integer.
0
 
LVL 3

Author Comment

by:bvwang
ID: 17816149
thanks for respons. the bug has bee fixed and i have released it on http://www.ialda.com
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Exceptions 3 43
Best resource to learn entity framework 2 32
Graphics 2 27
insert value of checklistbox checked 4 25
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question