A namespace does not directly contain members such as fields or methods
-
Hello All, I am getting one error on server "A namespace does not directly contain members such as fields or methods" When i am requesting this page on server. While page is working fine on Localhost. Can any one suggest me what kind of error is this and why this error is coming. Thanks and Regards Avesh Agarwal
-
Hello All, I am getting one error on server "A namespace does not directly contain members such as fields or methods" When i am requesting this page on server. While page is working fine on Localhost. Can any one suggest me what kind of error is this and why this error is coming. Thanks and Regards Avesh Agarwal
I think that the path of one of assemblies that are using in your site is wrong.. For example: you are referencing the dll from C:\Program Files\AA\. but this path might not be available at your server.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
Hello All, I am getting one error on server "A namespace does not directly contain members such as fields or methods" When i am requesting this page on server. While page is working fine on Localhost. Can any one suggest me what kind of error is this and why this error is coming. Thanks and Regards Avesh Agarwal
you might have left some opening or closing brackets.Just check!!!! This is the only reason you r getting this error
When you fail to plan, you are planning to fail.
-
I think that the path of one of assemblies that are using in your site is wrong.. For example: you are referencing the dll from C:\Program Files\AA\. but this path might not be available at your server.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
Hi,
Michael Sync wrote:
I think that the path of one of assemblies that are using in your site is wrong.. For example: you are referencing the dll from C:\Program Files\AA\. but this path might not be available at your server.
He is right. So you can do one thing. Just make one folder in your application and name it as "DllFiles" and put all Dll's in this folder and give reference from this folder only. Its really a good idea to set Dll's. Hope it will help you.
Thanks, Sun Rays To get something you must have to try once. My Articles