Multiple Problems:

Having problems with the panel? Have questions? Post here!
Post Reply
Pantho
Posts: 7
Joined: Wed Sep 17, 2008 11:47 am

Multiple Problems:

Post by Pantho »

Sorry but i know little of web managment :). Some html and jscript is the limit of my knowledge. ASPX is unknown to me ^^.

Trying to access any part of the wwwpanel folder,

I believe it's line 38 of web config. as i did have it saying that at one point, but i changed the httpd.conf to (the asp directories i change to /cspanel. My wwwPanel folder is located at G:\CSPanel\Deploy\WWWPanel "G:" being the web server directory (htdocs). So http://www.bybservers.com/CSPanel/Deplo ... check.aspx)

Code: Select all

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
#PHPIniDir "C:/Program Files/PHP/"
#LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"

AddType application/x-httpd-php .php
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL



#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

    #asp.net
    LoadModule aspdotnet_module "modules/mod_aspdotnet.so"
    AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo

    <IfModule mod_aspdotnet.cpp>
    AspNetMount / "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\cspanel"
    # Map all requests for asp to the application files--uncomment if UGCC is in a subdirectory of htdocs and update virtual path and path
    #Alias /ugcc "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\cspanel"

    <Directory "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\cspanel">
    Options FollowSymlinks ExecCGI
    Order allow,deny
    Allow from all
    DirectoryIndex Default.aspx index.htm index.aspx
    </Directory>

    # For all virtual ASP.NET webs, we need the aspnet_client files
    # to serve the client-side helper scripts.
    AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
    <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
    Options FollowSymlinks
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>
    #asp.net


as before this it wouldnt allowed me to access my website which is located directly in htdocs, http://www.bybservers.com

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>
    <!--This setting defines where the logs, license requests, and the license for UGCC is stored -->
    <add key="log" value="G:\CSPanel\Deploy\Logs"/>
    <!--dbtype can be oledb for an MS Access backend, or mysql for a mysql backend -->
    <add key="dbtype" value="mysql"/>
    <!--If using oledb, where can UGCC find the DB File-->
    <add key="mdblocation" value="G:\CSPanel\Deploy\db"/>
    <!--Following settings apply to sql server only-->
    <add key="sqlsrvr" value="localhost"/>
    <add key="user" value="root"/>
    <add key="password" value="175264"/>
    <add key="dbname" value="ugcc"/>
  </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="On"/>
  </system.web>
</configuration>
Line 38 = <authentication mode="Windows"/>

So, ideas? Whats going wrong :(

This is a copy & paste of the error.htm i am receiving

Code: Select all

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

-edit Another event viewre, might be more helpfull

Code: Select all

Event Type:	Warning
Event Source:	ASP.NET 2.0.50727.0
Event Category:	Web Event 
Event ID:	1310
Date:		18/09/2008
Time:		17:22:10
User:		N/A
Computer:	BYBSERVER
Description:
Event code: 3006 
Event message: A parser error has occurred. 
Event time: 18/09/2008 17:22:10 
Event time (UTC): 18/09/2008 16:22:10 
Event ID: 790c526b97b84fe58c9673ba8624bcf8 
Event sequence: 4 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: fe64d490-1-128662285259657500 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\CSPanel\ 
    Machine name: BYBSERVER 
 
Process information: 
    Process ID: 3004 
    Process name: httpd.exe 
    Account name: NT AUTHORITY\SYSTEM 
 
Exception information: 
    Exception type: HttpParseException 
    Exception message: Could not load type 'UGCC_Sharp._Default'. 
 
Request information: 
    Request URL: http://localhost/CSPanel/Deploy/wwwpanel/Default.aspx 
    Request path: /CSPanel/Deploy/wwwpanel/Default.aspx 
    User host address: 127.0.0.1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\SYSTEM 
 
Thread information: 
    Thread ID: 6 
    Thread account name: NT AUTHORITY\SYSTEM 
    Is impersonating: False 
    Stack trace:    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
   at System.Web.UI.TemplateParser.ParseInternal()
   at System.Web.UI.TemplateParser.Parse()
   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
I do run a mysql server but i am using mdb for ugcc (planning on)
Last edited by Pantho on Thu Sep 18, 2008 11:28 am, edited 1 time in total.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple Problems:

Post by Masher »

Please see the documentation as it details how to setup the panel with apache. If you are using apache, I suggest just downloading/installing ezugcc and tell it to use a different port (other than 80) as you won't have to mess with anything (it does all the configuration for you). Setting up ugcc with apache on windows is not the easiest feat.
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!
Pantho
Posts: 7
Joined: Wed Sep 17, 2008 11:47 am

Re: Multiple Problems:

Post by Pantho »

Masher wrote:Please see the documentation as it details how to setup the panel with apache. If you are using apache, I suggest just downloading/installing ezugcc and tell it to use a different port (other than 80) as you won't have to mess with anything (it does all the configuration for you). Setting up ugcc with apache on windows is not the easiest feat.

I did try that on port 81, couldnt get it working.

Plus, wouldnt it take up extra resource usage. running a secondary web server?
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple Problems:

Post by Masher »

Yes, that's true, but you wouldn't have to configure it.
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!
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple Problems:

Post by Masher »

Please see here so that you can give me moer specific error messages....

viewtopic.php?f=21&t=140
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!
Pantho
Posts: 7
Joined: Wed Sep 17, 2008 11:47 am

Re: Multiple Problems:

Post by Pantho »

Fast reply :)

Post above was on host machine -
No error log file created, as was running check.aspx
double checked all directories are correct
Event Viewer

Code: Select all

Event code: 3008 
Event message: A configuration error has occurred. 
Event time: 18/09/2008 17:05:15 
Event time (UTC): 18/09/2008 16:05:15 
Event ID: 15de5a9831ef434089d5d4986a2ab322 
Event sequence: 20 
Event occurrence: 19 
Event detail code: 0 
 
Application information: 
    Application domain: fe64d490-1-128662231584032500 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\CSPanel\ 
    Machine name: BYBSERVER 
 
Process information: 
    Process ID: 3308 
    Process name: httpd.exe 
    Account name: NT AUTHORITY\SYSTEM 
 
Exception information: 
    Exception type: ConfigurationErrorsException 
    Exception message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. (C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\CSPanel\deploy\wwwpanel\web.config line 38) 
 
Request information: 
    Request URL: http://localhost/CSPanel/Deploy/wwwpanel/Default.aspx 
    Request path: /CSPanel/Deploy/wwwpanel/Default.aspx 
    User host address: 127.0.0.1 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\SYSTEM 
 
Thread information: 
    Thread ID: 12 
    Thread account name: NT AUTHORITY\SYSTEM 
    Is impersonating: False 
    Stack trace:    at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
   at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
   at System.Web.Configuration.RuntimeConfig.get_Identity()
   at System.Web.ClientImpersonationContext.Start(HttpContext context, Boolean throwOnError)
   at System.Web.HttpApplication.OnThreadEnter()
   at System.Web.HttpApplication.ResumeSteps(Exception error)
 
 
Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
edit another log from event viewer

Code: Select all

http://localhost:8080
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Multiple Problems:

Post by Masher »

It's an apache error. I'm not an apache expert so don't really know what to tell you but to read the error message and look for anything that doesn't look right.
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!
Pantho
Posts: 7
Joined: Wed Sep 17, 2008 11:47 am

Re: Multiple Problems:

Post by Pantho »

Masher wrote:It's an apache error. I'm not an apache expert so don't really know what to tell you but to read the error message and look for anything that doesn't look right.
Right, well i will set voodoo onto it ;)

He deals with the website normally. He is just a tad lazy
Post Reply