Godaddy Installation Problem for Nopcommerce 3.70 Theme

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
I saw similar discussion before about Godaddy Installation for NopCommerce older version. so hopefully someone can shed some light on this one too.

My IT was trying to install a 3.70 based Nopcommerce theme we bought from www.Nop-template.com (which we believe is also a NopCommerce partner). Unfortunately, it has not been successful with several attempts made, we followed some instructions from earlier threads by other people.

Below is the initial error information. it looks like it is about the permission on the surface. However, when IT followed the message and changed it to allow the Write Permission for the directory with the issue, some other message pop up.

The same installation worked out well with EverLeap. Just not sure how we should change the Godaddy setting to make it work.

Would much appreciate if anybody can shed some light on this one.


--------------------------------------------------------------------------------------------------------------------------

Server Error in '/' Application.
________________________________________
Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' 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 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' 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 and IIS 7, and the configured application pool identity on IIS 7.5) 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 access to a file, right-click the file in File 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 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +11804717
   System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) +11688764
   System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) +53
   Nop.Core.Plugins.PluginManager.InitializeMediumTrust(FileInfo plug, DirectoryInfo shadowCopyPlugFolder) +260
   Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) +79
   Nop.Core.Plugins.PluginManager.Initialize() +1198

[Exception: Plugin 'Seven Spikes Core'. Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.]
   Nop.Core.Plugins.PluginManager.Initialize() +2084

[Exception: Plugin 'Seven Spikes Core'. Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
]
   Nop.Core.Plugins.PluginManager.Initialize() +2487

[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'Seven Spikes Core'. Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
.]
   System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +613
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +141
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +531

[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'Seven Spikes Core'. Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
Access to the path 'G:\PleskVhosts\finecm.com\httpdocs\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9946024
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261




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:

[VerificationException: Operation could destabilize the runtime.]
   SevenSpikes.Nop.Plugins.Core.DependencyRegistrar..ctor() +12

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +206
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +83
   System.Activator.CreateInstance(Type type) +11
   Nop.Core.Infrastructure.NopEngine.RegisterDependencies(NopConfig config) +476
   Nop.Core.Infrastructure.NopEngine.Initialize(NopConfig config) +20
   Nop.Core.Infrastructure.EngineContext.Initialize(Boolean forceRecreate) +92
   Nop.Web.MvcApplication.Application_Start() +41


----------------------------------------------------------------------------------------------------------------------------------
8 years ago
Make sure that you have set up write permissions for the directories:
\App_Data\
\bin\
\Content\
\Content\Images\
\Content\Images\Thumbs\
\Content\Images\Uploaded\
\Content\files\ExportImport\
\Plugins\
\Plugins\bin\
\Global.asax
\web.config
8 years ago
When you say write permissions, is that 777 for all files and folders in that directory?
I have options for Owner, Group, Public with Read, Write, and Execute for each.
Plus I can set those permissions for all files and folders in that folder.
What do I really need?
8 years ago
Craig_Johnson wrote:
When you say write permissions, is that 777 for all files and folders in that directory?
I have options for Owner, Group, Public with Read, Write, and Execute for each.
Plus I can set those permissions for all files and folders in that folder.
What do I really need?


You, sir, are speaking Linux. You want to allow IUSR to have "Modify" permissions on those folders.

CHMODing to 777 is something you do on a Unix or Linix server. It can't be done on a Windows server that way, but rather must be done via file/folder permissions...either in Windows Explorer...or by a host-provided interface.

At Godaddy, you have to use the File Manager to adjust folder permissions..if I recall, there's a little gear icon that when clicked allows you to set permissions on items in the files/folders list...
8 years ago
FINECUSTOMMADE

I suspect that when you uploaded your new theme files to godaddy that you used their File Manager to do so.
NEVER use that piece of crap! It doesn't properly switch from ASCII to Binary types and files become corrupted. ALWAYS use FTP to upload your files to your /httpdocs folder there, then use the file manager only for setting folder permissions.

Also, after you upload the new folders into your /themes and /plugins folders, you will probably have to set each of the new folder's permissions manually, as they do not always propagate to nested folders correctly using their stupid File Manager...in other words, new folder permissions aren't necessarily inherited from their parent folder's permissions, so ensure it yourself.
8 years ago
embryo wrote:
When you say write permissions, is that 777 for all files and folders in that directory?
I have options for Owner, Group, Public with Read, Write, and Execute for each.
Plus I can set those permissions for all files and folders in that folder.
What do I really need?


I said:
You want to allow IUSR to have "Modify" permissions on those folders.


In the user list when setting your permissions at godaddy, however, "IUSR" might be represented as "Internet User"..or even possibly "Users"

And no, you can't use any FTP program to affect changes on Windows server folder permissions.
8 years ago
I was changing the permissions for the files and folders using Filezilla. Later I realized that I needed to change the permissions thru the Godaddy interface. I still get an error when trying to open the website instead of the install page. If I add an Install folder, I don't get the install page, I don't get an error either. I get dumped into the Install folder. I'm thinking that since I already associated the SSL certificate with the website, that it is causing the problem. I'm going to have them disconnect the SSL certificate from the site and I'll see if the install page shows up then. I think I'm supposed to add the SSL after the install.
8 years ago
Sorry guys for the delayed response. We have been trying the Godaddy on and off based on your inputs and some other things we figured. However, the success was basically limited and we feel the Windows Plan is well supported by Godaddy.

So we decided to go with Everleap for the hosting for now.

am curious what else hosting people are using here.

Regardless, thanks everyone for chipping in and provide your inputs.
8 years ago
SmarterASP.net  Shared .NET Advance plan is more that sufficient for a nop site with average traffic, and it's super easy to self-administer.

Plus they have a 30/60 day free trial that you can easily upgrade later...

I use www.liquidweb.com for dedicated server hosting.
8 years ago
I had a long conversation with tech support at GoDaddy last week. They finally concluded that they couldn't meet the minimum system requirements for ANY version of NopCommerce above 3.30. It was these three lines in the requirements list that they have a problem with:

ASP.NET 4.5 (MVC 5.0)
Microsoft .NET Framework 4.5.1 or above
If you're going to use multi-store feature with SSL, then Windows Server 2012 with IIS 8 is required because SNI (Server Name Indication) support.

I did a file compare with their version of 3.30and the no source version from this site and the only difference was that they changed was in the web.config:
<compilation targetFramework="4.5.1" /> was set to 4.5

I believe 3.30 is the last version compiled with 4.5 and all later versions are compiled with 4.5.1
and that is why they will not run on any GoDaddy server. They refuse to put 4.5.1 on them. Their Plesk server is just a client interface and is dumbed down to the point where you can't configure the things you need. It won't run 3.70 either. The same servers are still on the back end. They effectively told me I needed to get my NopCommerce hosting somewhere else. I'm looking at WinHost now.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.