Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an unsolvable problem that occur after last post on The specified module could not be found. (Exception from HRESULT: 0x8007007E) When include .dll file.[^] was solved and work fine in my notbook with Windows7 and MS Visual Studio and IIS7.
This problem seems to be similar to last post but it occurs on the real sever that is windows server 2003 with no MS Visual Studio.

the error is below.

C++
Server Error in '/webservices' Application.

The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54


please help!
ม่อนวิวงาม
Posted
Updated 15-Oct-13 21:44pm
v3
Comments
StM0n 10-May-13 6:22am    
My guess would be, that you include something from VS... could you check the assemblies on your target machine?
jack_th 14-May-13 23:55pm    
Thank you for all comments. But..

The stack traces is complete.

Is it (the assembly you mean) a Visual Studio's assembly that is missing?
If it is, will I install visual studio to the server computer?
Sandeep Mewara 10-May-13 13:24pm    
Not sure if stack trace is complete or not... it looks like some assembly is missing. Make sure all needed/referenced 3rd party files are there.
Sunasara Imdadhusen 21-May-13 3:48am    
do not copy paste entire stack trace error over here...
jack_th 21-May-13 22:00pm    
Ok. Thanks and please apologize for that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900