473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problems with Visual Studio, Web Projects, and SourceSafe

Hello, I seem to be encountering a problem that many others have
encountered before me. Unfortunately, even the mighty Google seems
reluctant to yield any solutions.

We are developing some webservices. We have multiple developers who
have Visual Studio 2003 and SourceSafe 6.0d. None of our developers
have IIS installed on their machines. We have a central test server
that we want to work off which runs IIS and .NET 1.1. All of our
developers have administrative rights on the test machine.

Here are the steps which lead to our problem...

1) I create a directory on the server underneath wwwroot called
TimHTest:
'http://devdotnet/TimHTest'

2) I create a blank solution on my local machine called TimHSolution.

3) I add a C# ASP.NET web services project calles TimHWebTest. I set
the location to 'http://devdotnet/TimHTest'.

When I 'OK' this, I get an error saying "The default web access mode
for this project is set to file share, but the project folder at
'http://devdotnet/TimHTest' cannot be opened with the path
'\\devdotnet\wwwroot$\TimHTest'. The error returned was:

'Unable to create web project 'TimHTest'. The UNC share
'\\devdotnet\wwwroot$\TimHTest' does not exist or you do not have
access.'
Of course, the share does exist, and we all have admin rights there.
Now, we would be stuck right here, but we happened to notice that if we
remove the $ from the UNC path, so it reads
'\\devdotnet\wwwroot\TimHTest' the project can be created successfully.
So that's what we do. I suspect that the fact that it goes so wrong at
this early stage is really indicative of something with our setup.

4), Using VS, we add the whole solution to source control.

Now, the developer who creates the project can happily develop and all
is well. The problem comes when another developer wants to get the
project out of VSS, or the owner (me) deletes his local copy and gets
it back our of VSS.

5) Another developer gets the project out of source control using
either the VSS client to get a local copy, or using VS's ;open from
source control' method, the effect is the same.
We now have a new copy on a developer's machine. The solution file
looks OK, the server paths seem fine:

Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimHTest",
"http://devdotnet/TimHTest/TimHTest.csproj",
"{7E400EF2-287A-4FD6-8448-844EFDFA0166}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = true
SolutionUniqueID = {0C7DA24D-26AD-4706-86AE-432395165B83}
SccProjectUniqueName1 = http://devdotnet/TimHTest/TimHTest.csproj
SccProjectName1 = \u0022$/TimHSolution/TimHTest\u0022,\u0020ADOAAAAA
SccLocalPath1 = \\\\devdotnet\\wwwroot\\TimHTest
CanCheckoutShared = true
SccProjectEnlistmentChoice1 = 2
EndGlobalSection
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Debug.ActiveCfg = Debug|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Debug.Build.0 = Debug|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Release.ActiveCfg =
Release|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Release.Build.0 = Release|.NET
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
When the Solution is opened in VS for the first time, we get this:

A dialogue pops up titled 'Set Project Loaction - TimHSolution'. It
asks me to confirm the server path for the project TimHTest. The path
it has is 'http://devdotnet/TimHTest', which is correct. When I click
'OK', I get this error: 'One or more of the project's destination paths
are invalid. To open a solution, specify a valid path for each
project.'

Another brick wall. If I replace the server name with its IP address:
'http://10.249.68.51/TimHTest', I get this:

'Unable to create web project 'http://10.249.68.51/TimHTest'. The UNC
share '\\devdotnet\wwwroot$\TimHTest' does not exist or you do not have
access.' So that $ is back, and I can't get rid of it. This is as far
as we've got. We've read MS white papers on web projects and source
control integration, and followed them to the letter, unfortunately
we're still no better off.

Anyone smarter than me have a clue how to get our team off the floor?
Many thanks,

Tim H

Nov 22 '05 #1
1 3869
Hi Tim

This link will take you to a presentation about how it all works:

http://support.microsoft.com/default...b;en-us;328845

The presentation is almost 2 hours long. With what you are doing it sounds
like you'll be interested in the non-isolated version which starts in part
30 of the presentation. I've never used this model. I've always worked
where each developer had their own copy of the project and updated the
master copy as needed. Also each developer had IIS so they could run and
debug locally before committing changes. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight

"Tim Haughton" <ti*********@gmail.com> wrote in message
news:10**********************@k26g2000oda.googlegr oups.com...
Hello, I seem to be encountering a problem that many others have
encountered before me. Unfortunately, even the mighty Google seems
reluctant to yield any solutions.

We are developing some webservices. We have multiple developers who
have Visual Studio 2003 and SourceSafe 6.0d. None of our developers
have IIS installed on their machines. We have a central test server
that we want to work off which runs IIS and .NET 1.1. All of our
developers have administrative rights on the test machine.

Here are the steps which lead to our problem...

1) I create a directory on the server underneath wwwroot called
TimHTest:
'http://devdotnet/TimHTest'

2) I create a blank solution on my local machine called TimHSolution.

3) I add a C# ASP.NET web services project calles TimHWebTest. I set
the location to 'http://devdotnet/TimHTest'.

When I 'OK' this, I get an error saying "The default web access mode
for this project is set to file share, but the project folder at
'http://devdotnet/TimHTest' cannot be opened with the path
'\\devdotnet\wwwroot$\TimHTest'. The error returned was:

'Unable to create web project 'TimHTest'. The UNC share
'\\devdotnet\wwwroot$\TimHTest' does not exist or you do not have
access.'
Of course, the share does exist, and we all have admin rights there.
Now, we would be stuck right here, but we happened to notice that if we
remove the $ from the UNC path, so it reads
'\\devdotnet\wwwroot\TimHTest' the project can be created successfully.
So that's what we do. I suspect that the fact that it goes so wrong at
this early stage is really indicative of something with our setup.

4), Using VS, we add the whole solution to source control.

Now, the developer who creates the project can happily develop and all
is well. The problem comes when another developer wants to get the
project out of VSS, or the owner (me) deletes his local copy and gets
it back our of VSS.

5) Another developer gets the project out of source control using
either the VSS client to get a local copy, or using VS's ;open from
source control' method, the effect is the same.
We now have a new copy on a developer's machine. The solution file
looks OK, the server paths seem fine:

Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimHTest",
"http://devdotnet/TimHTest/TimHTest.csproj",
"{7E400EF2-287A-4FD6-8448-844EFDFA0166}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = true
SolutionUniqueID = {0C7DA24D-26AD-4706-86AE-432395165B83}
SccProjectUniqueName1 = http://devdotnet/TimHTest/TimHTest.csproj
SccProjectName1 = \u0022$/TimHSolution/TimHTest\u0022,\u0020ADOAAAAA
SccLocalPath1 = \\\\devdotnet\\wwwroot\\TimHTest
CanCheckoutShared = true
SccProjectEnlistmentChoice1 = 2
EndGlobalSection
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Debug.ActiveCfg = Debug|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Debug.Build.0 = Debug|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Release.ActiveCfg =
Release|.NET
{7E400EF2-287A-4FD6-8448-844EFDFA0166}.Release.Build.0 = Release|.NET
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
When the Solution is opened in VS for the first time, we get this:

A dialogue pops up titled 'Set Project Loaction - TimHSolution'. It
asks me to confirm the server path for the project TimHTest. The path
it has is 'http://devdotnet/TimHTest', which is correct. When I click
'OK', I get this error: 'One or more of the project's destination paths
are invalid. To open a solution, specify a valid path for each
project.'

Another brick wall. If I replace the server name with its IP address:
'http://10.249.68.51/TimHTest', I get this:

'Unable to create web project 'http://10.249.68.51/TimHTest'. The UNC
share '\\devdotnet\wwwroot$\TimHTest' does not exist or you do not have
access.' So that $ is back, and I can't get rid of it. This is as far
as we've got. We've read MS white papers on web projects and source
control integration, and followed them to the letter, unfortunately
we're still no better off.

Anyone smarter than me have a clue how to get our team off the floor?
Many thanks,

Tim H

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rod | last post by:
I'm having trouble with VS.NET2003 and Visual SourceSafe. I upgraded from VS.NET2002 with Visual SourceSafe already installed, and then upgraded to 2003. My Source Control option has disappeared...
1
by: Tim Haughton | last post by:
Hello, I seem to be encountering a problem that many others have encountered before me. Unfortunately, even the mighty Google seems reluctant to yield any solutions. We are developing some...
0
by: Ditlef | last post by:
We have a large C++ COM-based project we will migrate (slowly) to .NET. We have several basic libraries we need to wrap with C++ managed wrapper libraries. Having C++ runtime Debug/Release mixed...
4
by: Jason Shohet | last post by:
I'm using Visual Studio, with ASP.NET. Is VSS on a separate CD. Also, is it possible to use the VSS beta (2005) with .NET if I'm not using the .NET beta. And finally, where do I get the VSS...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
0
by: Damien | last post by:
Hi, Visual Studio .NET 2003 Visual SourceSafe 6 (6.0d) I'm working in a three person team on a reasonably complex Solution - it currently consists of 9 separate projects (3 of them are plain...
0
by: athos | last post by:
Previously, we could use Visual Studio .Net 2002 combined with Visual SourceSafe 6.0 to maintain version control for Stored Procedures. (refer to "How to add SQL Server 2000 Stored Procedures to...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
1
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies...
2
by: plugwalsh | last post by:
Hi I'm having a problem accessing my dotnet projects through Visual Studio 2008 & SourceSafe 2005 (Internet) on XP Pro. Firstly, I've set up the Source Control in VS2008's Tools -Options for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.