Hello!
I need help to solve the following problem.
My dnn portal has the following problem:
Access to the path 'C:\inetpub\wwwroot\dotnetnuke\web.config' is denied.
At the login it doesn´s appear the skin and give this error.
To solve the problem i have to cut the web.config and open the site and then paste again.
Then when if i open the site that appears good.
log of the error:
AssemblyVersion: 5.5.1
PortalID: 1
PortalName: XPTO Portal
UserID: -1
UserName:
ActiveTabID: 40
ActiveTabName: Home
RawURL: /dotnetnuke/login.aspx?ReturnUrl=%2fdotnetnuke%2fadmin%2ffilemanager.aspx
AbsoluteURL: /dotnetnuke/Default.aspx
AbsoluteURLReferrer:
http://www.mysitename.com/dotnetnuke/...
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; Avant Browser; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; mysitename)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5f5ae697-f029-411c-ab37-269b430a19dc
InnerException: Access to the path 'C:\inetpub\wwwroot\dotnetnuke\web.config' is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Access to the path 'C:\inetpub\wwwroot\dotnetnuke\web.config' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\dotnetnuke\web.config' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at DotNetNuke.Common.Utilities.Config.Load(String filename) in C:\CCNet_Builds\CE_Development\WorkingDirectory\Library\Common\Utilities\Config.vb:line 315 at DotNetNuke.Common.Utilities.Config.GetPersistentCookieTimeout() in C:\CCNet_Builds\CE_Development\WorkingDirectory\Library\Common\Utilities\Config.vb:line 244 at DotNetNuke.Entities.Users.UserController.UserLogin(Int32 portalId, UserInfo user, String PortalName, String IP, Boolean CreatePersistentCookie) in C:\CCNet_Builds\CE_Development\WorkingDirectory\Library\Entities\Users\UserController.vb:line 1160 at DotNetNuke.Modules.Admin.Authentication.Login.ValidateUser(UserInfo objUser, Boolean ignoreExpiring) at DotNetNuke.Modules.Admin.Authentication.Login.UserAuthenticated(Object sender, UserAuthenticatedEventArgs e) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Nome do servidor: Fusketa