Microsoft Office Tutorials and References
In Depth Information
28.
Now build the project. once the build is successful, right-click on the VisioDataservice
project, and then click on publish and select a folder to create the Wsp file in the
selected folder.
if you are performing this step on your local development machine, try the Deploy option from the
project properties.
Tip
29.
Deploy the Wsp using either stsaDM or Windows powershell commands to add the solution
to your sharepoint site.
30.
open Central administration ➤ application Management ➤ Manage service applications ➤
Visio Graphics service.
31.
Click on Trusted Data Providers and then on Add a new Trusted Data Provider .
32.
Under Trusted Data Provider ID , enter the class name and fully qualified assembly name
separated by a comma (in my case, it is DataModules.VisioDataProviderService,
VisioDataProviderService, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=<public key token>).
33.
Under trusted Data provider type, enter the value (for Visio Custom Data providers). 6
34.
Under Trusted Data Provider Description , enter a valid description, such as Visio Custom Data
Services Provider , and click oK.
35.
Your service provider is now ready and will display in the available service provider list.
36.
open the Web.config file that belongs to your sharepoint web application, and paste the
settings in Listing 2-7 under the system.serviceModel section.
Listing 2-7. Service Model Section Setting Values Under the web.config File
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IServerStatus" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="St
rongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288"
maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192"
maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
 
Search JabSto ::




Custom Search