Click to See Complete Forum and Search --> : strange warning


dannystommen
June 12th, 2009, 03:31 AM
I have a strange warning in my asp.net project

D:\...\report.aspx: ASP.NET runtime error: Could not load file or assembly 'MyClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))


The warning underlines (blue) the page directive.

The library that is 'missing' is in the bin folder. Also it is in the references list. I delete it from the references en re-added it, but didn't help.
When I run the project, everything works fine.

It think it has something to do with the web.config. When I delete the web.config, the warning get also the next message appended:
(C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config line 59)

So I opened this document, and at line 59 I see the next line
<add assembly="*"/>


Any idea what is causing this, if any can give any trouble or how to solve it?


EDIT: I noticed that saving and building takes a really long time now, which is really annoying.

djarvis8
February 25th, 2011, 10:17 AM
I have a similar issue with my page directives and have little to go on as to how to debug this. Anyone have any clues?