.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

2.0 application run on a machine with only 3.5 framework?

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :.NET Framework
Hi all, This may be a silly question, but will an application developed in VS2005 and normally running on a machine with version 2.0 of the framework, run OK on a machine with only version 3.5 framework? I'm thinking it will as the 2.0 libraries are unchanged in 3.5??? Thanks John

View Complete Post

More Related Resource Links

Entity Framework: N-Tier Application Patterns


This article examines n-tier patterns for success and some of the key APIs and issues specific to the Entity Framework. It also provides a sneak peak at features coming in the Microsoft .NET Framework 4 that should make n-tier development significantly easier.

Daniel Simmons

MSDN Magazine August 2009

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

Avoiding DLL Hell: Introducing Application Metadata in the Microsoft .NET Framework


The Microsoft .NET platform uses metadata and assemblies to store information about components, enabling cross-language programming and resolving the infamous DLL Hell problem. This article describes the use of metadata for easy linking and loading of assemblies, the relationship between metadata and concepts such as IDL and type libraries, and the metadata hierarchy. The process of reading metadata from assemblies for easy versioning is also described. Although Microsoft provides the MSIL disassembler, IDLASM, and MetaInfo.exe for accessing metadata, the author provides two sample programs that read metadata using the unmanaged metadata interfaces and the Reflection API.

Matt Pietrek

MSDN Magazine October 2000

Deploy a .NET application on the ttarget machine

Hi all, I have a project, is written in C#, using .Net framework 3.5. When I build a setup installer, capacity of the setup is about 10MB. Suppose,  I put the setup files in a web , and users download it to install in their PC. But i think, Users must be download .NET framework to run my project. In this case, users ought to download a .rar file , which have more 200MB over the internet. It is very heavy :( So, I want to find out the best solution to deploy .NEt application to the client 's PC. Anybody help me,please ? Thanks so much!  

Connection to Exchange Server of .NET 1.1 Framework application on Windows 2008 64-bit

I am running Visual Studio 2003 .NET Framework 1.1 application on Windows 2008 64-bit machine. There is only one problem - connection to Exchange Server. The same application is running fine on Windows 7 64-bit machine (not server). I tried to use the same Interop.MAPI.dll I used for Windows 7, but it doesn't work for Windows 2008.   Please help.  

Problem with .Net framework 4.0 on IIS 7 on Windows Server v2008 64 bit machine

Hi, I have installed .Net framework 4.0, i have added one application in default website, now when i brows the login page, it take some time and at the end displays nothing, in the event viewer in system log it says myApplicationName crashed.And also i get folllowing in event viewer Application LogLog Name:      ApplicationSource:        Application ErrorDate:          7/29/2010 11:39:31 AMEvent ID:      1000Task Category: (100)Level:         ErrorKeywords:      ClassicUser:          N/AComputer:      dev-appDescription:Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bd0ebFaulting module name: clr.dll, version: 4.0.30319.1, time stamp: 0x4ba21eebException code: 0xc00000fdFault offset: 0x000000000000400cFaulting process id: 0xad8Faulting application start time: 0x01cb2ef990316804Faulting application path: c:\windows\system32\inetsrv\w3wp.exeFaulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dllReport Id: ce52c718-9aec-11df-8551-00155d701c03Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">  <System>  

Redistribute .NET Framework 4 with my application

Hi,   I have just made a custom installer for my project (previously used ClickOnce) and one problem I have is that the user is sent off to a website where s/he has to download and install .NET and then re-run my installation. That's not at all optimal. Also, it requires an internet connection.   I would like to bundle .NET Framework 4 Client Profile with my application, so the user only has to start my installation one time. I have searched around and found some talk about this aimed and .NET 1 and .NET 2.   First, am I allowed to do this? I have VS 2010 Professional, downloaded via DreamSpark using my student account. Second, how do I do this? I have checked "Microsoft .NET Framework 4 Client Profile" in Prerequisites and tried to set it to "Download prerequisites from the same location as my application" but I still get thrown away to a website where I have to manually install .NET.   Please, I need a more user-friendly deployment. :)

Accounts used by application pools or service identities are in the local machine Administrators gro

ERROR: Using highly-privileged accounts as application pool or as service identities poses a security risk to the farm, and could allow malicious code to execute.  The following services are currently running as accounts in the machine Administrators group: SharePoint Central Administration v4 (Application Pool) SPTimerV4(Windows Service) there are 2 accounts associated with this install. 1. SQL ACCOUNT 2. SP Admin account(farm) the admin account has the following listed components    Farm components using this account      Microsoft SharePoint Foundation Application Pool: SharePoint - 80 SharePoint Server Search Web Analytics Data Processing Service Farm Account User Profile Synchronization Service Microsoft SharePoint Foundation Sandboxed Code Service Access Services Secure Store Service PowerPoint Service Application Word Viewing Service PerformancePoint Service Application Visio Graphics Service Managed Metadata Service Web Analytics Service Application Word Automation Services Excel Services Application Business Data Connectivity Service Search Administration Web Service for Search Service Application User Profile Service Application Search Service Application Application Discovery and Load Balancer Service Application Security Token Service Application   The farm account is not listed in the local machines admi

Framework 1.1 Application errors when run over network




I recently picked up a project for a client that is stuck on the 1.1 framework. The application in itself is fairly straight forward. A few datagrids and pic boxes to display data from an mdb file.


When run from the host machine it works a treat and has no problems whatsoever, but when it is run from a network folder it crashes as soon as it tries to connect to the mdb file. This is running on a dev machine to match the clients so is sat on the 1.1 framework. When I run it on my machine which has all frameworks it works fine.


So does anyone know what I have to do to make this work as it's proving to be a show stopper with the client. And before you ask, they won't move frameworks, I tried getting them to do that and they said no.


Just to add as well, I have very good error trapping throughout the app and it doesn't return anything. All message returned are blank which is making it an even bigger pain in the asre. Considering it's such a simple app.





WCF (.Net framework 3.5) Call from Windows Application (.net framework 2.0) is too SLOW!!!

WCF (.Net framework 3.5) Call from Windows Application (.net framework 2.0) is too SLOW!!!

It gives more frustration when the new technology means the performance drawbacks. Do I've to dump .Net 3.5 ??????

We've a web service that is being called from the Windows Application and it is loading the initial screen after 30 seconds. The binding is done through coding:


ET2Service service = new ET2Service();
service.Url =

Testing WPF Application w/ UIAutomation Framework


Hi All,


I have a pretty complex WPF application, but for simplicities sake, let's suppose I have a very simple WPF application with a Button on it.


I have a separate console application that I want to invoke the button on the WPF application. Using UIAutomation I'm having a little trouble finding the intuitive way to do this.


So far the steps for doing so look like:

  • Use Process.Start to launch WPF application
  • Use Process Id from above step to get Window handle for UI Automation framework
  • Once Window handle is obtained, find Button child element of Window
  • Invoke Button
This seems pretty straightforward, and I'm understanding the first 4 steps. The 5th step (invoking the Button), is where I'm having some trouble.

Anyone have experience with something like this?

deployment of .Net framework based application




I want to make setup of .net framework based application in which following components must be included within setup file.


- .Net framework 2.0

- Windows Installer 3.1

- MDAC 2.8


I don't want to provide the link and let user manually download it and install it.

Setup should check whether this components are installed or not.

I tried Inno Setup maker but it requires internet to download .net framework then it installs.


My application is for india and internet is not widely spread in india till now.


Please help me ....

.Net framework 3.5 SP1 application fails to run on .NET framework 4.0.


We have a developed some PowerShell cmdlets in C# using Visual Studio 2008 / .NET framework 3.5 SP1. When we try to execute the cmdlet on a Windows XP or Windows 2003 server that has .NET framework 4.0 installed, we get the following error:


Could not load file or assembly 'System.Core, Version=, Cul

ture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The

system cannot find the file specified.


Note that this machine does NOT have .NET framework 3.5 installed on it. .NET framework 4.0 is directly installed without installing 3.5. I do not see System.Core.dll in the GAC.


On the other hand, if we first install .NET 3.5 and then install .NET 4.0, we do see System.Core in GAC and there are no issues.


Is this expected behavior? Doesn't .NET framework 4.0 installer install all the binaries from 3.5 SP1 as well?


Please advise.


Thanks for your help,


Can we freely distribute .NET framework 3.5 SP1 with our application?



Is the .NET Framework 3.5 SP1 free to distribute without obtaining a license?

I don't see a redistributable package for .NET Framework 3.5. Can I still redistribute it?


Cannot hibernate machine due to Microsoft.NET Framework v1.1.4322 update and cannot find AntiVir etc

I have checked previous replies that suggest clicking Start, Run and typing msconfig and going in to the services tab.  AntiVir Personal Edition Classic Schedule does not appear in the list.  What else can I try please, this is really irritating.

Can VS2008 application works on machine only having vs 2010


Hi friends,

Can VS2008 developed application works on machine only having vs 2010?


Nagarajan Govindarajan.

How to upload files to remote machine using FTP or other method in VB.Net 2005 (Windows Application)



I have to create an application to upload and download files using FTP.
Are there any classes, methods in VB.Net 2005(Windows Application) to do this?

I have created a small GUI for this.

It contains 4 text boxes - Path of Local file to be uploaded, IP address of remote machine, User name and password of remote machine At last there is one Transfer button when I click on this transfer button that file should get copied to the remote machine.


I tried this using FTPWebRequest class by reading example in msdn.

But to connect to remote machine it requires URI format of FTP and I only have IP address of that remote machine. I think there is no web server on that remote machine.

Should I need to install web server on that remote machine.

Or is there any other method to do upload files to remote machine ?


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