I need to find out how to programmatically determine how many instances of Visual Studio are open and what is loaded in each.
Do you know?
-- Mark Kamoski
View Complete Post
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.
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?
I was using VS2008 everything ws going well but one day because of some problem i have to reload the windows and VS2008 and since then i am unable to open the designer.It does not give me any error message but i am unable to use any of the feature after clicking design or view designer from solution explorer.I have tried reinstalling the VS2008 but it does not solve my problem.Can you please help me.??