Solved

Visual Studio 2013 Ultimate C# winforms application

Posted on 2014-03-06
4
868 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Diagnostics with Net and Net.Sockets 2 27
rest webservice call over https via c# 6 38
Close form "before" open 3 40
Simple Injector with Web Service 4 40
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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