Solved

Visual Studio 2013 Ultimate C# winforms application

Posted on 2014-03-06
4
867 Views
Last Modified: 2014-03-10
I have created and complied a C# application using Visual Studio 2013 Ultimate. When I try and run the app I get an error "is not a valid Win32 application"

The system I am trying to run it on has Windows Server 2003 Standard edition Version 5.2 SP2.
0
Comment
Question by:Idarac
  • 2
  • 2
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39911067
What version of .NET is your application targeting? It appears that .NET 4.5--which I think is what VS 2013 projects default to--can not be installed on Server 2003. You might try downgrading the .NET version you are targeting. If you do, make sure you have that version of .NET installed on the server.

Just out of curiosity:  Why would you be designing a WinForms app to run on a server?
0
 
LVL 1

Author Comment

by:Idarac
ID: 39911095
OK thanx

Yes I am targeting 4.5. What version can I use ? 4.0?

I have created a small demo for a client and they have provided a spot for me to install it so that their group can connect and run it and see what it looks like.
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39911103
By the link I posted previously, it appears that 4.0 should work. However, I know that 4.5 overwrote some of 4.0's files, so you may still encounter problems. If so, you might try going down to 3.5 or 3.0.
0
 
LVL 1

Author Closing Comment

by:Idarac
ID: 39918689
I went down to 3.5 and that solved it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bulid json format 3 46
Search by two fields at the same time using c# radio button 5 39
Anyway to make "All" the default in the dropdown? 6 34
Wav problem 4 19
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now