Re: Error

Tech-Archive recommends: Fix windows errors by optimizing your registry



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






.



Relevant Pages

  • RE: Add a server to SBS R2 using ConnectComputer
    ... server in the SBS network, ... Let's try following steps to see if we can add the computer to SBS network ... Microsoft Online Newsgroup Support ... It looks like from a previous thread I may be missing some. ...
    (microsoft.public.windows.server.sbs)
  • RE: Add a server to SBS R2 using ConnectComputer
    ... server in the SBS network, ... some virtual web sites are missing. ... Let's try following steps to see if we can add the computer to SBS network ... It looks like from a previous thread I may be missing some. ...
    (microsoft.public.windows.server.sbs)
  • RE: Add a server to SBS R2 using ConnectComputer
    ... server in the SBS network, ... Let's try following steps to see if we can add the computer to SBS network ... Microsoft Online Newsgroup Support ... It looks like from a previous thread I may be missing some. ...
    (microsoft.public.windows.server.sbs)
  • Re: Missing Menus
    ... I totally rebuilt the server, ... and I still have no menus. ... The menus are missing from all templates. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Member server not in network nhood.
    ... Is there anyway to capture the annoucning broadcast when the server boots. ... >> System Missing from its Local Subnet Master Browser's List ... >> also be missing from all other browse lists. ...
    (microsoft.public.windows.server.networking)