Im currently debugging a webservice written in visual studio 2005, however when i build it, it has an error but it did not specify anything
Error 1 The specified module could not be found. (Exception from HRESULT: 0x8007007E)
error message can be seen here
http://www.freeimagehosting.net/image.php?180ed4e446.png>http://www.freeimagehosting.net/uploads/th.180ed4e446.png alt="Free Image Hosting by FreeImageHosting.net">
Badly needed your help. Thank you
I have encountered this error before. I managed to build the solution by deleting some 3rd party dlls in the bin folder. I am still not sure what is happening behind the scenes but it worked. :D
Have a look on this http://forums.asp.net/p/939729/1121085.aspx. There several post on related exception, might be able to help you.
Related
Hoping someone can help, ive just updated some nuget packages (from .net core preview to 3) ran a build and now get an error saying:
The type name 'SqlConnection' could not be found in the namespace. This type has been forwarded to assembly Consider adding a reference to that assembly.
As you can see from the image below i have got the names in there. but i believe the grey means that it doesnt think its using it? and im getting the error.
Any ideas on how to fix the issue?
Thanks
I have just started up a new project and seem to be getting a compiler error from one of the files generated by Visual Studio. This view is accessible and readable by the current solution and I'm not quite sure how to go about solving this.
The error message states that you have a malplaced "=" inside the "Index.cshtml"-file. Find it and remove/replace it and it should be ok!
I need to use the WebClass component from VB6 and when I try to create a new project in my machine (IIS Application) and execute it, it simply doesn't run. I get the error:
WebClass Runtime (0x800A4002)
An unspecified error has occurred
\myfolder\WebClass1.ASP, line 14
I also try to compile the solution and register the DLL in windows XP but doesn't seem to make any difference.
Has someone experienced something like this before? Any help?
I have a weird issue. I have a VS 2010 .Net 4.0 Web Site (not web app) that runs on IIS 7.5.
When I build the site, I'm getting errors like the one in the title. Normally, this would be straightforward to fix - just add a reference.
In this case, I already have a reference to System.Core.Dll (4.0). I have "using System.Linq" declared.
If I fully quality my references to IQueryable (e.g. System.Linq.Iqueryable), autocomplete resolves it perfectly.
All my folders are read/write enabled.
I'm not sure what else to check.
Maybe one of my fellow Overflowers can help? :-)
TIA!
Ensure that the Target Framework is set to ".Net Framework 4" in the property pages
I found the error...it seems that there was an error in an upstream web.config that was causing my build to fail. I wish I knew why the symptoms manifested the way they did, but I'm building now. :-)
Thanks to all who answered and tried to help.
Pre-Problem: our office was hit by a worm due to a corporate patching oversight, and the boys in the lab repaved my machine. I needed to re-install all my development tools (Visual Studio 2005, SP1, and the Web Application Project Setup patch) again. The following problem did not occur before this event.
I've been working on an ASP.NET web application project for several months now. I've been editing, debugging, etc without a problem. Then, I added a single line of code, ran it in Debug and got this error:
System.Web.HttpUnhandledException:
Exception of type 'System.Web.HttpUnhandledException'
was thrown.
System.IO.FileLoadException: The given assembly name
or codebase was invalid. (Exception from HRESULT: 0x80131047)
I uncommented the new code, built the project and ran in debug again, but got the same error.
New Code:
Me.frm.btnSubmitChanges.Attributes.Add("onclick", "javascript:return validateSubmit();")
The only way I've been able to fix this is to Clean, then Rebuild the project. I haven't been able to trap where it's happening using breakpoints.
It's happened a couple times in the last few days. What should I be looking at to fix this?
Thank you!
Have you tried to enable Fusion Logger to see if it's an assembly that is failing to load? In C# you can tell the debugger to break at any exception (There's a command you can add by customizing the tool bar called Exceptions). I'm not sure if VB has this but I would assume they do. Can you tell it break on FileLoadException and that might help you understand what's going on.
The line of code you added is pretty innocuous. When you add the code it breaks, have you then done a clean build with that line of code still in and does it work or not?
I did run the Fusion Logger, but did not get any results when the exception occurred. I tried all 4 settings.
The new line of code runs fine after a clean/rebuild.
I haven't used the break on all exceptions before; I'll see if I can find it.