Moving a web project to a different computer (for development)

C

cpnet

I've read, http://support.microsoft.com/default.aspx?scid=kb;en-us;326495,
and searched on msdn.microsoft.com and google, but can't get this to work.
I've done it in the past, but I can't remember what I did.

A developer has created a C# web project, and sent me the source files. I'm
trying to open the webproject on my computer (XP Pro, IIS 5.0, VS.NET 2003
EA). I can browse to the virtual directory in Visual Studio ("Add Existing
Web Project"), but Visual Studio won't list any of the files in the virtual
directory. I'm logged in as an administrator, I've enabled "Integrated
Windows Authentication", I've restarted IIS, and I've given Authenticated
Users Full Control (for the NTFS permissions). I've tried with and without
the server extensions installed, and I've re-run the security permissions
wizard in IIS (and re-enabled, "Integrated Windows Auth" after doing so).
What am I missing?

I do notice that when I follow the instructions in
http://support.microsoft.com/default.aspx?scid=kb;en-us;326495, the NTFS
permissions for the folder being shared are way less then the permissions I
see to webprojects I created from scratch in VS.NET on my machine.
 
S

Steven Cheng[MSFT]

Hi Cpnet,

As for the "but Visual Studio won't list any of the files in the virtual
dir" you mentioned, I think this is the expected behavior and the kb
article has pointed that
===============================================

1.In Visual Studio .NET, on the File menu, point to Open, and then click
Project From Web.
2.Type the address of your virtual server and the project file name (for
example, type http://localhost/WebApplication1), and then click Open.
3.Move to the C:\Inetpub\wwwroot\WebApplication1 folder, select the .csproj
file, and then click Open.
================================================
The #3 has indicate that we have to manually move to the physical folder
of the virutal dir and select the ".csproj" file and click open to open the
project.

Have you try this to see whether the project can open this way? From the
test on my side, I can create a new virutal dir can host an existing web
project and open it again in the vs.net via the above means.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
C

cpnet

Ah, ok. I got as far as 2. below, and didn't see the files listed in the
"Open" dialog. Once I did your step 3., things worked. It is a little
counter-intuitive to do things this way though... I mean (as I understand
it), the place I was in 2. and 3. is the same. It's too bad that Visual
Studio doesn't allow you to just do 2. (or just do 3) to open a web project.

Anyway, it's working now.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top