Help me fix this bug please
i have a problem: when a user logs out i invalidate their session but if they click browser 'back' button then they get into a jsp that requires authorization even they no longer have the authorization. How do I fix this?
make sure that
a) all pages have the authorization check
and
b) you have these headers on all pages to prevent caching
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
Similar Messages
-
Hello!
I have my cod which needs some bug fixing. This is a drag and drop application where the user will drap the correct answer on corresponding targets. My problem here is, when one target is already occupied by an object i can still drop another object there, which shouldn't. can you please help me fix this?
thanks in advance!
Sincerely.
Milo
Here's my code:
var startX: Number;
var startY: Number;
var correct: Number = 0;
var attempt: Number = 0;
var currentlyDragged:MovieClip;
// collection of objects stored in array
// so that you can reference them programmatically
var objects:Array = [at1, in1, in2, in3, in4, in5, in6, in7, in8, on1, on2];
activateObjects();
// assigns listeners and other functionality to the objects in objects array
function activateObjects():void {
for each(var mc:MovieClip in objects) {
mc.addEventListener(MouseEvent.MOUSE_DOWN, pickObject);
mc.buttonMode = true;
// assign drop targets based on names
switch(String(mc.name).substring(0, 2)) {
case "at":
mc.dropTargets = [targetAT1];
break;
case "in":
mc.dropTargets = [targetIN1, targetIN2, targetIN3, targetIN4, targetIN5, targetIN6, targetIN7, targetIN8];
break;
case "on":
mc.dropTargets = [targetON1, targetON2];
break;
function pickObject(e:MouseEvent):void {
currentlyDragged = MovieClip(e.currentTarget);
currentlyDragged.startDrag();
startX = currentlyDragged.x;
startY = currentlyDragged.y;
stage.addEventListener(MouseEvent.MOUSE_UP, dropObject);
function dropObject(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
stopDrag();
var droppedOn:MovieClip;
if (currentlyDragged.dropTarget) {
// loop through targets belonging to the currently dragged clip
for each(var mc:MovieClip in currentlyDragged.dropTargets) {
if (currentlyDragged.hitTestObject(mc)) {
// get the target
droppedOn = mc;
currentlyDragged.removeEventListener(MouseEvent.MOUSE_DOWN, pickObject);
currentlyDragged.buttonMode = false;
currentlyDragged.x = droppedOn.x;
currentlyDragged.y = droppedOn.y;
correct++;
correctCounter.text = String(correct);
// stop loop - it is not necessary to continue
break;
attempt++;
attemptCounter.text = String(attempt);
// return to the initial position if there is no hit
if (!droppedOn) {
currentlyDragged.x = startX;
currentlyDragged.y = startY;
if (correct == objects.length) {
var congrats:CongratsMC = new CongratsMC();
// place i in the middle of the screen
congrats.x = (stage.stageWidth - congrats.width) * .5;
congrats.y = (stage.stageHeight - congrats.height) * .5;
addChild(congrats);Try the code below.
Also, use int instead of Number whenever possible - it is smaller and faster.
import flash.display.MovieClip;
import flash.display.Sprite;
var startX:Number;
var startY:Number;
var correct:int = 0;
var attempt:int = 0;
var currentlyDragged:MovieClip;
// collection of objects stored in array
// so that you can reference them programmatically
var objects:Array = [at1, in1, in2, in3, in4, in5, in6, in7, in8, on1, on2];
var congrats = new CongratsMC();
congrats.addEventListener("close", closeCongrats);
activateObjects();
// assigns listeners and other functionality to the objects in objects array
function activateObjects():void {
for each(var mc:MovieClip in objects) {
mc.addEventListener(MouseEvent.MOUSE_DOWN, pickObject);
mc.buttonMode = true;
// assign drop targets based on names
switch(String(mc.name).substring(0, 2)) {
case "at":
mc.dropTargets = [targetAT1];
break;
case "in":
mc.dropTargets = [targetIN1, targetIN2, targetIN3, targetIN4, targetIN5, targetIN6, targetIN7, targetIN8];
break;
case "on":
mc.dropTargets = [targetON1, targetON2];
break;
function pickObject(e:MouseEvent):void {
currentlyDragged = MovieClip(e.currentTarget);
currentlyDragged.startDrag();
startX = currentlyDragged.x;
startY = currentlyDragged.y;
stage.addEventListener(MouseEvent.MOUSE_UP, dropObject);
function dropObject(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
stopDrag();
var droppedOn:MovieClip;
correctCounter.text = String(correct);
if (currentlyDragged.dropTarget) {
// loop through targets belonging to the currently dragged clip
for each(var mc:MovieClip in currentlyDragged.dropTargets) {
if (currentlyDragged.hitTestObject(mc)&& mc.notUsed) {
// get the target
droppedOn = mc;
mc.notUsed = false;
currentlyDragged.removeEventListener(MouseEvent.MOUSE_DOWN, pickObject);
currentlyDragged.buttonMode = false;
currentlyDragged.x = droppedOn.x;
currentlyDragged.y = droppedOn.y;
correct++;
correctCounter.text = String(correct);
removeTarget(droppedOn);
// stop loop - it is not necessary to continue
break;
attempt++;
attemptCounter.text = String(attempt);
// return to the initial position if there is no hit
if (!droppedOn) {
currentlyDragged.x = startX;
currentlyDragged.y = startY;
if (correct == objects.length) {
// place i in the middle of the screen
congrats.x = (stage.stageWidth - congrats.width) * .5;
congrats.y = (stage.stageHeight - congrats.height) * .5;
addChild(congrats);
function removeTarget(target:Sprite):void {
var i:int = 0;
for each(var mc:MovieClip in objects) {
for (i = 0; i < mc.dropTargets.length; i++) {
if (mc.dropTargets[i] == target) {
mc.dropTargets.splice(i, 1);
function closeCongrats(e:Event):void {
removeChild(congrats); -
Model Name: Mac Pro Model Identifier: MacPro1,1 Processor Name: Dual-Core Intel Xeon Processor Speed: 3 GHz Number Of Processors: 2 Total Number Of Cores: 4 L2 Cache (per processor): 4 MB Memory: 7 GB Bus Speed: 1.33 GHz
My old GFX card nVidia GeForce 7300GT which is busted.
I replaced it with a nVidia NVIDIA Quadro FX 4500 from a Mac Pro of the same generation.
I'm now getting a Quartz Extreme error whenever I try to run Final Cut Pro 6 or Compressor. "This system does not meet the following minimum requirements: Final Cut Pro 6 requires that your system have a Quartz Extreme capable video card."
Well, I checked the specs of the card and it does support Quartz Extreme. So why isn't FCP 6 running?
Looking under the System Profiler > Graphics/Displays, it doesn't say the Cinema HD Display supports Quartz Extreme, but how could that be, because the Quadro 4500's specs online says it does?!! This was the better GFX card made for the same generation of Mac Pro but somehow doesn't work!
This is also effecting my DVD player App with an error: "A valid video device could not be found for playback: -70017". Which has never happened before either.
I've researched online and can't find anything that works.
The card has power running to it and the monitor is hooked into the closest DVI port to the logic board which most of people with the same problem have done to fix this. I've also gone into the Disk Utility and ran both Verify and Repair permissions and the same for the boot disk.
Nothing. I'm stumped. Short of trying to flash the ROM on the GFX card I'm not sure what to do. And I'm not comfortable doing that. Help please?
I'm using Final Cut Pro 6 and subsequent older versions of Motion and Compressor, not FCP X or companion series.
HELP!!!!You should go to the Mac Pro community to get a better audience.
https://discussions.apple.com/community/desktop_computers/mac_pro -
Help me squash this bug please
Post Author: eseidel
CA Forum: General
Hi, Im using VS2005 CR. After playing around with my program for a while I think I have discovered a bug. I just don't know if it's me or Crystal? When I run the program and set the parameters and then generate the report I get missing parameter values error. However, after closing the report form and resubmitting report from parameter selection dialog form it works...sometimes. And if it doesn't I close the report form, and just keep trying to resubmit it. Every now and then it works. But...as soon as you hit refresh the report crashes again and I get the missing parameter values error, so I close the report form and keep retrying and it will eventually work again. Any ideas? Is this actually a bug or something Im doing wrong?
Eric
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports SupplierReports.ConnectionTools
Imports System.Data
Imports System.Data.Common
Imports System.Data.OleDb
Imports System.Configuration
Imports System.DateTime
Public Class frmReport
Private _Parameters As New System.Collections.Specialized.StringDictionary
Private rptCard As ReportCard
Dim dsOcc As DataSet
Dim dsFailOcc As DataSet
Dim dtFailureOccurrence As DataTable
Dim dlg As dlgReportOptions
Public rptSupplier As String
Public rptSupplierName As String
Public rptKi As Integer
Public rptKiThisGoal As Integer
Public rptKiForecast As Integer
Public rptKiNextGoal As Integer
Public rptBegDate As Date
Public rptEndDate As Date
Public rptPreparedBy As String
Public rptApprovedBy As String
Dim myConnectionInfo As ConnectionInfo
Public Sub LoadReport(ByVal supName As String, ByVal supplier As String, ByVal reportKi As Integer, _
ByVal begDate As Date, ByVal endDate As Date, _
ByVal kiGoal As Integer, ByVal kiForecast As Integer, ByVal kiNextGoal As Integer, _
ByVal preparedBy As String, ByVal approvedBy As String)
rptSupplierName = supName
rptSupplier = supplier
rptKi = reportKi
rptBegDate = begDate
rptEndDate = endDate
rptKiThisGoal = kiGoal
rptKiForecast = kiForecast
rptKiNextGoal = kiNextGoal
rptPreparedBy = preparedBy
rptApprovedBy = approvedBy
Try
Me.Cursor = Cursors.WaitCursor
ConfigureCrystalReports()
Catch ex As Exception
MsgBox("Error loading data for report. Please contact IT Dept.", MsgBoxStyle.Critical, "Error")
Finally
Me.Cursor = Cursors.Arrow
End Try
End Sub
Private Sub frmReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
myConnectionInfo = New ConnectionInfo
End Sub
Public Property Parameters() As System.Collections.Specialized.StringDictionary
Get
Return (_Parameters)
End Get
Set(ByVal Value As System.Collections.Specialized.StringDictionary)
If (Value Is Nothing Or _Parameters Is Nothing) Then
Exit Property
End If
For Each entry As DictionaryEntry In Value
_Parameters.Add(entry.Key, entry.Value)
Next
End Set
End Property
Public Function ApplyParams()
Me.SuspendLayout()
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
crv.ReportSource
If (rpt Is Nothing OrElse _Parameters Is Nothing) Then Return False
Dim crParameterFieldDefinitions As ParameterFieldDefinitions = _
rpt.DataDefinition.ParameterFields
If (crParameterFieldDefinitions Is Nothing) Then Return False
For Each crParameterFieldDefinition As ParameterFieldDefinition In crParameterFieldDefinitions
If ((Not crParameterFieldDefinition.IsLinked) And _
_Parameters.ContainsKey(crParameterFieldDefinition.Name)) Then
Dim crParameterValues As ParameterValues = _
crParameterFieldDefinition.CurrentValues
If Not (crParameterValues Is Nothing) Then
Dim crParameterDiscreteValue As New ParameterDiscreteValue
crParameterDiscreteValue.Value = _
_Parameters.Item(crParameterFieldDefinition.Name)
crParameterValues.Add(crParameterDiscreteValue)
'Console.WriteLine(crParameterFieldDefinition.ReportName & ": " & crParameterFieldDefinition.Name & ": " & crParameterDiscreteValue.Value)
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
End If
End If
Next
crv.ReportSource = rpt
Me.ResumeLayout()
Return Nothing
End Function
Private Sub ConfigureCrystalReports()
Dim pFields As New ParameterFields()
Dim pField As New ParameterField()
Dim disVal As New ParameterDiscreteValue()
myConnectionInfo.ServerName = "MSDAORA"
myConnectionInfo.DatabaseName = "GLPROD"
myConnectionInfo.UserID = "COST_HIST"
myConnectionInfo.Password = "COST"
'setup db connection for report
'Bind report
rptCard = New ReportCard
LoadDataSource()
'rptCard.PrintOptions.PaperSize = PaperSize.Paper11x17
'rptCard.PrintOptions.PaperOrientation = PaperOrientation.Landscape
rptCard.SetDataSource(dsOcc)
crv.ReportSource = rptCard
'Load parameters for report
SetParameters()
SetDBLogonForReport(myConnectionInfo)
crv.RefreshReport()
End Sub
Private Sub SetParameters()
Parameters("kiPerformance") = rptKi
Parameters("PreparedBy") = rptPreparedBy
Parameters("SupplierName") = rptSupplierName
Parameters("Supplier") = rptSupplier
Parameters("ApprovedBy") = rptApprovedBy
Parameters("kiPerformanceGoal") = rptKiThisGoal
Parameters("kiForecastGoal") = rptKiForecast
Parameters("kiNextGoal") = rptKiNextGoal
Parameters("kiBegRange") = CDate(rptBegDate.ToString("d"))
Parameters("kiEndRange") = CDate(rptEndDate.ToString("d"))
End Sub
Private Sub LoadDataSource()
Dim conn As String = GetConnString()
Dim sqlMainRpt As String = "SELECT RANK, INDEXPOINTS,OCCDATE, BASICFAILURECODE, LATEINDEXPOINTS, CAR FROM COST_HIST.QA_OCC " & _
"WHERE SUPPLIER='" & rptSupplier & "' and occdate between TO_DATE('" & rptBegDate.ToString("d") & "','MM/dd/yyyy') and TO_DATE('" & rptEndDate.ToString("d") & "','MM/dd/yyyy')"
Dim rptAdapter As OleDb.OleDbDataAdapter = _
New OleDbDataAdapter(sqlMainRpt, conn)
dsOcc = New DataSet()
rptAdapter.Fill(dsOcc, "QA_OCC")
End Sub
Private Sub SetDBLogonForReport(ByVal conn As ConnectionInfo)
Dim tableLogOnInfos As TableLogOnInfos = crv.LogOnInfo
For Each myTableLogOnInfo As TableLogOnInfo In tableLogOnInfos
myTableLogOnInfo.ConnectionInfo = conn
Next
End Sub
Private Sub crv_Error(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ExceptionEventArgs) Handles crv.Error
'MsgBox("An error occured while loading the report. Please contact the IT Dept.", MsgBoxStyle.Exclamation, "Error")
MsgBox(e.Exception.Message)
e.Handled = True
End Sub
Private Sub crv_ReportRefresh(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ViewerEventArgs) Handles crv.ReportRefresh
ApplyParams()
End Sub
End ClassPost Author: eseidel
CA Forum: General
Hi, Im using VS2005 CR. After playing around with my program for a while I think I have discovered a bug. I just don't know if it's me or Crystal? When I run the program and set the parameters and then generate the report I get missing parameter values error. However, after closing the report form and resubmitting report from parameter selection dialog form it works...sometimes. And if it doesn't I close the report form, and just keep trying to resubmit it. Every now and then it works. But...as soon as you hit refresh the report crashes again and I get the missing parameter values error, so I close the report form and keep retrying and it will eventually work again. Any ideas? Is this actually a bug or something Im doing wrong?
Eric
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports SupplierReports.ConnectionTools
Imports System.Data
Imports System.Data.Common
Imports System.Data.OleDb
Imports System.Configuration
Imports System.DateTime
Public Class frmReport
Private _Parameters As New System.Collections.Specialized.StringDictionary
Private rptCard As ReportCard
Dim dsOcc As DataSet
Dim dsFailOcc As DataSet
Dim dtFailureOccurrence As DataTable
Dim dlg As dlgReportOptions
Public rptSupplier As String
Public rptSupplierName As String
Public rptKi As Integer
Public rptKiThisGoal As Integer
Public rptKiForecast As Integer
Public rptKiNextGoal As Integer
Public rptBegDate As Date
Public rptEndDate As Date
Public rptPreparedBy As String
Public rptApprovedBy As String
Dim myConnectionInfo As ConnectionInfo
Public Sub LoadReport(ByVal supName As String, ByVal supplier As String, ByVal reportKi As Integer, _
ByVal begDate As Date, ByVal endDate As Date, _
ByVal kiGoal As Integer, ByVal kiForecast As Integer, ByVal kiNextGoal As Integer, _
ByVal preparedBy As String, ByVal approvedBy As String)
rptSupplierName = supName
rptSupplier = supplier
rptKi = reportKi
rptBegDate = begDate
rptEndDate = endDate
rptKiThisGoal = kiGoal
rptKiForecast = kiForecast
rptKiNextGoal = kiNextGoal
rptPreparedBy = preparedBy
rptApprovedBy = approvedBy
Try
Me.Cursor = Cursors.WaitCursor
ConfigureCrystalReports()
Catch ex As Exception
MsgBox("Error loading data for report. Please contact IT Dept.", MsgBoxStyle.Critical, "Error")
Finally
Me.Cursor = Cursors.Arrow
End Try
End Sub
Private Sub frmReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
myConnectionInfo = New ConnectionInfo
End Sub
Public Property Parameters() As System.Collections.Specialized.StringDictionary
Get
Return (_Parameters)
End Get
Set(ByVal Value As System.Collections.Specialized.StringDictionary)
If (Value Is Nothing Or _Parameters Is Nothing) Then
Exit Property
End If
For Each entry As DictionaryEntry In Value
_Parameters.Add(entry.Key, entry.Value)
Next
End Set
End Property
Public Function ApplyParams()
Me.SuspendLayout()
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
crv.ReportSource
If (rpt Is Nothing OrElse _Parameters Is Nothing) Then Return False
Dim crParameterFieldDefinitions As ParameterFieldDefinitions = _
rpt.DataDefinition.ParameterFields
If (crParameterFieldDefinitions Is Nothing) Then Return False
For Each crParameterFieldDefinition As ParameterFieldDefinition In crParameterFieldDefinitions
If ((Not crParameterFieldDefinition.IsLinked) And _
_Parameters.ContainsKey(crParameterFieldDefinition.Name)) Then
Dim crParameterValues As ParameterValues = _
crParameterFieldDefinition.CurrentValues
If Not (crParameterValues Is Nothing) Then
Dim crParameterDiscreteValue As New ParameterDiscreteValue
crParameterDiscreteValue.Value = _
_Parameters.Item(crParameterFieldDefinition.Name)
crParameterValues.Add(crParameterDiscreteValue)
'Console.WriteLine(crParameterFieldDefinition.ReportName & ": " & crParameterFieldDefinition.Name & ": " & crParameterDiscreteValue.Value)
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
End If
End If
Next
crv.ReportSource = rpt
Me.ResumeLayout()
Return Nothing
End Function
Private Sub ConfigureCrystalReports()
Dim pFields As New ParameterFields()
Dim pField As New ParameterField()
Dim disVal As New ParameterDiscreteValue()
myConnectionInfo.ServerName = "MSDAORA"
myConnectionInfo.DatabaseName = "GLPROD"
myConnectionInfo.UserID = "COST_HIST"
myConnectionInfo.Password = "COST"
'setup db connection for report
'Bind report
rptCard = New ReportCard
LoadDataSource()
'rptCard.PrintOptions.PaperSize = PaperSize.Paper11x17
'rptCard.PrintOptions.PaperOrientation = PaperOrientation.Landscape
rptCard.SetDataSource(dsOcc)
crv.ReportSource = rptCard
'Load parameters for report
SetParameters()
SetDBLogonForReport(myConnectionInfo)
crv.RefreshReport()
End Sub
Private Sub SetParameters()
Parameters("kiPerformance") = rptKi
Parameters("PreparedBy") = rptPreparedBy
Parameters("SupplierName") = rptSupplierName
Parameters("Supplier") = rptSupplier
Parameters("ApprovedBy") = rptApprovedBy
Parameters("kiPerformanceGoal") = rptKiThisGoal
Parameters("kiForecastGoal") = rptKiForecast
Parameters("kiNextGoal") = rptKiNextGoal
Parameters("kiBegRange") = CDate(rptBegDate.ToString("d"))
Parameters("kiEndRange") = CDate(rptEndDate.ToString("d"))
End Sub
Private Sub LoadDataSource()
Dim conn As String = GetConnString()
Dim sqlMainRpt As String = "SELECT RANK, INDEXPOINTS,OCCDATE, BASICFAILURECODE, LATEINDEXPOINTS, CAR FROM COST_HIST.QA_OCC " & _
"WHERE SUPPLIER='" & rptSupplier & "' and occdate between TO_DATE('" & rptBegDate.ToString("d") & "','MM/dd/yyyy') and TO_DATE('" & rptEndDate.ToString("d") & "','MM/dd/yyyy')"
Dim rptAdapter As OleDb.OleDbDataAdapter = _
New OleDbDataAdapter(sqlMainRpt, conn)
dsOcc = New DataSet()
rptAdapter.Fill(dsOcc, "QA_OCC")
End Sub
Private Sub SetDBLogonForReport(ByVal conn As ConnectionInfo)
Dim tableLogOnInfos As TableLogOnInfos = crv.LogOnInfo
For Each myTableLogOnInfo As TableLogOnInfo In tableLogOnInfos
myTableLogOnInfo.ConnectionInfo = conn
Next
End Sub
Private Sub crv_Error(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ExceptionEventArgs) Handles crv.Error
'MsgBox("An error occured while loading the report. Please contact the IT Dept.", MsgBoxStyle.Exclamation, "Error")
MsgBox(e.Exception.Message)
e.Handled = True
End Sub
Private Sub crv_ReportRefresh(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ViewerEventArgs) Handles crv.ReportRefresh
ApplyParams()
End Sub
End Class -
After installing iOS 7 camera stopped working normally. I can't take pictures with the back camera only the front camera. All was good before the update. Please fix this bug.
Hi Midnightbrat,
Welcome to the Support Communities!
The troubleshooting steps for the camera on the iPad are similar to the iPhone: I've highlighted the pertinent steps below:
Hardware troubleshooting
http://support.apple.com/kb/ts2802
Camera
If the screen shows a closed lens or black image, force quit the Camera app.
If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tapping Settings > General > Restrictions.
Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
Third-party cases can interfere with the autofocus/exposure feature and the flash; try removing the case if you have image-quality issues with photos.
Try turning the iPad off and then back on.
Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
Try switching between the front and the back cameras to verify if the issue persists on both.
I hope this information helps ....
Have a great day!
- Judy -
Please help me fix the bug relate to x$kzsro
Dear everybody
I'm new to oracle. I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 in window vista.
recently, i try to run this code :
select u.name, o.obj#, o.name,
decode(o.type#, 2, 'TABLE', 4, 'VIEW')
from sys.user$ u, sys.obj$ o
where o.owner# = u.user#
and o.linkname is null
and o.type# in (2, 4)
and (o.owner# = uid
or
obj# in (select obj#
from sys.objauth$
where grantee# in (select kzsrorol from x$kzsro)
or grantee#=uid
and encounter error :
Error starting at line 1 in command:
select u.name, o.obj#, o.name,
decode(o.type#, 2, 'TABLE', 4, 'VIEW')
from sys.user$ u, sys.obj$ o
where o.owner# = u.user#
and o.linkname is null
and o.type# in (2, 4)
and (o.owner# = uid
or
obj# in (select obj#
from sys.objauth$
where grantee# in (select kzsrorol from x$kzsro)
or grantee#=uid
Error at Command Line:11 Column:56
Error report:
SQL Error: ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
this error relate to table or view x$kzsro in oracle 10.2
i can't fix this bug.so please help me.
thanksx$kzsro is a fixed table. You can select from fixed tables only if you are connected as sysdba. You can't grant select on a fixed table to a user:
SQL> grant select on sys.x$kzsro to scott;
grant select on sys.x$kzsro to scott
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
SQL> What you could do is as k your DBA to:
SQL> create view v$kzsro as select * from x$kzsro;
View created.
SQL> grant select on v$kzsro to scott
2 /
Grant succeeded.
SQL> connect scott
Enter password: *****
Connected.
SQL> select * from sys.x$kzsro;
select * from sys.x$kzsro
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select * from sys.v$kzsro;
ADDR INDX INST_ID KZSROROL
00000000 0 1 1
00000008 1 1 54
00000010 2 1 2
00000018 3 1 3
00000020 4 1 4
00000028 5 1 6
00000030 6 1 20
00000038 7 1 7
00000040 8 1 8
00000048 9 1 9
00000050 10 1 10
ADDR INDX INST_ID KZSROROL
00000058 11 1 13
00000060 12 1 18
00000068 13 1 26
00000070 14 1 32
00000078 15 1 33
00000080 16 1 40
00000088 17 1 42
00000090 18 1 48
00000098 19 1 80
000000A0 20 1 82
21 rows selected.
SQL> SY.
P.S. If you are new to oracle starting with sys owned tables and fixed tables isn't the best choice. -
hello,
i restored and updated my iphone 4 to the latest version of 5.1.1 and after that when i connect my mobile to i tunes all i see is a big rectangle and a apple logo on left and a small lock on right side please help me fix this problem.I sloved this issue by resting my phone from settings>general>reset>reset all settings...the problem will be fixed
-
Apple, please fix this bug. Sending scanned images to "Pictures" is not what I want nor what I was able to do in every previous operation system. I want to save all scanned items in a specific folder - NOT "PICTURES" Please fix this bug NOW!
I only use Image Capture, so I can't speak for other software.
Here is how I select a Scan To destination:
If you are using the minimal details screen, you should have the same submenu to the left of the page size. -
I can't forcequit firefox and shutdown my computer, nor can I open up any other programs or applications. Does anyone know how to fix this? please help this poor soul.
You can force quit applications
>Force quit
if that does not work you can force quit a computer shut down by hold the power button for an extended period. -
After upgrading my iPhone 5 to iOS 7 iTunes will not stay open once the app launches...does anyone know how to fix this? Please Help :)
I have exactly the same problem. I too have tried everything that's been suggested, but still not working. Don't really what to do next? I have an iPhone 4S.
-
Hi, Firefox on my desktop keeps crashing at just random moments. Sometimes not very often at all, but other times it can happen a few times within an hour.
My Desktop Window Manager also crashes regularly and the dialogue box always pops up saying its stopped working. However, this doesn't seem to effect anything.
It could be realated though, as I just had this desktop built a few weeks ago and a few times it's crashed as well as programs.
If anyone can help me fix this issue with Firefox, that would be great. Thanks in advance.Hi,
I updated the Flash plugin, but I still keep getting crashes.
I will try to disable the hardware acceleration in the Flash Player as you recommended and hopefully this will work.
Although the last crash report I got has a different problem then before,
https://crash-stats.mozilla.com/report/index/6c5d8c66-6789-4b52-94e4-61cdf2110530
Signature: BuildArgArray
If you can please offer any more advice that would be great, thanks. -
My safari keeps closing unexpectedly and when it does it tells me that it quite while using the .GameHouseBeachParty.so plugin. I have no idea what this means! Can someone please help me fix this?
You have the Flashback trojan.
Check out the replies in this thread for what to do;
https://discussions.apple.com/message/18114958#18114958 -
I accidentally dropped my friend's macbook air that was in a book bag. The keyboard is working because I can see the light but the screen is black and it won't turn off. How should I fix this? Please Help ME!!
I tried to turn it off and it didn't work... and I held on to the shift key too and it still doesn't work..
Please help me..Accidental damage is not covered under Apple warranty. And it seems there is much accidental damage. Only a Genius Bar tech looking at it can tell how much it will cost to repair.
Cost to repair will be high, I suspect (though Genius Bar will confirm/deny.
There is no gentle way to say this sir/ma'am ... someone will need to pay for your friend's MBA repairs. -
I have a problem with my iphone 4. My 3G always stays activated but I lose my network signal. The bars all get lost and I'm not able to receive / send sms, mms or phone calls. Could you guys please help me fix this problem? Ios 5.1.1
I haven't gotten a new sim card because the problem has been presenting itself in various cards not only mine. So far, all I've done is reset my network settings.
Last night, I turned off the 3G tab and it had all the signal bars. Today, I did the network reset and it's working apparently. But like I said before, previously the bars just disappear and the iphone only has the 3G activated. -
Help!! I just updated my iPad 2 into IOS 5.1.1.. When it finished updating, I can't open all of my games. Please help me fix this. :( thank you.
You are most welcome
Maybe you are looking for
-
MacBook pro does not recognize my WD external hard drive anymore
I use TIme Machine on my WD external hard drive. Everything was working great up until about a month ago. My MacBook Pro does not recognize my external hard drive anymore...I have done nothing differently than usual. I did search in previous discussi
-
Hello I'm using Excel 2010 I need to open a new Excel file to be display on a 2' monitor. The new file need to be under the same instance has my main Excel file to prevent problem with a special dll collection that I'm using. I need to have both fil
-
Hi All, I am having a requirement for the generating a report for the selection field 0calmonth.if execute the report,the field name should get change for the previous years and i should get the data for the same. For Example: Input : 200906
-
How do I select a *Default* Browser?
Hello! I have several browsers (IE 5.1.7, Mozilla 1.2.1, Opera 6.0.3) that I use for various reasons. I also use Eudora 6.1.1 for email. When I click on links within email documents (identified as http://... using the *Blah Blah* button), one of the
-
SAP XI versus Sonic's Enterprise Service Bus
Hi, Question 1: In David Chappell's book 'Enterprise Service Bus', the Sonic ESB is described. He says that the ESB is more than a hub-and-spoke integration broker: ESB is a MOM and above that several 'generic' services, which handle the traffic and