Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint 2013 > BOOK: Beginning SharePoint 2013 Development
|
BOOK: Beginning SharePoint 2013 Development
This is the forum to discuss the Wrox book Beginning SharePoint 2013 Development by Steve Fox, Chris Johnson, Donovan Follette; ISBN: 978-1-1184-9584-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SharePoint 2013 Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2013, 03:43 PM
Registered User
 
Join Date: Aug 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 - The Local SharePoint Server is not available

Ok, grinding through the exercises to the point where I have a running SP2013 on a VM on my machine. The development site is provisioned and running, but Visual Studio 2012 (also installed on the VM) cannot validate the URL. I get the message: "The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm". However, when I use the URL it works. This may have more to do with permissions since I have to run VS as administrator. That said, I tried adding administrator as a member of the owners group. It still doesn't work. Perhaps a database access issue? Any thoughts? Has anyone else successfully created and run the Visual Web Part in Chapter 4?

... (a couple of hours later)

So, it was a permissions issue. I had to add myself to the SA group in the database. Also, the steps to complete the exercise are wrong and the reference to default.aspx should be MyNewVisualWebPart.ascx (similarly for the corresponding cs file). With that done, everything appears to publish correctly, but I can't find the Web Part on the site. As such, I can't insert it onto a page so I still have some more work. I suppose this should be easier, but I guess that all of this extra effort is helping me to gain some valuable insights.

... (many days later)

I am finally able to find the 'custom' option to insert my new web part onto the page. However, after doing so, the web part did not work. This is easily remedied by adding onclick="lnkGetSalesData_Click" to the asp LinkButton control. After all of this, I finally have my web part working. Hopefully this will help those that follow. Now on to the next example ...

Last edited by smurphy; August 21st, 2013 at 12:49 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Something wron with local Server malie22001 BOOK: Beginning ASP.NET 4 : in C# and VB 1 March 15th, 2012 10:05 AM
External DLL on Sharepoint server dev_newbie SharePoint Development 3 March 3rd, 2011 01:36 AM
Local vs. Server DB's Ascerbus BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 February 7th, 2009 06:04 AM
help...copy files from sharepoint to local folder pinkflakes .NET Web Services 0 November 3rd, 2007 10:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.