Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 16, 2011 07:00 AM by WojtekB
Oct 29, 2011 08:48 PM|LINK
The sample code on the above page produces 79 errors, at the bottom of the page is the following message, which I assume is answered somewhere, but I can't find the answer anywhere!
I'm getting 79 errors all similar to this
Oct 29, 2011 09:47 PM|LINK
Did you try adding a reference to system.web.applicationservices?
Oct 29, 2011 10:06 PM|LINK
Yes, but I don't know how to do that, please be just a bit more specific.
System.Web.ApplicationServices is obviously not correct.
Can't see why that would be missing from the sample code anyway.
Oct 31, 2011 01:29 AM|LINK
I think you should refer "System.Web.ApplicationServices.dll" into your proj before you use Import "System.Web.ApplicationServices".
Please right click the gray folder called "References……" and choose "Add Reference....", and then choose "System.Web.ApplicationServices".
Then you can import it by using:
Oct 31, 2011 11:14 PM|LINK
Ok, reference added, but imports line with "system.web." will not auto complete so reference not found as indicated by the following error:
Warning 1 Namespace or type specified in the Imports 'System.Web.ApplicationServices' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element
name doesn't use any aliases. C:\Users\Barry\Documents\Visual Studio 2010\WebSites\WebSite6\App_Code\Class1.vb 15 9 C:\...\WebSite6\
any further advice??
the poo bear
Nov 01, 2011 12:53 AM|LINK
I've imported the namespace and everything goes well with me....
Which kind of application are you using? WinForm or WebForm or WebSite?
Nov 01, 2011 01:28 PM|LINK
I am using WebSite (web site), although I tried WebForm (project) but it did not seem to have the reference or could not place it.
Nov 02, 2011 03:08 PM|LINK
I don't know the sample you are referring to, but I'm pretty sure you need to install WCF (Windows Communication Foundation" to have those namespaces. Can you install
WCF and test? HTH
Nov 03, 2011 09:50 PM|LINK
Done, doesn't seem to make any difference. Same 79 errors as before.
Nov 03, 2011 10:13 PM|LINK
I'm not sure which Membership Provider you downloaded? If you want an Access Membership provider, read ths: