SDK Setup

rated by 0 users
This post has 15 Replies | 5 Followers

Not Ranked
Posts 23
Points 360
Paras Wadehra Posted: Wed, Jan 9 2008 4:16 PM

Hi,

I downloaded the SDK and un-zipped it to my local drive. I see "Community Server 20.sln" in the "source" folder, but when I click on it to open it, I get a message saying "Unable to read the project file 'CommunityServerWeb20 (Internal).csproj'. The Web Application Project CommunityServerWeb20 (Internal) is configured to use IIS. Could not find the server 'http://cs2007' on the local machine."

Can you please help me configure it so that I can use it? What settings do I need to do in IIS before I can open and view the source files in Visual Studio?

Thanks,
Paras

Not Ranked
Posts 8
Points 130

You need to have IIS on your dev machine, up and running. Visual Studio 2005 (or 2008) will automatically create the virtual directory (or at least they should if they do not encounter any problems, such as if Virtual Directory with that name already exists). Of course you can set everything up manually. You need to map a 'Web' subfolder in your un-zipped SDK structure to a virtual directory with an alias 'cs2007'. Actually you could call your alias anything you want, but let's not complicate things.

I'm wondering, if you don't even know how to do this in the first place, why in the world would you need an SDK. It's for (web) developers. They know how to setup a web application on IIS. If you're just starting with C#/ASP.NET development, the SDK is a mighty bite.

 

Not Ranked
Posts 23
Points 360

Thanks sheboingo for the reply.

First, let me just say that I am an experienced web developer who knows his way around IIS. But having said that, I have already tried creating the virtual directory manually but keep getting the error I mentioned earlier.

Is there anything else (or some special configuration) that I need to do? How can I post/attach an image to show you my settings?

Thanks.

Not Ranked
Posts 1
Points 20

Which version of Visual Studio are you using Sir? VS 2005 and 2008 should create a Virtual Folder for you automatically, providing there isn't already a Virtual Directory with the same name (if it finds existing Virtual Directory named 'cs2007' in your case, Visual Studio will complain that it can't create it).

If you want to do it manually, once you unzipped you SDK, go to IIS and manually ad the virtual directory. Put 'cs2007' as alias and point it to '\source\Web' subfolder of your unzipped SDK.

Hope it helps.

  • | Post Points: 20
Not Ranked
Posts 23
Points 360

I am using VS 2005. When I try to open the project, it does not create the Virtual Directory itself and just gives me that error. Even when I open the project after creating the virutal directory manually, I still get the same error.

 

Not Ranked
Posts 23
Points 360

Nobody from Telligent knows the answer to this???

Please reply if you have any ideas on how to resolve this. Let me add I am trying to run this on MS Windows Vista Ultimate 64-bit with IIS 7 on it. Is there an incompatibility issue with IIS 7 or Vista/64-bit OS?

Thanks,
Paras

Top 200 Contributor
Posts 129
Points 5,510
MVPs
I guess this thread will answer your question.

Regards, Thomas

Thomas Freudenberg

  • | Post Points: 20
Top 500 Contributor
Posts 68
Points 1,205
Serguei replied on Tue, Jan 29 2008 4:29 PM
Hi, Could you tell me where did you download the SDK from? Thanks
Top 200 Contributor
Posts 129
Points 5,510
MVPs
It's near the bottom of this page.

Regards, Thomas

Thomas Freudenberg

  • | Post Points: 5
Not Ranked
Posts 23
Points 360

No, it does NOT answer my question. I am STILL having the same error.

Please somebody help me with this. An image of the error I am getting can be found at http://img2.freeimagehosting.net/uploads/8cf1a24603.jpg

Regards,
Paras Wadehra

Top 10 Contributor
Posts 3,566
Points 53,845
TelligentSupportTeam

Can you open Web/CommunityServerWeb20 (Internal).csproj in a text editor.  Find the line towards the bottom which says

<IISUrl>http://cs2007</IISUrl>

and chang the URL to the appropiate location

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 23
Points 360

What are the right settings to do in IIS? I already have IIS setup on my machine as seen in this screenshot - http://www.screenshots.cc/view_image/cef172046/IIS_Settings.jpg

What should I change it to for it to work?

Regards,
Paras Wadehra

Top 10 Contributor
Posts 3,566
Points 53,845
TelligentSupportTeam

AH - you're using Vista or Server 2008 - that changes everything.

Can you folow the instructions at http://blogs.msdn.com/webdevtools/archive/2006/09/18/developing-web-applications-on-windows-vista-with-visual-studio-2005.aspx to make sure you've installed the right components for IIS7 and Visual Studio to communicate.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 23
Points 360

Thanks...BUT, I followed every step and installed all that needs to be and I am STILL getting the same error even after opening VS 2005 as administrator.

Any other ideas/suggestions are welcome.

Regards,
Paras Wadehra

Top 10 Contributor
Posts 3,566
Points 53,845
TelligentSupportTeam

If you are still gettin hte same error - you didn't folow the instructions I provided two posts ago - you need to change this IISURL entry in the csproj file to the URL for your website (e.g. http://localhost/cs).

 Can you check the error message is exactly the same, and would you mind typing the error up as that image site you're posting to only wants to work for me 1 in 10 times or so.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 5
Page 1 of 2 (16 items) 1 2 Next > | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com