473,507 Members | 9,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

need diagnosis: problem loading assemblies

I have made a web application that is giving me an error in loading
assemblies. It reports file not found (error message below). I know I have
the .dll in the .bin directory for the application.:

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'epicFlashControl' or
one of its dependencies. The system cannot find the file specified.

If I can identify the simple cause for this, then I'm done: feel free to
suggest the solution for dummies because I may have made a newbie error
here. Are there any files that should reference the load locations of files
like "epicFlashControl" (i.e. is it possible I inadvertantly tore something
necessary out of web.config?)

I notice a couple of other things that may help us get to the bottom of
this. The stucture of the URL that throws this error is as follows:

http://machinename.subdomain.domain...._overview.aspx

"appRootDir" is defined as an application in IIS. I have a custom domain
name set up that points to appRootDir via IIS Host Header mapping.
Interestingly the following URL will load the page, though other things
break due to the alteration of the directory structure:

http://www.customdomainname.org/dir2..._overview.aspx

The third data point is that if I go into IIS, expand "Default Web Site",
find the directory that is appRootDir, and enable it as an application, then
my application WILL load the assembly using the first URL I mentioned, and
my file references work OK. Unfortunately, nesting/duplicating an app in
this way (remember, appRootDir is also defined as a standalone app) appears
to break other things.

There's something I'm missing here, and a few things I need to learn,
obviously. Can anyone help?

Thanks,
-KF
Aug 1 '06 #1
1 1229
Hi,

To use local compiled code, you must include a \Bin directory directly
beneath your application root. And you must create application in IIS for
the parent folder of \Bin to make it an application root.

#ASP.NET Web Site Layout
http://msdn2.microsoft.com/en-us/library/ex526337.aspx

#Creating a Directory Structure for an ASP.NET Application
http://www.microsoft.com/technet/pro.../Library/IIS/2
3b7ba37-f5be-420f-95b8-8f9dd1015174.mspx?mfr=true

Hope this helps. Please feel free to post here if anything is unclear.
Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 2 '06 #2

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

Similar topics

0
1600
by: dale cyr | last post by:
nick: hope i'm not stating the obvious for you, but you *are* aware, i presume, that your loading app wants to find the loaded app in the loading app's runtime directory, or a sub directory of...
2
3106
by: Foehammer | last post by:
Hello, I'm trying to load an assembly dynamically using an app domain. This is a proof-of-concept for a larger project, so please excuse the lame class names. TestLib is the dll where all the...
1
5551
by: | last post by:
Hi, I'm trying to load a list of types from a dynamically loaded assembly, e.g: Assembly a = Assembly.LoadFrom(path); a.ModuleResolve += new ModuleResolveEventHandler...
4
4186
by: Barry Kelly | last post by:
I'm designing an application framework which will, amongst other things, live in an assembly hosted in the ASP.NET worker process, servicing webservice requests. Here's the scenario: APPFX is...
4
5679
by: ali.jan | last post by:
Hi, It is trivial to load an assembly in a new Application Domain. Is there any way of loading an assembly in a new process? I tried using the Process class like this: Process p = new...
2
2621
by: jnick | last post by:
I have the predicament of having to load several assemblies on the fly and when I do so, I get an exception stating that one of the referenced assemblies cannot be found. Is there any way to...
5
1765
by: Mantorok | last post by:
Hi I have a project that references one of our components, is there a way in ..Net to get a list of references that the application is depending on? The reason for this is so I can load...
8
3113
by: =?Utf-8?B?TWFyaw==?= | last post by:
We've got a wierd failure happening on just one machine. One part of our product uses a 3rd party search implementation (dtSearch). DtSearch has a native core (dten600.dll), late-bound, and a...
3
2023
by: Matthias S. | last post by:
Hi there, i'm planning on creating a Windows Service, which will have a simple loop in its OnStart override. In this loop, I dynamically want to load (job) Assemblies which have a single class...
0
7223
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
7314
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,...
1
7030
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...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.