Last post Dec 16, 2011 07:00 AM by WojtekB
Oct 29, 2011 08:48 PM|thepoobear|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|Ken Tucker|LINK
Did you try adding a reference to system.web.applicationservices?
Oct 29, 2011 10:06 PM|thepoobear|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|Decker Dong - MSFT|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|thepoobear|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|Decker Dong - MSFT|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|thepoobear|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|cts-mgraham|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|thepoobear|LINK
Done, doesn't seem to make any difference. Same 79 errors as before.
Nov 03, 2011 10:13 PM|hans_v|LINK
I'm not sure which Membership Provider you downloaded? If you want an Access Membership provider, read ths:
Nov 05, 2011 11:21 AM|cts-mgraham|LINK
In the first post you mention a sample that you are using and refer to "the above page". Maybe I'm missing something, but I don't see the sample you are referring to. Can you reply with a link to the sample you are using?
Dec 16, 2011 07:00 AM|WojtekB|LINK
Check if your project is using .NET Framework 4.0. It is common problem that if it is set as Framework 3.5 than you can not see references from Framework 4.0.