Inhalte aufrufen

Profilbild

Upgraded to 2.1


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
7 Antworten zu diesem Thema

#1 derek

derek

    Member

  • Members
  • PunktPunkt
  • 11 Beiträge

Geschrieben: 11 December 2014 - 09:32

Hi All

 

I have just upgraded to the new v2.1 and now my store will not work.  i deleted the folders, but left the 

 

app data and Media folders there.  Copied over the new files.  apart from the same folders.  And now my store is not working.  Im getting this erroro.

 

'

We're sorry, an internal error has occurred.

Our supporting staff has been notified of this error and will address the issue shortly. We apologize for the inconvenience.

Please try clicking your browsers 'back' button or try reloading the home page. If you continue to receive this message, please try again in a little while.

 

Thank you for your patience.

 

 

Does any one have an idear how to fix it?


Regards

 

 

Derek



#2 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 11 December 2014 - 10:36

Hi Derek,

 

the contents of the Update-Folders "App-Data" and "Media" must also be copied.

You may need the access rights for some folder reassigned.

write + read directory:
bin

Content

Plugins

write + read files:

Global.asax
Web.config

You can get more information about the error with this instructions:

https://github.com/s.../internal-error

 

Regards

 

Wolfgang
 


Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#3 derek

derek

    Member

  • Members
  • PunktPunkt
  • 11 Beiträge

Geschrieben: 11 December 2014 - 11:21

Hi Wolfgang

 

Thank you as always for the quick response.  Im now getting a run-time error. Im trying to view the website on the web server.

 

Server Error in '/' Application. Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
 

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
 

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

#4 derek

derek

    Member

  • Members
  • PunktPunkt
  • 11 Beiträge

Geschrieben: 11 December 2014 - 11:28

PS, ive change the conf file to now <customErrors mode="Off"/>.

 

But am getting this error, about plugin's.

 

Server Error in '/' Application. Access to the path 'C:\inetpub\wwwroot\smart store\App_Data\InstalledPlugins.txt' 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 'C:\inetpub\wwwroot\smart store\App_Data\InstalledPlugins.txt' 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 'C:\inetpub\wwwroot\smart store\App_Data\InstalledPlugins.txt' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +216
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, Boolean useLongPath, Boolean checkHost) +1430
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +214
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +210
System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) +87
SmartStore.Core.Plugins.PluginFileParser.SaveInstalledPluginsFile(ICollection`1 pluginSystemNames, String filePath) +277
SmartStore.Core.Packaging.AppUpdater.MigrateInitial() +2402
SmartStore.Core.Packaging.AppUpdater.ExecuteMigrations() +309
SmartStore.Core.Plugins.PluginManager.Initialize() +92

[InvalidOperationException: The pre-application start initialization method Initialize on type SmartStore.Core.Plugins.PluginManager threw an exception with the following error message: Access to the path 'C:\inetpub\wwwroot\smart store\App_Data\InstalledPlugins.txt' is denied..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151

[HttpException (0x80004005): The pre-application start initialization method Initialize on type SmartStore.Core.Plugins.PluginManager threw an exception with the following error message: Access to the path 'C:\inetpub\wwwroot\smart store\App_Data\InstalledPlugins.txt' is denied..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237



#5 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 11 December 2014 - 11:31

Hi Derek,

 

did you edited the web.config as described and re-uploaded?

 

Regards

 

Wolfgang


Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#6 derek

derek

    Member

  • Members
  • PunktPunkt
  • 11 Beiträge

Geschrieben: 11 December 2014 - 11:34

Hi Wolfgang,

 

I believe so?  What i think I missed what the permissions for the plug in.  Now its seams to be working.

 

Your are amazing.  I think I owe you more then a beer or two.

 

Regards

 

 

Derek



#7 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 11 December 2014 - 11:35

Hi Derek,

 

please check that the folder permissions are correct.

 

write + read directory:
bin

Content

Plugins

write + read files:

Global.asax
Web.config

 

Regards

 

Wolfgang


Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#8 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 11 December 2014 - 12:03

Hi Derek,

 

sorry but the folders

 

App-Data

Media

 

need also write and read access.

 

Regards

 

Wolfgang


Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/