Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / December 2003

Tip: Looking for answers? Try searching our database.

Does VSS have magical abilities?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James D. - 23 Dec 2003 14:05 GMT
I am having a tug of war between VS.NET and VSS with
respect to a webservice.  Everything worked great until I
checked it into VSS and then checked it out again.  The
asmx file I defined (EquipmentWS) seems to be replaced by
a Service1.asmx file in the solution's project.  I can
see both (Service1 & EquipmentWS) asmx files in InetPub
working folder.  The local project folder does NOT
contain either.  The VSS respository contains only the
EqipmentWS.asmx file.  In the local Inetpub folder I
deleted the Service1.asmx file.  Then I checked out the
EquipmentWS project.  Now the Service1.asmx file is
magically part of the solution's project but the
EquipmentWS.asmx (which I can see in VSS & Inetpub
folder) is not.  The Service1.asmx is also magically back
in the Inetpub working folder.  Is the solution not
recognizing my EquipmentWS.asmx and rebuilding the
default Service1.asmx?
James D.
Alin Constantin [MSFT] - 26 Dec 2003 18:00 GMT
Hi James,

What flavor of WebService have you created?

If you're using FrontPage web projects, FrontPage is responsible of adding
the files to the VSS database (and in fact you add them through IIS Manager
interface)
FrontPage adds in the VSS database all the files from the
http://server/project location
If you're using FileShare web projects, VS.NET is responsible for adding the
files in the database.
VS.NET adds in the VSS database all the files that are part of the project.

I suspect that in your case the web project file contains only the
Service1.asmx.
I'm not sure how you created the EquipmentWS.asmx (perhaps outside VS?),
anyway, I don't think it was part of the project when you added the solution
to scc.
The solution is building whatever file the project references, and I think
you're right, it builds Service1.asmx

You can easily fix the problem:
- Open the solution in VS.NET
- Locate in the project the Service1.asmx file
- Delete it (accept a confirmation dialog), checkout the project file when
prompted with a checkout on edit dialog
- Add Existing Item in the project, point to EquipmentWs.asmx. If told that
the file will take identity of an existing item in database, continue.
- Now checkin the project and you're done
- You might also want to delete after that the file $/Project/Service1.asmx
in the VSS database.
Signature

Alin Constantin
[This posting is provided "AS IS" with no warranties, and confers no
rights.]

> I am having a tug of war between VS.NET and VSS with
> respect to a webservice.  Everything worked great until I
[quoted text clipped - 14 lines]
> default Service1.asmx?
> James D.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.