Re: userName="machine" didn't work



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








.



Relevant Pages

  • Re: userName="machine" didnt work
    ... Did you install ASP.NET from SBS disks? ... Here's what my machine.config entry for processModel looks like: ... That will grant read access to the IIS metabase to the account specified. ... An unhandled exception occurred during the execution of the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Bitter about [Lack of] .Net Framework Deployment
    ... We built a very nice auto-update framework, ... the 30-60 minute range to install. ... Also, the user's perception is reality - and our app install sucks, ... deploying 3.0 application, so I've not paid that close attention. ...
    (microsoft.public.dotnet.framework)
  • Re: Conversion from 2008->2003?
    ... required and install only those, you've not solved the problem of a new .NET ... app that uses a namespace or class you didn't know about when you did the ... Many people have perfectly legitimate reasons for ... If some of the code is being compiled against the 3.5 Framework, ...
    (microsoft.public.dotnet.general)
  • Re: userName="machine" didnt work
    ... to unregister my 1.1 framework do you? ... ASP.NET and .Net Framework versions installed? ... Neither of them have a user specified in their processModel. ... Did you install ASP.NET from SBS disks? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ServiceModelReg fails in installation of WCF
    ... file from a system on which 3.5 framework, ... (those people had to format the whole OS and then install this 3.5 ... securityInformation, SecurityIdentifier owner, SecurityIdentifier ... streamName, Boolean success, Object writeContext, Boolean ...
    (microsoft.public.dotnet.framework)

Quantcast