Darrell Hawley: Home Page

Monday, April 10, 2006

Interesting thing about deploying webservices and a welcome back

After a long vacation from blogging, I have finally decided to jump back in. It's not that I've been short on ideas - there have been plenty of things for me to blog about. I've just been too busy to write. Enough about me, I actually have something interesting to post...

I have several webservices that i needed to deploy which seemed to go well initially. Then I needed to update one of them. It worked fine on my machine, but when I deployed the new DLLs, my new webmethods disappeared! Hmmmmmm. Google was of little help, so i started thinking about the differences between my machine and the remote machine. The only thing that i could come up with was the "App_Code" folder. The code on the remote machine was not up-to-date. I didnt think this should be an issue, since all that matters is the DLL, right? WRONG! Once i deployed the code file from the "App_Code" folder, my webmethods magically reappeared!

I stumbled onto this post that gives a nice explanation:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.framework.webservices&tid=799d479c-02f4-4dfe-a613-a7bb6debde38

0 Comments:

Post a Comment

<< Home