Server error when installing DNN 5.5 on localhost
Last Post 08/25/2010 7:18 PM by Joseph Craig. 8 Replies.
Author Messages
Steve
Nuker
Nuker
Posts:18


--
08/25/2010 4:16 AM  
Hi,
I followed the videos in Issue 51 on installing DNN on a Windows 7 machine with IIS 7.5.  I have set the correct folder permissions (<!--[if gte mso 9]> ocumentProperties> 14.00 ocumentProperties> fficeDocumentSettings> fficeDocumentSettings> <!--[if gte mso 9]> Normal 0 unctuationKerning/> false false false oNotPromoteQF/> EN-GB X-NONE X-NONE ontGrowAutofit/> ontFlipMirrorIndents/> verrideTableStyleHps/> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> <!--[if gte mso 10]> IIS AppPool\DefaultAppPool and <!--[if gte mso 9]> ocumentProperties> 14.00 ocumentProperties> fficeDocumentSettings> fficeDocumentSettings> <!--[if gte mso 9]> Normal 0 unctuationKerning/> false false false oNotPromoteQF/> EN-GB X-NONE X-NONE ontGrowAutofit/> ontFlipMirrorIndents/> verrideTableStyleHps/> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> <!--[if gte mso 10]> IIS_IUSRS on dotnetfive). and unzipped the latest DNN 5.5 community install to the folder.  However, when I go there in my browser, I get the following error and can find nothing on Google or Bing that helps:

Server Error in '/dotnetfive' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (C:\dotnetfive\web.config line 100)

Source Error: 

Line 98:     
Line 99: <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
Line 100:
Line 101:
Line 102:

Source File: C:\dotnetfive\web.config    Line: 100 


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927


Could you possibly shed some light on the problem?

Regards,

Steve
Joseph Craig
DNN MVP
Posts:11667


--
08/25/2010 7:27 AM  
You might want to look at what really is on line 100 of web.config.

Also, check the permissions again.

Joe Craig, Patapsco Research Group
Complete DNN Support
Steve
Nuker
Nuker
Posts:18


--
08/25/2010 8:16 AM  
Thanks Joe, I have checked the folder permissions and have granted the correct access to IIS AppPool\DefaultAppPool and IIS_IUSRS. The code in web.config at line 100 is: < add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" >

I recently upgraded from Vista to Win 7. Do you think this might be causing the problem?

Steve
Nuker
Nuker
Posts:18


--
08/25/2010 8:21 AM  
For some strange reason line 100 does not want to paste - here it is:



Steve
Joseph Craig
DNN MVP
Posts:11667


--
08/25/2010 8:27 AM  
The code doesn't post correctly because you've essentially embedded tabs in your message and DotNetNuke wants to interpret them.  I added a space around the < and >.

I believe that there is a difference between Vista and Win 7 regarding the default asp user task.  Until I have a chance to look them up, you might want to Google around or look at the recent DotNetNuke Installation webinar that is available at DotNetNuke.com.

Joe Craig, Patapsco Research Group
Complete DNN Support
Steve
Nuker
Nuker
Posts:18


--
08/25/2010 8:42 AM  
Once again - line 100:


Steve
Nuker
Nuker
Posts:18


--
08/25/2010 8:43 AM  
Finally : ""
Steve
Nuker
Nuker
Posts:18


--
08/25/2010 8:53 AM  
-----add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules"-----
Joseph Craig
DNN MVP
Posts:11667


--
08/25/2010 7:18 PM  
As this appears to be a new installation, you might want to copy all of the files again, on the off chance that they were not all copied correctly.

Joe Craig, Patapsco Research Group
Complete DNN Support


---