Which two actions should you perform?

You have a Microsoft Windows SharePoint Services development server. You create a Web Part for a Windows SharePoint Services site. The Web Part must call a Web service.

You deploy the Web Part on the development server. When you test the Web Part, the Web Part throws an exception.

You need to prevent the occurrence of the exception when you test the Web Part.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You have a Microsoft Windows SharePoint Services development server. You create a Web Part for a Windows SharePoint Services site. The Web Part must call a Web service.

You deploy the Web Part on the development server. When you test the Web Part, the Web Part throws an exception.

You need to prevent the occurrence of the exception when you test the Web Part.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Update the Web.config file to use the new policy.

B.
Impersonate a local administrator account in the Web Part.

C.
Create a customized policy file in which WebPermission is enabled for the Web Part.

D.
Create a customized policy file in which SecurityPermission is enabled for the Web Part.



Leave a Reply 0

Your email address will not be published. Required fields are marked *