.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Project builds for .NET 4.0 but not 4.0 Client Profile

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :.NET Framework
Hi, I'm converting some class library projects from .NET 2.0 to 4.0. I've gone through the wizard to get the solution and projects into Visual Studio 2010 and it builds. When I open the project properties for any of my class library projects and set the target framework to .NET 4.0 it still builds, but if I change it to .NET 4.0 Client profile, which is what I want, it doesn't. What is confusing me is that the errors are that a referenced namespace in one of my own class libraries doesn't exist. E.G. I have a class library named IGLT.SMO.Data. Its default namespace is IGLT.SMONET.Data with several classes in that namespace. A second class library named Common references IGLT.SMO.Data and uses it throughout. When I change Common to target .NET 4.0 Client Profile I get errors like "The type or namespace 'SMONET' does not exist in the namespace 'IGLT' (are you missing an assembly reference?)".   I'm not missing a reference or it wouldn't build for any framework. What am I missing?

View Complete Post

More Related Resource Links

Error while using Silverlight class library in .NET 4 Client Profile project


Failed to figure out where to post this problem.

I have two projects in solution: Silverlight 4 assembly and Console application targeted .NET 4 Client Profile. There's an interface in Silverlight assembly which has a return value typed IEnumerable<IPEndPoint>. In console application I'm trying to implement this interface. I have the following error compiling console application project: 'PeerToPeerNameResolver' does not implement interface member 'INameResolver.Resolve(string)'. 'PeerToPeerNameResolver.Resolve(string)' cannot implement 'INameResolver.Resolve(string)' because it does not have the matching return type of 'System.Collections.Generic.IEnumerable<System.Net.IPEndPoint>'

I've never defined my own class IPEndPoint, nor IEnumerable<T> interface. How can I get rid of this error? Method code is 

		public IEnumerable<IPEndPoint> Resolve(string name)
var peername = new PeerName(name, PeerNameType.Unsecured);

Why does .NET Framework 4 client profile slow down boot time network creation?

I've been running a Windows XP sp3 KVM virtual machine for a long time now, and some recent update made the initial network startup go from a few seconds at boot time to around 90 seconds. Using Add/Remove program to uninstall recent updates points the finger at .NET Framework 4 client profile. With it installed, if I right click on network and ask for properties right after booting, there is a 90 second delay before the network dialog with the list of network interfaces finally appears. In addition, the network drive I have automounted at login is not accessible for the same 90 seconds. As an experiment, I tried going into the device manager and deleting the network interface, and if I reboot after that it takes 90 seconds for the new hardware wizard to appear. All these 90 second delays vanish if I remove this .NET update. The network comes up as soon as the system boots.

Microsoft .NET Framework 4 Client Profile

I changed from Vista to Windows 7.  Every time I start my computer it says I need to install Microsoft .NET Framework 2.0  When I do that, the installation says it's already in my computer. I have looked and what's installed is Microsoft .NET Framework 4 Client Profile.  What should I do?  Also, my bluetooth has stopped working. Is this why?

User Profile Service Synchronization Connection: Client Timout

Hi, I have scenario on configuring User Profile Synchronization service on customer site as below. Window AD Server 2003 Domain NetBIOS: foo FDQN: foo.bar.com  User Account to connect: foo\ad-connect This account already set permission as describe in http://technet.microsoft.com/en-us/library/ee721049.aspx  when I try to create connection, system took long time to process then return error as "Client Timeout". I try to check FIM and it's seems to work fine (no error return and can get users data). So could anyone told me what's wrong? Since I've didn't have much knowledge on Network and AD, please advice.Theeraphat.P SharePoint Information Worker

.net 4.0 Client Profile installs, Extended fails

After uninstalling all .net versions, I tried to reinstall them. All available versions were installed including .net 4.0 Client Profile but .net 4.0 Extended did not install. Suggestions? The error log was VERY long so here's the summary: Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation.

Cannot deploy .net framework 4.0. client profile via wsus


I would like to deploy .NET framework 4.0. client profile via wsus.

I failed to import .NET framework 4.0. via Windows Update.

Does anybody try to deploy it via WSUS? Is it possible?

HTTP, .NET 4 and the Client Profile


We're about to release our new WPF application that's based on the .NET 4 framework. I'm trying to see if we can use the client profile rather than the full framework since installing the latter has turned out to take a loooong time (>15-20 minutes post-download) on our users' computers.

With that said, I've determined that our WPF application has two dependencies that don't exist in the client profile:

  • JavaScriptSerializer
  • HttpUtility (specifically the UrlEncode() method)
Are there any alternatives to these classes in the client profile that I could use instead?

Can I use managed client OM to retrieve user profile?

I don't think managed client object model can be used to get user profile. I don't see anything similar to Microsoft.Office.Server.UserProfile namespace...

Microsoft .net framwork 4.0. client profile



I have just encountered problem with Microsoft .NET framework 4.0. client profile for Windows XP.

The feature pack is approved and the right one Microsoft .NET framework file is in right one directory.

But in WSUS 3.0. SP1 interface is in column install 6% and approved  (1/67).

I can send printscreens.

Have anyone solve this problem , could it be wsus bug?


can the .NET 4 client profile run 3.5 client profile?



What if a person has only .NET 4 client profile installed on a old OS which does not has any other version of .NET installed

Can that computer run my application, mostly designed for .NET 4 client profile but some assemblies had to be .NET 3.5 client profile


Thanks in advance


Edit: I have found something about backwards compatibility http://msdn.microsoft.com/en-us/library/ff602939.aspx 
I need to be sure this works for client profile installations, too

.NET 4 Client Profile doesn't instal properly


I've tried to instal the following within Windows Update - Microsoft .NET Framework 4 Client Profile for Windows 7 x64-based Systems (KB982670).  Each time the instal fails, with no explanation why.  However, I have an application on my PC which seems to recognise the presence of .NET 4 and, as a consequence, stalls.  My Registry shows 3.5 SP1 as being installed, but not 4.  Control Panel doesn't show .NET 4.  Any ideas on how I can clean up, or why the v4 instal doesn't complete?

3.5 client profile

I've downloaded and tried to install the 3.5 client profiler sever times, it will download just fine, launches and brings up the screen to start the install, then just says "install complete" and never actually installs it on my machine. I am the admin on the computer, the reason im specifically trying to install the 3.5 version is that a program i am trying to use "curse client" rquires that one in particular. I am using Win XP 32bit.

Cannot use ReliableSession in a Windows Phone XNA project client


I have a server with "ReliableSession" enabled (custombinding). When I use "Add Service Reference" at the Windows Phone client, the ServiceReferences.ClientConfig appears empty...

If I remove the "ReliableSession" at the server side and then use "Add Service Reference" at the Windows Phone client, the ServiceReferences.ClientConfig is updated fine (but we can't use sessions for global variables this way...)

The same server with a client project works fine.



How do I check whether I have installed full .NET Framework or .NET Framework Client Profile?

How do  I check whether I have installed full .NET Framework or .NET Framework Client Profile?
When you learn you excel; when you learn you achieve; when you learn you succeed.

Does, "Microsoft .NET Framework 4 Client Profile (Web Installer)" = "Microsoft .NET Framework 4 Web


I have the 1st of the two programs (above), and wondered if I should have it (the, "Client Profile" version); or instead, should uninstall it, and download the 2nd (above), the one (without, the words "Client Profile")?  OR, are they essentially the same?  I'm an intermediate computer user but don't have alot of experience with deciphering between the types of .NET Frameworks (like the 2 above).  Anyone familiar with this area, please advise.  (P.S.:  I never actually went to the download center and downloaded the (1st) item (above).  I just noticed it is installed (under, installed programs).

Specs: Windows 7 Home Premium, 32-bit, PC desktop, cable modem, Dell Inspiron 531s.  Installed RAM= 2 GB.  Total disk (C:) space = 218 GB. (About 1/2 of this is free, and 1/2 is used).



Microsoft .Net Framework 4 Client Profile installation error: (0x800B010B), "Generic trust failure "


I'm currently using a window 7 64 bit operating system fujitsu laptop and I've been trying to install a update: 'Security Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems (KB2160841)'. However, upon many tries of installing the update, i still couldn't get it install. The error details for the update is Code 66A.

Therefore, after searching on Windows forum for solution for that error, i've tried to repair the Microsoft .Net Framework 4 Client Profile by following these steps:

A. Click on Start and click on Control panel.

B. Go to Program and Features.

C. Scroll down to Microsoft.Net Framework 4 Client Profile, right click it.

D. It will give you a choice of Uninstall/Change, click it.

E. Then, it will give a choice to repair.

After following the above steps, the repair did not succeed because: Generic trust failure.

Part of the log:

Action: Downloading and/or Verifying Items...

64 Bit ASP.NET Project - Attempt to load Oracle client libraries threw BadImageFormatException.


I am getting a "Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed."

I have a main ASP.NET project which is 64 bit(set to Auto though) and another oracle database project 64 bit(set to Auto). I am getting the above error in "Connection.open()' in the oracle database project. I am using System.Data.Oracle client, the 64 bit version-2.0.50727.5420

Edit.I thought I would mention that I am using the latest Instant Client v from the Oracle to run my program.
....I also tried the ODAC provider from Oracle. Same problem.

Also the oracle database project seems to run fine in x64 bit mode by itself without any problems. The way i verified that it was running in 64 bit mode was I just looked into task manager while the Oracle database project was executing and there was no *32 in the name of the project. All the frame references to this project are already 64 bit. It seems like the issue is the ASP.NET project which is at 3.5

Meanwhile below are things i did to try resolve the issue .

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend