473,394 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

dll not found problem

Guy
i have written an application that has one exe(main assembly) and about 5 dll's containing forms and other bits n pieces
I built an installation package for it using vs.net

i installed it on our windows 2003 server and chose 'Install For Everyone' and the installation was successful

i tested the app myself (i am in the administrators group) and it worked fine

i then set up a user who was in the domain users group (a limited user basically) and configured the user so this program would launch when they logged in. this all works fine, however sometimes an error occurs for this user and the message is 'File or assembly name HCS.SectorManager.UI.dll, or one of its dependencies, was not found. File name: "HCS.SectorManager.UI.dll"' this is odd as the dll is right next to the exe in the folder where it was installed

here is the full exception details that i logged..

System.IO.FileNotFoundException: File or assembly name HCS.SectorManager.UI.dll, or one of its dependencies, was not found
File name: "HCS.SectorManager.UI.dll
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm
at HCS.SectorManager.UI.frmMainMenu.lvwMain_ItemActiv ate(Object sender, EventArgs e
at System.Windows.Forms.ListView.OnItemActivate(Event Args e
at System.Windows.Forms.ListView.WmReflectNotify(Mess age& m
at System.Windows.Forms.ListView.WndProc(Message& m
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam

=== Pre-bind state information ==
LOG: Where-ref bind. Location = C:\Documents and Settings\cabbott\HCS.SectorManager.UI.dl
LOG: Appbase = c:\program files\hcs\sector managerLOG: Initial PrivatePath = NUL
Calling assembly : (Unknown)
==

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind)
LOG: Attempting download of new URL file:///C:/Documents and Settings/cabbott/HCS.SectorManager.UI.dll

what am i doing wrong here? i have given access rights on the application directory now incase this was the problem
Jul 21 '05 #1
0 1019

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rutger Claes | last post by:
Code and problem are from PHP5: When I execute the following piece of code, the DomException is thrown with a message: Not Found Exception. I assume this means that the node I extracted from the...
5
by: Jody Greening | last post by:
Transforming with XSLT, Grouping elements until difference found. I am seeking some help with the following problem, I am fairly new at XSLT transformations, and my problem may lie in looking at...
0
by: Jody Greening | last post by:
Transforming with XSLT, Grouping elements until difference found. I am seeking some help with the following problem, I am fairly new at XSLT transformations, and my problem may lie in looking at...
0
by: Federico Hernández Arce | last post by:
Hi group, first sorry for my poor english We have a vb.net app, run whit any problem in our pcs (whit vs.net 2003 installed). The app have a ocx that draw a binary tree (the only external...
14
by: NormD | last post by:
We have a client-server app using Web Services on an IIS machine. The trace below shows that .NET is searching around for some things (e.g., SystemDrawing.DLL and System.Drawing.EXE) and taking a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.