Home All Groups Group Topic Archive Search About

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

Author
3 Jul 2006 11:33 AM
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?

Author
3 Jul 2006 11:37 AM
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.

Show quote
"Christian Schönig" <cschoe***@weber-online.com> wrote in message
news:%2372%23LSpnGHA.3528@TK2MSFTNGP04.phx.gbl...
> 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?
>
>
>
Author
3 Jul 2006 1:21 PM
Christian_Schönig
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!

Show quote
"Michael D. Ober" <ober***@.alum.mit.edu.nospam> schrieb im Newsbeitrag news:Sj7qg.2265$PE1.1728@newsread2.news.pas.earthlink.net...
> 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.
>
> "Christian Schönig" <cschoe***@weber-online.com> wrote in message
> news:%2372%23LSpnGHA.3528@TK2MSFTNGP04.phx.gbl...
> > 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?
> >
> >
> >
Author
3 Jul 2006 2:24 PM
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.
  "Christian Schönig" <cschoe***@weber-online.com> wrote in message news:%23t2ppOqnGHA.2364@TK2MSFTNGP02.phx.gbl...
  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!

Show quote
  "Michael D. Ober" <ober***@.alum.mit.edu.nospam> schrieb im Newsbeitrag news:Sj7qg.2265$PE1.1728@newsread2.news.pas.earthlink.net...
  > 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.
  >
  > "Christian Schönig" <cschoe***@weber-online.com> wrote in message
  > news:%2372%23LSpnGHA.3528@TK2MSFTNGP04.phx.gbl...
  > > 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?
  > >
  > >
  > >
Author
4 Jul 2006 9:03 AM
Christian Schönig
Hi,

i found a interesting thread in
http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=93820
where is stated, that no touch deployment is discontinoued in V2.0! There
are workarounds which seem to help for certain applications!
So my problem is clear now and there is kind of solution for it!

Thanks for all replies!
Chris.


Show quote
"Michael D. Ober" <ober***@.alum.mit.edu.nospam> schrieb im Newsbeitrag
news:Sj7qg.2265$PE1.1728@newsread2.news.pas.earthlink.net...
> 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.
>
> "Christian Schönig" <cschoe***@weber-online.com> wrote in message
> news:%2372%23LSpnGHA.3528@TK2MSFTNGP04.phx.gbl...
> > 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?
> >
> >
> >

AddThis Social Bookmark Button