Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Strange, Illogical ASP.NET Bug: "File or assembly name, or one of its dependencies not found"

Reply
Thread Tools

Strange, Illogical ASP.NET Bug: "File or assembly name, or one of its dependencies not found"

 
 
Philipp Schumann
Guest
Posts: n/a
 
      10-23-2003
Dear all,

I'm in the process of designing a distributed application on the basis of
ASP.NET, which does not contain of scripts, but of assemblies containing
classes that implement IHttpHandler to mimic script-like behaviour.

The following section in web.config enables this particular kind of assembly
usage.

<httpHandlers>
<add verb="*" path="csiadmin.aspx"
type="mokka.cibbuzz.Server.IisEdition.AdminWebRequ estHandler,
mokka.cibbuzz.Server.IisEdition" />
<add verb="*" path="*.aspx"
type="mokka.cibbuzz.Server.IisEdition.WebRequestHa ndler,
mokka.cibbuzz.Server.IisEdition" />
</httpHandlers>

However, I find that the much-praised XCopy-Deployment does not really seem
to work with ASP.NET on the basis of assemblies which merely reside in the
bin directory and are referenced only by the web.config file. I keep getting
the following error message (see http://www.mokka.co.uk/aspneterr.htm) when
XCOPY-deploying to various web servers, no matter whether I create a virtual
directory or not. (In fact, with XCOPY it should not even matter whether a
directory is a "virtual" one or not, so that deployment with FTP would
effectively be possible, but this is no ideal world, I'm afraid.)

What's more, not only do I get this error on remote web servers: my own
local development-IIS just started to expose the behaviour as well, after
deleting the BIN directory of my application and re-building the whole
solution in VS.NET! I've tried it multiple times, with and without the IIS
service running, and this is not the Indexing Service bug (since I
deactivated it). I've also run the newest ASP.NET fix-ups provided by
www.asp.net lately.

I can't believe that I'm the only one not being able to deploy (or even
develop, for that matter) a slightly advanced ASP.NET-based application, or
the only one avoiding scripting for various purposes, including security,
performance (no discussions here), maintainability and more. Therefore, any
hints would be greatly appreciated.

Many thanks
Philipp Schumann




 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      10-24-2003
"Philipp Schumann" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Dear all,
>
> I'm in the process of designing a distributed application on the basis of
> ASP.NET, which does not contain of scripts, but of assemblies containing
> classes that implement IHttpHandler to mimic script-like behaviour.


....

> However, I find that the much-praised XCopy-Deployment does not really

seem
> to work with ASP.NET on the basis of assemblies which merely reside in the
> bin directory and are referenced only by the web.config file. I keep

getting
> the following error message (see http://www.mokka.co.uk/aspneterr.htm)

when
> XCOPY-deploying to various web servers, no matter whether I create a

virtual
> directory or not. (In fact, with XCOPY it should not even matter whether a
> directory is a "virtual" one or not, so that deployment with FTP would
> effectively be possible, but this is no ideal world, I'm afraid.)


I looked at your error page and I wonder if your
mokka.cibbuzz.Server.IisEdition.dll is actually in the bin directory at the
time of this error.

If so, to help narrow this down, try making a change to the web.config (add
a space, delete it, save) and try again. Let us know the results.
--
John


 
Reply With Quote
 
 
 
 
Rad
Guest
Posts: n/a
 
      10-25-2003
The error looks odd (html-wise)... just make sure that the config file has
these entries all on one line.. and that <add ... is not broken into
multiple lines..


"Philipp Schumann" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Dear all,
>
> I'm in the process of designing a distributed application on the basis of
> ASP.NET, which does not contain of scripts, but of assemblies containing
> classes that implement IHttpHandler to mimic script-like behaviour.
>
> The following section in web.config enables this particular kind of

assembly
> usage.
>
> <httpHandlers>
> <add verb="*" path="csiadmin.aspx"
> type="mokka.cibbuzz.Server.IisEdition.AdminWebRequ estHandler,
> mokka.cibbuzz.Server.IisEdition" />
> <add verb="*" path="*.aspx"
> type="mokka.cibbuzz.Server.IisEdition.WebRequestHa ndler,
> mokka.cibbuzz.Server.IisEdition" />
> </httpHandlers>
>
> However, I find that the much-praised XCopy-Deployment does not really

seem
> to work with ASP.NET on the basis of assemblies which merely reside in the
> bin directory and are referenced only by the web.config file. I keep

getting
> the following error message (see http://www.mokka.co.uk/aspneterr.htm)

when
> XCOPY-deploying to various web servers, no matter whether I create a

virtual
> directory or not. (In fact, with XCOPY it should not even matter whether a
> directory is a "virtual" one or not, so that deployment with FTP would
> effectively be possible, but this is no ideal world, I'm afraid.)
>
> What's more, not only do I get this error on remote web servers: my own
> local development-IIS just started to expose the behaviour as well, after
> deleting the BIN directory of my application and re-building the whole
> solution in VS.NET! I've tried it multiple times, with and without the IIS
> service running, and this is not the Indexing Service bug (since I
> deactivated it). I've also run the newest ASP.NET fix-ups provided by
> www.asp.net lately.
>
> I can't believe that I'm the only one not being able to deploy (or even
> develop, for that matter) a slightly advanced ASP.NET-based application,

or
> the only one avoiding scripting for various purposes, including security,
> performance (no discussions here), maintainability and more. Therefore,

any
> hints would be greatly appreciated.
>
> Many thanks
> Philipp Schumann
>
>
>
>



 
Reply With Quote
 
 
 
Reply

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
File or assembly name ... or one of its dependencies, was not found Fabian ASP .Net 1 01-27-2005 01:21 PM
File or assembly name or one of its dependencies, was not found. jlea ASP .Net 3 10-04-2004 10:16 PM
System.IO.FileNotFoundException: File or assembly name xlq0jgak.dll, or one of its dependencies, was not found. Martinh ASP .Net 0 08-15-2004 04:30 PM
File or assembly name System, or one of its dependencies, was not found. aallee83 ASP .Net 2 05-26-2004 07:16 AM
File or assembly name "yufnisoc.dll", or one of its dependencies, was not found. D.C. ASP .Net 0 11-04-2003 10:07 PM



Advertisments