Not able to run the build of vb.net applicaition created in visual studio 2010 - vb.net

I have developed a desktop application in vb.net using visual - studio 2010.
I want to run that application in different pc every time. For that I have created a build of that application.
But I am not able to run this application other than my pc.
I also installed the dot net framework 4.0 in other pc but it gives error "WIC component not installed".
What should I do to run my application in different computer systems every time? , what are the pr-requisites for running the application.?
Please help. Thanks in advance.

Googling that error would seem to suggest you need to install the Windows Imaging Components on the other machines.
64 bit downloads
32 bit downloads
Judging the by the system requirements I'm guessing Windows 7 onwards includes this by default.
Supported Operating Systems: Windows Server 2003
Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
Windows Server 2003 R2 Standard Edition (32-bit x86)
Windows XP Service Pack 2 Windows XP SP2 Windows
Server 2003

Related

Prerequisite check for system component Microsoft .NET Framework

I have written a windows service in c# using ide visual studio 2012.
When I tried to install it on a windows server 2003 I got this error message:
Prerequisite check for system component Microsoft .NET Framework 4.5 (x86 and x64) failed with the following error message:
"Installation of the Microsoft .NET Framework 4.5 is not supported on this operating system. Contact your application vendor."
So I went back into my project and set the target framework to 4.0. I then rebuilt the solution, re-added the installer and published again. However, when I try to install I get the exact same error.
For some reason it is not detecting that I have changed the framework to 4.0. Any ideas where I have force this change or where even to look??
Extra Info: It seems to be using click-once deployment.
The only solution I came up with was to create a new project with the correct .NET version. Copied all my code across and it worked... shrug
.NET Framework 4.5 is not supported on Windows XP, Windows Server 2003 and similar.
Supported Operating Systems (as per System Requirements page):
Windows 7 Service Pack 1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2
Windows Vista SP2 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2008 SP2 (x86 and x64)
If you're using Wine to install it, run winecfg and change your Windows version to higher.
Otherwise install lower version of .NET Framework such as 3.0. If you're compiling the project, change it in Target framework.

How do I install the .NET Framework 4.5 reference libraries on Windows Server 2008 R1?

I have an application whose deploy process builds the source code on the server I'm deploying to. My production server is Windows 2k8 (not 2k8 R2). My app is not compiling as the reference assemblies for .NET Framework 4.5 are not present.
I've tried installing the Windows 8 SDK and the option to install the reference assemblies isn't there. I've also tried installing Visual Studio Express 2012, which supposedly has the assemblies, but no luck there. So....
How do I get .NET Framework 4.5 applications to compile on a Windows Server 2k8 R1 machine?
There are manual instructions to install .NET 4.5 Reference assemblies of Windows Server 2008. Refer to following link:
http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx#rn
I've installed the reference assemblies from:
The Microsoft .NET Framework 4.5.1 Developer Pack for Windows Vista SP2, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2008 SP2, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2
http://support.microsoft.com/kb/2878632/en-us

Do I need VS 2012 Express for Windows 8 Apps if I have VS 2012 Professional?

Every page I seem to point to while trying to learn how to develop Win8 apps (such as this MS Page) points me to a download package that includes "Visual Studio Express 2012 for Windows 8."
However, I already have VS 2012 Pro.
Do I still need to obtain VS 2012 Express for Windows 8 for some reason, or is there an alternate path I can take to continue to use my existing VS 2012 in order to build Windows 8 apps?
No.
Visual Studio 2012 Express Edition for Windows 8 can create and edit Windows Store projects. Those same projects can be opened and edited in Visual Studio 2012 Pro and Ultimate. However, Visual Studio 2012 Pro and Ultimate can create other types of projects (like Windows Phone, WCP, WPF) that cannot be opened by VS 2012 Express Edition because Express for Windows 8 Apps is intentionally limited to only build Windows 8 apps.
The answer to your question is no, you do not need Express if you have Pro. Pro is the superset of the Express editions. Other Express editions include Windows Phone, Web, and Windows Apps. They are the free edition of Visual Studio, and for that reason alone they are limited in features.
Express is the cut-down edition of VS and as such it is less capable than the Pro edition. So, you should stick to VS 2012 Pro which is more than capable of developing Windows 8 apps.

sharepoint 2010 Oracle Integration issue

We are in the process of integrating sharepoint 2010 with oracle HRMS system.
Our development environment is :
windows server 2008 x64
sharepoint 2010 x64
visual studio 2010 x32
sql server 2008 x64
Now, when i used Oracle client 11g R2 64 bit (64 bit oracle.dataaccess.dll) for connectivity to oracle, visual studio being 32bit not able to load 64bit oracle.dataaccess.dll and is reporting build errors of project.
when i tried Oralce client 11g R2 32 bit (32bit oracle.dataaccess.dll) for connectivity to oracle, visual studio is able to load 32bit oracle.dataaccess.dll but w3wp.exe being 64bit is reporting problems with oracle.dataaccess.dll which is 32bit.
Oracle is not providing a "Any CPU" compilation of oracle.dataaccess.dll only "x64", "x32" target compilations of this dll are available.
Microsoft is no more providing Ole db providers for oracle.
unless we add reference a oracle.dataaccess.dll compatible with both VS 2010 and SP x64 we cannot deploy and debug in VS.
Any way out to develop,deploy,debug using VS 2010 + SP 2010 + Oracle.dataaccess.dll.
We have written about this in our FAQ: http://www.lightningtools.com/bcs-meta-man/faq.aspx
Basically Visual Studio being 32bit needs the 32bit Oracle Drivers and SharePoint is 64bit and needs the 64bit drivers.
The company I work for has a tool called BCS Meta Man which will generate a .Net or Database model for you, it's a Visual Studio Extension:
BCS Meta Man BCS Meta
Man + Oracle walkthrough
You can use just the normal Visual Studio BCS Model Project to make the Model manually, but you'll probably notice very quickly that it's quite a steep learning curve:
http://msdn.microsoft.com/en-us/library/ff464424(office.14).aspx

Sharepoint Designer for SP2010

I am bit confused as on this..
Which version of Share Point designer (32 or 64bit) do I need to use to work on SP 2010.
When I try to download the 64 bit , I see a message as "32 bit is recomended for most users ..".
I have installed SP 2010 on win 2008 R2 in virtual box. Is it mandatory for me to install Vs 2010 on same machine to develop web parts ...?? Can I install Vs 2010 in a different machine ..?? Which version of VS 2010(Express, Prof, Prem or Ult) is required ..??
Sharepoint 2010 can be installed on client machines with Windows 7 or Vista.
It is required for Sharepoint 2010 products that you are running x64 version of OS.
The development tools like VS and Sharepoint designer can be either 32bit or 64bit.
Microsoft recommends 32-bit for all the Office products, including SharePoint Designer included. I believe it's mostly to do with compatibility with other programs.
"The 32-bit version of Office 2010 is the recommended option for most people, because it prevents potential compatibility issues with other 32-bit applications, specifically third-party add-ins that are available only for 32-bit operating systems."
Taken from here: http://office.microsoft.com/en-us/sharepoint-designer-help/choose-the-32-bit-or-64-bit-version-of-microsoft-office-HA010369476.aspx
Which version of Share Point designer (32 or 64bit) do I need to use to work on SP 2010?
You can use both the 32-bit or the 64-bit version. But, it is recommended that you install the 32-bit version because the Office 2010 32-bit version is recommended. If you install the SharePoint Designer 2010 64-bit version than you cannot install the 32-bit version of Office 2010.
I have installed SP 2010 on win 2008 R2 in virtual box. Is it mandatory for me to install Vs 2010 on same machine to develop web parts ...?? Can I install Vs 2010 in a different machine ..?? Which version of VS 2010(Express, Prof, Prem or Ult) is required ..??
I have also installed SP 2010 on Win 2008 R2 in VBox. The SP installation is a standalone installation. I have also installed VS 2010 on the same VM. But, you could separate out the SP and VS 2010 installation on multiple VMs. The downside is you will need to have both VMs running at the same time (at least during your deployment to SP). You will need at least the professional edition of VS 2010.