I am trying to consume a web service in windows application
but I am having some challenges.
I did that by right clicking on References -> Add Service Reference -> Advance -> Add web Reference .
When I enter the url of the webservice (http://server/webserviceName?wsdl), it rather opens the file download dialog box asking me to save or cancel , so I am not able to proceed.
Please any ideas? Kindly see screen shots
I tried this and it worked.It was a Java web service.
I added the ServiceModel as part of the references.
References -> Add Reference -> ServiceModel (under the .Net tab)
Related
I want the Content Search Webpart to display like this below.
But it's showing me this instead.
Any idea why? i have de-activated and re-activated both the features for SharePoint Server Publishing and SharePoint Server Enterprise Site Collection features. Still it does not show up what i wanted.
SOLVED
1.Go to SharePoint Central Admin found in your startup app windows
2.Go to Application Management and click on Manage service applications and click Search Service Application.
3.Go to Crawl rules and click New Crawl Rule and configure it
4.Go to Content Sources and click Start All Crawls
Is it possible to open a Silverlight Project within a button click event of another Silverlight Project?
i.e Silverlight Project A button click event to open Silverlight Project B.
From Silverlight you have control of the web page where you are hosting Silverlight Project A, even of javascript (so you can call a javascript method form within your Silverlight project A).
Also, you can host several Silverlight objects inside a web page, for an example, if you have a web project besides your Silverlight project inside your solution, you can open the .html file from this project and see the "" tag. That tag says that inside that page should be a silverlight object, so you can have any number of " ... " tags pointing to same number of silverlight projects (or project instances)
Here is an example:
http://blogs.microsoft.co.il/blogs/alex_golesh/archive/2008/07/10/quick-silverlight-tip-communicating-between-two-silverlight-objects-on-a-single-page.aspx
I have developed a silverlight application with WCF-RIA services and is working fine. I have to deploy this application on a Sharepoint 2010 site.
I am new to Sharepoint 2010. I am having "Full Control" on the site. But when I am in edit mode, not able to see "Media and Content" category which is having "Silverlight" web part.
New web page -> edit page -> Insert -> Web part.
This may be a simple setting issue. Can someone please help.
Thanks.
Along with whatever Thorsten has mentioned, I had to make another setting. Providing access to the web parts which was preventing users from viewing all the web parts
you've to activate the "SharePoint Server Publishing Infrastructure" Site Collection Feature. After activating all the Silverlight WebParts are available.
Thorsten
In sharepoint 2007 for to deploy a custom webpart i have added all of its application references as a safe control, so i got my webpart correctly. But now i using the sharepoint 2010 and need to deploy a custom webpart in it, hence i followed steps such as
1.Created a webpart(Deploy as a farm solution) using VS2010 of type sharepoint->2010.
2.Used the Sharepoint 2010 Management shell to add the webpart to the sharepoint site.
3.Then using the sharepoint Central Administrator v4->System Settings->Manage Farm Solution->Mycustomwebpart
4.Clicking on that webpart and select deploy option, and hence it is been deployed to the site.
Then in sharepoint home site ->Site Actions-> Site Settings->Site collection Features-> select Mycustomwebpart and click on the Activate button.
6.Now, for to show the webpart, i gone to a site ->site Action-> Edit Page ,then click on Add a webpart then select the custom option and select Mycustomwebpart and click on the Add button.
7.Now i getting the error as "File Not Found" with error message as Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
8.Please guide me to overcome this error.
Lots of thanks in advance..........
I am new on SP 2010 and VS 2010.
After installation of SP, I am able to surf to localhost, and see a page called "Home".
I made a test Visual Web Part, and it deployed fine.
I am able to edit the home page, and see and add the web part from the Custom folder.
I then made a new site, called Foo Site. When I edit its home page, I do not see the web part Custom folder, so I may choose my web part and add it.
Why does the Custom folder show up on one page, when adding a web part, and not on another?
Did you activate the feature on your new site? When you deploy from Visual Studio it will automatically do this based on where your project is configured to deploy it to (which is why you see it on your original site).