all groups > sql server new users > december 2004 >
You're in the

sql server new users

group:

UniqueIdentifier Data Type


UniqueIdentifier Data Type Jeff Cobelli
12/24/2004 1:28:38 AM
sql server new users: I am trying to pass a UniqueIdentifier as a parameter to a SQL Server stored
procedure from a .asmx webservice. Whenever I try to run it, I get the
following error: "Invalid cast from System.String to System.Guid." I have
tried changing the datatype of the parameter in the WebMethod but nothing I
have tried fixes the problem. How can I pass the UniqueIdentifier datatype
to the stored procedure? Thanks in advance,

- Jeff


Re: UniqueIdentifier Data Type Mike Epprecht (SQL MVP)
12/24/2004 3:43:43 PM
Hi

You may want to ask this question in sqlserver.programming

--
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

[quoted text, click to view]

AddThis Social Bookmark Button