Publishing issues with clean install of 3.2 no mods

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
For now manually placing the file in a path that matches one of the search routes allows the 3.2 project to finally load after a long hard day fighting all the little things to get it from rar download to actually published on a live webserver at godaddy. This last fix I did is obviously not a good solution and I will have to track down why the embedded resource property is not working. Its hard because locally in debug mode when the file is present everything runs perfectly with 3.2. But built in Release mode and running on a live server I get this strange behavior, but I have had to work through a bunch of that all day today to get to this point. The actual build is running on

http://www.thedeanslistings.com  if you mcare to see it nothing more then a straight build from source of 3.2 with no demo data loaded.

If anyone knows why the nivoslider issue is happening let me know otherwise I will figure it out tomorrow and post the answer. Thanks Dean
10 years ago
Well trying to solve this nivoslider embedded resource issue. When I opened the plugin .cshtml files they had to Intellisense I had to switch out the web.config file in the plugin directory with the one from the views directory and the Intellisense starting working or at least I wasn't getting this model doesn't exist in this context any longer. Now I spent about 3 hours trying all kinds of things to get this nasty little error message to go away but nothing yet unless I physically put a .cshtml file in one of the paths in searching in so it can resolve but this is wrong and I want it to work correctly as an embedded resource.

So will update again hopefully soon or any ideas would be appreciated.

The view 'Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Themes/icagefight/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Themes/icagefight/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
~/Themes/icagefight/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Themes/icagefight/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
~/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
~/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
~/Administration/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Administration/Views/WidgetsNivoSlider/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
~/Administration/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.cshtml
~/Administration/Views/Shared/Nop.Plugin.Widgets.NivoSlider.Views.WidgetsNivoSlider.PublicInfo.vbhtml
10 years ago
bahamadad wrote:
Thanks but I think it might be a local security issue on my system based on the following error:

Error  4  Could not load file or assembly 'file:///J:\TFS_New\icagefight.tv\packages\Autofac.3.1.5\lib\net40\Autofac.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)  J:\TFS_New\icagefight.tv\Libraries\Nop.Services\SGEN  Nop.Services

I'm publishing the project compiled in debug just to see it works and will try recompiling in release mode and publish again now that I have reset the security on the local directory and unblocked the file in reference in the error message.

Thanks again will post the outcome. To bad about the deploy scripts they worked great! Dean


Are there any other things to check?  I'm getting this same problem on Arvixe.com.

I unblocked the zip file before using it, rebuilt the solution in release mode and tried to publish it with the same errors.

Any help to resolve this issue would be gratefully appreciated.

Thanks,
Tony
10 years ago
Have you set CAS "Code Access Security" Security level to full trust under the asp.net settings? I'm not familiar with Arvixe.com hosting but I'm sure I can help you if you want me to take a look at your setup panel. Let me know. Dean Meyers 239-580-7369 or [email protected]
10 years ago
Did you use the utility I posted to unblock all the files contained inn the zip file or just unblock the zip. I found you have to unblock all the files and the utility does it for you in seconds?
10 years ago
Dean,

Thanks for your suggestions.

bahamadad wrote:
Have you set CAS "Code Access Security" Security level to full trust under the asp.net settings? I'm not familiar with Arvixe.com hosting but I'm sure I can help you if you want me to take a look at your setup panel. Let me know. Dean Meyers 239-580-7369 or [email protected]


I never heard of the CAS.

I had nopCommerce 3.0 already running on Arvixe.  I was just upgrading to 3.2.

bahamadad wrote:
Did you use the utility I posted to unblock all the files contained inn the zip file or just unblock the zip. I found you have to unblock all the files and the utility does it for you in seconds?


I looked through this entire post.  I don't see a utility posted by you.

Thanks,
Tony
10 years ago
Sorry Tony the link was on codeplex's forum. You can download it on my site below:

http://nopcommercecode.com/en/streams-v156

Example:

J:\TFS_New\assets\Installers\streams.exe -s -d J:\TFS_New\icagefight

Also you absolutely need to set the trust level to get this version to run correctly. Let me know if you need any help with that. Once you unzip the files run streams on the directory that contain the files as above.

Thanks Dean
10 years ago
bahamadad wrote:

Also you absolutely need to set the trust level to get this version to run correctly. Let me know if you need any help with that. Once you unzip the files run streams on the directory that contain the files as above.


So, if the trust level was enough to run nopCommerce 3.0, you are saying that I need to change it in order to run nopCommerce 3.2?

Thanks,
Tony
10 years ago
Tony,

here's a previous nop link:

https://www.nopcommerce.com/boards/t/20375/how-to-set-full-trust-help.aspx

Here is the test bed I did when first upgrading:

http://nopcommercecode.com/en/boards/topic/3/32-update-embedded-resource-nivoslider-issue-in-release-mode

The answer is yes, I've installed at least 10 new sites with 3.2 and most run them with Full Trust. asp.net settings CAS "Full Trust".
10 years ago
http://msdn.microsoft.com/en-us/library/wyts434y.ASPX
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.