When I use the Credential method in the CRM SDK, I will
receive an error message:
Error Message: CS0117: 'Object' does not contain a
definition for 'Credential'.

I also tried this way:
object.Credential = new NetworkCredential(uid, pwd,
domain)
but still receive the same error message.

May I know where goes wrong?Is it due to the setting in
IIS?If yes, how to resolve it?

For information,
I developed my web form application at a remote
computer. (.NET Framework v1.1) And then I copied this web
form application to the CRM server v1.0.

Re: Error Message: CS0117 by GreaterThanTwo

GreaterThanTwo
Fri Feb 13 12:35:15 CST 2004

Did you add a reference to System.Web.Services in your project?

Mike


"how" <mm_how@yahoo.com> wrote in message
news:fa5501c3f1f3$5390c790$a401280a@phx.gbl...
> When I use the Credential method in the CRM SDK, I will
> receive an error message:
> Error Message: CS0117: 'Object' does not contain a
> definition for 'Credential'.
>
> I also tried this way:
> object.Credential = new NetworkCredential(uid, pwd,
> domain)
> but still receive the same error message.
>
> May I know where goes wrong?Is it due to the setting in
> IIS?If yes, how to resolve it?
>
> For information,
> I developed my web form application at a remote
> computer. (.NET Framework v1.1) And then I copied this web
> form application to the CRM server v1.0.