Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Using SharePoint Server Object model by ClickOnce applications.

$
0
0

I have problem to get access to the local farm (SharePoint 2010 Foundation/Windows 7) using the code:

SPServer.Local

from the application deployed as ClickOnce. It returns null.

I have requested full trust and installed publisher certificate in the Trusted Publishers Store (user and computer).

The application launched as the administrator works fine.

The same application deployed as ClickOnce on Server 2008 R2 and SharePoint Server 2010 works also fine without any additional configuration.

In both cases the application has been launched from the same domain account that is added to SharePoint administrators group.

I will appreciate any suggestions how to overcome this problem.

Mariusz


Mariusz


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>