CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.getting_started Tags:
Item Type: NewsGroup Date Entered: 9/11/2005 4:37:13 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 55 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
exposedmedia
Asp.Net User
UnauthorizedAccessException... Little help please9/11/2005 4:37:13 PM

0/0

I receive the following error message when trying to install a skin to my portal.  After reading the error message the Tech Support for HostingLeader.Com (my Host) had this reply.  Any help would be appreciated.

Tech Reply: I'm not sure how or why you're getting this error, since the "ASP.NET Machine Account" user (ASPNET) has Full Permissions on your entire web space. This is the default set of permissions as described in the MSDN. Please research this error on the forums for DotNetNuke for an answer to this issue. I'm not sure which users on the server need to be given extra permissions. Maybe you could find the answer to that question on the forums. Let me know if you find anything.

Error Message is below.

Installing Resources

> Install Resources Status Report

> 00:00:00.015 - Installing Container File

> D:\www\e\x\exposed-media.com\www\Install\Container\X-CHRON C BLACK.zip:

> Server Error in '/' Application.

> Access to the path

> "D:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON

> C BLACK\X.Content.R4_C1.jpg" 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

> "D:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON C BLACK\X.Content.R4_C1.jpg" 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

> "D:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON

> C BLACK\X.Content.R4_C1.jpg" is denied.]

> System.IO.__Error.WinIOError(Int32 errorCode, String str) +363

> System.IO.File.Delete(String path) +155

> DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath,

> String SkinRoot, String SkinName, Stream objInputStream) +1518

>

> DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(B

> oolean

> status, Int32 indent) +1249

> DotNetNuke.Framework.Install.InstallResources() +100

> DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) +294

> System.Web.UI.Control.OnLoad(EventArgs e) +67

> System.Web.UI.Control.LoadRecursive() +35

> System.Web.UI.Page.ProcessRequestMain() +750

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

cathal
Asp.Net User
Re: UnauthorizedAccessException... Little help please9/11/2005 9:46:33 PM

0/0

It could be a couple of things

a) if the webserver is windows 2003, then you need permissions from the networkuser (as shown in the errormessage), not the aspnet user.
b) the root of the drive (in this case d:), is missing permissions (see http://forums.asp.net/1006675/ShowPost.aspx)
c) the webserver has the URLScan filter installed. By default it disallows access to url's that contain a period in them, that is not a file extension. I'm not sure how it would respond to a file called X.Content.R4_C1.jpg which contains multiple periods.

Cathal
exposedmedia
Asp.Net User
Re: UnauthorizedAccessException... Little help please9/12/2005 12:04:32 AM

0/0

It is windows 2003 and IIS 6, at first I was having problems with that and then they added the networkuser for me.  Response from the tech was the following:

We do allow web portals to be installed. Although, some of them require specific permissions to be set manually. Per your email, I have given the NETWORK SERVICE user write permissions on your entire web space. Try the installation again & let us know if there are any other issues you run across. 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
TheMSsForum.com >> Framework >> System.UnauthorizedAccessException ... I need a little help in the right direction or the code for a method to ..... Please help. Tag: System.UnauthorizedAccessException while importing data from ...
TheMSsForum.com >> Compact >> UnauthorizedAccessException while ... Tag: UnauthorizedAccessException while opening forms with Tag: 89329. 8 · how to control serial port of client in asp.net please help me! ...
Re: UnauthorizedAccessException upon access to an ASP.NET web service I know only a little about the Windows Server 2003 permissions issues related to ASP. ... Please review the stack trace for more information ...
DotNetJunkies :: The #1 .NET Community for Developers I have keep getting an UnauthorizedAccessException: Access is denied error in a web page ... The functionality goes a little bit like this: ...
Backup problems...help! - SharePoint University UnauthorizedAccessException: Retrieving the COM class factory for .... It is a little like having your foot nailed to the floor. PLEASE HELP ...
MSDN Visual Basic General Basic help for dummies, please! Basic help for dummies, please! Thank you and the others who responded to my query. ... 'specifically an UnauthorizedAccessException ...
Help on using Directory.CreateDirectory method - ASP.NET Forums please any help would be appreciated thanks guys! .... I just want to locate the reason of UnauthorizedAccessException :) ...
Disable Screen Saver - .NET C# "Thom Little" skrev i meddelandet news:%23ZtVh6EIEHA.2744@ TK2MSFTNGP10.phx.gbl...[color=blue] > Thank you for the help. ...
CodeProject: Dynamic Webcam Image. Free source code and ... please help in sorting out urgent Thanks in Advance nrajudandu ... UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID ...
Mike Hanley's Blog For more details and how to fix the problem, please read on. .... having OnPrepareBackup and OnBackup errors (UnauthorizedAccessException: Access Denied. ...




Search This Site:










dnn3 and mysql

error trying to run the modules solution

rollout best practices

dnn localization issue

talented designer looking for help installing dnn, willing to trade services.

where can i find the access database to use whit the version 3.x?

dotnetnuke - how much work to get started?

mssql backup and restore on a godaddy server

make a dataset from two database tables?

can not login to any dnn site i have

install problem

how work banner???

also a struggling newbie, but i have the permissions ok...

no login page after changing login page in site settings

installation error dnn4.02

can't edit text/html content in 3.0.12 and w2k3 - help!!

dnn 3 and users

installation problem

can't open in vs from dev server

pb with moduledef_v3.xsd and .dnn

could not find stored procedure 'dbo.getportals'

dnn 4 install problem - plz help

dnn 3.0.5 beta. install issue- invalid ojbect name 'tabs'

upgraded from 2.x to 3.1 and now the modules will not render any content...

css style items please can you tell me what these do?

sql errors

misc gotchas

error after clicking login...

add a banner?`

how to use the module?

  Privacy | Contact Us
All Times Are GMT