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

All web projects crash trying to find uninstalled assembly

I was having a bit of an issue with assembly references, but now it
seems to have spiraled even further out of control. Not sure what I
did to break it, any help is appreciated.

Basically, I have this dll, which was a Web Application Project with
some classes in it. I was trying to find a way to make it be globally
accessible to several apps. Amongst the many things I tried, I
installed it in the GAC. I still didn't have quite the flexibility I
wanted, so I kept looking.

Today, I decided to just accept the fact that I'll have to deal with a
non-ideal solution to the problem of sharing the assembly, so I
started in, building actual application logic in the WAP classes. But
now, when I reference the new DLL from my web site, it says the
following:

"Could not load file or assembly 'WTC2, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=c57fd84f37c9b82e' or one of its
dependencies. The system cannot find the file specified."

So I check around, make sure the old DLL is no longer registered in
the GAC (it's not), and make sure I have no references to the WTC2 dll
anywhere in my project (I don't).
Odd behavior. And it continues, and I can't figure out why or where
that DLL is being referenced.

Even more odd, the same error has begun occurring on other sites,
including completely new, default, clean web projects (tried
WebAppProjects, WebSites, AJAXWebApps, etc). They'll compile, but at
runtime they give me the same error (missing WTC2.dll). They very
definitely do not have any reference to that DLL (none that I set up,
anyhow).

Same behavior in IIS and in the VS web server.

So why/how is this (nonexistent) DLL somehow being automatically
referenced from my projects, even brand new ones?

It doesn't seem possible, and I'm sure the error is mine, but I would
very much like to know what it is.

Thanks,

Taylor

Mar 13 '07 #1
1 1085
On Mar 13, 1:44 pm, "tcc.se7en" <tcc.se...@gmail.comwrote:
I was having a bit of an issue with assembly references, but now it
seems to have spiraled even further out of control.
[snip]
So why/how is this (nonexistent) DLL somehow being automatically
referenced from my projects, even brand new ones?

It doesn't seem possible, and I'm sure the error is mine, but I would
very much like to know what it is.

Thanks,

Taylor

Fixed. For some reason, possibly due to me not using gacutil to
uninstall the DLL at some point, there was a reference to the DLL in
the global web.config (C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\CONFIG\web.config). I removed it, and I'm no longer
getting the error.

FYI..

Thanks,

Taylor

Mar 13 '07 #2

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

Similar topics

4
by: arizvi | last post by:
Hi, My program crashes when it reaches a certain line. There is nothing wrong with that particular line as I have changed it to something simple like i=0, and it still crashes. If I remove...
10
by: PeterW | last post by:
I find in the last 3/4 days that I can't open web applications using VS.net 1.1 for enterprise architiect. The project I am currently working on just refuses to open and hangs. I try using IIS...
7
by: Joe | last post by:
Hello All: I have a solution with four projects (UI, Business, Database and Messaging). UI has references to Business and Messaging; Business has a refernce to Database; Messaging has a...
2
by: scarleton | last post by:
A coworker and I have spent the last day and a half trying to track down this bug in our code. We found the solution and thought we might post it to help others out... The setup: Class...
15
by: Trapulo | last post by:
Very often my VS2005 pro crashes after a debug. I run ASP.NET debug, and all works well. Then I stop it, and all it's also ok. Then, when I try to edit some code, it crashes and I need to kill it,...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
0
by: Larry Rebich | last post by:
Recently I have encountered a number of problems using VS2005 Standard Edition. For some unknown reason I am not able to load any project anymore. I've been using the product for some months. ...
5
by: Ohad weiss | last post by:
Hi all, I have a class in project A. At the same solution, I have another project - named project B. I want to write a piece of code in that class from project B that finds the class in...
12
by: Jeff Gaines | last post by:
I am a hobbyist programmer, using C# and VS2008 and writing desktop apps. I am trying hard to take a modular approach to avoid re-inventing the wheel but I'm finding it a bit frustrating. For...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.