471,339 Members | 1,370 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 software developers and data experts.

Unable to load DLL 'webengine.dll'

Hello. We are having a problem here trying to compile C# applications. Only
one developer has a problem where they attempt to compile the application and
the compiler complains about being out of memory and unable to find a dll -
webengine.dll.

They have tried rebooting, gettling latest, and a few other things. We can
not determine what is at the heart of this problem. They have Visual
Studio.Net 2005 with .Net Framework 2.0 SP1.

The significant event today was that they installed ASP.NET AJAX Extensions
1.0. They had other issues during compilation that crashed the visual studio
environment all together. We removed ajax references from our web application
and the problem changed after they uninstalled the extensions.

The closest thing that I can find to this problem is perhaps
http://support.microsoft.com/kb/947461 with the mention of webengine.dll and
a memory issue. However, we are using the built-in web server for vs.net
rather then IIS. Also, a patch is not supplied.

In addition, we are uncertain why this problem is occuring on only one of
three developers machines with the same configurations. There development
environment is actually taking up a lot less memory then my own and they have
a lot more free space available in both memory and hard drive space.

The current problem results when they compile the solution (or individual
projects). They see the following errors.
Error 1 Unable to load DLL 'webengine.dll': The specified module could not
be found. (Exception from HRESULT: 0x8007007E)

Error 2 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_BusinessObjects

Error 3 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_MT_BusinessLogic

Error 4 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_Notifications

Error 5 Cannot copy assembly 'ProductName_BusinessFramework.dll' to file
'C:\Projects\ProductName\ProductName_DEV\ProductNa meMasterSolutionDev\ProductName_MT_Web\Bin\Product Name_BusinessFramework.dll'.
Unexpected error encountered. It is recommended that you restart the
application as soon as possible.

Error: Not enough storage is available to process this command.
File: vsee\lib\io\cmappedviewoffile.cpp
Line number: 147 C:\...\ProductName_MT_Web\

Error 6 Could not get dependencies for project reference
'ProductName_BusinessObjects' C:\...\ProductName_MT_Web\

Error 7 Could not get dependencies for project reference
'ProductName_MT_BusinessLogic' C:\...\ProductName_MT_Web\

Error 8 Could not get dependencies for project reference
'ProductName_Notifications' C:\...\ProductName_MT_Web\
Jun 27 '08 #1
3 5367
I'd probably start with trying to build each project one at a time rather
than the whole solution, it might help locate the problem. Cleaning the
solution wouldn't hurt either just to get all the assemblies cleared out of
their respective bin folders. I can't see AJAX causing this, we had no
problems at all when we upgraded our sites. The stack trace shows that
MSBuild is having problems locating references for your application due to
the machine being out of memory. Check task manager when the problem is
happening to see what's taking up all their resources. Perhaps there's a
virus on the machine that's causing it.

If push comes to shove, just format and rebuild the machine with a fresh
copy of Windows. A little extreme yes, but it always works.

"Lewis Moten" <Lewis Mo***@discussions.microsoft.comwrote in message
news:96**********************************@microsof t.com...
Hello. We are having a problem here trying to compile C# applications.
Only
one developer has a problem where they attempt to compile the application
and
the compiler complains about being out of memory and unable to find a
dll -
webengine.dll.

They have tried rebooting, gettling latest, and a few other things. We can
not determine what is at the heart of this problem. They have Visual
Studio.Net 2005 with .Net Framework 2.0 SP1.

The significant event today was that they installed ASP.NET AJAX
Extensions
1.0. They had other issues during compilation that crashed the visual
studio
environment all together. We removed ajax references from our web
application
and the problem changed after they uninstalled the extensions.

The closest thing that I can find to this problem is perhaps
http://support.microsoft.com/kb/947461 with the mention of webengine.dll
and
a memory issue. However, we are using the built-in web server for vs.net
rather then IIS. Also, a patch is not supplied.

In addition, we are uncertain why this problem is occuring on only one of
three developers machines with the same configurations. There development
environment is actually taking up a lot less memory then my own and they
have
a lot more free space available in both memory and hard drive space.

The current problem results when they compile the solution (or individual
projects). They see the following errors.
Error 1 Unable to load DLL 'webengine.dll': The specified module could not
be found. (Exception from HRESULT: 0x8007007E)

Error 2 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type
'System.OutOfMemoryException'
was thrown.
at
Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories
getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames,
GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_BusinessObjects

Error 3 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type
'System.OutOfMemoryException'
was thrown.
at
Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories
getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames,
GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_MT_BusinessLogic

Error 4 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type
'System.OutOfMemoryException'
was thrown.
at
Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories
getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames,
GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_Notifications

Error 5 Cannot copy assembly 'ProductName_BusinessFramework.dll' to file
'C:\Projects\ProductName\ProductName_DEV\ProductNa meMasterSolutionDev\ProductName_MT_Web\Bin\Product Name_BusinessFramework.dll'.
Unexpected error encountered. It is recommended that you restart the
application as soon as possible.

Error: Not enough storage is available to process this command.
File: vsee\lib\io\cmappedviewoffile.cpp
Line number: 147 C:\...\ProductName_MT_Web\

Error 6 Could not get dependencies for project reference
'ProductName_BusinessObjects' C:\...\ProductName_MT_Web\

Error 7 Could not get dependencies for project reference
'ProductName_MT_BusinessLogic' C:\...\ProductName_MT_Web\

Error 8 Could not get dependencies for project reference
'ProductName_Notifications' C:\...\ProductName_MT_Web\
Jun 27 '08 #2
Hi!
Just got similar problem, however not connected with memory. In my case
solution was simple: playing with .NET framework 2.0 Configuration tool I
changed PermissionSet for My_Computer_Zone from 'FullTrust' to 'Everything'.
After this I got the error Unable to load DLL 'webengine.dll' when I tried to
build my web app in VS 2005. Changing the permission back to 'FullTrust'
solved the problem.

Maybe it helps also in your situation...
Aug 14 '08 #3

Hi!
Just got similar problem, however not connected with memory. In my case
solution was simple: playing with .NET framework 2.0 Configuration tool I
changed PermissionSet for My_Computer_Zone from 'FullTrust' to 'Everything'.
After this I got the error Unable to load DLL 'webengine.dll' when I tried to
build my web app in VS 2005. Changing the permission back to 'FullTrust'
solved the problem.

Maybe it helps also in your situation...

"Lewis Moten" wrote:
Hello. We are having a problem here trying to compile C# applications. Only
one developer has a problem where they attempt to compile the application and
the compiler complains about being out of memory and unable to find a dll -
webengine.dll.

They have tried rebooting, gettling latest, and a few other things. We can
not determine what is at the heart of this problem. They have Visual
Studio.Net 2005 with .Net Framework 2.0 SP1.

The significant event today was that they installed ASP.NET AJAX Extensions
1.0. They had other issues during compilation that crashed the visual studio
environment all together. We removed ajax references from our web application
and the problem changed after they uninstalled the extensions.

The closest thing that I can find to this problem is perhaps
http://support.microsoft.com/kb/947461 with the mention of webengine.dll and
a memory issue. However, we are using the built-in web server for vs.net
rather then IIS. Also, a patch is not supplied.

In addition, we are uncertain why this problem is occuring on only one of
three developers machines with the same configurations. There development
environment is actually taking up a lot less memory then my own and they have
a lot more free space available in both memory and hard drive space.

The current problem results when they compile the solution (or individual
projects). They see the following errors.
Error 1 Unable to load DLL 'webengine.dll': The specified module could not
be found. (Exception from HRESULT: 0x8007007E)

Error 2 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_BusinessObjects

Error 3 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_MT_BusinessLogic

Error 4 The "ResolveAssemblyReference" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUn lessFileIO(Exception
e)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryFil eItem(ITaskItem
referenceAssemblyFile)
at Microsoft.Build.Tasks.ReferenceTable.SetPrimaryIte ms(ITaskItem[]
referenceAssemblyFiles, ITaskItem[] referenceAssemblyNames, ArrayList
exceptions)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute(FileExists
fileExists, DirectoryExists directoryExists, GetDirectories getDirectories,
GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata,
GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue
getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
at Microsoft.Build.Tasks.ResolveAssemblyReference.Exe cute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask (ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) ProductName_Notifications

Error 5 Cannot copy assembly 'ProductName_BusinessFramework.dll' to file
'C:\Projects\ProductName\ProductName_DEV\ProductNa meMasterSolutionDev\ProductName_MT_Web\Bin\Product Name_BusinessFramework.dll'.
Unexpected error encountered. It is recommended that you restart the
application as soon as possible.

Error: Not enough storage is available to process this command.
File: vsee\lib\io\cmappedviewoffile.cpp
Line number: 147 C:\...\ProductName_MT_Web\

Error 6 Could not get dependencies for project reference
'ProductName_BusinessObjects' C:\...\ProductName_MT_Web\

Error 7 Could not get dependencies for project reference
'ProductName_MT_BusinessLogic' C:\...\ProductName_MT_Web\

Error 8 Could not get dependencies for project reference
'ProductName_Notifications' C:\...\ProductName_MT_Web\
Aug 14 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Steve Richter | last post: by
4 posts views Thread by stine | last post: by
2 posts views Thread by antonyliu2002 | last post: by
4 posts views Thread by =?Utf-8?B?SnVhbiBEZW50?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.