Help with configuration

Having problems with the panel? Have questions? Post here!
Post Reply
Smilie
Posts: 2
Joined: Thu Sep 02, 2010 10:59 am

Help with configuration

Post by Smilie »

Hi, I have tried to fill my configuration file but i receive errors on the Check.aspx

Settings on my server:
Web root:
C:\inetpub\gspanel

Access to the entire deployment folder:
C:\Program Files\Gspanel

Error:
Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Config file:

Code: Select all

<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
  <appSettings>
    <!--Do not remove any of these setting entries, even if they don't apply -->
    
    <!--This setting defines where the logs, license requests, and the license for UGCC is stored -->
    <add key="log" value="C:\inetpub\gspanel"/>
    
    <!--dbtype can be mysql for a mysql backend or sqlite for sqlite backend.  Use oledb (depreciated-not recommended/supported)
	 for oledb/mdb support -->
    <add key="dbtype" value="mysql"/>
    
    <!--If using sqlite, where can UGCC find the DB File-->
    <add key="sqlitelocation" value="C:\program files\Gspanel\DB"/>
    
    <!--If using oledb, where can UGCC find the DB File-->
    <add key="mdblocation" value="C:\Program Files\Gspanel\DB"/>
    
    <!--Following settings apply for mysql server only-->
    <add key="sqlsrvr" value="localhost"/>
    <add key="user" value="gsp"/>
    <add key="password" value="**"/>
    <add key="dbname" value="gspanel"/>
  </appSettings>
  <connectionStrings/>
  <system.web>
    <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
    <compilation debug="false"/>
    <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
    <authentication mode="Windows"/>
    <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
    <customErrors mode="RemoteOnly"/>
  </system.web>
</configuration>
I moved the web.config to C:\inetpub\gspanel so I don't understand why it even need those files?
Masher
Site Admin
Posts: 3617
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Help with configuration

Post by Masher »

You need to force 32 bit mode. See the 64 bit notes at viewtopic.php?f=21&t=214
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply