473,498 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help - Configuration Error

Dan
Hi everyone,

I have a web application that was built in .net. I received the source
code and the DLL files, compiled the application, and when I run it on
IIS, I get the following error.

Now, I think I know what may be causing the problem. The project
required a DLL called Trinet.DLL, This DLL was not included with the
source code, but I had one called Trinet.v1.dll, so I renamed the DLL
to Trinet.DLL, re-added the reference and the project compiled fine..
and it appears my error is centered around this DLL File.

Could the following error be caused by me renaming this DLL file? Is
there some type of security features that prevents the renaming of DLL
files? If not, what could cause this error?

I am running Windows XP Pro with SP2...

Thanks in advance,

Dan



Configuration Error

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: The located assembly's manifest definition with
name 'TriNet.Data' does not match the assembly reference.

Source Error:
Line 196: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
Line: 198

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'TriNet.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = TriNet.Data
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/BCC
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TriNet.Data
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bcc/ea06619a/db7c9567/TriNet.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bcc/ea06619a/db7c9567/TriNet.Data/TriNet.Data.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/BCC/bin/TriNet.Data.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

Nov 19 '05 #1
1 1383
> Could the following error be caused by me renaming this DLL file? Is
there some type of security features that prevents the renaming of DLL
files? If not, what could cause this error?
Sure could. Not a security feature, but a Reflection feature. The assembly
contains meta-data describing itself. Your machine.config entry must match
the information in the DLL.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Dan" <dt*******@cogeco.ca> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com... Hi everyone,

I have a web application that was built in .net. I received the source
code and the DLL files, compiled the application, and when I run it on
IIS, I get the following error.

Now, I think I know what may be causing the problem. The project
required a DLL called Trinet.DLL, This DLL was not included with the
source code, but I had one called Trinet.v1.dll, so I renamed the DLL
to Trinet.DLL, re-added the reference and the project compiled fine..
and it appears my error is centered around this DLL File.

Could the following error be caused by me renaming this DLL file? Is
there some type of security features that prevents the renaming of DLL
files? If not, what could cause this error?

I am running Windows XP Pro with SP2...

Thanks in advance,

Dan



Configuration Error

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: The located assembly's manifest definition with
name 'TriNet.Data' does not match the assembly reference.

Source Error:
Line 196: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
Line: 198

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'TriNet.Data' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = TriNet.Data
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/BCC
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TriNet.Data
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bcc/ea06619a/db7c9567/TriNet.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bcc/ea06619a/db7c9567/TriNet.Data/TriNet.Data.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/BCC/bin/TriNet.Data.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

Nov 19 '05 #2

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

Similar topics

2
10373
by: David Elliott | last post by:
I am creating a configuration class to read / write a standard configuration file. <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ConnectionString"...
12
26768
by: Kevin Farless | last post by:
Hi all, I'm having trouble viewing any .aspx pages on my hosting company's server. The server is a new box running Windows Server 2003 default installation. I'm the first client to try using...
0
1294
by: Kamal Dhingra | last post by:
Hi Guys, I am developing an asp.net application .In error handling , I have 2 web.congif files ,one is in Web(which is the virtual directory) ,other i have created in a folder in Web/Admin. The...
4
1469
by: space turtle | last post by:
this is the error i get... when i got to www.hotmail.com Server Error in '/' Application. ------------------------------------------------------------------------ -------- Runtime Error...
20
2033
by: RWC | last post by:
Hi Folks, I have a windows 2000 server installation, IIS is running and the ASP.NET 1.1 SDK has been installed. I'm reading a book on ASP.NET and the lessons call for the first line to read <%@...
6
4957
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
4315
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
2
1307
by: bimperial | last post by:
Hello folks, My first time here and I'm coming from the Coldfusion side of web applications ;) but I've inherited a task to trouble shoot some issues with some so-called simple asp.net stuff ;)....
1
2083
by: psantosh12 | last post by:
Hello Frnds Please need help to resolve error.......... it is very very urgent........ The error is Runtime Error Description: An application error occurred on the server. The current custom...
12
2423
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
7125
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
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7205
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
7379
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...
1
4910
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
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
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.