aavc
Posts: 3
Joined: Sat Jul 07, 2007 6:46 am

Help! Errors running application

Sun Jul 15, 2007 1:43 am

Please help!

I installed latest GPSGate Server on Windows 2003 server. Tried to run siteadmin and get the following error (after enabling Debug):

Exception Details: System.Configuration.ConfigurationErrorsException: Unable to read DatabaseType setting from App.config.

Source Error:


[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gpsgateserver_siteadmin\07d0e70e\baff41d5\App_Web_wl8pm0g9.0.cs Line: 0

Stack Trace:


[ConfigurationErrorsException: Unable to read DatabaseType setting from App.config.]
Franson.Directory.DAO.DAOFactory.GetDAOFactory() +290
Franson.Directory.Application..ctor(ConcurrencyOption concurrencyOption) +66
Franson.Directory.Application..ctor() +12
GpsGate.SiteAdminApplication.SiteAdminApplication..ctor() +19
GpsGate.SiteAdmin.WebUI.SiteAdminMaster.get_SiteAdminApp() +68
GpsGate.SiteAdmin.WebUI.Index.ViewLogin_Activate(Object sender, EventArgs e) +20
System.Web.UI.WebControls.View.OnActivate(EventArgs e) +105
System.Web.UI.WebControls.MultiView.set_ActiveViewIndex(Int32 value) +395
System.Web.UI.WebControls.MultiView.SetActiveView(View view) +45
GpsGate.SiteAdmin.WebUI.Index.Page_Load(Object sender, EventArgs e) +223
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6906
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.index_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gpsgateserver_siteadmin\07d0e70e\baff41d5\App_Web_wl8pm0g9.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

User avatar
Bjorn_Andersson
GpsGate
Posts: 463
Joined: Wed Jun 28, 2006 5:20 pm
Location: Sweden
Contact: Website

RE: Help! Errors running application

Tue Jul 17, 2007 11:40 am

Hi!
Would you please post the content of the [IISROOT]\GpsGateServer\SiteAdmin\web.config
Regards,
Franson Support
Bjorn Andersson

aavc
Posts: 3
Joined: Sat Jul 07, 2007 6:46 am

RE: Help! Errors running application

Sun Jul 22, 2007 2:54 am

Hello,

I fixed the problem by reinstalling the GPSGateServer in the default root directory instead of "companyweb" under root directory. When I installed under companyweb, the application is not reading web.config file and therefore giving the databasetype setting error.

Thanks.

Return to “GpsGate Server - How to setup and use”