Go Back   AnandTech Forums > Software > Programming

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 11-29-2012, 11:01 AM   #1
HumblePie
Lifer
 
HumblePie's Avatar
 
Join Date: Oct 2000
Location: San Antonio, TX
Posts: 11,535
Default Visual Studio not seeing Sharepoint

Okay, I have a strange problem here that I am at a loss for solving. I started a new job to be a sharepoint "guy" for this small business. So far, most of what I've needed to do hasn't required Visual studio and development for sharepoint. However, they want me to create a specific custom login page for a few sites.

So they have a server with Windows server 2008 running and sharepoint 2010 moss. Visual studio 2010 is also installed. They have several "sites" running for various clients they are hosting sharepoint for at different ports. All the sites seem to run with no problem.

So I go into Visual Studio, start a new empty sharepoint project, and attempt to validate that I'm using Sharepoint on the localhost. It errors out saying sharepoint is not running. WTF? I pull up a browser and can pull up localhost no problem. I can ping it. I check the apppools and everything is running fine. IIS manager shows every working fine as well.

So I figure, okay, I'll use one of the other ported sites on the server. Same problem. Sharepoint isn't found by Visual Studio for validation when starting a new project. I can click finish and compile a sharepoint project no problem, so I know all the dll's are being found and used correctly. But I can't deploy anything through visual studio. So at the moment I can just build the WSP and deploy through central admin, but it's a bit more of a pain in the ass for that, and makes debugging a massive pain.

Anyone have any idea what the hell is the problem here? I'm at a complete loss.
__________________
Heat: 45-0-0
Political Compass
Humble Pie UK/US Rock Band
Quote:
Originally Posted by highland145;
I can't ever provide facts for my arguments so I just call others trolls instead and feel like I am winning!
HumblePie is offline   Reply With Quote
Old 11-30-2012, 10:41 AM   #2
HumblePie
Lifer
 
HumblePie's Avatar
 
Join Date: Oct 2000
Location: San Antonio, TX
Posts: 11,535
Default

meh, figured it out. the person in charge of the sharepoint server database didn't add me as admin to the stupid sharepoint_config database. They thought since I was added as a farm admin to the site that I didn't need admin access to the sql database. They said I "had" admin which is what took so long for me to figure out what was wrong because I was looking at everything else. I had a feeling it was a permission problem, but the powers that be were idiots and didn't want to listen to me until I exhausted every other possibly it could be first. A minute solution turned into 8 hours of work for me because some admin wanted to be lazy and didn't want to do 1 minute worth of work.
__________________
Heat: 45-0-0
Political Compass
Humble Pie UK/US Rock Band
Quote:
Originally Posted by highland145;
I can't ever provide facts for my arguments so I just call others trolls instead and feel like I am winning!
HumblePie is offline   Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.