Add Service Reference Error.
-
martes, 15 de mayo de 2012 19:07
Hi, I'm having a problem when I try to add the Service Reference to my Client.
The error displayed is this:
My Web Service looks like:
Thanks and greetings.
Adán Carrasco
Todas las respuestas
-
miércoles, 16 de mayo de 2012 0:06
Hi Adan,
Please try out the steps mentioned under heading "Generating Proxies" in following url, according to the .NET version you are using (there are separate instructions to fix the issue for .NET 4.0 and .NET 3.5).
http://archive.msdn.microsoft.com/wcfazure/Wiki/Print.aspx?title=KnownIssues&version=38&action=Print
Thanks.
Saad Nawaz
SDET
Windows Azure Tools for Microsoft Visual Studio
This posting is provided "AS IS" with no warranties, and confers no rights.- Propuesto como respuesta Saad NawazMicrosoft Employee jueves, 17 de mayo de 2012 20:07
- Votado como útil Saad NawazMicrosoft Employee jueves, 17 de mayo de 2012 20:07
- Marcado como respuesta Adán.Carrasco jueves, 17 de mayo de 2012 21:50
-
jueves, 17 de mayo de 2012 19:38
Hi Saad,
Thank you very much for your help. The problem has fixed.
However I have other problem:
I'm migrating our database from MySQL to SQL Azure and the files and services hosted with another hosting provider to Windows Azure, we had migrated the databases and the Web Service without problems, but we are saving the password of our users as hashCode, and the hashCode varies from my previous Web Service to my new Web Service under Windows Azure, for example the hashCode of the character "1" is -842352753 consuming the Web Service without Windows Azure, and running under Windows Azure the Web Service return the hashCode 372029325, so we cannot validate our users. Do you know a solution to solve this issue?
Thanks and greetings.
Adán Carrasco
-
jueves, 17 de mayo de 2012 20:01
Hi Adan,
This looks like an issue in SQL Azure. I would suggest that you post this question on SQL Azure forums (http://social.msdn.microsoft.com/Forums/en-US/ssdsgetstarted/threads).
If the solution I posted solved your initial problem, then please mark that as answer.
Thanks,
Saad Nawaz
SDET
Windows Azure Tools for Microsoft Visual Studio
This posting is provided "AS IS" with no warranties, and confers no rights. -
jueves, 17 de mayo de 2012 21:45
Hi Saad,
I'm not doing anything with SQL Azure yet, I'm testing the Web Services getting the hashCode of a string with a method like this:
string getData(string s)
{
return s.GetHashCode.ToString();
}
And I was consuming the Web Service in my client calling the method in the service with this code:
ServiceClient.getData("1");
Then the Web Service get me the hashCode of my string, in this case "1", I didn't use databases yet.
I guess that the variation of the hashCode is due of the version of Framework or the Architecture of the OS, but I don't know if the variation is due to the Web Service is running under Windows Azure, maybe this is happening, because the hashCode returned varies if I run the Web Service Local or I run the Web Service under Windows Azure, both are running in my Laptop.
Thanks.Adán Carrasco

