Is SSIS 2008 compatible with .Net framework 3.5 - windows-7

I have developed SSIS packages on a machine where .Net framework 3.5, Windows Xp are installed. But when i deploy those in machine where OS is Windows 7.0 and .Net framework 2.0 is there, packages without script component are running well. but packages with script components are trowing error as access to a file path is denied. When i try to debug the package on deployment machine i found that the exception comes from script component.
I want to know is there any relationship between SSIS 2008 and .Net framework in case of script component?

take a look here
basically with SSIS 2005 you are stuck with .net 2.0 (and VB)
On SSIS 2008, .net 2.0 is the dafault, but you can set it to use 3.5. Here you have print screens on how to do it

Related

Unable to install .net framework 4.5 on Windows server 2008

I have Windows Server 2008 with Service Pack 2. In that .Net framework 3.5 already exist.
Now I am trying to install .Net framework 4.5 but I got some error and it did not installed properly.
Server has
Microsoft .Net Framework 4 Client Profile
Microsoft .Net Framework 4 Extended
can these framework cause installation problem as well?
Someone please let me know what could be the problem and how to solve this.

Deploying to Windows Server 2003

Using visual studio 2013 on a windows 8 machine I created a F# console application. The app runs fine on the dev machine. But when I build a debug release and export it to a windows 2003 server and attempt to run, I continually get the error: not a valid win32 application even though the build configuration is set to "any cpu". Does anyone know how to solve this error? Thanks.
You are probably using .NET Framework 4.5 wich is not compatible with Windows Server 2003.
If you are not using anything from .NET 4.5 you can change on Visual Studio the framework targeted by the application to 4 and then run it on Windows Server 2003.
Also, here is the list of requirements for .NET Framework 4.5
https://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx

cannot install .NET Framework 3.5

I already have installed Microsoft Visual Studio 2008 SP1 and VS 2010 SP1. I'm using Windows 7.
Then, I noticed in my Installed Programs in Control Panel that only the following were the installed .NET Frameworks:
Microsoft .NET Compact Framework 2.0 SP2
Microsoft .NET Compact Framework 3.5
Microsoft .NET Framework 4 Client Profile
Microsoft .NET Framework 4 Extended.
For some reasons, when I was installing PowerCommands for Visual Studio 2008, it says that I need to install .NET Framework 3.5.
When I tried to use dotnetfx35.exe, it just unpacks the installer, but doesn't proceed with the setup process.
Is this just because I'm using Windows 7? Or is there a proper way of setting up .NET Framework 3.5?
Thanks!
Newer operating systems (Windows 7+ afaik) do not (cannot) use installation files for the .NET 3.5 framework. Also, the 3.5 framework does not necessarily show in add/remove programs. Instead, you "turn on" the feature. Another detail is that .NET 3.5 includes 3.0 and 2.0 frameworks. In other words, .NET framework 3.0 and 2.0 do not require separate installs.
To "add"/verify installation of .NET 3.5 in Windows Server 2008 R2:
Go to Control Panel > Programs > Turn Windows Features on or off >
Roles > Add Role Service (little button off to the right) > Ensure
".NET Framework 3.5.1" is checked > Click "next" until you can click
"install".
The process should be similar in Windows 7.
Even though You have installed DOTNET 4.0 version for some applications you need 3.5 .net framework.
Just download and install DOT NET 3.5 SP1 (not just 3.5) from here 1 here
(Note: Refer Stack Overflow - .dot net framework for more details!)

How to automatically install .NET Framework 2.0 (if missing) on a client computer with Visual Studio 2010 Installer project?

I'm trying to distribute a small windows application I made in Visual Studio 2010 and is targeted to .NET framework 2.0. I've made an installer project, but in the Prerequisites window I can't set .NET framework 2.0. I can only see 3.5 SP1 above. There is a whole list here: http://msdn.microsoft.com/en-us/library/7tx0bw8y(v=VS.100).aspx. I'd like to have earlier versions as well, as are shown here: http://msdn.microsoft.com/en-us/library/7tx0bw8y(v=VS.80).aspx. I can see that the .NET Framework 3.5 SP1 will install 2.0 as well, but I don't want to bother a user that already has 2.0, but not 3.0, 3.5 or 3.5 SP1.
I've also managed to set the Launch Condition to .NET Framework 2.0. I've tested this on a virtual machine that has no .NET Framework and it just asks a user to go to a website to download and install the framework manually. (Also the link actually goes to 4.0 Client Profile. I know where to change the link, but 2.0 has separate x86 and x64 downloads, but you can only enter 1 link.)
All I'm trying to do is for the installer to install the .NET Framework 2.0 automatically if the user doesn't have it and then install my application. It would be great if there was only 1 file, which I can then have people download from my website. So, how can I accomplish this?
You would have to install an old version of the Window SDK (version 6) on your machine to get the bootstrapper for .NET 2.0. Doing so makes little sense:
after you install it the user's machine will get updated to .NET 3.5 SP1 by Windows Update.
the 2.0 bootstrapper will blow up your installer size to over 50 megabytes, the .NET 3.5 SP1 bootstrapper is a megabyte or so, it selectively downloads what the user needs at install time.
you don't want to ship code that you haven't tested on 2.0.

Installing a visual studio windows forms application on a pc that doesn't have .net framework installed

i have a C#.net windows forms application that i need to deploy, can i in some way copy the .net framework dlls that i used in the project to the setup project so that i can avoid to download .net framework on the target machines.
The .NET framework version that your application targets must be installed on the client system. This is something that is usually handled by the installer during setup. Most installation builders such as the integrated Setup project in Visual Studio, Inno Setup and Nullsoft Scriptable Install System will detect if all of your app prerequisites are installed during installation.
Generally you need to install the .NET framework but there are technologies like Spoon Studio that wrap your application in a container. In most cases I think you are better installing the .NET Framework on machine to avoid debugging issues with these types of tools. For Windows Forms apps you can install the .NET Client Profile which reduces the download size.

Resources