473,396 Members | 2,089 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,396 software developers and data experts.

ASP.Net 2.0 'Register' Issue

Hey All,

The code below worked fine in ASP.Net 2003:

<%@ Register TagPrefix="CustomValidators" Namespace="CustomValidators"
Assembly="MyAssembly" %>

Under VS 2005, I get the following error:

Could not load file or assembly 'MyAssembly' or one of its dependencies.
The system cannot find the file specified.

Any ideas?

Thanks,

TC
Jan 8 '07 #1
2 931
Have you got the MyAssembly.dll in the bin directory of your web application
(added it as a Reference in the solution explorer).

Luke

"TCook" <ge**********@yahoo.comwrote in message
news:eY**************@TK2MSFTNGP02.phx.gbl...
Hey All,

The code below worked fine in ASP.Net 2003:

<%@ Register TagPrefix="CustomValidators" Namespace="CustomValidators"
Assembly="MyAssembly" %>

Under VS 2005, I get the following error:

Could not load file or assembly 'MyAssembly' or one of its
dependencies. The system cannot find the file specified.

Any ideas?

Thanks,

TC

Jan 8 '07 #2
Hey Luke,

That's just it. It appears there is a catch 22 here. The 'MyAssembly' is
the actual name of the web app and this line of code is throwing the error
which prevents it from compiling.

Regards,

Todd

"Luke Smith" <stuffNOSPAM@lukesmithDOTnetwrote in message
news:22**********************************@microsof t.com...
Have you got the MyAssembly.dll in the bin directory of your web
application (added it as a Reference in the solution explorer).

Luke

"TCook" <ge**********@yahoo.comwrote in message
news:eY**************@TK2MSFTNGP02.phx.gbl...
>Hey All,

The code below worked fine in ASP.Net 2003:

<%@ Register TagPrefix="CustomValidators" Namespace="CustomValidators"
Assembly="MyAssembly" %>

Under VS 2005, I get the following error:

Could not load file or assembly 'MyAssembly' or one of its
dependencies. The system cannot find the file specified.

Any ideas?

Thanks,

TC


Jan 8 '07 #3

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

Similar topics

0
by: Akram | last post by:
When I try to register a ATL dll which is made using vc6.0 is failing to register in .net 2003 installed machines. What may be the reason. We checked all dependencies but we are not able to sort...
0
by: Howard Kaikow | last post by:
Requiring a Passport account to register software is an unnecessary complication. I have tried using several passport accounts. When I then try to register .net 2003, I enter the passport...
16
by: alakesh.haloi | last post by:
Hi All Is there a limit on the number of register variables that can be declared and initialized in a C program on a particular hardware platform? If you define more number of register variables...
29
by: orium69 | last post by:
hi everyone, i'm wondering if there is a way to have sure that a variable is allocated in the cache, after its declaration with "register"? Tks!
33
by: Snis Pilbor | last post by:
With the "as if" rule in play, doesn't that effectively render the "register" keyword completely useless? Example: I make a silly compiler which creates code that goes out of its way to take a...
2
by: raghu | last post by:
#include<stdio.h> register int i=9; int main(void) { register int i=8; int *p; p=&i; printf("%d",*p); return 0; }
5
by: muppetjones | last post by:
I'm really new to the whole networking side of things, so I don't know the backend very well. I wrote a series of PHP/AJAX scripts to allow a user to create a login account, but apparently my script...
65
by: Spiros Bousbouras | last post by:
Has anyone found that declaring variables register affected speed of execution ? If yes on what hardware and around which year ?
7
by: RANNA | last post by:
Say the CPU has only AL, BL, CL, DL or eight 8 bit registers, and if want to declare 10 register variables in my code, is it possible to do it?
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.