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

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

How to detecting Whether .Net Framework 4.0 Full/Client is available.

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :.NET Framework

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full can indicate whether .Net 4.0 is installed. But "the reg key exists" doesn't necessary mean .Net Framework is available.

For example, on Vista/Win7, if .net framework is installed, but user hasn't reboot the os as promoted, the reg key exists, but .net application failed to run.

Is there any way for C++ application to detecting whether .Net Framework 4.0 available?


View Complete Post

More Related Resource Links

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.

C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework


When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

Avi Ben-Menahem

MSDN Magazine September 2001

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?

KB951847 update requested after installing .NET Framework 3.5 SP1 (Full Package)

Situation - After performing a fresh install of XP Professional with the following,the Microsoft Windows Update Service prompts for download and install of KB951847.Win-XP-Pro  SP2 - new installWin-XP-Pro  SP3 - updateWindows IE-7 - install.NET Framework 3.5 SP1 (Full Package)When I start the Microsoft Update Service to obtain patches, I am prompted to download and install (KB951847) which is a 69.2 MB download.  My homesystem is on a dial-up line (4-10 hours of connect time).  My work locationhas a 100 MB connection to Internet.  This KB appers to be an update thatshould have been included in the .NET Framework 3.5 SP1 (Full Package).Documentation for KB951847 states that this is the .NET Framework 3.5 SP1.Is this KB already installed with .NET Framework 3.5 SP1 (Full Package)?If Yes - How do I tell Microsoft Windows Update to ignore the install of:KB951847Otherwise, How do I obtain the 69.2 MB file for KB951847 using my Internetat work so I can take a CDROM home for install?Looking at other documentation, I have not installed the following KBsafter installing .NET Framework 3.5 SP1 (Full Package).  Do these needto be installed in order to satisfy the KB951847 via Windows Update?  KB958481 Update for .NET Framework 2.0 Service Pack 2  KB958483 Update for .NET Framework 3.0 Service Pack 2  KB958484 Update for .NET Framework

Error: ASP.NET Ajax client-side framework failed to load.

Getting some errors after implementing the calendar control.  Error: ASP.NET Ajax client-side framework failed to load.  Here are some screenshots of the relevant info:   Here's the scenario...  I compile code locally, view the pages in a browser locally, and it all works fine.  Another developer sits down at my machine, logs in with AD account (which create a local profile for his account on my machine), and gets these errors when viewing my locally compiled code.  He then compiles the same code on my machine again just for a test, but still gets the same errors.  Can anyone come up with any good reasons for this behavior?  I put a call into MS and they suggested creating a new profile for the other developer with the errors since this appeared to be profile specific.  Tried doing that with the same results.  Help!        

Differences between Silverlight and WCF(Full Framework) drawning

I have created a "Layout Editor" in Silverlight where the user can drag and drop text and image to create a custom layout. A sample of a Layout with one TextBlock can be seen here . The used font is Arial, size 50. This layout (not the image, but the layout itens properties like x,y,font, etc) is upload to the server by a WCF Service, which create the actual image and save it in the database. This is necessary because the text fields can have dynamic text, marked as '%text1', '%text2', where that dynamic values are in the database too. But, when i use the Bitmap and Graphics classes of the full .NET framework the DrawString method resulting drawning don't have the same aspect that your silverlight "counterpart". A result of the server generate image can ben seen here . Anyone can tell me if it is a resolution problem or something? I can't got a single clue about this.   PS: If it is possible, move to the corresponding forum section. I use Silverlight UI, WCF communication and GDI+ drawning, so used WCF forum.    

ASP.NET Ajax client-side framework failed to load = No Ribbon :( JS errors on Default and at Central

Looking for suggestions to why my ribbon crashed, and I'm unable to edit or add pages to my SharePoint 2010 Site.  Machine is Win7 Ultimate, IE8, SP2010 beta, VS2010 RC. All 64 Bit.  Was working fine.  Tried repair on the frameworks, after googling.  Cannot find the Geneva bits.  Removed Norton completely to sucessfully go back a couple of restore points and removed KB980182.  Clicked throught the SP configuration manager and all went well.  Definitely logged on as administrator.  IIS settings look good.  Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; InfoPath.3; .NET4.0C; .NET4.0E)Timestamp: Sun, 4 Apr 2010 22:21:30 UTC Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2QKXyoZQvaI_7A65C7OJf0Eii_VL61Hoi5B23lMNvWC01&t=ffffffffec2d9970 Message: Invalid characterLine: 1Char: 1Code: 0URI: http://starman/ScriptResource.axd?d=Zq0NPA5_FNMrMkj2gVMBkGEJYiejAr4xkOPFxcm9WpzwRnp65ubolTfztiSaY8z2u8yiDywNtvdUdmHr93TbWc4U0SHQq0pQ3M2FA3FoezpYhgSt6jFnafzRYmCIg8LW0&t=ffffffffec2d9970 Message: ASP.NET Ajax client-side framework failed t

.net framework 3.5 full package error in installation

i downloaded the full package and when it went to the install part it started then it said an error has occurred deleting all files downloaded :( i have windows xp professional, 200gb hard drive 1.5gb ram hp pavilion a1310n i get this error msg plz help [04/11/10,19:44:09] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603 [04/11/10,19:44:28] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed. [04/11/10,20:01:47] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603 [04/11/10,20:02:08] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed. [04/11/10,21:13:34] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603 [04/11/10,21:14:01] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed. [04/11/10,21:33:18] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603 [04/11/10,21:33:42] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.

.NET Framework 4.0 Full package installation failed with error code: (0x80070643)

I am getting an error when installing .net framework 4.0. I am using the full package installer. OS: windows XP Service Pack 3 Windows Update: Current with all security updates. Error: [7/12/2010, 10:50:49]MSI (C:\eb1ddbb12a129b2fddde4054\netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20100712_105014316-MSI_netfx_Core_x86.msi.txt [7/12/2010, 10:50:49]PerformOperation returned 1603 (translates to HRESULT = 0x80070643) [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:49]OnFailureBehavior for this item is to Rollback. [7/12/2010, 10:50:49] Action: Performing actions on all Items... [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:49] Action complete [7/12/2010, 10:50:57]C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz - Signature verified successfully for netfx_Extended.mzz [7/12/2010, 10:50:57] C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz Signature verified successfully for netfx_Extended.mzz [7/12/2010, 10:50:57]Signature verification succeeded for netfx_Extended.mzz [7/12/2010, 10:50:57]File C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz, locked for install. [7/12/2010, 10:50:57]Verifying Digital Signatures: C:\eb1ddbb12a129b2fddde4054\netfx_Extended.mzz Success [7/12/2010, 10:50:57]Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00

After enabling routing, get 'Ajax client-side framework failed to load"

Hopefully someone's come across this before... After I try using routing on my web form & load my page I get a few javascript errors one after the other: Error: ASP.NET Ajax client-side framework failed to load.Error: 'Type' is undefinedError: 'Sys' is undefinedError: Object expectedError: 'Sys' is undefined   After fooling with this for awhile, I created a blank aspx page. It loaded fine. I drop a scriptmanager on the page & the errors above pop up. I've been using ajax controls up until this point, & they work just fine when I comment out my routing code so I know the toolkit is not corrupt. Its gotta be a config issue...just not sure where to go. It's a .net 4 web app on IIS7   Here's the code I added to my global.asax:void RegisterRoutes(RouteCollection routes)        {            routes.MapPageRoute("PageRouting","{department}","~/Subweb.aspx");        }protected void Application_Start(object sender, EventArgs e)        {            RegisterRoutes(RouteTable.Routes);        }   In my web.config I added the assembly: &

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?

error: ASP.NET Ajax client-side framework failed to load.


Hi all,

I m getting this weird error "ASP.NET Ajax client-side framework failed to load." in my project which none of my other team mates are getting. Even I tuk the solutoin from the TFS so there is no chances of a code error any where because we all have downloaded the code from the same place in TFS.

N there shud not b anything wrong with the client browser also on my machine because i can browse the same page from the dev server perfectly. Its just breaking only when i m browsing that page on localhost.

We are using .net framework 4.0, windows 7 and we have AjaxControlToolkit version 1.0 in our project.

the only things which might differ in my case as compared to other machine and server are

- Virtual directory.

Add Service reference not updaing the client apps web.config file in .Net Framework 4.0


Hi Team

I am doing some experiments with WCF on .Net 4.0. I have created a service in 4.0 and add a new empty web application to consume my Service. When i added a service reference from the IDE, i can see the web.config file is not updated with the Servcie end points. How do i solve this issue?

My web.config in the client looks like this after adding the service reference.

ASP.NET AJAX client-side framework failed to load



I run a asp.net 4.0 website. (I did the porting from version 3.5 to 4.0)

I receive the following error :

ASP.NET AJAX client-side framework failed to load

in a page where I set scriptmanager EnableCdn="true" and there is a microsoft ajax extension Timer on the page.

this is the code:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="true">
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>


If I set EnableCdn="false" and refer to js locally es:

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="false">
<script src="../../jsScript/jquery-1.4.2.min.js" type="text/javascript"></script>

All works fine!


I receive the error only on the production server.

get full path from fileupload control in client side???


<script type="text/javascript" >

        function SetA()

                    document.form1.action = 'Default.aspx?fileName='+document.getElementById('FileUpload1').value;
    <form id="form1" runat="server">
        <asp:FileUpload ID="FileUpload1" runat="server"  />
        <asp:Button ID="btnupload" runat="server" Text="Upload" OnClientClick="SetA()" />



here in the  javascript function i need send full path of upload control?


please help in this situation? if anybody knows other way of sending full path please tell?


thank you,

ASP.NET Ajax client-side framework failed to load.


Hi folks,

I can't get my page to run due to this error:

Webpage error details
Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://mysite.com/test/ScriptResource.axd?d=t-aV-FAbEGYQKBfxWLrLSFVvRZgZAMGceAIL_jF-RnMc5NpF-Xa_IC3luJfaevvL0&t=3156055c
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