473,397 Members | 1,969 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,397 software developers and data experts.

Problem calling assembly which references another assembly from an asp page

Hi,

I've been working on a problem for the last couple of days trying
everything ive found but with no luck. The problem is:

I have create a com callable .net assembly which is called from an asp
page. This works fine until the assembly that uses another third-party
assembly is accessed. The following error occurs:

Could not load file or assembly 'PDFlib_dotnet, Version=6.0.2.2,
Culture=neutral, PublicKeyToken=af0805f2b25bb299' or one of its
dependencies. The system cannot find the file specified.

This is one thing to point out and that is it works on my developement
machine, but not on the production machine, so its more than likely a
deployment issue. I have copied the PDFLib_dotnet assembly to several
places that it may be trying to access it from, but with still no joy.

Has anyone encountered this before and have found a solution ? What
should i check to make sure all the files are in there correct
locations ?

Many thanks.

Christian.

Mar 3 '06 #1
3 1574
Is PDFLib_dotnot properly included in your application or registered in
the Global Assembly Cache on the production machine?

-Darren Kopp
http://blog.secudocs.com/

Mar 3 '06 #2
Hi,

Some more info:

The following error is recorded in the Event Log of the production
machine:

The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: Unable to
open shim database version registry key - v2.0.50727.00000.

Mar 3 '06 #3
Hi Darren,

The PDFLib_dotnet was added in the usual way (ie, added as a reference
in VS2005) on my local machine. Yes i did put it in the GAC on the
production machine.

Thanks.

Mar 3 '06 #4

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

Similar topics

15
by: Ken Allen | last post by:
I have been developing a suite of assemblies over the past couple of weeks, and this afternoon somethign started misbehaving. If I do not run the IDE and compiler the code from the command line,...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
2
by: john | last post by:
Maybe I haven't had that "a-ha" moment yet, but I think the new approach to web projects is a step in the wrong direction. My main beef is that control over the assembly generation process has...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
7
by: Bonggoy Cruz | last post by:
I was able to convert our web application using the web project option (still have a lot of problem when converting to a vs2005 web site). It run without a problem on my machine. I deployed to...
1
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been...
19
by: Larry Smith | last post by:
Hi there, When I run the following on my app's primary thread: System.Type.GetType("System.Windows.Forms.Form") It works as expected. If I then launch a thread via the "BackgroundWorker"...
0
by: Fred | last post by:
Is there is a better newsgroup for this question? I am having a problem linking assemblies into one using Dotfuscator Pro 4.0. The problem occurs when linking the following into one exe:...
8
by: Derek Hart | last post by:
I am unclear about what all the requirements are to call a simple vb.net application, installed in the GAC, from COM (such as writing vba in Word to call the dotnet dll). I believe I have...
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
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
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...
0
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
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,...
0
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...

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.