Help with web service please

T

Tom Rahav

Hi,

I got a project that I have to run on my PC. This is a C# project that use
web service. I have IIS and Visual Studio .NET installed on my machine (Win
XP Pro). When I try to open the solution file, I get the following error:

"Visual Studio .NET has detected that the specified Web server is not runing
ASP.NET version 1.1.
You will be unable to run ASP.NET Web application or service."

Before I run the project, I copied the the required directoried to the
wwwroot directory and created a web project in the IIS.
My IIS service is up and running, so I don't understand why it doesn't
work...
Thanks!
Tom Rahava.
 
K

Kevin Yu [MSFT]

Hi Tom,

In IIS 5.1, the default website can only run a certain version of ASP.NET.
You can use the following steps to see if your IIS has been set to the
correct version of ASP.NET.

1. In the Administrative Tools, open Internet Information Services.
2. Right click Default Web Site and click properties on the popup menu.
3. Switch to ASP.NET tab.

The ASP.NET version is displayed. If your app is .NET 1.1 version, please
select 1.1.4322.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
T

Tom Rahav

Hello Kevin,

Thanks for your answer, but I don't have an ASP.NET tab in the properties
window. I have the following tabs only:
Web Site
ISAPI Filters
Home Directory
Documents
Directory Security
HTTP Headers
Custom Errors

Any idea why?
Thanks!
 
G

Guest

there is a command line command to install ASP.Net onto the IIS I am sorry
that I have forgotten what that comman is but maybe that will help your
search.

Basically you have the .Net framework and everyone is happy but the latest
version of ASP is not installed in the IIS which ironically is the default if
I am not mistaken. By that I mean every person on the planet who installs IIS
for the first time also has to do this command line routine.
 
K

Kevin Yu [MSFT]

Hi Tom,

As Sean mentioned, we can use aspnet_regiis to install asp.NET onto IIS.
First use aspnet_regiis -u to uninstall the one available on the machine.
Then use aspnet_regiis -i to perform an installation. You have to run
aspnet_regiis from the VS.NET 2003 command prompt. Start it from the
following place.

Start -> All Programs -> Visual Studio 2003 .NET -> Visual Studio .NET
Tools -> Visual Studio .NET 2003 Command Prompt

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

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