an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Access denied on 'Attributes.aspx'
Last Post 5/26/2011 10:32:45 PM By lukezy. 5 replies.
5/25/2011 1:50:37 AM
jurgen
Posts: 4
Joined: 5/25/2011
Access denied on 'Attributes.aspx'
Hello,
 
I've got an error by installing de template of DotShoppingCart in Webmatrix:
Access denied on 'Attributes.aspx'
 
What do I wrong?
 
Greetz Jurgen
5/25/2011 11:18:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Access denied on 'Attributes.aspx'
I have never seen this before. Is it in the site admin? Are other pages working just fine?
DotShoppingCart Staff
5/26/2011 5:58:13 AM
jurgen
Posts: 4
Joined: 5/25/2011
Re: Access denied on 'Attributes.aspx'
<span lang="en" class="short_text" id="result_box"><span class="hps" title="Klik voor alternatieve vertalingen">I</span> <span class="hps" title="Klik voor alternatieve vertalingen">get</span> <span class="hps" title="Klik voor alternatieve vertalingen">the</span> <span class="hps" title="Klik voor alternatieve vertalingen">error</span> <span class="hps" title="Klik voor alternatieve vertalingen">when</span> <span class="hps" title="Klik voor alternatieve vertalingen">installing </span></span>DotShoppingCart in Webmatrix.
The exact message is:
---------------------------
Error
---------------------------
Access to the path 'Attributes.aspx' is denied.
---------------------------
OK
---------------------------

---------------------------
System.UnauthorizedAccessException: Access to the path 'Attributes.aspx' is denied.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
   at Microsoft.WebMatrix.Gallery.IISExpressService.DeleteSite(String siteName)
   at Microsoft.WebMatrix.Gallery.WPF.FinishPage.CleanUpFailedAppInstall()
   at Microsoft.WebMatrix.Gallery.WPF.FinishPage.LoadInstallerContexts()
   at Microsoft.WebMatrix.Gallery.WPF.FinishPage.Activate()
   at Microsoft.WebMatrix.Gallery.WPF.GalleryWizardImpl.DisplayPage(GalleryWizardPage page)
   at Microsoft.WebMatrix.Gallery.WPF.GalleryWizardImpl.GoToNextPage()
---------------------------
 
5/26/2011 6:00:29 AM
jurgen
Posts: 4
Joined: 5/25/2011
Re: Access denied on 'Attributes.aspx'
Followed by this error:
 
EXCEPTION: Microsoft.Web.Deployment.DeploymentDetailedClientServerException: An error occurred during execution of the database script. The error occurred between the following lines of the script: "158" and "165". The verbose log might have more information about the error. The command started with the following:
"IF( NOT EXISTS (SELECT * FROM sys.database_princ"
 The login already has an account under a different user name. http://go.microsoft.com/fwlink/?LinkId=178587 ---> System.Data.SqlClient.SqlException: The login already has an account under a different user name.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection connection, DbTransaction transaction, DeploymentBaseContext baseContext, Int32 timeout)
   --- End of inner exception stack trace ---
   at Microsoft.Web.Deployment.DBStatementInfo.Execute(DbConnection connection, DbTransaction transaction, DeploymentBaseContext baseContext, Int32 timeout)
   at Microsoft.Web.Deployment.DBConnectionWrapper.ExecuteSql(DBStatementInfo sqlStatement, DeploymentBaseContext baseContext, Int32 timeout)
   at Microsoft.Web.Deployment.SqlScriptToDBProvider.AddHelper(DeploymentObject source, Boolean whatIf)
   at Microsoft.Web.Deployment.SqlScriptToDBProvider.Add(DeploymentObject source, Boolean whatIf)
   at Microsoft.Web.Deployment.DeploymentObject.AddChild(DeploymentObject source, Int32 position, DeploymentSyncContext syncContext)
   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentObject destParent, DeploymentObject sourceObject, Int32 position)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)
   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
   at Microsoft.Web.PlatformInstaller.MSDeployProxy.Install(InstallerContext context, RemoteCredentials remoteCredentials)
 
5/26/2011 6:03:23 AM
jurgen
Posts: 4
Joined: 5/25/2011
Re: Access denied on 'Attributes.aspx'
When I run the site I've got this error:
 
<span>

Server Error in '/' Application. <hr width="100%" size="1" color="silver" />

Compilation Error

</span>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'DotShoppingCart' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> </td> </tr> <tr> <td>
Line 1:  <%@ Application Language="C#" %>
Line 2:  <%@ Import namespace="DotShoppingCart.OpenSource.Core" %>
Line 3:  <%@ Import namespace="DotShoppingCart.OpenSource.OrderPipeline" %> Line 4:  <%@ Import 
namespace="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" %>
Line 5:  
</td> </tr> </tbody> </table>
Source File: c:\inetpub\wwwroot\DotShoppingCart1\Global.asax    Line: 3


<div class="expandable">Show Detailed Compiler Output:
<div id="compilerOutputDiv" style="DISPLAY: none">
<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
C:\Users\Administrator\Desktop> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" 
/t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities
\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_3
2\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Syste
m.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\G
AC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\
Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServ
ices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GA
C_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\ass
embly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R
:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Micros
oft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C
:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Dat
a.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf38
56ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a
5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\ed4ddc8
d\8ae3551e\App_GlobalResources.nwz_utel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0
__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0
.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP
.NET Files\root\ed4ddc8d\8ae3551e\App_Code.x3zqokxt.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Comp
onentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows
\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Window
s\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Seria
lization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856
ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4
.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceM
odel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System
.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembl
y\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.
Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\ass
embly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assem
bly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /out:"C:\Windows\Microsoft.NET\F
ramework\v4.0.30319\Temporary ASP.NET Files\root\ed4ddc8d\8ae3551e\App_global.asax.y-ygeq-d.dll" /debug- /optimize+
 /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\
root\ed4ddc8d\8ae3551e\App_global.asax.y-ygeq-d.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NE
T Files\root\ed4ddc8d\8ae3551e\App_global.asax.y-ygeq-d.1.cs"


Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

c:\inetpub\wwwroot\DotShoppingCart1\Global.asax(3,11): error CS0246: The type or namespace name 'DotShoppingCart' could not be found (are you missing a using directive or an assembly reference?)
c:\inetpub\wwwroot\DotShoppingCart1\Global.asax(4,21): error CS0234: The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
c:\inetpub\wwwroot\DotShoppingCart1\Global.asax(2,11): error CS0246: The type or namespace name 'DotShoppingCart' could not be found (are you missing a using directive or an assembly reference?)
</td> </tr> </tbody> </table>

<hr width="100%" size="1" color="silver" /> Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
5/26/2011 10:32:45 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Access denied on 'Attributes.aspx'
It seems like install failed. From the error message you seem like using database user that already exists. Try to specify database user that doesn't already exist.
DotShoppingCart Staff