[libRETS-users] Login Issue

Russ Perna russ.perna at prudentialrand.com
Fri Jan 12 16:34:45 CST 2007


Keith,

Thanks for getting back to me. I am using C# to access libRets.

I have another question if you don't mind me using the same thread. When
running this query:
SearchRequest searchRequest = session.CreateSearchRequest("Property",
"ResidentialProperty", "(MLNumber=2629826+)");

I am getting the error message:
Unauthorized query. The query could not be executed because supplied login
does not have access to the MLNumber field.

I was able to query by MLNumber in ezRets by using "MLNumber > 2629826". Am
I forming it wrong when using C#?

Thank you,
Russ
 
 

-----Original Message-----
From: librets-users-bounces at crt.realtors.org
[mailto:librets-users-bounces at crt.realtors.org] On Behalf Of Keith T. Garner
Sent: Friday, January 12, 2007 5:20 PM
To: For discussion and help for and by the users of the libRETS C++ library
Subject: Re: [libRETS-users] Login Issue


Russ Perna wrote:
> I figured it out, I was able to login once I specified the 
> "SetUserAgent". I never thought to use it since it wasn't included in 
> the testing code, I guess the default is hard-coded in?

Yes, librets by default uses a User-Agent of libRETS/version such as
libRETS/1.1.6.

Many MLS vendors are of the opinion that making someone change their
User-Agent is some special second form of authentication, therefor libRETS
must allow you to change it.  (This is also why ezRETS allows you to change
it as well.)  In my opinion, all this does is make it harder for a server
vendor to know what product and version you're using and help the client
vendor debug it.

In any case., I'm glad you solved it.

Just out of curiosity, from which language are you accessing libRETS?

Keith

--
  Keith T. Garner - Managing Director - Center for REALTORR Technology
   kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt

_______________________________________________
libRETS-users mailing list
libRETS-users at crt.realtors.org
http://mail.crt.realtors.org/mailman/listinfo/librets-users





More information about the libRETS-users mailing list