Installing Net Framework Service Pack 1

D

dancer

I have made a new post because when I try to respond to another, I get the
error, "Article Rejected -- Ill-formed message id"

This is in response to the advice of Juan Libre to install Net Framework
Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1
------------------------------------------------------------------------------------------------
I found the following file, "svcpack.log" at C:\WINNT.
It contains many lines, a few of which are the following:

1577.734: Num Ticks for Reg update and deleting 0 size files : 17187
1577.734: DoInstallation: ApplyAdminSystemAclsRecursive for
c:\winnt\$hf_mig$\Service Pack 2 failed; error=0x00000003
1577.734: Starting process:
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\copy2gac /i /a /p:"C:\Program
Files\Common Files\microsoft shared\ink\1.7\"
1577

Does this mean that the Net Framework Service Pack 1 is *already* installed?
 
J

Juan T. Llibre

No, dancer, that log refers to the .net framework 1.0 service pack 2.

When you install the .net framework 1.1 service pack 1, you'll have these files :

1. %temp%\netfxsl.log
2. %temp%\netfxupdate.log

To get to the %temp% directory click Start, click Run, type “%temp%” and click OK.

Did you download and install the correct service pack ?

The .net framework 1.1 service pack 1 download is at :
http://www.microsoft.com/downloads/...4f-088e-40b2-bbdb-a83353618b38&displaylang=en

It's a 10.2MB download.
 
D

dancer

1. I installed net framework 1.1 service pack
2. I found the 2 %temp% log files you mention below.
3. I opened WebMatrix and ran a file.
4. On the compiler error message there was this:
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210
5. I checked the Asp.Net tab to see if 1.1.4322 was chosen, and it was.
However, I noticed that on the same tab, the file location is indicated
as \Framework\v2.0.50.
Also, on the ISAPI Filters tab at the bottom is ASP 2.0.507270 with a
priority of low.
6. I am accessing the IIS folder from Administrative Tools. In the
Administrative Tools there is a file called "net Framework 2.0
configuration". There is not a 1.1 configuration.

????
 
D

dancer

I *should* have said there is no 1.1 configuration in the Administrative
Tools folder that I reach from the control panel.
There *is* a 1.1 configuration at this path: \Documents and
settings\Administrator\Start Menu\Programs\Administrator Tools\
 
J

Juan T. Llibre

re:
!> I checked the Asp.Net tab to see if 1.1.4322 was chosen, and it was.

Is that "Asp.Net tab" in the IIS Manager, when you right-click
the Application's name and select "Properties" ?

re:
!> However, I noticed that on the same tab, the file location is indicated as \Framework\v2.0.50.

I'm getting confused now.
There is *no* "file location which specifies "\Framework\v2.0.50727" ...

What you should be seeing is :
File location : Drive:\PhysicalPathToYourApp'sFiles\web.config

In any case...
Did the .Net Framework 1.1 install correctly ?

To find out if it did, open a command window in the .Net Framework 1.1 directory :

Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

and run the following command :

aspnet_regiis -lv

That will list all the .Net Framework versions installed in your computer,
and will tell you if they are valid installations.

The entry for 1.1 will look like this :
1.1.4322.0 Valid D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll

If you do *not* have a valid installation for 1.1, reinstall it.

If you *do* have a valid installation, you can run the following command from the same directory:

aspnet_regiis.exe -s W3SVC/1/ROOT/YourAppName

( substitute your Application's virtual name for "YourAppName", of course... )

That will change the .Net Framework version for that Application to 1.1.

Now, you will be able to run your application against the .Net Framework 1.1.
Try that...and let us know how you did.
 
D

dancer

RE: To find out if it did, open a command window in the .Net Framework 1.1
directory :

Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

and run the following command :

aspnet_regiis -lv
------------------------------------------------------------------------------------------------
I have an XP Pro. I click Start, All Programs, Accessories, Command Prompt.
It "shells out", as we used to say in the DOS days.
Here I try to enter the directory where the Net Framework 1.1 resides, so
that I can enter the aspnet_regiis -lv command WITHIN that directory, but
the Command Prompt is looking for a command, not a directory.

The path where the 1.1 resides is this:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
-----------------------------------------------------------------------------------------------------------
 
J

Juan T. Llibre

Ah, I understand better now.

You're seeing that because you clicked the "Web Sites" folder in the IIS Manager.

For yourspecific application, scroll down, on the left, below "Web Sites",
and right-click the *specific* application you're having problems with.

Still, that image shows that ASP.NET 1.1 isn't registered in IIS in your machine.

Let me repeat what I wrote on the way to solve this :

---000---
In any case...
Did the .Net Framework 1.1 install correctly ?

To find out if it did, open a command window in the .Net Framework 1.1 directory :

Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

and run the following command :

aspnet_regiis -lv

That will list all the .Net Framework versions installed in your computer,
and will tell you if they are valid installations.

The entry for 1.1 will look like this :
1.1.4322.0 Valid D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll

If you do *not* have a valid installation for 1.1, reinstall it.

If you *do* have a valid installation, you can run the following command from the same directory:

aspnet_regiis.exe -s W3SVC/1/ROOT/YourAppName

( substitute your Application's virtual name for "YourAppName", of course... )

That will change the .Net Framework version for that Application to 1.1.

Now, you will be able to run your application against the .Net Framework 1.1.

---000---

Try that...and let us know how you did.
 
J

Juan T. Llibre

When the command prompt opens, issue this command :

cd C:\WINNT\Microsoft.NET\Framework\v1.1.4322

....and, *then*, run aspnet_regiis -lv
 
J

Juan T. Llibre

re:
!> As you can see in this screen capture, the 1.1 has (root), while the 2.0 does not.

You have a valid install.

re:
!> Is that significant?

Not at all, as long as you don't introduce 2.0 objects in the root app.

re:
!> since I'm wanting the WebMatrix Project to run against 1.1, would I put the
!> WebMatrix at "YourAppName"?

No! That would only apply for *ASP.NET* applications, not Windows apps.

The WebMatrix will run against 1.1 no matter what you do.
It will *not* run against 2.0.

All you have to do to use the Webmatrix is open the file you wish to run.

re:
!> aspnet_regiis.exe -s W3SVC/1/ROOT/YourAppName
!> I am very nervous about registry commands.

That's not a registry command.
It's a command to configure a virtual app as an app which will use the .Net Framework 1.1.

re:
!> Is there a chance I could mess up my computer with this?

Absolutey not, but if you're not sure about command-line syntax,
use the IIS Manager interface ( the ASP.NET tab for the app ).

They both do the same thing : configure an app to run against either 1.1 or 2.0
 
D

dancer

I am SO CONFUSED!!! We are talking in circles!
--------------------------------------------------------------------------
*RE: The WebMatrix will run against 1.1 no matter what you do.
It will *not* run against 2.0.

All you have to do to use the Webmatrix is open the file you wish to run.
--------------------------------------------------------------------------------
The reason I started this post was because when I open a file and run it in
*Web Matrix Project* and get errors, this appears at the bottom of the error
page:
"Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210 "

That message seems to tell me it is running against 2.0. for it says
NOTHING about 1.1.

I am *still* getting that now, even though you say "You have a valid
install."
________________________________________________________________________


*RE: Absolutey not, but if you're not sure about command-line syntax,
use the IIS Manager interface ( the ASP.NET tab for the app ).

They both do the same thing : configure an app to run against either 1.1
or 2.0
-----------------------------------------------------------------------------------
We had already established that I had changed the ASP.NET tab to 1.1.4322,
even though the Location says Framework 2.0 (Remember the screen capture?)
So why was I even considering the command line?
Is there another ASP.Net tab that I haven't found?
_____________________________________________________________________________

*RE: aspnet_regiis.exe -s W3SVC/1/ROOT/YourAppName
---------------------------------------------------
I'm sorry to be so dumb, but just what goes at "YourAppName"?
I just dont' know what we're talking about when "app" is referred to.

Thank you.
 
J

Juan T. Llibre

re:
!> That message seems to tell me it is running against 2.0. for it says NOTHING about 1.1.

You're right.
The Web Matrix reports the version as 2.0, even though it runs under 1.1.

re:
!> even though you say "You have a valid install."

You *do* have a valid install of 1.1, in spite of that quirk.

re:
!> We had already established that I had changed the ASP.NET tab to 1.1.4322,
!> even though the Location says Framework 2.0 (Remember the screen capture?)

Maybe you missed the explanation about that ?

Here it is again :

---000---
You're seeing that because you clicked the "Web Sites" folder in the IIS Manager.

For your specific application, scroll down, on the left, below "Web Sites",
and right-click the *specific* application you're having problems with.
---000---

After you right-click your application's name in the IIS Manager,
and select "Properties", click the ASP.NET tab.

You'll see the correct path to web.config in "File Location".

re:
!> I'm sorry to be so dumb, but just what goes at "YourAppName"?
!> I just dont' know what we're talking about when "app" is referred to.

Whatever your virtual application name is.

That's only valid if you're using IIS, though.
If you're using the Web Matrix development server, that's irrelevant.

Remember, they're two completely different web servers.
 
J

Juan T. Llibre

re:
!> From this screen capture you can see that there are no applications
!> available to click on.
!> If I click on "Domains" it gives me my company web site.
!> If I click on Current Sessions, it is empty.

That's the *SMTP* server's configuration.

Try expanding the "Web Sites" node.
You'll see your currently configured ASP.NET applications there.

re:
!> Before I started trying to use WebMatrix, I was writing code in Note pad or
!> Word pad, saving in wwwroot and viewing at local host. Do you call that an application?

No. The word "Application" refers to an *ASP.NET* or an *IIS* Application.

re:
!> Would you call Web Expression an application?

Yes, it's an application.
It's a *Windows* application, though, not an ASP.NET nor an IIS application.
 
D

dancer

Finally, I understand the term "application". Thank you!
I do see the *applications* when I expand the Web Site node. However, it
will not let me change from 1.1 to 2.0 and vice versa on the individual
apps. That choice is greyed out. I have to go back and change on the Web
Sites node.

On another issue.... As I said, I was writing code in notepad and word pad
for ASP.net *applications* - (Aren't you impressed how I throw that word
around?) using 2.0. They compiled and ran successfully using LocalHost.
NOW, I get this error on all, (still using Local Host) whether I'm running
against 2.0 or against 1.0, EVEN THOUGH I HAVE NOT MADE ANY CHANGES IN THE
CODE.
Control 'operation' of type 'TextBox' must be placed inside a form tag with
runat=server.
Do you have any idea why?
 
J

Juan T. Llibre

re:
!> I have to go back and change on the Web Sites node.

Don't do that.

That's likely to be causing the error you're getting,
because that changes *all* your websites' target framework.

re:
!> However, it will not let me change from 1.1 to 2.0 and vice versa
!> on the individual apps. That choice is greyed out.

Try downloading Denis Bauer's "ASP.NET Version Switcher":
http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

It's use is quite intuitive.

Just select the application you want to change, the .Net Framework version
you want to target, and click the "Switch .Net Framework Version" button.
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top