Click here to Skip to main content
15,905,614 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

When I build my project,It shows as "Build succeeded".But when I am running the page,It shows the below error::
Could not load file or assembly 'eWorld.UI' or one of its dependencies. The system cannot find the file specified.
Source File: /Athena/Staff/ExamProcess.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'eWorld.UI' could not be loaded.


=== Pre-bind state information ===
LOG: User = IIS APPPOOL\ASP.NET v4.0
LOG: DisplayName = eWorld.UI
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: eWorld.UI | Domain ID: 2
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/inetpub/wwwroot/Athena/Staff/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\Athena\Staff\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\Athena\Staff\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.


Even though the dll exists still it is showing the above error.Please help regarding this!!
Posted
Comments
Richard C Bishop 24-Apr-13 11:21am    
I would remove the reference and then add it again.
priya9826 24-Apr-13 11:28am    
I have done that.But still I am having the same issue.
Sergey Alexandrovich Kryukov 24-Apr-13 13:24pm    
I guess, you don't have a source code for this assembly. If you did, you would prefer adding it to the solution. So, where is the assembly you are trying to reference? GAC or not? If not, do you know its location? How exactly do you reference it?
—SA
priya9826 24-Apr-13 16:43pm    
I have downloaded the eworldui.dll from the internet.Previously,its working fine but not now.I dont know the exact reason.
David_Wimbley 25-Apr-13 22:13pm    
Can you try forcibly placing the DLL in your bin\debug or bin\release director and running the application from there and seeing if it blows up? Or is the DLL already in those directories?

Also, are you running this from source or running it from IIS/it being deployed?

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