- "Method not allowed" in Outlook Client
- Posted by Diana on November 4th, 2004
Hello,
Im trying to make an "add on" for MSCRM 1.2, that should work on an Outlook
Client while offline. I try to use Microsoft.CRM.Platform.Proxy.BizUser.
It doesn't matter what I try, i get the error "Method not allowed" when I
try to ask "objBizUser.WhoAmI".
When BizUser.url shows the CRM server, it works. For offline I try to use
the services from "http://localhost:2525/mscrmservices". I dont't know how
can I see the Address for ".srf" files on the client.
It works when I use Microsoft.CRM.Platform.COMProxy, but I think this way is
not supported.
Does anybody know what can I do? This would help a lot.
- Posted by M on November 5th, 2004
Hi Diana,
I don't know exactly what your addon is suppose to do. What I've done is to
write some code that checks if the machine is connected or not.
Probably not supported, but since there is no other way this is how I solved
my offline/issue with one of my addons to the ms crm.
This is what I used to check if there is a connection (C#)
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( out int
Hope this helps,
"Diana" wrote:
- Posted by Diana on November 8th, 2004
Hi,
Thanks for the Answer.
I'm supposed to write some aspx that works in SFO while offline - so
everything should be on the client: aspx, Web Sevice, Database. (I can read
in the Registry, if SFO is offline). I need the MS CRM Objects - (like
Account) , and the first test is, if I can log in. I get "Method not allowed"
when I try to call "WhoAmI()".
In the meanwhile I've found some questions, where I saw, that this is not
possible for the moment. At least not with the Proxy.dll. So for the moment,
I see no other way, than using the "unsupported" COMProxy.dll.
"M" wrote:
- Posted by Jason Hunt [INVOKE] on December 20th, 2004
You're headed down the right (although unsupported) path. The SOAP proxy
will not allow you to make platform calls on the SFO client while offline.
The only way to do this is to use the ComProxy like you've discovered.
Jason Hunt
Invoke Systems
http://www.invokesystems.com
"Diana" <Diana@discussions.microsoft.com> wrote in message
news:93D0B097-0131-4967-B750-E0A764FEC5A6@microsoft.com...