.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Visual Studio 2010 will not open my MOSS 2007 Site

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :SharePoint

I am using VS 2010 premium, Win Server 2008 R2, MOSS 2007 and are all installed on the same machine.

First, I when I try to connect with the server explorer...I get A SharePoint server is not installed on this computer which is not true.

Second, When I try to open a website through > open website > local IIS and click on my sharepoint portal site I get.....Unable to open website, Visual Web Dveloper does not support opening sharepoint sites. Why am I getting this? I am not using Visual web Devloper. I am using VS 2010 premium.

Why is it so hard to open adn/or connect to our sharepoint sites with VS 2010? I have no problem at all using Sharepoint designer to connect but I want to use visual stuidio.  I hate the designer. I think microsoft dropped the ball on this one.    Anybody know of a good article/tutorial on this?

View Complete Post

More Related Resource Links

Visual studio 2010 extensions for MOSS 2007/2010?

I know we need Visual Studio 2005/2008 extensions for WSS 3.0/MOSS 2007.  If we upgrate to Visual Studio 2010, do we still need to install a Visual Stidio 2010 extenstion for MOSS 2007?  For MOSS2010?

moving from Visual Studio 2005 to visual studio 2010. Will be on MOSS 2007 for next year at least.


Most of my web servers are 64 bit.

At this new shop I don't have any custom visual Studio 2005 compiled workflows or sharePoint solutions.  What I do have is a few DLLs we've deployed manually to the Web front ends in the 12 hive,  And a few low volume non-sharepoint websites I've deployed with the source - because I knew I'd be moving to 2010 very soon.

What's the risk of moving my development client to 2010? Can I have 2005 and 2010 on the same client? Does 2010 have an option for compiling to 2005 compatibility?

What happens if I compile those solutions (as is) in vs 2010 and deploy?  Does something special need to be installed in SharePoint or my web servers to support VS2010 compiled solutions?

BTW, how smooth is the 2005 to 2005 code coversion (if any) process. Can I open 2005 projects/solutions in 2010?




is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p


is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project


my current project references




i have a very annoying iis problem

iis server stops working until app pool is recycled


i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem


Error trying to open WPF Xaml windows from Visual Studio 2010 in Blend 4

Hi I have Visual Studio 2010 ultimate, and expression Blend 4. I have created a WPF 4 project in Visual Studio and when i try to open the MainWindow.xaml file in Expression Blend 4 - i get an error stating that the file or folder is not a valid blend project. Is there something i need to install for visual studio to make blend able to edit WPF Xaml files in Blend 4? I can open blend4 and create WPF applications with no problem - its just trying to open a mainwindow.xaml created in Visual Studio 2010 in blend 4 when i get the error. I am running windows 7 32 bit. Cheers Rod. Mono / DotNet Rocks!

Site Migration from MOSS 2007 to MOSS 2010

Presently our client have the MOSS 2007 Portal and they want to migrate those sites in to MOSS 2010. So, We need to show case something to that client. Please anyone have idea on the same, please let us know. It's very urgent.Thanks in advance..Regards,Pradeep Seella  

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Migrating changes from the Development to Production Site (SP2010, SPD and Visual Studio 2010)

Trying to find the best (least error-prone) approach to updating a live site containing content (based Documents and Tasks mainly) with changes. This got to be a common issue - a Development environment containing new features needs to be migrated over to production but the existing data and workflows with the associated tasks should be preserved. I found this thread http://social.msdn.microsoft.com/forums/en-us/sharepointdevelopment/thread/2C524797-9737-4D11-BE19-3E407C5C83CE which seems to provide a rather negative take on a tool-based approach but it's for older Sharepoint. Anything improved since then?

Sharepoint Worflow in MOSS 2007 and Visual studio EventHandlingScopeActivity in a while loop

Hi I'm building a sequencial approval Workflow  exactly the same than the one in the Sharepoint SDK collect feed back workflow. But the thing is that I put all the activities in a while activity and nothing is working any more. My EnableWorkflowModification bugs, and event if I remove it the onTaskUpdated event doesn,t fires. My Workflow look like this. WhileActivity   EventHandlingScopeActivity       Replicator                EnableWorkflowModification                       createTask                       whileLoop                             onTaskUpdated                       CompleteTask   If I remove the global while activity everything is fine. When I add it nothing works.   Can someone help. I dont understand why I cannot put a EventHandlingScopeActivity in while. Thabk youIch bin eine Beignet

When not open MOSS 2007 site for long time...


Hi all,

I have a web site under constructing using MOSS 2007, when site is not opened for long time, and come some one to open it, MOSS 2007 return error: Error occured, if you have a permission go to webpart editing page to solve the problem...

I don't know why this happen, and how to solve it?



Session State throws error in ASP.NET Site Pages for SharePoint 2010 portal using Visual Studio 2010


I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code behind in ASP.NET but it throws the following error.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I set the page directive as enableSessionState=&quo

Not able to open sharepoint 2010 websites using visual studio 2010


Hi all,

When i m tryin to run a web application from wss Virtual directories im getting this following error and im using SP2010 with 8081 port and visual studio 2010.

For the past 2 days im googling and came across many solutions but nothin has fixed for me.

I tried creating website in 14/_layouts also but no progress.

 Here the scenario is

1) Sharepoint running at port 8081
2)Default port in my system is 80

 So i tried creating web applications under both 80 and 8081 virtual directories.
In both the applications when i am trying to run the following code,it throws the same error as follows:
SPSite oSite = new SPSite("http://Sitename:8081");
 The error is :

"The Web application at http://Sitename/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application".

So, anyone help me please. I am badly in need of this solution.



How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

visual studio 2010 pro web site running problem


hi friends.

i seted up visual studio 2010 to my pc before 2 mounts and i did not have any problem. after i formated my pc vs2010 not running web site projects. sortly when i run it on internet explorer open but its cant open project. its like there is no any websites, what is problem.

thanks all. 

Site migration for MOSS 2007 to SP 2010



Can any one give me the steps to migrate my MOSS 2007 Sites Collection to 

Sp 2010 Environment. because i can't use .stp in SP 2010 so i am stuck with it 

 Please help me out.


Thanks Inadvance.


Easy way to migrate site columns and content types from moss 2007 to sharepoint 2010?

Easy way to migrate site columns and content types from moss 2007 to sharepoint 2010?

How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

Error upgrading MOSS 2007 publishing site to 2010 - Exception: Column 'PublishingStartDate' does n


We are in the process of testing a database attach upgrade from MOSS 2007 to SharePoint Server 2010. We are running into an issue when we attach the database with the main portal site collection which has the publishing features enabled. In the upgrade error log, we are receiving the following errors:

[powershell] [CmsImageLibrarySiteAction (] [INFO] [10/21/2010 3:40:37 PM]: SPSite Url=http://<WEBAPP>.<COMPANY>.com
[powershell] [CmsImageLibrarySiteAction (] [ERROR] [10/21/2010 3:40:37 PM]: Failed to upgrade site collection images library on site http://<WEBAPP>.<COMPANY>.com.
[powershell] [CmsImageLibrarySiteAction (] [INFO] [10/21/2010 3:40:37 PM]: SPSite Url=http://<WEBAPP>.<COMPANY>.com
[powershell] [CmsImageLibrarySiteAction (] [ERROR] [10/21/2010 3:40:37 PM]: Exception: Column 'PublishingStartDate' does not exist. It may have been deleted by another user.
[powershell] [CmsImageLibrarySiteAction (] [INFO] [10/21/2010 3:40:38 PM]: SPSite Url=http://<WEBAPP>.<COMPANY>.com
[powershell] [CmsImageLibrarySiteAction (] [ERROR] [10/21/2010 3:40:38 PM]:    at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)
   at Microsoft.SharePoint.SPViewFieldCollection.Add(String

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend