I tried updating my WCF service references in my web project and received this strange error:
Error 265 Missing partial modifier on declaration of type 'xyz'; another partial declaration of this type exists Reference.cs
This mean't I had a class in the service or the web projects that are named the same but are not set as partials. The problem was in the service project the complex object in my EF 4 entities did not generate a partial class when referenced in the References.cs file of the web project.
I had to configure the service reference to reuse the System assembly, then update my reference again and everything worked - strange error :(
This post helped me a bit http://stackoverflow.com/questions/8542514/wcf-reference-cs-suddenly-not-including-classes
Friday, 28 September 2012
WCF Service Reference Error
Labels:
Classes,
declaration,
error,
Missing,
of,
on,
partial modifier,
Partials,
Reference,
Reference.cs,
service,
type,
update,
wcf
Wednesday, 26 September 2012
Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.
If you receive an error in FireFox like this:
Exposing chrome JS objects to content without
__exposedProps__ is insecure and deprecated. See
https://developer.mozilla.org/en/XPConnect_wrappers for more information.
It is most likely a problem with a plugin or 3rd
party JS file. The file/plugin in question needs to be updated to stop this
error from happening. See:
Hope this helps.
Shane
Subscribe to:
Posts (Atom)