Monday, September 26, 2005

2 weeks of trials and errors

The same thing continued...and instead of getting any further, last weekend I went backwards. The IIS started acting up and the snap-in to the Management Console bombed.
---------------------------
Microsoft Management Console
---------------------------
Snap-in failed to initialize.
Name:
CLSID:{A841B6C2-7577-11D0-BB1F-00A0C922E79C}
---------------------------
OK
---------------------------


I went upto a point where I started madly deleting registry entries for IIS - ofcourse, after I backed it up. It gave something like this:
"Error writing encrypted data to web server's configuration database.."

I tried dumping IIS and installed Apache and ran a asp.net sample code as well.

But then, things came to a stand still - I started exploring options to install Windows Server 2003.

Today, I got IT folks to format my c drive and reinstall Windows XP Pro - it was getting too slow and too many things on it.

I dont know if I should be happy - now that IIS is up and more importantly - created and executed a sample asp.net web service project successfully!

Looks like finally some action begins tomorrow...like it never did before!!! I will sleep well today after 2 horrible weeks of madness and frustration...

:-)

Wednesday, September 21, 2005

Uninstall and Reinstall

Uninstalled .net and IIS along with framework 1.1

Reinstalled IIS first then .net.

Then tried all I could - no go. Am I at a deadend??!!

Tuesday, September 20, 2005

VS.Net update components

Got the dump of Visual Studio.Net and installed web service components - it doesn't install by default.

Then, got the original message:
---------------------------
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://conceptinc/WebService1'. 'The server name or address could not be resolved'.
---------------------------
OK Help
---------------------------


Did aspnet_regiis -i

Got the familiar
Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.

Saw that there was a older version folder
C:\winDOWS\microsoft.NET\framework\v1.1.3705 - deleted it.

Nogo.

Did aspnet_regiis -i and regsvr32 aspnet_isapi.dll

And then...

http://www.mastercsharp.com/India/Forums/ShowPost.aspx?PostID=700

Even came up with a nice batch file...
Echo Stop IIS

iisreset /stop
echo "----------------------"

echo "Deleting the ASPNET account."

net user ASPNET /delete

echo "----------------------"

cd C:\winDOWS\microsoft.NET\framework\v1.1.4322

echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i

echo "Restarting IIS."
iisreset /start
echo "----------------------"

Enough of this naatak...looks like the only way out is to install IIS first and VS next - then aspnet_iis -i once. I had done it vice versa and thought there would be a workaround - but then, as always there seems to be no shortcut.

Friday, September 16, 2005

HOW TO: Configure Different Versions of an ASP.NET Application Running on the Same Web Server

Good article for a future use, but registering my test1 web service to ASP.NET 1.1 did not help.

HOW TO: Configure Different Versions of an ASP.NET Application Running on the Same Web Server

Should I look at removing all and installing IIS and VS in a sequence?

BUG: "ASP.NET Version Mismatch" Error Message When You Open an ASP.NET 1.0 Project in Visual Studio .NET 2003

BUG: "ASP.NET Version Mismatch" Error Message When You Open an ASP.NET 1.0 Project in Visual Studio .NET 2003

How it all started

PRB: "The specified Web server is not running ASP.NET version 1.1" error message when you create an ASP.NET 1.1 application and you have both ASP.NET 1.1 and ASP.NET 1.0 installed

This is error message which lead me to what ever happened yesterday.

Right now, it allows me to create a ASP.NET Web Service project under VB.NET projects. But then I get this:
ASP.NET Version Mismatch

Visual studio .NET has detected that the Web server is running ASP.NET 1.0....

and then asks me whether I want to upgrade it to ASP.NET 1.1 or make it compatible with 1.0.

Story so far

I can its been a partial success with this thing evidently giving a run to most folks (the link below will tell you that).

I tried:
1) Make sure the "Distributed Transaction Coordinator" service is running (!)
2) reinstall IIS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"

Then I reinstalled dotnet Framework 1.1 - nogo.

On the other hand, this time I tried changing the localhost in the project name to http://conceptinc/test1 - where conceptinc is the name of the website under IIS. I got another message which said web server is still using ASP.net 1.0 where as latest is 1.1. It gave me an option to upgrade to 1.1 later or make this app 1.0 compatible. When I chose the latter, I got a message saying it was unable to create project files.

It's now 2:20am and it's good enough for a day. :)

Thursday, September 15, 2005

I'm not alone...others have same problem

http://blogs.msdn.com/tmeston/archive/2003/07/08/9806.aspx

HTTP/1.1 500 Server Error

Fixed it, also configured IIS 5.1 on my Win XP pro. Getting http://localhost home page I created on c:\inetpub\wwwroot\default.htm

But when I try to create the same project, I get

---------------------------
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebService1'. 'HTTP/1.1 500 Server Error'.
---------------------------
OK Help
---------------------------
Still trying to fix it.

ASP.NET version 1.1

Ok, now read all about SOA stuff...it;s implementation time. I try to create a ASP.Net Web Service project...and what you get

Error:
---------------------------
Microsoft Development Environment
---------------------------
Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.
---------------------------
OK Help
---------------------------

Googled for a fix:
aspnet_regiis.exe -i

why another subsidiary?

concept inc is expanding and in a mood for funding an enterprise which has to implement an SOA solution (but doesn't know how to do it, yet!).

In other words, this is going to be a wierd sort of documentation of all my efforts/bugs/problems/hurdles/successess/discoveries..... while doing my project for the final semester MS (Software Systems) at BITS-Pilani. It's trying to implement an SOA solution for Knowledge Management System - taking in a specific user scenario.

This blog is exclusively aimed at **my own** use and does not try to make any sense for any one else. In short, this is for private use and if data seems haphazard, I dont intend to clean it up for any body else's sake! Crazy, isn't it???!!

It's gonna be lots of fun!