8.0 to 9.0.1 Upgrade: GetResource.ashx - Failed to load resource: the server responded with a status

Aaron Fickes asked on May 4, 2016 20:41

After performing the upgrade the CMS is not loading some resources.

As a side not the dashboard is also empty. I say this in case the two are related.

Thanks, Chris

Recent Answers


Joshua Adams answered on May 4, 2016 20:43

Did you go from 8.0 to 8.1 to 8.2 to 9? If so, did you run the site in between each of those to let the upgrade procedure occur? Any errors during the upgrade process?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 4, 2016 21:03

A lot of times with the Admin interface it is cache related. Clear the cache within your browser settings and try again.

For the resources not loading, it could be missing files. Which files specifically are missing or not loading?

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 4, 2016 21:24 (last edited on May 4, 2016 21:25)

All of the upgrades were performed without errors in order and the site was ran at each upgrade.

The only errors that we did have during this process were app_code custom files that were addressed in order to get the site to run.

Clearing the cache did not fix the dashboard being empty.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 4, 2016 22:21

By clearing the cache did you go into the browsers settings and clear them or just CTRL+f5? The latter won't fix it but could be tried after you clear the cache in settings.

As for the rest, did you resign your macros? You can do this in the System app under Macros>Signatures. Just resign them all as it will use the new Key vs. the database connection string.

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 4, 2016 22:27

Hi Brenden,

I have separated the two items into different questions, and posted everything that I have found thus far about the tiles in the post below:

http://devnet.kentico.com/questions/8-0-to-9-0-1-upgrade-dashboard-not-showing-any-tiles-not-able-to-add-tiles-after-upgrade

Thanks, Chris

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 4, 2016 22:37

Thats fine. This question still remains, "As for the rest, did you resign your macros? You can do this in the System app under Macros>Signatures. Just resign them all as it will use the new Key vs. the database connection string."

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 5, 2016 00:57

Hi Brenden,

Thank you for your help but this did not resolve either the dashboard or the GetResource.ashx failures.

In case I was not in the correct area of the CMS, I went to System > Macros >Signatures and executed the "Update macro signatures".

Chris

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 5, 2016 06:49

Did you check the Event log within Kentico or on the server?

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 5, 2016 18:27

Hi Brenden,

Below is the log information:

Description:

Message: The file '/CMSWebParts/Viewers/Effects/lightbox.ascx' does not exist.

Exception type: System.Web.HttpException Stack Trace:

at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

at CMS.ExtendedControls.ControlDefinition.Load(Page page)

at CMS.PortalControls.CMSWebPartZone.LoadWebPart(Control container, CMSWebPartZone zone, WebPartInstance part, Boolean reloadData, Boolean isVariant)

Machine name: SERVER1 Event URL:/cmsapi/Tile/get/default.aspx URL referrer: http://cooper.insite.net/CMSModules/ApplicationDashboard/ApplicationDashboard.aspx

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 5, 2016 18:31

And the dashboard error:

Event ID:1292404

Event type:Warning

Event time: 5/4/2016 7:40:00 PM

Source: Application_Error

Event code:PAGENOTFOUND

User ID:53

User name:administrator

IP address:XX.XX.XXX.XXX

Description:

Site name: CooperAerobics.com

Machine name: SERVER1

Event URL: /cmsapi/WelcomeTile/default.aspx

URL referrer: http://cooper.insite.net/CMSModules/ApplicationDashboard/ApplicationDashboard.aspx

0 votesVote for this answer Mark as a Correct answer

Aaron Fickes answered on May 6, 2016 19:11

Hi Brenden and Joshua,

To clarify the issue I followed up with my dev team and the upgrade is more complex than I was told. The client is going from 6.04 > 7 > 8 > 9.

So to test when the issue began, and to be clear that all the steps where followed, I began the process again. I applied the first update using the updater (Not Manual). The updater ran without any errors, but we had written some custom code that needed to have some minor changes based on the library changes in 7.

After this was done I ran the site and noticed that I am getting a 404 when images are called from the images.zip file in the Theme directory.

I have look into the following and it has not helped. http://devnet.kentico.com/questions/missing-images-and-images-zip-archive

Below are the two links for comparison as well as the error that I am getting. As you can see the "Add To Cart" image loads from the 6.0.4 version but not the 7 version. Also the Shopping cart images cannot be found. This looks like an issue finding the zip file.

http://cooper.insite.net/CMSPages/GetResource.ashx?image=%5bImages.zip%5d%2fShoppingCart%2f/addtocart.jpg 404 (Not Found)

http://cooper.insite.net/About/Shop-Our-Store/Beautiful-Fit/Lavender-Dreams-Body-Polish.aspx http://cooperaerobics.com/About/Shop-Our-Store/Beautiful-Fit/Lavender-Dreams-Body-Polish.aspx

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on May 10, 2016 18:58

Have you checked your web.config file for the runAllManagedModulesForAllRequests variable? Sometimes the upgrade will wipe that out, it that's not under the system. That could be messing up some images...Also maybe compare your file structure with a new 9 instance and see if there are differences. If there are, you can either try to copy your application files over to the new 9 instance and test it, or maybe get a sense of what extra files or files you are missing.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.