473,545 Members | 2,714 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Feb 4 '08 #1
0 3292

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
12252
by: Mark Space | last post by:
Hi all, I followed some simple instructions to add python scrips to IIS as a cgi. The instructions were here: http://www.e-coli.net/pyiis.html Unfortunately, when I try to run a test script, I get this message displayed on my browser window: %1 is not a valid Win32 application.
1
2261
by: greg grosiak | last post by:
Hello, I am tring to downloand a character file from microsoft agent website. I download the animated character peedy and when I try and run the exec it gives me an error not a valid win32 application. What can I do to get this to run ?
8
5455
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I...
0
1960
by: kk | last post by:
hello all, I want to call an exe(IISWeb.vbs) to create a site in Sharepoint.While calling that exe through Process.Start() it throws the following exception. 1.while calling through webService ,it throws the exception "ACCESS DENIED". 2.While calling through console Application,it throws
0
3206
by: Don MacKenzie | last post by:
Hi, I have a new development server that i put together on a Windows 2003 64 bit machine. I also have SQL Server 2005 and Developers Studio 2005 and 2003 installed on this machine. I have executed the "Enable32bitAppOnWin64 1" command, as per the instructions when installing Developers Studio. I am unable to server ASPX pages from this...
2
11702
by: sambo251 | last post by:
After running a few updates I get this very annoying "Windows Installer" error #1706 that will ne go away! It keeps saying that it cannot find the file "instantsharedevices.msi", that it is on another CD, and gets caught in a loop when I try to delete it! It mentions MS.net frame error # 1706. The "details" code follows...hope someone can help me...
6
7099
by: =?Utf-8?B?TWVsaXNzYQ==?= | last post by:
I was having a problem on my computer and had to uninstall and re-install iis. Now I am trying to re-register asp.net using aspnet_regiis.exe -i but the computer just gives me the error message "c:\...\aspnet_regiis.exe is not a valid Win32 application" I am using Windows XP SP 2, .NET Framework 2.0
7
29360
by: Boris | last post by:
I have a mixed DLL (a managed DLL in C++ calling functions in other unmanaged DLLs) which I can build successfully in Visual Studio 2005 but can't reference as I get then immediately the error: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) Trying to find out what that actually means I read something that VS2005...
2
4766
by: jake | last post by:
I am new to web development. I published a VS 2008 web page (default.aspx) file (along with its .cs file), using the "Publish Web Site" feature, to a Windows 2003 server that has all the .Net Framework versions including 3.5. The web page does not have any code in the page_load event (in the .cs file) The default.html version of the same...
0
7502
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7434
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7946
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.