Here's what finally worked...
1. Created a new directory in my working space called
TPEDataAccessService
2. Set it to be shared using the Share This Folder option in Web Sharing
tab.
3. Opened up my current solution in VS.NET 2003. This solution already
contains a windows app exe and library class. I then used Add New to
add a C# ASP.NET Web Service and set the URL to
http://localhost/TPEDataAccessService
4. I tested this first in my browser and it worked!
5. I added my tried and true .asmx file from it's old location on
wwwroot and it tested fine too.
I didn't have to change any .csproj files of the path in IIS since I'm
just adding a single .asmx file.
I don't know what it was exactly but something very slight was different
between this approach (which I've never tried before) and what I was
doing all darn day today. I was creating my virtual directories in IIS.
However, I didn't notice any outright differences between the properties
in IIS for what I've done today and I what I just did. Go figure.
The bottom line is now my web service project is inline with my other
projects for this solution and can now be added to Subversion. I can't
believe I killed the whole day on this one problem.
Tom, thank you thank you thank you. It may not seem likely but if you
ever need someone to try some code out as you've done for me, let me
know. I'll drop whatever I'm doing to help you out. It was a pleasure
working with you.
Kevin, thanks for the intended help. If Tom's approach didn't work I
was going to try yours.
Thanks again.
Brian Beaudet
> -----Original Message-----
> From: Tom Opgenorth [mailto:tom@opgenorth.net]
> Sent: Thursday, April 29, 2004 10:51 PM
> To: bbeaudet@efficiencylab.com
> Subject: Re: Subversion, Source Control And Web Services
>
> Hi Brian. Just gave this a quick kick, and here is what I used to do
> under VS.NET 2K2 on WinXP Pro:
>
> 1. In Windows Explorer, create the directory. For example
> E:\working\dotnet\WebService1
>
> 2. Share out the directory. Right click on the directory, select
> "Sharing and Security...". Click on the "Web Sharing" tab, and then
> click on "Share this folder". I made sure that it was named/shared as
> WebService1.
>
> 3. Start up VS.NET. Start a new Project, C# Web Service. For the
> location, I ensured that it said http://localhost/WebSevice1.
>
> Now, for moving a project. Say I had C:\InetPub\WWWRoot\WebService2
> that I wanted to move to E:\working\dotnet\WebService. I just copy
the
> directory over. Then in IIS I change the application settings so that
> it points to the new directory.
>
> One last thing to do: the file WebService2.csproj.webinfo has the old
> URL hardcoded in it. I edited that with to read the new URL. The I
> just opened the .csproj file using File..Open (not file...Open From
Web).
>
> Give all this a kick, and let me know how it goes. Hopefully it will
do
> the trick for you. I have to put my boys to be, so I'll check my
e-mail
> again in a couple of hours.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 30 05:45:52 2004