none
Deploiement data service wcf + IIs config RRS feed

  • Question

  • hi

    when exécute  

    Dim

    user1 = (Fromu Inproxyx.moust.ToList Where(SHA1(Trim(Me.Tx_Nutilisateur.Text.ToString)) = u.username AndSHA1(Trim(Me.Tx_motpasse.Text.ToString)) = u.password) Selectu).ToList

    This Is the erreur ,how to fixe It

    Interception de System.Data.Services.Client.DataServiceQueryException

      HResult=-2146233079

      Message=An error occurred while processing this request.

      Source=Microsoft.Data.Services.Client

      StackTrace:

           à System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)

           à System.Data.Services.Client.DataServiceQuery`1.Execute()

           à System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()

           à System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

           à System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

           à WindowsApplication1.login.Bt_login_Click(Object sender, EventArgs e) dans C:\Users\admin\documents\visual studio 2010\Projects\WindowsApplicationss\login.vb:ligne 86

      InnerException: System.Data.Services.Client.DataServiceClientException

           HResult=-2146233079

           Message=<?xml version="1.0" encoding="utf-8"?><feed xml:base="https://localhost/gsServer/WcfDataService1.svc/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>https://localhost/gsServer/WcfDataService1.svc/moust</id><title type="text">moust</title><updated>2014-08-27T00:35:02Z</updated><link rel="self" title="moust" href="moust" /><entry><id>https://localhost/gsServer/WcfDataService1.svc/moust(1)</id><category term="gs_dbModel.moust" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="moust" href="moust(1)" /><title /><updated>2014-08-27T00:35:02Z</updated><author><name /></author><content type="application/xml"><m:properties><d:id m:type="Edm.Int32">1</d:id><d:username>d033e22ae348aeb5660fc2140aec35850c4da997</d:username><d:password>d033e22ae348aeb5660fc2140aec35850c4da997</d:password><d:status m:type="Edm.Boolean">true</d:status><d:Role>Admin</d:Role></m:properties></content></entry><entry><id>

    https://localhost/gsServer/WcfDataService1.svc/moust(2)</id><category term="gs_dbModel.moust" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="moust" href="moust(2)" /><title /><updated>2014-08-27T00:35:02Z</updated><author><name /></author><content type="application/xml"><m:properties><d:id m:type="Edm.Int32">2</d:id><d:username>cc45706d430fd588fc42f52560cc36006dffc306</d:username><d:password>356a192b7913b04c54574d18c28d46e6395428ab</d:password><d:status m:type="Edm.Boolean">true</d:status><d:Role>Admin</d:Role></m:properties></content></entry><entry><id>

    https://localhost/gsServer/WcfDataService1.svc/moust(3)</id><category term="gs_dbModel.moust" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="moust" href="moust(3)" /><title /><updated>2014-08-27T00:35:02Z</updated><author><name /></author><content type="application/xml"><m:properties><d:id m:type="Edm.Int32">3</d:id><d:username>86f7e437faa5a7fce15d1ddcb9eaeaea377667b8</d:username><d:password>356a192b7913b04c54574d18c28d46e6395428ab</d:password><d:status m:type="Edm.Boolean">true</d:status><d:Role>Manager</d:Role></m:properties></content></entry><entry><id>https://localhost/gsServer/WcfDataService1.svc/moust(4)</id><category term="gs_dbModel.moust" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="moust" href="moust(4)" /><title /><updated>2014-08-27T00:35:02Z</updated><author><name /></author><content type="application/xml"><m:properties><d:id m:type="Edm.Int32">4</d:id><d:username>fd1c12be0cb59d8cf30ac10591b5b976cd1fe319</d:username><d:password>356a192b7913b04c54574d18c28d46e6395428ab</d:password><d:status m:type="Edm.Boolean">true</d:status><d:Role>Admin</d:Role></m:properties></content></entry><entry><id>https://localhost/gsServer/WcfDataService1.svc/moust(5)</id><category term="gs_dbModel.moust" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="moust" href="moust(5)" /><title /><updated>2014-08-27T00:35:02Z</updated><author><name /></author><content type="application/xml"><m:properties><d:id m:type="Edm.Int32">5</d:id><d:username>356a192b7913b04c54574d18c28d46e6395428ab</d:username><d:password>356a192b7913b04c54574d18c28d46e6395428ab</d:password><d:status m:type="Edm.Boolean">true</d:status><d:Role>Admin</d:Role></m:properties></content></entry></feed>

           Source=Microsoft.Data.Services.Client

           StatusCode=401

           StackTrace:

                à System.Data.Services.Client.QueryResult.ExecuteQuery()

                à System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)

           InnerException:

    Thursday, August 28, 2014 1:18 AM

Answers