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 / ASP.NET / Web Services / August 2004

Tip: Looking for answers? Try searching our database.

WIERD Cache problem with WebService, Ideas?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chad Finnegan - 30 Jul 2004 01:24 GMT
I built a custom webservice which originally had four methods, deployed this
to our Dev server, it originally was deployed with the Codebehind  reference
in the page header of the .asmx file, to the .cs file.   (code left from
vs.net)  I changed this and removed all codebehind references and VS.NET
code, so I know use a makefile to compile the assemblie, which the .asmx
file inherits from the bin... so that is the setup.

I have since updated the code adding more methods...ok ready, THE PROBLEM
IS... after deploying the new .asmx file and associated assembly, after we
restart IIS and hit the webservices it reverts to the original code with the
four methods... code that is long gone, so I can't figure out where its
getting it from.   As soon as we transfer over a new DLL or update the
web.config so the webservice will reload, the right methods come up (6 of
them)  but then again, as soon as we restart IIS, bammm... the old 4 methods
are back.  I'm at a loss.. I figure there is some wierd caching going on,
but want to figure out exactly what the problem is so this doesn't occur in
a production environment.

But looking for leads and such, check the GAC, nothing in there concerning
this assembly.. then files in the webservices directory and bin are correct,
cause I can move the exact same files to another machine, start up the
webservice and its the correct one.

I really appreciate any help, and let me know if you need more information.

Thanks,
-Chad
Chad Finnegan - 30 Jul 2004 21:01 GMT
Also, anyone know how to clear the .NET framework cache that holds the
runtime webservice pages?

> I built a custom webservice which originally had four methods, deployed this
> to our Dev server, it originally was deployed with the Codebehind  reference
[quoted text clipped - 23 lines]
> Thanks,
> -Chad
Patrik Oscarsson - 21 Aug 2004 08:12 GMT
I'm having the same problem, did you find any solution?

> Also, anyone know how to clear the .NET framework cache that holds the
> runtime webservice pages?
[quoted text clipped - 33 lines]
> > Thanks,
> > -Chad

Rate this thread:







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.