Error: C:\jdev10134\webservices\lib\jaxb-impl.jar The system cannot find..
In jdeveloper 10.1.3.4, I created a new synchronous BPEL project, then connected to my db and selected a package and did the right-click, create a web service from it. Now that I compile the project it returns this error:
Error: C:\jdev10134\webservices\lib\jaxb-impl.jar (The system cannot find the file specified)
Do I need to add something to jdeveloper to allow it to compile web services?
Thanks,
Edited by: srollins on Aug 21, 2009 12:42 PM
Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
- delete the src directory
- remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
- restart JDev
After this you should be able to compile the BPEL again.
Similar Messages
-
Hi,
I want to obfuscate my jar file. for this purpose i followed the steps below.
1. Copied proguard.jar in C:\WTK2.5.2\bin
2. Now opened the file ktoolbar.vm , which is present in C:\WTK2.5.2\bin
my ktoolbar.vm looks like this
{color:#666699}C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
3. my project or my workspace is at location D:\workspace\WTK
4. Also my wtk is located at C:\WTK2.5.2
5 Now i renamed ktoolbar.vm to ktoolbar.bat and the edited the file then added 2 lines at the beginning of ktoolbar.bat
SET USER_HOME=D:\workspace\WTK
SET KVEM_HOME=C:\WTK2.5.2
6 Also i added -Duser.home=%USER_HOME% in the next line.
7 Now my ktoolbar.bat looks like this.
{color:#800080}SET USER_HOME=D:\workspace\WTK SET KVEM_HOME=C:\WTK2.5.2 C:\PROGRA~1\Java\JDK16~1.0_0\bin\java -Dkvem.home="%KVEM_HOME%" -Duser.home=%USER_HOME% -Djava.library.path="%KVEM_HOME%/bin" -Dsun.java2d.ddlock=true -Dsun.java2d.gdiblit=false -cp "%KVEM_HOME%/wtklib/kenv.zip";"%KVEM_HOME%/wtklib/ktools.zip";"%KVEM_HOME%/bin/JadTool.jar";"%KVEM_HOME%/bin/MEKeyTool.jar";"%KVEM_HOME%/wtklib/customjmf.jar";"%KVEM_HOME%/lib/j2me-ws.jar";"%KVEM_HOME%/lib/j2me-xmlrpc.jar";"%KVEM_HOME%/bin/schema2beansdev.jar";"%KVEM_HOME%/bin/j2me_sg_ri.jar";"%KVEM_HOME%/bin/jaxrpc-impl.jar";"%KVEM_HOME%/bin/jaxrpc-api.jar";"%KVEM_HOME%/bin/jaxrpc-spi.jar";"%KVEM_HOME%/bin/activation.jar";"%KVEM_HOME%/bin/mail.jar";"%KVEM_HOME%/bin/saaj-api.jar";"%KVEM_HOME%/bin/saaj-impl.jar";"%KVEM_HOME%/bin/xsdlib.jar";"%KVEM_HOME%/wtklib/nist-sip-1.2.jar";"%KVEM_HOME%/wtklib/JainSipApi1.1.jar";"%KVEM_HOME%/wtklib/jain-sip-presence-proxy.jar" com.sun.kvem.toolbar.Main{color}
8 Now i opened the command promt and i executed the bat file.
9 Now when i try to open the WTK toolkit it gives me the following error
Fatal error : File: C:\WTK.2.5.2\bin\ktoolbar.vm does not exist
Please help me to resolve this issue or suggest me some different way.
Also i would like to tell that my project is completely build using netbeans 6.5 . but when i try to make the obfuscation level high using the scroll that is provided by netbeans , it gives me following error.
{color:#ff0000}C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\nbproject\build-impl.xml:459: Error while expanding C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar
java.io.FileNotFoundException: C:\Documents and Settings\SShete\My Documents\NetBeansProjects\vtms_test_lwuit_Backup\build\obfuscated.jar (The system cannot find the file specified)
BUILD FAILED (total time: 8 seconds){color}
Also i dont know what changes are to be done to the build.xml so that obfuscation can be done .
Thats the reason why i am now opening the same project using wtk and trying to obfuscate it.hi....
i have tried another way out ,
i followed the procedure below
In order to integrate this plug-in in the toolkit, you'll have to put the following lines in the file {j2mewtk.dir}/wtklib/Linux/ktools.properties or {j2mewtk.dir}\wtklib\Windows\ktools.properties (whichever is applicable).
obfuscator.runner.class.name: proguard.wtk.ProGuardObfuscator
obfuscator.runner.classpath: /usr/local/java/proguard/lib/proguard.jar
Please make sure the class path is set correctly for your system.
Once ProGuard has been set up, you can apply it to your projects as part of the build process. The build process is started from the WTK menu bar:
Project -> Package -> Create Obfuscated Package
The Toolkit obfuscates other sample projects
However now my project gets build without errors , but when i try to create a obfuscated package it gives me the following error
Error preverifying class bc
VERIFIER ERROR bc.a(Z)Lhx;:
Incompatible object argument for invokespecial
com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
Build failed
Please help.. -
I got maven 221 installed
i got jdk 1.6 and 1.5 installed (have tested both)
I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
Could someone tell me what is wrong? If you need pom.xml I got that one as well.
process-classes:
[copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
[mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
[java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
[java] Compiling the files...
[java] Creating the list.
[java] Doing the compile.
[java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
[java] WLMaker-SubProcess: : at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
[java] WLMaker-SubProcess: : at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
[java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
[java] WLMaker-SubProcess: : at java.util.zip.ZipFile.open(Native Method)
[java] WLMaker-SubProcess: : at java.util.zip.ZipFile.<init>(ZipFile.java:203)
[java] WLMaker-SubProcess: : at java.util.jar.JarFile.<init>(JarFile.java:132)
[java] WLMaker-SubProcess: : at java.util.jar.JarFile.<init>(JarFile.java:97)
[java] WLMaker-SubProcess: : at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
[java] WLMaker-SubProcess: : ... 1 more
[java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
[java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
[java] BeanGen code generation failed
[HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
[INFO] ------------------------------------------------------------------------from my experience, using weblogic jars can be a pain if the full install is not on the local box.
Note that you dont have to 'install' it. Just copy the directory.
Reason is that the jar files have manifests with relative classpaths.
For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
-Fred -
"The system cannot find the file specified" - error reading properties file
I have packaged a class file and a .properties file in the same folder as a ejb-jar file and in the class file i try reading the properties file and it throws me the error - "The system cannot find the file specified". But when I put the complete path, it has no problem finding the file.
I know that this must be the problem with classpath, but can anybody tell me why it is not finding the properties file even if they are in the same folder. How do I make class files find .properties file which are in a folder.
Any help will be greatly appreciated.Hi,
I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
URL url = new URL("jar:file:/home/duke/duke.jar!/");
JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
You might want to have a look at this link for more information :
http://java.sun.com/docs/books/tutorial/index.html
You may also get better responses if you post your question in one of the Java Forums.
Regards,
Sandeep -
Dear All,
I am getting a below error while doing ehp6 installation on sybase (high availbility )
can any one help me on this..?
An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL, Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
Regards,
Letz..Hello Mauricio.
Thanks
Two Thinks:
1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
A.- Execute sapinst
B.- Installation option is chosen
SAP NetWeaver CE Production Edition
Installation Options
High-Availability System
Central Service Instance (SCS)
c.- System ID, Next and appear message error
2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
Thanks -
Friends,
I'm facing below issue while accessing a crystal report. I heard it might be an access issue. But i'm able to access a report within a same folder.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException : The system cannot find the path specified.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
Any suggestions would be very helpful.
Thanks in Advance,
BharathApply trace on RAS and look for errors in the RAS logs at the same timestamp.
These errors come for various errors and tracing RAS would give us a better idea.
It might hapen that you observe these errors for reports which takes more than the RAS timeout to export the reports.
Post getting the RAS logs you can try below steps if we see timeout errors in RAS logs.
Copy clientSDKOptions.xml file from <BO install path>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib to the machine where your app is running Open clientSDKOptions.xml and change CORBARequestTimeOut from 600000 to a value large enough to allow the report to render, for instance 1200000. Default value is 600000 (10 minutes)
Specify the location of the clientSDKOptions.xml file at run-time. In your JSP or Java files, use the Java method setProperty from the System class. Set the system property indicated by the ras.config key to the specified directory as: system.setProperty("ras.config","c:\temp"). This function call specifies that the clientSDKOptions.xml file in c:\temp is to be used for locating RAS servers.
Thanks,
Prithvi -
AnyConnect client and "The system cannot find the file specified" error
Hello,
I am trying to connect to vpn via API (using example programs) and I get following error on start:
Description:
Function: RestoreProxySettingsToBrowser
File: .\Proxy\BrowserProxy.cpp
Line: 1025
Invoked Function: DeleteFile
Return Code: 2 (0x00000002)
Description: The system cannot find the file specified.
I cannot find any more informations and quick google search points me to anti-virus companies site. Do you know any idea what is happening here?
Thanks,
NemanjaHi,
I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
URL url = new URL("jar:file:/home/duke/duke.jar!/");
JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
You might want to have a look at this link for more information :
http://java.sun.com/docs/books/tutorial/index.html
You may also get better responses if you post your question in one of the Java Forums.
Regards,
Sandeep -
Obfuscation error (The system cannot find the file specified)...
Hii....friends
I extracted proguard.jar file in C:\WTK2.5.2\bin\ directory
I edited the following enteries in ktools.properties file as following....
obfuscator.runner.class.name: com.sun.kvem.ktools.RunPro
obfuscator.runner.classpath: C:\WTK2.5.2\bin\proguard.jar
when I create Obfuscated package Error is occured.
Error: C:\Documents (The system cannot find the file specified)
Obfuscation failed.
Build failed
Please help this is very essential for me...my application is incompleted.I had the same problem)))
My WTK:
C:\Program Files\Java\SonyEricsson_SDK\WTK2My project:
C:\Program Files\Java\SonyEricsson_SDK\WTK2\apps\myprojectMy error:
Error: C:\Program (The system cannot find the file specified)
Obfuscation failed.
Build failedMy solution:
1) Find and open ktoolbar.BAT
2) Replace(Ctrl+H in notepad) all "Program Files" to "PROGRA~1"
Edited by: k06a on Aug 24, 2009 12:16 AM -
BOXI3.1: Error during migration -The system cannot find the path specified
Hi,
I'm trying to migrate my reporting server from BOXIR2 to BOXI3.1.
I have a Java App which uses the SDK to generate reports hosted on BOE.
I have updated the SDK and when i attempt to generate a very simple test report, i get this error:
The system cannot find the path specified.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: The system cannot find the path specified.
---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
When i stepped through the codes, it occurred at this line:
ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(exportOptions);
Does anyone know the cause of the issue? Some guide on what to check will also be helpful! Thanks!Hi Aasavari,
We are running BOXI3.1 SP4.
For debugging purpose, I created a small program with your suggestion to remove exportOptions.
My report is called "testReportName" and it is created in "CMC > Folders > testFolderName":
IEnterpriseSession enterpriseSession;
IInfoStore infoStore;
IReportAppFactory rptAppFactory;
IInfoObjects oInfoObjects;
int reportFolderSI_ID;
String reportFolder = "testFolderName";
String reportName = "testReportName";
String paramVal = "2012-01-31";
try {
enterpriseSession = CrystalEnterprise.getSessionMgr().logon(boUser, boPwd, boAPSName, boAuthType);
//Get the InfoStore service from Crystal Enterprise
infoStore = (IInfoStore)enterpriseSession.getService("InfoStore",com.crystaldecisions.enterprise.ocaframework.ServiceNames.OCA_I_IINFO_STORE);
} catch (SDKException e) {
System.out.println(e.message());
try {
//Get the Report Application Factory service from Crystal Enterprise
rptAppFactory = (IReportAppFactory)enterpriseSession.getService("RASReportFactory");
String parentFolderQuery = "SELECT * FROM CI_INFOOBJECTS WHERE " +
"SI_PARENT_FOLDER=0 and SI_PROGID='CrystalEnterprise.Folder' and " +
"SI_NAME= '"+reportFolder +"' ORDER BY SI_NAME";
IInfoObjects parentFolderInfoObjects = infoStore.query(parentFolderQuery);
reportFolderSI_ID = ((IInfoObject)parentFolderInfoObjects.get(0)).getID();
// Retrieve the report by name and its reportFolder from Crystal Enterprise
oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportFolder+"' AND SI_PARENT_FOLDER="+reportFolderSI_ID);
oInfoObjects = infoStore.query("Select * From CI_INFOOBJECTS Where SI_NAME='"+reportName+"' AND SI_PARENT_FOLDER='"+((IInfoObject)oInfoObjects.get(0)).getID()+"'");
IInfoObject infoObject = (IInfoObject)oInfoObjects.get(0);
//Open the report into a Report Document object
ReportClientDocument rptDoc = rptAppFactory.openDocument(infoObject,0, Locale.ENGLISH);
//Refresh tables
IConnectionInfo connectionInfo;
util.setJdbc_url(ap.getParameterString("URL"));
util.setJdbc_driver(ap.getParameterString("driver"));
util.setJdbc_user(ap.getParameterString("user"));
util.setJdbc_pwd(ap.getParameterString("password"));
util.setJdbc_database(ap.getParameterString("database"));
connectionInfo = util.getJdbcConnectionInfo(util.getJdbcPropertyBag());
int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
ConnectionInfos connectionInfos = rptDoc.getDatabaseController().getConnectionInfos(null);
for (ConnectionInfo oldConnectionInfo:((Collection<ConnectionInfo>)connectionInfos))
rptDoc.getDatabaseController().replaceConnection(oldConnectionInfo, connectionInfo, null, replaceParams);
//Get Params
Fields mainRptParameterFields = rptDoc.getDataDefController().getDataDefinition().getParameterFields();
String params = new String();
for(Object parameterField : mainRptParameterFields){
String paramName = ((ParameterField)parameterField).getName();
if(parameterField != null)
if(((ParameterField)parameterField).getType() == FieldValueType.dateField)
rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName,java.sql.Date.valueOf(paramVal));
else if (((ParameterField)parameterField).getType() == FieldValueType.dateTimeField){
//Stored Procs uses Datetime
java.util.Date datetime = (Date)reportDate_df.parse(paramVal);
rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("",paramName, datetime);
else
rptDoc.getDataDefController().getParameterFieldController().setCurrentValue("", paramName, paramVal);
ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
rptDoc.close();
I ran this against BOXIR2 and BOXI3.1, BOXI3.1 will still throw error at
ByteArrayInputStream aiStream = (ByteArrayInputStream)rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
Another question, will CI_INFOOBJECTS table be created in the DB during installation of BOXI? -
Getting Error- Desktop\WSDL1\main.wsdl The system cannot find the path spec
Hai to every one !
iam using wsdl file which is downloaded "wsdlzip" file from wsnavigator to my desktop.
Extracted zip file .
i used main.wsdl file as adaptive webservice model in webdynpro application.
I developed application then iam not getting output , facing error like
java.io.FileNotFoundException: Desktop\WSDL1\main.wsdl (The system cannot find the path specified)
could any body help me on this.Hi Eswar,
While importing WSDL using Adaptiver WS did you use the WS destinations. If yes, then did you create WS Destinations in the Visual Administrator?
You need to provide the url of the webservice in WSDestinations in Visual Administrator. It should be the url of the webservice in which the webservice is deployed and not the desktop URL.
the url will be like this
Ex: http://host:50000/OrderRequestForEBasis/Config1?wsdl
This url you can get by going to
http://host:port/wsnavigator in which server your webservice is located.
Thanks,
Gopi -
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.
-
I started getting this error message for the first time today. When I look in the event log I see it every time anyone tries to sync to a mobile device to the exchange server. I've also had this problem trying to connect using
Outlook. I believe it is an IIS issue but I'm not absolutely sure so I'm posting this in the Exchange forum as well.
The event viewer has the following information...
3008
A configuration error has occurred.
5/1/2014 10:41:08 PM
5/2/2014 5:41:08 AM
7539d8a38c8b47869eda3f1749aba08d
1
1
0
/LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-75-130434828686436855
Full
/Microsoft-Server-ActiveSync
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\
SERVER
16284
w3wp.exe
NT AUTHORITY\SYSTEM
ConfigurationErrorsException
Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
https://remote.testserver.com:443/Microsoft-Server-ActiveSync/default.eas?User=user.name&DeviceId=ApplC39GQ5xxxxxx&DeviceType=iPhone&Cmd=Ping
/Microsoft-Server-ActiveSync/default.eas
174.224.130.31
False
NT AUTHORITY\SYSTEM
24
NT AUTHORITY\SYSTEM
False
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
I have tried most, if not all, of the different post's suggestions to no avail.
The steps I have taken are as follows...
1. Repaired .Net 4 (Both the client and extended)
2. Uninstalled and reinstalled .Net Framework 4.0.
3. Verified that the dll exists.
4. Checked the applicationHost.config file. It contains the follow statement...
<add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0"
/>
5. Changed the following line in web.config to include the runtimeVersion...
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0" />
6. Executed aspnet_regiis.exe -iru from the ...\Framework64\v4.0.30319 directory.
7. Went to inetpub\history to use an applicationHost.config file from yesterday but it only has history from 9PM tonight. It probably had what I needed before I started changing it tonight.
I still receive the same error message.
Like I said everything was working yesterday. In fact I didn't hear or see any issue until after 1PM today.
Any help would be very appreciated!Hi,
Please confirm whether users can access their mailboxes from Outlook Web Access or not. We can do the following changes to have a try:
1. In IIS > Application Pools, change the .NET Framework Version to v2.0 and restart IIS service.
2. If it doesn’t work, explore the Default Web site.
3. Renamed the web.config file to web.config.old
4. Reset IIS using iisreset command to have a try.
Thanks,
Winnie Liang
TechNet Community Support -
when i finish a file and try to "save for web", i get an error box saying The operation cannot be completed. The system cannot find the path Specified.
What can i do or where do i look?ELEMENTS 12 AND ELEMENTS 13
Upgraded to 13 Thinking might resolve the issue.
Was working fine up until we had "Tech" come in the office and "up grade some stuff"
then all of a sudden i started getting this message, something happened but i don't have a clue what. -
I have restored one web application in SharePoint Server 2010 from a different domain and can complete successfully. Changed each users domain also to old to new one by using Move-SPUser. But While accessing the site collection it is showing an error
that "Could not load file or assembly 'A##.SP.Intranet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=03b4f320ebedaffc' or one of its dependencies. The system cannot find the file specified."
What may be the reason? Please help me to solve this issue since I am stuck up on this .
Regards
Mine1981Hi Nico
Martens,
Thank you for your reply. But
how can I find out the custom solutions in the source farm. I didn't got any other details regarding this farm other than WSS_Content, Web application Database, SharePoint_Config database back ups.
Please help me to solve the
issue.
Regards
Mine -
When I start Firefox, the following message appears before the home page opens:
"COMMONSHELL: McShield.dll
The specified resource language ID cannot be found in the image file.
McShield.dll: The system cannot find the file specified."
I click OK, Firefox opens normally and everything seems to operate as expected, no further problems.hello, 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
-
I searched for and read about a dozen previous posts on this subject but was unable to find a solution. Not only can I not see any shared library but I don't even have a "shared" menu item on either PC as described in the help file. It should show up
-
Passing value from ADF to BPEL, and to PL/SQL procedure
1. I have created BPEL which take 2 inputs and concatenate them. 2. have created a PL/SQL procedure for invoking this BPEL( working fine). Now i need to create a simple ADF page which contain 2 text box, 2 for input and 1 for result(concatenate), thi
-
I'm a teacher and I use my MBP in school and, while I've not had any issues with students looking through my computer, I'd like to use a seperate 'school' user just in case. I need to have access to my iTunes library and I tried moving it to a share
-
I have tried a hard reset, I have also tried switching different chargers and nothing seems to work unless the cord is in a certain position (sometimes it has to be propped up with the cord twisted down and sometimes it needs to be laying on the left
-
Reuse Model Project - Problems in the integration of 2 projects with ADF
Hi there. We have in production one application with ADF and UIX of average composed dimension for 9 placed services inside of one root to share cache. At this moment we are to develop another application, much more simple, to join with the first one