C
commanderjason
I have a webservice written in .net 2.0
I am able to view the web service info and wsdl without issue.
When I execute one of the methods directly from the webservice page
generated by .net I get an error.
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0012: The type 'System.Web.Security.MembershipUser' is defined
in an assembly that is not referenced. You must add a reference to
assembly 'System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.
The project does have a reference to the System.Web assembly.
Everything compiles fine.
I have tried rebuilding the app, repairing the .net framework.
Everything I can think of.
Any help is appreciated.
I am able to view the web service info and wsdl without issue.
When I execute one of the methods directly from the webservice page
generated by .net I get an error.
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0012: The type 'System.Web.Security.MembershipUser' is defined
in an assembly that is not referenced. You must add a reference to
assembly 'System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'.
The project does have a reference to the System.Web assembly.
Everything compiles fine.
I have tried rebuilding the app, repairing the .net framework.
Everything I can think of.
Any help is appreciated.