Server Error in '/_layouts' Application
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Server Error in '/_layouts' Application

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server
Author Message
OSO Mike
Guest





Posted: Thu Nov 10, 2005 1:51 am    Post subject: Server Error in '/_layouts' Application Reply with quote

I thought this might be a common issue, but I've searched all over and cannot
find the answer to this.

Whenever I click on any part of the sharepoint portal that involves linking
to /_layouts/anything here/... - I get the following error message..

Server Error in '/_layouts' Application

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed.

What is the problem and how do I fix it?

Thanks!
Back to top
Edward Lee
Guest





Posted: Thu Nov 10, 2005 8:01 am    Post subject: Re: Server Error in '/_layouts' Application Reply with quote

This any help from the WSS FAQ:

http://wss.collutions.com/Lists/FAQ/DispForm.aspx?ID=223

--
Edward Lee
Microsoft MVP - Sharepoint Portal Server


"OSO Mike" <OSO Mike@discussions.microsoft.com> wrote in message
news:2E2B4F70-76DD-4777-A687-D1B97C2F80BF@microsoft.com...
Quote:
I thought this might be a common issue, but I've searched all over and
cannot
find the answer to this.

Whenever I click on any part of the sharepoint portal that involves
linking
to /_layouts/anything here/... - I get the following error message..

Server Error in '/_layouts' Application

Runtime Error
Description: An application error occurred on the server. The current
custom
error settings for this application prevent the details of the application
error from being viewed.

What is the problem and how do I fix it?

Thanks!
Back to top
Engelbert
Guest





Posted: Thu Nov 10, 2005 9:51 am    Post subject: Re: Server Error in '/_layouts' Application Reply with quote

I suspect it's not that FAQ item.

I suspect the message goes on to say that you should amend config.web.

I.e. it's the message telling you that if you change something in config.web
then you will get a descriptive error message rather than just this standard
error message.

If so then OSO Mike should amend config.web as the rest of the message says
and then access the page again. This time it will either work or he will get
a message telling him what the problem is.

P.S. Usually we then get in reply - "which config.web do I amend ?". I just
amend all that I find ...

Engelbert

"Edward Lee" <elee@ulgm.org> wrote in message
news:etqYMvZ5FHA.3876@TK2MSFTNGP09.phx.gbl...
Quote:
This any help from the WSS FAQ:

http://wss.collutions.com/Lists/FAQ/DispForm.aspx?ID=223

--
Edward Lee
Microsoft MVP - Sharepoint Portal Server


"OSO Mike" <OSO Mike@discussions.microsoft.com> wrote in message
news:2E2B4F70-76DD-4777-A687-D1B97C2F80BF@microsoft.com...
I thought this might be a common issue, but I've searched all over and
cannot
find the answer to this.

Whenever I click on any part of the sharepoint portal that involves
linking
to /_layouts/anything here/... - I get the following error message..

Server Error in '/_layouts' Application

Runtime Error
Description: An application error occurred on the server. The current
custom
error settings for this application prevent the details of the
application
error from being viewed.

What is the problem and how do I fix it?

Thanks!

Back to top
OSO Mike
Guest





Posted: Fri Nov 11, 2005 1:51 am    Post subject: Re: Server Error in '/_layouts' Application Reply with quote

Yes, the message goes on to say that I should change the web.config. I had
already done so - to no avail. Per your prompting, I changed all references
that I could find - which did change the error:

Now, I'm getting...

Server Error in '/_layouts' Application.
--------------------------------------------------------------------------------

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\_layouts\7908a291\1034c155" is denied.
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.UnauthorizedAccessException: Access to the path
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\_layouts\7908a291\1034c155" is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties" and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the boxes
for the desired access.

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:


[UnauthorizedAccessException: Access to the path
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\_layouts\7908a291\1034c155" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.Directory.InternalCreateDirectory(String fullPath, String path)
+632
System.IO.Directory.CreateDirectory(String path) +195
System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext
context) +85

System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext
context) +97
System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +153
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +454

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +946
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128


So - I granted access to ASP.NET - yet am still getting the error.

Any suggestions?

Thanks.

-Mike

"Engelbert" wrote:

Quote:
I suspect it's not that FAQ item.

I suspect the message goes on to say that you should amend config.web.

I.e. it's the message telling you that if you change something in config.web
then you will get a descriptive error message rather than just this standard
error message.

If so then OSO Mike should amend config.web as the rest of the message says
and then access the page again. This time it will either work or he will get
a message telling him what the problem is.

P.S. Usually we then get in reply - "which config.web do I amend ?". I just
amend all that I find ...

Engelbert
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB