Re: Error
- From: "Daniel" <DanielV@xxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 19:10:26 +0100
After you copile find the bin folder it put your files in. Make sure all the
dll's in there are going on to your server.
The reason you are gtting that error is one of your dll's is not on the
server but it is on your local machine. If the dll is missing then a codefil
within it is missing, and so missing namespace.
"esha" <esha@xxxxxxxxxxxxxx> wrote in message
news:ePiiZwN3GHA.3508@xxxxxxxxxxxxxxxxxxxxxxx
I created WEB app in C# and it runs fine on my local machine. When I moved
everything to the hosting server I've got an error:
Compiler Error Message: CS0246: The type or namespace name 'Photo' could
not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 186: public static List<Photo> GetPhotos(int AlbumID)
I have public class Photo in the project.
If the application runs on my local machine without any reference then why
and how should I reference it when it runs on the server?
Thank you
Esha
.
- References:
- Error
- From: esha
- Error
- Prev by Date: Re: BinaryFormatter Version incompatibility.
- Next by Date: ObjectDataSource Question
- Previous by thread: Re: Error
- Next by thread: Re: Error
- Index(es):
Relevant Pages
|