.NET exe of Webserver is not executed in .Net 2.0

  • Thread starter Christian Schönig
  • Start date
C

Christian Schönig

When I put a .NET assembly (.exe) generated with VS.NET 2003 on a Webserver
(IIS) and try to invoke it over a Browser (IE) from another station the
following happens:

1. under .NET 1.1 the application gets executed (normal appearance)
2. as soon .NET 2.0 is installed as well, the application is not executed.
It comes up the dialog to execute or save the Application in a folder. It
looks like a coumputer with no .NET framework at all.

The Application in our case has to be started right away. We can not store
it locally and execute it from there! We need the not touch deployment
there!

Any ideas why?
 
M

Michael D. Ober

In the application's IIS configuration, you need to specify the correct
version of .NET. By default, the highest version number is used.

Mike Ober.
 
?

=?iso-8859-1?Q?Christian_Sch=F6nig?=

Hi Mike,

that sounds correct, but how can I put this in a normal application?
I put the following in the App.config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>;
</startup>
</configuration>

but it did not help!

Thanks for Your advice!
 
M

Michael D. Ober

The setting is in the IIS Administration utility itself. You need administrator access to the IIS Server. Unfortunately, it's not in your web application.

Mike.
Hi Mike,

that sounds correct, but how can I put this in a normal application?
I put the following in the App.config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>;
</startup>
</configuration>

but it did not help!

Thanks for Your advice!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top