| Topic | Presenter | Summary | Duration |
| ------------------ | --------- | ---------------------------------------------------------- | -------- |
| DNN: Common Issues | Kris B. | This video covers some of the most common issues with DNN. | 18:06 |00:00:06.990 --> 00:00:09.276 We're going to do a brief,
00:00:09.280 --> 00:00:11.180 uh documentation video over common
00:00:11.180 --> 00:00:14.015 issues with DNA, and I'm going to kind
00:00:14.015 --> 00:00:16.900 of walk you through a couple things,
00:00:16.900 --> 00:00:19.560 and we're going to talk about error
00:00:19.560 --> 00:00:21.845 checking, portal alias issues,
00:00:21.845 --> 00:00:23.750 file permission issues.
00:00:23.750 --> 00:00:25.862 JQuery double inclusion issues.
00:00:25.862 --> 00:00:29.160 UM, SSL cirts caching assets syncs
00:00:29.160 --> 00:00:33.068 up testing SMTP and kind of future
00:00:33.068 --> 00:00:36.666 proofing some of your code by making
00:00:36.666 --> 00:00:40.311 sure that we have partial page
00:00:40.311 --> 00:00:43.336 includes like headers and footers.
00:00:43.340 --> 00:00:45.995 Uhm, so I'm gonna go ahead and log in.
00:00:46.000 --> 00:00:48.640 This is one of our projects
00:00:48.640 --> 00:00:50.810 on my local server. And.
00:00:53.940 --> 00:00:56.310 Now this leads up online.
00:00:56.310 --> 00:01:00.860 Right wing over UM error checking so.
00:01:00.860 --> 00:01:03.450 When you spin up a new project
00:01:03.450 --> 00:01:06.070 and you see that right away,
00:01:06.070 --> 00:01:08.314 it's not showing the the default
00:01:08.314 --> 00:01:10.889 page that is set for homepage.
00:01:10.890 --> 00:01:14.058 It shows an error.
00:01:14.060 --> 00:01:16.020 I'll go ahead and break
00:01:16.020 --> 00:01:18.330 this once I get logged in.
00:01:18.330 --> 00:01:21.354 Actually it's good and break it right now.
00:01:21.360 --> 00:01:23.856 I'm just going to comment something
00:01:23.856 --> 00:01:26.870 out to force it to break. See.
00:01:31.470 --> 00:01:33.550 This is our project for
00:01:33.550 --> 00:01:34.798 that particular website.
00:01:51.190 --> 00:01:54.514 Yeah, if you wanna break something
00:01:54.514 --> 00:01:57.930 inside the skin default skin. While
00:02:00.410 --> 00:02:01.673 it's great, it's.
00:02:01.673 --> 00:02:04.620 These are the personal headers and footers.
00:02:04.620 --> 00:02:06.786 This particular project it has a
00:02:06.786 --> 00:02:08.635 marketing version of the header
00:02:08.635 --> 00:02:10.651 and footer and then the header
00:02:10.651 --> 00:02:12.739 and footer that works with Seth.
00:02:12.740 --> 00:02:14.276 Let's talk about that in a later video.
00:02:17.660 --> 00:02:20.764 So all of these things that we see
00:02:20.764 --> 00:02:24.046 in the header at these are skin
00:02:24.046 --> 00:02:27.410 object name spaces and are required.
00:02:27.410 --> 00:02:30.386 To register these tags before the
00:02:30.386 --> 00:02:33.250 page will actually load properly.
00:02:33.250 --> 00:02:35.112 What I'm going to do is I'm
00:02:35.112 --> 00:02:36.490 going to force a break.
00:02:38.840 --> 00:02:40.790 See if this house could break.
00:02:49.850 --> 00:02:50.920 They tried to save that.
00:03:02.110 --> 00:03:03.838 Well, this is loading.
00:03:03.838 --> 00:03:05.566 It's true second long
00:03:05.566 --> 00:03:07.640 period of time workload.
00:03:07.640 --> 00:03:10.376 When you're setting up a new
00:03:10.376 --> 00:03:13.528 product and you are seeing a 404.
00:03:13.530 --> 00:03:16.014 You need to make sure that
00:03:16.014 --> 00:03:18.170 your portal aliases are sent,
00:03:18.170 --> 00:03:21.124 because that will make or break you.
00:03:21.130 --> 00:03:23.235 UM, portal aliases are extremely
00:03:23.235 --> 00:03:24.498 important with Dotnetnuke,
00:03:24.500 --> 00:03:27.876 a being that it cannot resolve the uh,
00:03:27.880 --> 00:03:28.720 the bindings.
00:03:30.940 --> 00:03:34.945 So for instance this is UAT blog dot tech.
00:03:34.950 --> 00:03:37.701 Which is also my local bliel dev
00:03:37.701 --> 00:03:40.939 dot US or local blauw dot tech.
00:03:40.940 --> 00:03:43.880 These are all the portal aliases that
00:03:43.880 --> 00:03:46.932 are still pointing to Portal Zero that
00:03:46.932 --> 00:03:49.500 are associated with the IIS settings,
00:03:49.500 --> 00:03:51.328 so these bindings here.
00:03:51.328 --> 00:03:54.566 EDIT bindings UM they have to match
00:03:54.566 --> 00:03:57.790 what's inside of the pool and it is.
00:03:57.790 --> 00:04:00.076 If they do not match it.
00:04:00.080 --> 00:04:01.848 Spelling is incorrect. UM?
00:04:01.848 --> 00:04:05.340 Or if you have a HTTP in here,
00:04:05.340 --> 00:04:08.808 it's just not gonna fire off.
00:04:08.810 --> 00:04:12.098 OK, looks like it didn't break
00:04:12.098 --> 00:04:15.910 well enough with all that saved up.
00:04:15.910 --> 00:04:17.218 Need to add something.
00:04:22.650 --> 00:04:26.976 Submitting airing Sir. There we go.
00:04:26.980 --> 00:04:28.020 I actually had the winter.
00:04:31.420 --> 00:04:32.000 Save.
00:04:40.410 --> 00:04:42.774 You know this is probably a
00:04:42.774 --> 00:04:44.810 great time talking about cash.
00:04:44.810 --> 00:04:48.066 Uh, so if you do not have your
00:04:48.066 --> 00:04:50.698 cache disabled by default in here.
00:04:50.700 --> 00:04:52.642 Come as you can see, this is disabled,
00:04:52.642 --> 00:04:54.874 so every time it will load the page that
00:04:54.874 --> 00:04:56.746 the cash is going to be cleared out.
00:04:56.750 --> 00:04:58.130 You need to make sure that
00:04:58.130 --> 00:04:59.410 you hard reset your cache.
00:05:06.230 --> 00:05:06.920 Right here here.
00:05:16.630 --> 00:05:18.046 It's interesting I didn't
00:05:18.046 --> 00:05:19.816 break a thing with that.
00:05:19.820 --> 00:05:23.000 Uhm, so I'm gonna go back
00:05:23.000 --> 00:05:26.600 over to maybe the default or.
00:05:26.600 --> 00:05:29.268 Scripts the web config.
00:05:29.270 --> 00:05:30.490 I'm just going to.
00:05:33.120 --> 00:05:34.495 Backspace all of this and
00:05:34.495 --> 00:05:35.595 we'll see what happens.
00:05:38.570 --> 00:05:39.767 500 air perfect.
00:05:39.767 --> 00:05:43.145 OK, so now we can see that we're
00:05:43.145 --> 00:05:46.091 getting an error this is this
00:05:46.091 --> 00:05:48.780 is something that will happen.
00:05:48.780 --> 00:05:51.546 You'll probably see more detail when
00:05:51.546 --> 00:05:53.926 you're inside your server versus
00:05:53.926 --> 00:05:56.668 looking at the the error externally.
00:05:59.400 --> 00:06:06.010 So. Undo undo. Save. Go back and refresh.
00:06:10.620 --> 00:06:12.732 And I'm gonna go ahead and go over
00:06:12.732 --> 00:06:14.994 to here and we're going to look at
00:06:14.994 --> 00:06:17.711 some of the error logs that would be
00:06:17.711 --> 00:06:19.636 produced from this particular issue.
00:06:23.150 --> 00:06:24.625 Yeah, these error logs are
00:06:24.625 --> 00:06:26.720 going to be much more in depth.
00:06:26.720 --> 00:06:29.950 Then what you will see inside of DNA in UM,
00:06:29.950 --> 00:06:32.001 so these are these are going to
00:06:32.001 --> 00:06:34.150 be much more beneficial to you.
00:06:34.150 --> 00:06:36.088 Let's see, we need to go
00:06:36.088 --> 00:06:37.380 up a couple directories.
00:06:37.380 --> 00:06:39.318 I believe they are in schools.
00:06:42.090 --> 00:06:42.950 0.
00:06:48.600 --> 00:06:51.312 Here we go, sorry logs and
00:06:51.312 --> 00:06:53.760 here are all the logs.
00:06:53.760 --> 00:06:57.243 We need to go to the very last one.
00:06:57.250 --> 00:06:59.118 Just going today's date.
00:06:59.118 --> 00:07:02.270 It's the 18th open this thing up.
00:07:02.270 --> 00:07:04.699 And then at the very bottom is
00:07:04.699 --> 00:07:07.099 what you'll see probably closest.
00:07:07.100 --> 00:07:09.164 To the last events.
00:07:09.164 --> 00:07:12.260 So here we go right here.
00:07:12.260 --> 00:07:14.544 This is the exception.
00:07:14.544 --> 00:07:15.686 This train.
00:07:18.410 --> 00:07:20.874 And just kind of looking through this,
00:07:20.880 --> 00:07:23.118 checking the time.
00:07:23.120 --> 00:07:25.205 Uhm, I would probably say
00:07:25.205 --> 00:07:27.290 15 minutes plus 15 minutes.
00:07:27.290 --> 00:07:30.698 Minus is when you really need to like
00:07:30.698 --> 00:07:33.143 isolate wherever the air is coming
00:07:33.143 --> 00:07:35.932 from and then just really deep diving
00:07:35.932 --> 00:07:38.970 into the exact time when it happened.
00:07:38.970 --> 00:07:41.050 Sometimes when there's a break.
00:07:41.050 --> 00:07:44.018 As you can see, there's all of
00:07:44.018 --> 00:07:46.059 these logs produced at 9:33.
00:07:49.270 --> 00:07:53.725 And it can be just like huge dump wads.
00:07:53.730 --> 00:07:56.146 To try to troubleshoot the issue so you
00:07:56.146 --> 00:07:58.323 could spend lots of time just trying
00:07:58.323 --> 00:08:00.370 to figure out what's going on here.
00:08:00.370 --> 00:08:02.435 OK, uhm, the other place that you
00:08:02.435 --> 00:08:04.568 would want to go look is inside
00:08:04.568 --> 00:08:06.720 the admin panel for the admin logs.
00:08:14.680 --> 00:08:18.560 Already turn it off barcode. This.
00:08:27.560 --> 00:08:30.840 Bill. Add ONS.
00:08:34.540 --> 00:08:37.120 Any here you probably see,
00:08:37.120 --> 00:08:40.816 not as verbose a error logging.
00:08:40.820 --> 00:08:43.076 Uh, but certainly a lot of the error
00:08:43.076 --> 00:08:45.291 logging that you would need a able
00:08:45.291 --> 00:08:46.876 to isolate whatever you're trying
00:08:46.938 --> 00:08:48.666 to figure out what's going on.
00:08:48.670 --> 00:08:52.260 UM, if it's an extension, or.
00:08:52.260 --> 00:08:54.444 And let's say that there's a module we
00:08:54.444 --> 00:08:56.386 don't know exactly where it's at a.
00:08:56.390 --> 00:08:58.700 You can actually go into extensions.
00:08:58.700 --> 00:09:01.868 And then on the particular extension it says
00:09:01.868 --> 00:09:05.309 in use this one right here authenticate.
00:09:05.310 --> 00:09:07.165 Uh, this is the sign site login
00:09:07.165 --> 00:09:09.107 page you can click right onto that
00:09:09.107 --> 00:09:11.399 and it will take you to that page.
00:09:13.800 --> 00:09:15.246 In that case it was trying
00:09:15.246 --> 00:09:17.139 to take me to the demo site
00:09:17.139 --> 00:09:18.867 so we don't worry about that.
00:09:18.870 --> 00:09:21.860 Here, uh, moving on, uh,
00:09:21.860 --> 00:09:25.430 so we talked about alias portal
00:09:25.430 --> 00:09:27.830 aliases, error checking up.
00:09:29.970 --> 00:09:33.518 File versions we need
00:09:33.518 --> 00:09:37.066 right into Solomon's umso.
00:09:37.070 --> 00:09:40.220 When you set up IIS.
00:09:40.220 --> 00:09:42.901 This is pointing directly at the folder
00:09:42.901 --> 00:09:45.470 where Dean and Dean is located at.
00:09:45.470 --> 00:09:48.830 This is the root folder right here.
00:09:48.830 --> 00:09:53.078 So this folder right click Explorer.
00:09:53.080 --> 00:09:55.420 Has to have the correct permissions
00:09:55.420 --> 00:09:58.329 for IIS to actually see all the
00:09:58.329 --> 00:10:00.454 files and documents and directories,
00:10:00.460 --> 00:10:03.276 so we need to verify here is that
00:10:03.276 --> 00:10:06.258 this is going to have the correct
00:10:06.258 --> 00:10:09.479 permissions for IIS to be visible in.
00:10:09.480 --> 00:10:12.350 In this case I do not have
00:10:12.350 --> 00:10:13.580 the correct permissions.
00:10:13.580 --> 00:10:16.820 I'll go ahead and add that.
00:10:16.820 --> 00:10:19.460 Add. It's network.
00:10:25.350 --> 00:10:27.654 Network service right?
00:10:27.654 --> 00:10:33.380 OK click add. Oh reply 0.
00:10:36.380 --> 00:10:40.079 And this would give us a all the correct
00:10:40.079 --> 00:10:42.475 permissions that we would need, because,
00:10:42.475 --> 00:10:46.030 uhm, I ask is set to a application pool
00:10:46.117 --> 00:10:48.994 as a identity as a network service.
00:10:55.410 --> 00:10:57.936 Here that's gonna run for a
00:10:57.936 --> 00:11:00.040 minute. Uhm, let's move on.
00:11:02.850 --> 00:11:06.826 K uh, we can talk about a
00:11:06.826 --> 00:11:09.000 jQuery double inclusion so.
00:11:11.910 --> 00:11:14.430 The jQuery double inclusion happens
00:11:14.430 --> 00:11:17.793 when a website has been sent over
00:11:17.793 --> 00:11:20.801 to our our HTML team and what they
00:11:20.889 --> 00:11:23.761 do is they they build all the all
00:11:23.761 --> 00:11:27.504 the HTML and we take the HTML we
00:11:27.504 --> 00:11:30.469 incorporated into DNA as a theme.
00:11:30.470 --> 00:11:36.300 Uhm, and they write their own uh, jQuery?
00:11:36.300 --> 00:11:38.665 When we introduce their jQuery
00:11:38.665 --> 00:11:40.557 into the existing DNN,
00:11:40.560 --> 00:11:45.474 it causes a jQuery break in the console log.
00:11:45.480 --> 00:11:48.504 Uhm, you can see that a jQuery
00:11:48.504 --> 00:11:50.440 is being included twice.
00:11:50.440 --> 00:11:52.696 There's a little snippet of code.
00:11:52.700 --> 00:11:56.090 Uhm? That I keep handy.
00:11:58.350 --> 00:12:03.480 Jigri inclusion.
00:12:11.930 --> 00:12:13.198 Secret life on that.
00:12:23.280 --> 00:12:25.730 Drop over to this page and this
00:12:25.730 --> 00:12:28.189 is the jQuery double inclusion.
00:12:28.190 --> 00:12:30.580 This will fix the issue
00:12:30.580 --> 00:12:32.492 with the double inclusion.
00:12:32.500 --> 00:12:34.240 Uhm, this is the register and
00:12:34.240 --> 00:12:35.973 then the skin object that you
00:12:35.973 --> 00:12:37.503 have to drop into the page
00:12:37.503 --> 00:12:39.238 and that will fix that issue.
00:12:42.990 --> 00:12:49.328 Hey. Uhm, SSL cert's, so.
00:12:49.330 --> 00:12:50.674 Whenever you get a site that's
00:12:50.674 --> 00:12:52.104 usually been in production and you're
00:12:52.104 --> 00:12:53.339 pulling into a local environment,
00:12:53.340 --> 00:12:55.056 you need to make sure that
00:12:55.056 --> 00:12:56.820 you have the correct bindings.
00:12:56.820 --> 00:12:59.445 Uhm, that's done here by
00:12:59.445 --> 00:13:02.070 going to edit bindings once.
00:13:02.070 --> 00:13:05.270 Of course you've set up.
00:13:05.270 --> 00:13:07.290 Your local environment usually
00:13:07.290 --> 00:13:10.875 have to add the HTTPS binding and
00:13:10.875 --> 00:13:13.689 that it's simply gone through here.
00:13:13.690 --> 00:13:16.660 Selecting HTTPS, adding the host name,
00:13:16.660 --> 00:13:18.139 local dot dot.
00:13:20.440 --> 00:13:20.890 Hey.
00:13:23.330 --> 00:13:26.658 And then you can choose an internal one.
00:13:26.660 --> 00:13:29.208 Or if you're sending this up on
00:13:29.208 --> 00:13:31.649 DFO or another dev environment,
00:13:31.650 --> 00:13:36.074 you usually have to select the one that's.
00:13:36.080 --> 00:13:38.768 For that environment and click OK.
00:13:38.770 --> 00:13:42.196 This gets hit. Cancel and close.
00:13:42.200 --> 00:13:44.355 That's how you would deal
00:13:44.355 --> 00:13:46.510 with the SSL issues, uhm?
00:13:49.730 --> 00:13:51.890 Another common issue is assets.
00:13:51.890 --> 00:13:54.900 When you're adding assets to a site,
00:13:54.900 --> 00:13:57.276 uhm, you'll notice it
00:13:57.276 --> 00:14:00.246 doesn't show up right away.
00:14:00.250 --> 00:14:02.178 Some Dean inversions haven't
00:14:02.178 --> 00:14:04.106 asset manager like this.
00:14:08.350 --> 00:14:11.157 And some of them will have them
00:14:11.157 --> 00:14:13.390 directly underneath the page content.
00:14:13.390 --> 00:14:16.765 That is a pain that will pop out just
00:14:16.765 --> 00:14:20.365 like the pages pain and you can view
00:14:20.365 --> 00:14:23.049 the assets through the page pain,
00:14:23.050 --> 00:14:27.340 but not every version of dinin or. Uhm?
00:14:31.950 --> 00:14:33.980 There's a bug right there. Let's go fix that.
00:14:38.880 --> 00:14:41.250 Let's make sure that we're on.
00:14:41.250 --> 00:14:44.658 For right skin. Skin dinner plans.
00:14:48.460 --> 00:14:48.910 Here.
00:14:53.860 --> 00:14:55.885 I think it's just a matter of a save.
00:14:59.820 --> 00:15:01.990 Yeah. So fresh.
00:15:06.270 --> 00:15:07.299 Perfect fixed it.
00:15:12.540 --> 00:15:14.110 So here are the assets.
00:15:14.110 --> 00:15:15.735 This is normally something you
00:15:15.735 --> 00:15:18.003 have to bring in that is not
00:15:18.003 --> 00:15:19.737 going to be natively in there.
00:15:22.000 --> 00:15:24.130 And the common issue is when
00:15:24.130 --> 00:15:26.330 you add assets to the site,
00:15:26.330 --> 00:15:29.578 they don't sync up inside of here.
00:15:29.580 --> 00:15:31.792 Uhm sometimes you have to go into
00:15:31.792 --> 00:15:34.218 edit mode for this particular page.
00:15:34.220 --> 00:15:36.708 Uh and right click.
00:15:36.708 --> 00:15:39.818 Sync with the root folder.
00:15:39.820 --> 00:15:42.466 And then click here and then
00:15:42.466 --> 00:15:45.320 sync all folders and subfolders.
00:16:02.650 --> 00:16:04.780 That's being said in it,
00:16:04.780 --> 00:16:06.900 so we'll move forward, UM.
00:16:09.980 --> 00:16:11.800 SNCP cool.
00:16:13.960 --> 00:16:16.190 Just go straight into it.
00:16:16.190 --> 00:16:18.885 A lot of people don't know where
00:16:18.885 --> 00:16:21.968 to go and check SMTP settings.
00:16:21.970 --> 00:16:24.195 They are located under site
00:16:24.195 --> 00:16:27.388 settings, site behavior and.
00:16:27.390 --> 00:16:29.730 Yep Yep Yep, sorry servers.
00:16:32.290 --> 00:16:34.180 Server settings here we go.
00:16:34.180 --> 00:16:35.566 Server settings perfect.
00:16:35.566 --> 00:16:39.840 Uhm, in this case this is a server that
00:16:39.840 --> 00:16:43.158 has been set up for dev environment.
00:16:43.160 --> 00:16:46.534 These are my personal credentials to my
00:16:46.534 --> 00:16:50.877 SMTP to go account so I can verify this.
00:16:50.880 --> 00:16:57.000 Uh, two. Uh, a certain degree, UM.
00:16:57.000 --> 00:17:00.696 Or hit test this little checkbox.
00:17:00.700 --> 00:17:03.325 Says good to go that these credentials
00:17:03.325 --> 00:17:05.253 were firing off correctly and
00:17:05.253 --> 00:17:07.425 I'll receive a message from SMTP
00:17:07.425 --> 00:17:09.888 to go directly to my email saying
00:17:09.888 --> 00:17:12.674 that this was a test message and
00:17:12.674 --> 00:17:15.459 it is firing off correctly.
00:17:15.460 --> 00:17:17.840 Uhm, if you get a excellent there,
00:17:17.840 --> 00:17:19.610 that means that these credentials
00:17:19.610 --> 00:17:21.719 are incorrect and you'll have to
00:17:21.719 --> 00:17:23.405 either contact the client or set
00:17:23.405 --> 00:17:24.980 up the correct credentials.
00:17:27.790 --> 00:17:30.440 Uh, moving on, uh, so?
00:17:33.180 --> 00:17:35.560 Let's go and see if the assets
00:17:35.560 --> 00:17:39.380 synced yet. No, it is not. Cool.
00:17:42.680 --> 00:17:44.204 Well, I'm gonna go ahead and
00:17:44.204 --> 00:17:45.997 stop the video right there. Uh,
00:17:45.997 --> 00:17:48.439 thanks already A Z clarity documentation
00:17:48.439 --> 00:17:50.868 video for common issues with DNN.