Re: userName="machine" didn't work
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Wed, 24 Jan 2007 18:40:13 -0400
re:
...". You mean just all of the 2.0 versions, correct?
Yes.
re:
You don't mean for me to unregister my 1.1 framework do you?
No. That's not needed.
Good luck, and please post back how you did after you finish.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joe Rattz" <JoeRattz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CD1CCBC9-E34B-4CCC-A82D-0F605E4C9A5B@xxxxxxxxxxxxxxxx
Did you verify the error message in the link provided in my last post ?Yes, but I believed you. I am uninstalling BLINQ, then LINQ, then I will
unregister all of the .NET Framework 2.0. dlls. Next I will ununstall .NET
Framework 2.0. I will then make sure the entire 2.0 directory is gone. I
will then reinstall 2.0 from the link you provided.
In your message, you said "unregister *all* versions of the .Net Framework
...". You mean just all of the 2.0 versions, correct? You don't mean for me
to unregister my 1.1 framework do you?
Also, what are SBS disks?
Thanks.
"Juan T. Llibre" wrote:
re:
Are you sure?
Isn't it odd to you that you're having problems but I'm not,
yet you question whether it's normal to have differing
ASP.NET and .Net Framework versions installed ?
What's normal is for the versions to be identical.
Did you verify the error message in the link provided in my last post ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joe Rattz" <JoeRattz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:154B7612-AC43-4898-9C78-F31AB2A60600@xxxxxxxxxxxxxxxx
I have gone to two other developers boxes here that have ASP.NET 2.0 working
and they too have .NET Framework 2.0 files with the same version as mine.
Specifically, their System.Web.dll is version 2.0.50727.210.
And, both of them have their processModel in their machine.config that
looked just like mine:
<processModel autoConfig="true"/>
Neither of them have a user specified in their processModel. One of them
doesn't have an ASP.NET 2.0 app on the machine, but they did. The other has
an ASP.NET 2.0 web service and it runs right now.
Are you sure?
"Juan T. Llibre" wrote:
re:
Does this mean my entire .NET 2.0 Framework is beta?
No. You apparently had a beta version (.210) installed
when you installed the release version (.42).
Again apparently, the installation of the release version did not complete,
leaving some parts of the beta version (.210) still installed.
That much is evident from the last part of the error message you posted :
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210
If you only had the release version installed,
only the 2.0.50727.42 version would be referenced.
I know that has happened when SBS disks have been used.
In any case, what you should do is unregister *all*
versions of the .Net Framework by running :
aspnet_regiis -ua
from :
Drive:\%WINDIR%\Microsoft.NET\Framework\v2.0.50727
and then reinstall the release version of the .Net Framework.
You should have that in the directory:
Drive:\VStudioInstallDir\SDK\v2.0\BootStrapper\Packages\dotnetfx
of your currently installed VS 2005.
If you don't have VS 2005 installed,
get the redistributable release version of the .Net Framework at :
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx
( make sure you select the correct version, 32-bit or 64-bit )
....and install it after you run aspnet_regiis -ua
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joe Rattz" <JoeRattz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F4DE9377-F7EC-41F7-A623-10FB273D7CCE@xxxxxxxxxxxxxxxx
I really don't recall where I installed it from. I don't recall specifically
installing ASP.NET. That would have gotten installed when I installed the
.NET 2.0 Framework, wouldn't it?
Does this mean my entire .NET 2.0 Framework is beta?
"Juan T. Llibre" wrote:
re:
I do have the May CTP for LINQ
I don't think that's the problem.
The .Net Framework beta version I'm referring to is : 2.0.50727.210
The released version is : 2.0.50727.42
Did you install ASP.NET from SBS disks?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joe Rattz" <JoeRattz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:17A9E20A-5EB3-4BD8-8E20-CE250F00372A@xxxxxxxxxxxxxxxx
Hmmm, I do have the May CTP for LINQ, and BLINQ installed on this machine.
That must be it, so I will try uninstalling them. However, so you know, it
was a BLINQ ASP.NET 2.0 site I was trying to get working. Since that site
was generated by Microsoft code, I would have expected it to work, but
admittedly, that code is still beta or even less mature.
I'll uninstall that and see if it works and get back to you. Thanks.
"Juan T. Llibre" wrote:
I hate to tell you this, but you have conflicting ASP.NET versions
installed on your computer, including a beta version :
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.210
That could very well be the source of your problems.
You should try to resolve that by uninstalling all currently installed 2.0
versions of the .Net Framework, and reinstalling the released version
( the redistributable will do fine ).
Get the 32-bit redistributable at :
http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
If you have a 64-bit machine, there's a link
at the bottom of that page for the 64-bit versions.
re:
my machine.config looked like this after install:
<processModel autoConfig="true"/>
Odd...
Here's what my machine.config entry for processModel looks like :
<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="00:00:05"
requestLimit="Infinite" requestQueueLimit="5000" restartQueueLimit="10" memoryLimit="60"
webGarden="false" cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors"
clientConnectedCheck="00:00:05" comAuthenticationLevel="Connect"
comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" responseRestartDeadlockInterval="00:03:00"
autoConfig="true"
maxWorkerThreads="20" maxIoThreads="20" minWorkerThreads="1" minIoThreads="1"
serverErrorMessageFile="" pingFrequency="Infinite" pingTimeout="Infinite"
maxAppDomains="2000"
/>
If you are set on using a Windows or a domain account,
instead of the default provided, you can run :
aspnet_regiis -ga <WindowsUserAccount>
substituting the Windows or domain user account you write
into the processModel section of machine.config.
That will grant read access to the IIS metabase to the account specified.
*However* ( and I stress this ), uninstalling all versions of ASP.NET 2.0
(including the Beta Version:2.0.50727.210 which you currently have installed,
and installing just the released version ( 2.0.50727.42 ) should have you in
clover in almost no time at all.
The release version's install routine will set you up with
a correct processModel configuration you can use.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Joe Rattz" <JoeRattz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3DF1E427-6936-4741-A9F5-69B32E439211@xxxxxxxxxxxxxxxx
Thanks for responding. Boy, you really had me excited that specifying the
userName as machine was going to solve my problem, but it didn't.
First, let me mention that the processModel section of my machine.config
looked like this after install:
<processModel autoConfig="true"/>
Was I supposed to know to add the userName attribute? Or did something not
install properly? The only reason I know of the userName attribute is from
the research I did trying to resolve this problem. My assumption was that by
leaving it off, it would default to ASPNET.
Regardless, I tried what you suggested, and it didn't work. Here is what my
processModel section looked like:
<processModel userName="machine" password="AutoGenerate" autoConfig="true"/>
Here is the exact error:
Server Error in '/Northwind' Application.
--------------------------------------------------------------------------------
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to
access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS
metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase
permissions, please see http://support.microsoft.com/?kbid=267904.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[HostingEnvironmentException: Failed to access IIS metabase.]
System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String
siteID, VirtualPath path) +3500378
System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String
siteID, VirtualPath vpath) +9
System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath
virtualPath, Boolean permitNull) +163
System.Web.CachedPathData.GetConfigPathData(String configPath) +382
System.Web.CachedPathData.GetConfigPathData(String configPath) +243
System.Web.CachedPathData.GetApplicationPathData() +68
System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath,
Boolean permitPathsOutsideApp) +3393699
System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath
path) +189
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.210
.
- Follow-Ups:
- Re: userName="machine" didn't work
- From: Joe Rattz
- Re: userName="machine" didn't work
- References:
- Re: "Failed to access IIS metabase." error with ASP.NET 2.0
- From: Juan T. Llibre
- userName="machine" didn't work
- From: Joe Rattz
- Re: userName="machine" didn't work
- From: Juan T. Llibre
- Re: userName="machine" didn't work
- From: Joe Rattz
- Re: userName="machine" didn't work
- From: Juan T. Llibre
- Re: userName="machine" didn't work
- From: Joe Rattz
- Re: userName="machine" didn't work
- From: Juan T. Llibre
- Re: userName="machine" didn't work
- From: Joe Rattz
- Re: userName="machine" didn't work
- From: Juan T. Llibre
- Re: userName="machine" didn't work
- From: Joe Rattz
- Re: "Failed to access IIS metabase." error with ASP.NET 2.0
- Prev by Date: Accessing value from SqlDataSource
- Next by Date: Looking for recommendations on a programming language for a web application.
- Previous by thread: Re: userName="machine" didn't work
- Next by thread: Re: userName="machine" didn't work
- Index(es):
Relevant Pages
|