ORA-20000: cannot find the dimension
Hi,
While trying to install Oracle 11g R2 Single Instance Database on Solaris 10 (sparc) got following error:
[Thread-10] [ 2012-07-14 20:57:33.395 EEST ] [CloneDBCreationStep.executeImpl:650] ** INSTALL SAMPLE SCHEMA'S **
[Thread-10] [ 2012-07-14 20:57:33.397 EEST ] [CloneDBCreationStep.executeImpl:691] Transportable datafile:=/opt/oracle/oradata/egldb/example01.dbf
[Thread-10] [ 2012-07-14 20:57:33.398 EEST ] [CloneDBCreationStep.executeImpl:698] Script to be Excecuted ::::=/opt/oracle/product/11.2.0/db_1/demo/schema/mkplug.sql
[Thread-14] [ 2012-07-14 20:59:40.903 EEST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@9c4ff2c:messageHandler
[Thread-14] [ 2012-07-14 20:59:40.905 EEST ] [BasicStep.handleNonIgnorableError:431] ORA-20000: cannot find the dimension
ORA-06512: at "SYS.DBMS_DIMENSION", line 404
ORA-06512: at "SYS.DBMS_DIMENSION", line 426
ORA-06512: at "SYS.DBMS_SUMMARY", line 54
ORA-06512: at line 1
:msg
Do you have any ideas about how to fix it?
Thanks, Andriy.
Edited by: 946442 on 14/7/2012 11:08
Hi,
More errors appeared after i ignored previous errors.
Are they because of previous "ORA-20000: cannot find the dimension" error?
[Thread-14] [ 2012-07-14 21:26:11.986 EEST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@9c4ff2c:messageHandler
[Thread-14] [ 2012-07-14 21:26:11.988 EEST ] [BasicStep.handleNonIgnorableError:431] ORA-24010: QUEUE IX.AQ$_ORDERS_QUEUETABLE_E does not exist
ORA-06512: at "SYS.DBMS_AQADM_SYSCALLS", line 309
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 11237
ORA-06512: at line 1
:msg
[Thread-14] [ 2012-07-14 21:26:17.602 EEST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@9c4ff2c:messageHandler
[Thread-14] [ 2012-07-14 21:26:17.604 EEST ] [BasicStep.handleNonIgnorableError:431] ORA-24010: QUEUE IX.AQ$_STREAMS_QUEUE_TABLE_E does not exist
ORA-06512: at "SYS.DBMS_AQADM_SYSCALLS", line 309
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 11237
ORA-06512: at line 1
:msg
[Thread-14] [ 2012-07-14 21:26:18.442 EEST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@9c4ff2c:messageHandler
[Thread-14] [ 2012-07-14 21:26:18.443 EEST ] [BasicStep.handleNonIgnorableError:431] ORA-24010: QUEUE IX.ORDERS_QUEUE does not exist
ORA-06512: at "SYS.DBMS_AQADM_SYSCALLS", line 309
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 11237
ORA-06512: at line 1
:msg
[Thread-14] [ 2012-07-14 21:26:20.673 EEST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@9c4ff2c:messageHandler
[Thread-14] [ 2012-07-14 21:26:20.675 EEST ] [BasicStep.handleNonIgnorableError:431] ORA-24010: QUEUE IX.STREAMS_QUEUE does not exist
ORA-06512: at "SYS.DBMS_AQADM_SYSCALLS", line 309
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 11237
ORA-06512: at line 1
:msg
Thanks, Andriy.
Similar Messages
-
ORA-20100 The system cannot find the file specified 0RA-06512
I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
ORA-20100: The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_CLR", line 211
ORA-06512: at "PROD.GETSEGADDRNO", line 7
ORA-06512: at line 1
It is basically the same C# code as the OTN sample except for accessing a table in my database.
I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
(I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
This is the code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
// use the ODP.NET provider
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace CLRLibrary1
// Sample .NET stored function returning address number (ADDR_NO) for
// a given segment number (SEG_NO)
public class Class1
public static int GetSegAddrNo(int segno)
int addrno = 0;
// Check for context connection
OracleConnection conn = new OracleConnection();
if (OracleConnection.IsAvailable == true)
conn.ConnectionString = "context connection=true";
else
throw new InvalidOperationException("context connection" +
"not available");
conn.Open();
// Create and execute a command
OracleCommand cmd = conn.CreateCommand();
cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
System.Data.ParameterDirection.Input);
OracleDataReader rdr = cmd.ExecuteReader();
if (rdr.Read())
addrno = rdr.GetInt32(0);
rdr.Close();
cmd.Dispose();
conn.Close();
return addrno;
} // GetSegAddrNo
} // Class1
} // CLRLibrary1
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
was installed from the Oracle downloads site: 10201_database_win32.zip
On Windows Server 2003 R2 Standard Edition SP2
Oracle .NET tools was installed using: ODTwithODAC1020221.exe
The CLR Service is running
Deployment says that it is successfull.
The DLL is in the expected Oraclehome\BIN\CLR folder
The deployment script is:
CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
a000000
1f
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
8
147 138
ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
q4wshbsYLTTPHX3F6pA=
The parameter mapping is:
return value int32 number
segno int32 number
Bob Sorrell
[email protected]
863-662-5524These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
Aliases: Global
Copy Local: False
Description: Oracle.DataAccess.dll
File Type: Assembly
Identity: Oracle.DataAccess
Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
Resolved: True
Runtime Version: v2.0.50727
Specific Version: False
Strong Name: True
Version: 2.102.2.20
This is what GacUtil shows:
The Global Assembly Cache contains the following assemblies:
Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
Number of items = 2
The GAC seems to contain both 2.102.2.20 and 1.102.2.20
Do I need to remove one? -
ORA-27369: The system cannot find the file specified.
I am trying to run a job in DBMS_Scheduler in 10.2.0.2 and i am getting the following error:
ORA-27369: job of type EXECUTABLE failed with exit code: The system cannot find the file specified.
I am trying to have it execute an external .bat file. The .bat file works fine if i execute it manually. (This is MS Server 2003)
I created the same job in another instance and it runs fine. I took the same files directory copied it to another server (all file permissions are the same on both servers) and took the creation scripts for the job and ran them in the new database and i am getting this error when i try to run the job. There is very little information for this specific error. In the two databases all the permissions are the same for the user and the scripts all executed successfully.
Any ideas on what is casuing this error.
I am not sure if its Oracle thats having the problem or if Windows is somehow holding it up.
(PS. I have permissions in the local security policy to allow 'Log on as Batch job' in both servers)Hi,
A couple things.
- Is the Job Scheduler service up and running and set to run as the right user ? If everything else is the same than maybe the service is only up on one instance ?
- You should be calling "cmd.exe /c script.bat " and not the batch file directly. Beware that cmd.exe may be in different places in different versions of windows and you should always fill in the full path for both cmd.exe and script.bat. This could be causing the "file not found" issue.
- Does a simple external job work ? It can be easier to get a simple external job working first e.g. ipconfig.exe or echo.exe.
Hope this helps,
Ravi. -
Dbms_scheduler - ORA-27301: system cannot find the file specified
Hi,
I'm having problems running an executable job via dbms_scheduler. The invoking code reads:
begin
dbms_scheduler.create_job(job_name => "fred",
job_type => "EXECUTABLE",
job_action => 'convert c:\wowtemp\test.jpg -thumbnail 155 c:\wowtemp\test.png',
enabled => TRUE
dbms_scheduler.run_job(job_name => "fred");
end;and running this in SQL*plus gives me:
ERROR at line 1:
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2
ORA-27301: OS failure message: The system cannot find the file specified.
ORA-27302: failure occurred at: sjsec 6a
ORA-27303: additional information: The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 7This happens no matter what I put in the job_action, and despite the fact that if I paste the jpb_action into a command prompt window it executes successfully. The user has CREATE ANY JOB privilege.
Any ideas?
BTW, this is using XE on WinXP. (I'd post in the XP forum but it seems to have disappeared).
Thanks,
johnOK, problem #1 solved:
By default, XE on Windows sets up the scheduler service to disabled. Enable and start it, then we can move on to problem #2:
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
See http://www.adp-gmbh.ch/blog/2005/may/27.html for a workaround using a .bat file which sadly doesn't help me. How do I pass runtime switches and parameters?
DBMS_SCHEDULER is wonderfully powerful, but NOWHERE in the copious documentation can I find help on how to do something really SIMPLE.
I just want to run an unscheduled, ad hoc executable job which runs an OS command with parameters, as in:
'c:\mydir\convert.exe c:\mydir\test.jpg -thumbnail 155 c:\mydir\test.png'
Can the job_action parameter include command-line switches and parameters or not?
In the documentation for CREATE_JOB, 'For an executable, the action is the name of the external executable, including the full path name and any command-line arguments.', but this doesn't work for me.
Elsewhere (Error running executable job I read:
If the job_type is executable then the scheduler expects only the executable name and path as job_action (no command line arguments) e.g. ("c:\win32\cmd.exe")
For commandline arguments you should be setting number_of_arguments to the required value and then doing set_job_argument_value for each argument. (e.g. 3, "/q", "/c", "script.bat").
What's the real story?
Any and all assistance much appreciated
Thanks -
ORA -18808;Cannot find OUTLN schema using Database Link
Hi,
I have to access a database using a database link. When I try to do so I get the message:
ORA -18808:cannot find OUTLN schema
The OUTLN schema really does'nt exist at the target database, but I don't get the message when connecting with the same user outside the database link.
I am trying to avoid to ask them to recreate the schema, since I am the only one that needs the database link working.
Is there any way I can access the database with the database link without messing with the target database?
Thanks in advance for any help.The error number returned by that error does not seem to be correct. Below is the correct error number:
ORA-18008 cannot find OUTLN schema
Cause: The database creation script that creates this schema must not have been executed.
Action: Review the log files to see what happened when the database was created.
How is the DB link defined to connect as? -
ORA-20002 - Cannot find root process
Hello --
My oracle item type monitor display (java applet) went offline today and this is what is happening when using the oracle home page to view the processes:
I can see all the non-completed processes for the item type is the process list
When I click on the process name the, the process summary is displayed
When I click on the view Diagram button, the applet does not initiate
The error from the java console is below.
Has anyone seen this before and know how to fix it; I tried reloading the workflow into the database and the results are the same. I would really appreciate any help offered.
Error from java console:
Cp1252 URL2 : http://oi2.ghpd.com:7777/pls/wfprod/WF_MONITOR.GetProcess?x_item_type=GHPAPINV&x_item_key=20071005162749x4470858&x_admin_mode=yes&x_access_key=2030210590&x_proc_name=&x_proc_type=
network: Connecting http://oi2.ghpd.com:7777/pls/wfprod/WF_MONITOR.GetProcess?x_item_type=GHPAPINV&x_item_key=20071005162749x4470858&x_admin_mode=yes&x_access_key=2030210590&x_proc_name=&x_proc_type= with proxy=DIRECT
network: Connecting http://oi2.ghpd.com:7777/pls/wfprod/WF_MONITOR.GetProcess?x_item_type=GHPAPINV&x_item_key=20071005162749x4470858&x_admin_mode=yes&x_access_key=2030210590&x_proc_name=&x_proc_type= with cookie "WF_SYSTEM_COOKIE=::; SSO_ID=v1.2~1~6400206ABB8D7F50C4C4D0B1BA6ED548F6E1A35E32A7320E813D30F26723C3E843A44D293AB0AF621981788F01FBA16FC28C536BB72B4BABF4A80DAB98E9B7BD711E289981B8B90FD673CB764AEF3FAC0330D0D1FADDA152ECD1F8D0A62FC48702627EEB73C8A4E40AFA0D61628D6E8ECF20F1EAA781A746E17A1A9CE7514AE674D41A183041C83990859D2F816807226C13D508214679F328B619794099CC59C8CE95CA51F831F3DB45F49D0BBD3592AE5BC080C58A66EAB058F933FC330259EAA808EEEEA419B06D36AECB83AE4D35472A3E4E40260B59775DCB0F1EC37879422E2F64FCBDE1BBC930E5B220E803AE; OHS-oi2.ghpd.com-7777=AE4C4E5BD5ED4D098A3925036B052DEAEC9FDB926E680AC07CA49E935A779722FEE395CEF0547E400E50F5710FA38EDB6ECCACB1560EDBB12F13B09A3600A14356F3929667D73B200FE3EA98CAB189AAC27C496D721DDC0D9FBF0ADD8BC940335BE301B2076F5ACF05B03ED6DA49648C456F265E3B4AAEE0C23A1AD38411134D3DA49B4C059E41FD65F49EABF853AC1551B4BD76943A19F8EEBEB46C99EDDE5BCDE3510BDE58CD9399F71F3DC61623AB59A34A89A844C7101DB2B4388E8F47F5546B0B30298CA11C828513C03B1D373A638BF6D56C1775DC19ED79F5E11A34F7; WF_WORKLIST_MODE=PRIORITY:OPEN:SYSADMIN:*:*:*:*:*:*:*:*:-1:*:0:*"
Unknown token "ERROR", couldn't parse line:ERROR:Internal Error in GetRootProcess
java.lang.NullPointerException
at oracle.apps.fnd.wf.WFProcess.<init>(WFProcess.java:76)
at oracle.apps.fnd.wf.Monitor.init(Monitor.java:310)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.NullPointerExceptionThis is from alert log file .
Could someonle help pls.
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
read 29 KB redo, 24 data blocks need recovery
Started redo application at
Thread 1: logseq 1224193, block 3, scn 11096620271064
Recovery of Online Redo Log: Thread 1 Group 1 Seq 1224193 Reading mem 0
Mem# 0: /u01/oradata/igoast1/redo01.log
Completed redo application of 0.02MB
Completed crash recovery at
Thread 1: logseq 1224193, block 61, scn 11096620291403
24 data blocks read, 24 data blocks written, 29 redo k-bytes read
Thread 1 advanced to log sequence 1224194 (thread open)
Thread 1 opened at log sequence 1224194
Current log# 2 seq# 1224194 mem# 0: /u02/oradata/igoast1/redo02.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
[10921] Successfully onlined Undo Tablespace 2.
Undo initialization finished serial:0 start:263307193 end:263307528 diff:335 (3 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is US7ASCII
No Resource Manager plan active
Errors in file /apps/opt/oracle/diag/rdbms/igoast1/igoast1/trace/igoast1_ora_10921.trc:
ORA-18008: cannot find OUTLN schema
Errors in file /apps/opt/oracle/diag/rdbms/igoast1/igoast1/trace/igoast1_ora_10921.trc:
ORA-18008: cannot find OUTLN schema
Error 18008 happened during db open, shutting down database
USER (ospid: 10921): terminating the instance due to error 18008
Instance terminated by USER, pid = 10921
ORA-1092 signalled during: ALTER DATABASE OPEN...
opiodr aborting process unknown ospid (10921) as a result of ORA-1092
Fri Sep 09 07:07:47 2011
ORA-1092 : opitsk aborting process -
in the new Pages 5.0, what is the page break shortcut key (it used to be the Fn + enter). I cannot find the (new) key as indicated on the drop down menu. Please help.
Hi Bruce and fruhulda,
ok, I found the keyboard viewer, it only shows the traditional symbol 'return'. something like a sideway u-turn continued with the arrow under. This is the Canadian or US keyboard.
btw thanks for your suggestion. -
Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct. Account name: "MacMail"
What are the correct mail account settings and more importantly the correct DNS settings
Thank you for any help you may be able to provide
Cheers
Chris (iMac i7)Do not delete the old account yet. sign up for an iCloud account if you haven't.
I understand .mac mail will still come through. Do not delete the old account yet.
You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
IMAP (Incoming Mail Server) information:
• Server name: imap.mail.me.com
• SSL Required: Yes
• Port: 993
• Username: [email protected] (use your @me.com address from your iCloud account)
• Password: Your iCloud password
SMTP (outgoing mail server) information:
• Server name: smtp.mail.me.com
• SSL Required: Yes
• Port: 587
• SMTP Authentication Required: Yes
• Username: [email protected] (use your @me.com address from your iCloud account)
• Password: Your iCloud password
Also, you must upgrade your password to meet the new criteria: 8 characters, including upper and lower case and numbers. If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message. Go to http://appleid.apple.com then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
Thanks to dpepper...
https://discussions.apple.com/thread/3867171?tstart=0 -
I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file. I have run a number of searches and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps. The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members. I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?My apologies Eadeszoo I believe our support agents are unavailable on January 1.
Are you able to copy the contents of the DVD to your computer? Are you receiving any particular error messages when you are trying to install? Finally which operating system are you using? -
I am so angry - there has to be a misunderstanding. my Itunes was disabled as there was a charge that I did not authorize and I cannot find the phone number for security and the dingbat girl who I'm emailing send me a link that does not work. And I am extremely frustrated. Please help. I need a phone # to contact security.
Contact Apple Support here:
ACCOUNT SECURITY CONTACT NUMBERS
Cheers,
GB -
I used to have over 2000 songs in my itunes library, now there are only a few and I cannot find the others.
See this post.
tt2 -
I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?
I am confused. Do you mean you found the music, not the tones, or you can't find either?
If the former, then this is normal. You can't redownload tones from the Cloud. -
I am trying to upload photos from my Windows 7 desktop, and was told to go to the iCloud control panel and drag the photos into the
upload to photo stream icon. I have downloaded the contol panel several times and cannot find the icon to get this done. HELPIf you're trying to add photos to photo stream on your PC, you drag them to your photo stream uploads folder (normally My Pictures\Photo Stream\Uploads).
-
I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?
If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.
-
Error message on my development workstation: The system cannot find the file specified.
Post Author: cseverin
CA Forum: Crystal Reports
Hi,
I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database. I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue. The problem seems to be with Crystal Reports.
I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it. I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them. All worked fine.
To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report. After doing this, the preview no longer worked.
Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it. In the code behind the page I wrote:
Option Strict On
Imports System.Data
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Class Reports
Inherits System.Web.UI.Page
Private objOpenFilesreport As OpenFilesReport
Private rptOpenFiles As ReportDocument
Private strLastErrorMessage As String = Nothing
Private errLastException As Exception = Nothing
Dim strFileKey As String
Dim strJurisdictionCode As String
Dim strStaffId As String
Dim strReportId As String
Private Sub ConfigureCrystalReports()
Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
Dim rptopenfiles As New ReportDocument
rptOpenFiles.Load(reportPath) <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports folder of my project
Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
ConnectionInfo.DatabaseName = my database
ConnectionInfo.UserID = login id of user
ConnectionInfo.Password = user's password
SetDBLogonForReport(ConnectionInfo, rptopenfiles)
CrystalReportViewer1.ReportSource = rptopenfiles
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = ConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
End Class
I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it. When I run the website in Visual Studio and click on the hyperlink I get the following:
Server Error in '/MyTest' Application.
The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[COMException (0x80004005): The system cannot find the file specified.
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Any ideas, anyone?
Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file. I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries. But how do I call these functions at the time the report is run?
This is my first Crystal report written in .NET and I've been struggling with it for days now. Any help would be most appreciated!
Thanks very much!
Chris Severinhello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
Maybe you are looking for
-
How do I get my Imovie11 to play on my tv with a flash drive?
would like to use a flashdrive to show my movies on tv.so far i can share from computer to computer . put no luck with the tv or the ports on the blue ray player. the files appear as empty. Any help would be appreciated,
-
Hi all, My requirement is create a one ZRFC, inside RFC call BAPI sales order creation. How to call BAPI in side RFC. please give step by step. Thanks,
-
Hello guys say that I took an export of a schema from database 10G and import it into a 11G database and now I would like to upgrade that schema, Can some one point me to the oracle docs that explains this process. When i google "oracle schema upgrad
-
Working with mouse events in Strobe's Widget classes
I'm adding a caption on/off toggle button (classname CaptionButton) to the ControlBar class of Strobe Media Playback 1.5.1, and I'm having a difficult time understanding how mouse events are passed to child widgets of a ButtonWidget. In my CaptionBut
-
NWDI Integration to MII sca files
Hi, Iam trying to integrate NWDI with existing MII. Iam using MII 12.1.8 version. I have downloaded MII_BUILDT.sca SP08, and XMII.sca SP08 patches from servive marketplace. Where can I get the SAP_BUILDT.sca file. Also for integration where should al