0

我有有限的 Oracle exp。我为 SQL Server 和 Oracle 编写了应用程序,asp.net c#。SQL Server 工作正常。Oracle 一个客户端无法运行该应用程序。日志显示 sp 启动,然后不执行任何操作。然后应用程序中止。

我的问题是如何调试正在发生的事情?是我应该关注的存储过程吗?

该应用程序在我们的 Oracle 服务器中进行了测试,并且可以在我们的测试服务器上运行。

我需要关于问题所在和/或如何发现问题所在的指导。然后我们可以考虑解决。以下是日志中的一些信息:

4-27-2012|INFO: Bootstrapper :  GetAllInstances(OPTFDashboard.Common.Modules.MissedMedications.Views.MedicineTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.Orders.Views.OrderTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.Schedules.Views.ScheduleTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.MissingAllergies.Views.MissingAllergiesTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.POWarnings.Views.POWarningsTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.Decline.Views.DeclineTileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.CNA.Views.CNATileView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.Modules.Improved.Views.ImprovedTileView)
04-27-2012|INFO: AutoGrid : ArrangeChildren. True, 0
04-27-2012|INFO: AutoGrid : Arranging children in 1 column(s) by 2 row(s).
04-27-2012|INFO: AutoGrid : ArrangeChildren. True, 11
04-27-2012|INFO: AutoGrid : Arranging children in 2 column(s) by 6 row(s).
04-27-2012|INFO: Bootstrapper : GetInstance(Caliburn.Micro.IWindowManager, '')
04-27-2012|INFO: Bootstrapper : GetInstance(OPTFDashboard.Common.UserInterface.MainWindow.MainWindowViewModel, '')
04-27-2012|INFO: Database : Query: SELECT MODULE_ID, DESCRIPTION FROM OGEN.DBD_C_MODULES WHERE ACTIVE = 1
04-27-2012|INFO: Database : Query: SELECT CODKEY, DESCR FROM OGEN.PAT_C_STATES WHERE FACILITY_KEY = 'BASE' ORDER BY DESCR
04-27-2012|INFO: Database : Query: SELECT CODKEY, DESCR FROM OGEN.PAT_C_FAC_REGION
04-27-2012|INFO: Database : Query: SELECT CORP_KEY, CORP_NAME FROM OGEN.GEN_M_CORPORATION ORDER BY CORP_NAME
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.UserInterface.MainWindow.MainWindowView)
04-27-2012|INFO: Bootstrapper : GetAllInstances(OPTFDashboard.Common.UserInterface.MainWindow.FacilitySelectionView)
04-27-2012|INFO: Database : Query: SELECT R.*, S.MODULE_ID
                           FROM OGEN.GEN_M_USER_ROLE R

这里的信息列表实际上并没有运行,这是我认为的问题。

4

1 回答 1

1

oracle服务是否启动,连接字符串是否有效,可以tnsping oracle服务器吗?您是否设置了用户权限?

于 2012-05-11T12:56:19.763 回答