WebDummie
 Newbie Join Date: 9/17/2007 Posts: 9
|
|
|
Posted: 9/24/2007 11:11:28 AM
|
|
|
Whenever we try to run setup.aspx, we get a Runtime Error.
Error 22 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Y:\InetPub\wwwroot\paec-sc-iii\forum\blogs\Default.aspx 1
Do you know why this is occuring? Thanks.
|
|
grimmeissen
 Administrator
 Join Date: 8/30/2005 Posts: 656 Location: Cincinnati, Ohio
|
|
|
Posted: 9/24/2007 1:51:42 PM
|
|
|
Sounds like either a security issue or an IIS issue on your server. Make sure that the site you are uploading DMG Forums to is in the right trusted zone.
Sometimes this error can be related to the fact that your web site is not set up as an application in IIS. This is the first thing that I would check.
|
|
WebDummie
 Newbie Join Date: 9/17/2007 Posts: 9
|
|
|
Posted: 9/26/2007 1:45:59 PM
|
|
|
The Runtime Error is gone now, but this came up:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'DMGForums.Setup.SQLSetup'.
Source Error:
Line 1: <%@ Page language="VB" Inherits="DMGForums.Setup.SQLSetup" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Source File: /forum/setup.aspx Line: 1
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
What did I do wrong? Thanks.
|
|
grimmeissen
 Administrator
 Join Date: 8/30/2005 Posts: 656 Location: Cincinnati, Ohio
|
|
|
Posted: 9/26/2007 7:13:57 PM
|
|
|
|
Did you make sure your site is set up as an application in IIS? This error means that the setup page can not find the Setup.dll in your /bin folder. If the file is there, then this is not the active /bin folder for the page. Sometimes this happens if you put the forums in the sub-directory of another .NET application. If you do this, you must put the DLL files from the DMG Forums /bin folder in the /bin folder of the root application.
|
|
WebDummie
 Newbie Join Date: 9/17/2007 Posts: 9
|
|
|