Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SharePoint > SharePoint 2013 > BOOK: Beginning SharePoint 2013 Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 9th, 2013, 04:43 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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 01:49 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11: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 11:02 PM



All times are GMT -4. The time now is 02:37 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.