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 / September 2006

Tip: Looking for answers? Try searching our database.

File not Found Error when instantiating a Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Taliesin Airt - 12 Sep 2006 12:32 GMT
Hi There,

I'm having this very strange problem with a Web Service.  As soon as I try
to instantiate it like so:

WebServices elSrv = new WebServices();

It gives me the following error:

=== Pre-bind state information ===
LOG: Where-ref bind. Location =
C:\DOCUME~1\JAVANS~1\LOCALS~1\Temp\_s4fydqc.dll
LOG: Appbase = C:\TestWebService\TestWebService\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/DOCUME~1/JAVANS~1/LOCALS~1/Temp/_s4fydqc.dll.

What makes this very strong is that the file name "_s4fydqc.dll" keeps
changing i.e next time the name was "7mkjzw3r.dll".

I've gone through most of the articles on the web, but I haven't found
anything that looks like this.

Any ideas?
Gaurav Vaish (www.EduJiniOnline.com) - 12 Sep 2006 18:34 GMT
> C:\DOCUME~1\JAVANS~1\LOCALS~1\Temp\_s4fydqc.dll
> LOG: Appbase = C:\TestWebService\TestWebService\bin\Debug\
> LOG: Initial PrivatePath = NULL
> Calling assembly : (Unknown).

Delete the following files:

1. *.dll from %TEMP% folder
2. C:\WINDOWS\Microsoft.Net\Framework\v2.0.50727\Temporary ASP.NET Files

It's just that the WS-Runtime needs to refresh the updates from the code to
the new assembly.

The filename keeps changing because it is randomly generated.
Don't worry... if you are updating your code very frequently and refreshing
your project, these errors do occur because of the caching.

One completed, things will not be problematic.

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------

Taliesin Airt - 13 Sep 2006 10:14 GMT
Hi Gaurav,

I've done as you said and I'm still getting the issue:(  Any ideas?  Is
there some other place that needs clearing?

> > C:\DOCUME~1\JAVANS~1\LOCALS~1\Temp\_s4fydqc.dll
> > LOG: Appbase = C:\TestWebService\TestWebService\bin\Debug\
[quoted text clipped - 14 lines]
>
> One completed, things will not be problematic.
Gaurav Vaish (www.EduJiniOnline.com) - 13 Sep 2006 17:03 GMT
> I've done as you said and I'm still getting the issue:(  Any ideas?  Is
> there some other place that needs clearing?

That's pretty interesting.
Kill the aspnet worker process (aspnet_wp.exe), delete all DLLs and try
again.

It's only because of items going out-of-sync.

Mostly deleting all dll's had always helped me.

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------


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.