Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Change search path.

Thread Tools

Change search path.

Kevin Burton
Posts: n/a
I have several web services and they all rely on the assemblies in a root
directory. Right now I have something like:

web service B
web service C
Reply With Quote
Dan Rogers
Posts: n/a
Hi Kevin,

A few options you have that are pretty simple include copying the DLL's
into the bin directory for each application, or if you want only one copy
of the DLL on the system, place it where you like and add it to the GAC.
To add to the GAC, the assembly will need to have a strong name, and you
will want to consider whether you want both applications locked around that
DLL. Once in the GAC, all requests for a particular assembly (not found in
the local directory) will be resolved to the GAC copy. This means that if
you want to update the DLL, you'll need to implement a versioning policy or
take both applications off line.

Hope this helps,

Dan Rogers
Microsoft Corporation
>Thread-Topic: Change search path.
>thread-index: AcTBEaggP3zLNHFdQoCidK5WfpGbRg==
>From: =?Utf-8?B?S2V2aW4gQnVydG9u?= <(E-Mail Removed)>
>Subject: Change search path.
>Date: Tue, 2 Nov 2004 11:25:05 -0800
>Lines: 23
>Message-ID: <(E-Mail Removed)>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:26352
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>I have several web services and they all rely on the assemblies in a root
>directory. Right now I have something like:
> web service B
> web service C
> .
>Where 'web service B' is a sub directory of A containing the .asmx files,
>the resource files, global asmx, etc. The assemblies that support each of

>web services are currently in A so in order for 'web service B' to find

>assemblies I would need to add something like <probing privatePath="..">

>web.config in order for the assemblies to be found. The <probing> element
>specifically prohibits specifying anything but sub-directories. Any ideas

>how I might solve this problem or restructure my app? Could I point the
>virtual directory to say 'web service B' and have the application base be

>directory up (in A)? If so how?
>Thank you.
>Kevin Burton

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Paradise DNS address change? What change? There was no change. Tony Neville NZ Computing 7 09-22-2006 01:02 PM
removing search engines from the search bar Firefox 1 02-17-2005 12:06 PM
Search Bar not displaying search Engines Zimran Douglas Firefox 1 01-07-2005 02:30 PM
search within a search within a search - looking for better script times out Abby Lee ASP General 5 08-02-2004 04:01 PM