Help: %1 is not a valid Win32 application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianluca Pezzoli

    Help: %1 is not a valid Win32 application

    Hi,

    I have Windows Server 2003 x64 standard SP2 Italian, with Xeon 3.8 Ghz and
    2GB RAM.
    On Server I found installed .net framework 1.1 and 2.0 (x64).

    I am developing a simple (Hello world) web service with Visual Studio 2008
    Dev Edition (English). I have selected a Web Service Site Project with net
    2.0 framework.

    I have created a web site IIS 6.0 under the default web sites directory.
    Then I created a virtual directory in the new web site.

    The virtual directory has this properties in IIS:
    - Read option enabled
    - Browse option enabled
    - Index resource enabled
    - Log visits enabled
    - Application mane (WebService)
    - Execution authorizations : execute scripts and executables
    - Application pool: WebService (one only application for this pool)

    I don't have any ASP.NET tab in virtual directory properties!
    but I can see that .asmx pages are binded to .net 2.0 framework x64

    I published web service with Visual Studio using ftp protocol.
    In the virtual directory there is .asmx and Web.config files and \bin
    directory there are WebService.dll, .pdb,.xml files.

    I can browse (for testing purpose only) the directory in the browser.

    When I call the web service
    (http://servername/site/WebService/WebService.asmx) I get
    this message in the browser:
    %1 is not a valid Win32 application

    I tried to rebuild the project with "Any CPU" and with "x64 Cpu" but
    anything changed.

    Can anyone help me?

    Thanks in advance
    Gianluca Pezzoli


Working...