Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have a sharepoint 2010 public web site , it ask a user/pass for first request after iisreset. It's working good after first request.

There is noting in windows event log, only i found in diagnostic logs a row like below

<nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.

Have any idea ?

Thanks

Sefer

share|improve this question
    
have you check the sharepoint's logs? –  Salvatore Di Fazio Mar 12 '13 at 14:36
add comment

1 Answer 1

Thos error means that there is a peace of your custom code or any SharePoint element that are required an authorisation.

I suppose that you have a customized publishing site? Try to check out if there are some referenced images, documents or something similar on your page they are published.

This will be hard to track your custom code but sometimes in the code behind you need to performe some operations (access API, update, delete, insert, items etc.) which reqire you to impersonate this code. To debug your page try to select a page on which you are prompted after iis reset and try to comment peaces of your custom code before you'll find what is exactly prompting up.

Once you will find, try to see how to resolve the issue or see this post to know how to impersonate a peace of code and run this with elevated privileges.

Hope it helps,

Andrew

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.