Running the Tutorial - Cannot find OA_HTML/runregion.jsp
Hi,
I am working on the hello world tutorial and I am getting an alert on the page when I run the HelloPG.xml saying that the file http://....../OA_HTML/runregion.jsp cannot be found. The page however loads correctly after I click OK. One more thing I noticed is that it opens 3-4 windows everytime I run the HelloPG.xml.
Does anyone have an idea what could be wrong here ?
Thanks in advance,
Nisha
Hi Tapash,
I am getting this error no matter which page I run.
Specifically this is what is happening. The page seems to be launched twice. In one window i get the alert saying that runregion.jsp could not be found. Both the windows load successfully
This is what I see on the console :
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 291 ms.
ApplicationServer: appName = APPS_OA
ApplicationServer: appName = bc4j
ApplicationServer: appName = current-workspace-app
ApplicationServer: appName = soap
Error creating the ORB :
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
TIME: runregion: initialization [0 ms]
ICX DIAGNOSTIC: FND_TOP = C:\jdev9i\jdevhome\jdev\dbc_files\
ICX DIAGNOSTIC: application_id = 401
ICX DIAGNOSTIC: responsibility_id = 20634
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: mEncryptedSessionID = 3dGSIs5zEGaBI6Og16qkFB6C:S
ICX DIAGNOSTIC: mSessionID = 400417624TIME: runregion: session and transaction creation [381 ms]
ICX DIAGNOSTIC: mTransactionID = 987021808
The system cannot find the file http://..................../OA_HTML/runregion.jsp.
TIME: runregion: initialization [0 ms]
ICX DIAGNOSTIC: FND_TOP = C:\jdev9i\jdevhome\jdev\dbc_files\
ICX DIAGNOSTIC: application_id = 401
ICX DIAGNOSTIC: responsibility_id = 20634
ICX DIAGNOSTIC: security_group_id = 0
ICX DIAGNOSTIC: mEncryptedSessionID = Z3F66oSdaxz9AsDKRryI2Dcy:S
ICX DIAGNOSTIC: mSessionID = 807824351TIME: runregion: session and transaction creation [411 ms]
ICX DIAGNOSTIC: mTransactionID = 1002872129
Thank and Regards,
Nisha
Similar Messages
-
"The system cannot find the path specified" error when installing a network printer running Win 7
Some of the end users are having issues when trying to install network printers. We have created a portal where they can locate the printer they want to connect to, click connect, and the printer will download with the correct drivers on their PC's. The
entire company is running Win 7 for their operating system. One end user in particular has had issues installing multiple printers from the portal, when I go to test installing these same printers on my PC, they all install successfully. trying to figure out
why some end users hav issues with installation and others do not. They will get the error, The system cannot find the specified path. Any help would be greatHi JeffWilko,
What is your current situation?
To receive better analyzation, please provide more details?
1. Could you explain a bit about the sentence ‘installing multiple printers from the portal’ ?
2. Check the event viewer and share us the related error log.
Please take the following steps for troubleshooting:
1. Ping the printers
2. Check if there are network firewall to block the access
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
Hi,
I need some help with my script. It copies the file to the remote laptops but when it needs to install the .exe it fails.
If I run 1 line at the time in Powershell ISE, then it works. Somebody has an idea why it doesn't work or can help me on the right way?
Script:
$laptops = Get-Content -Path "C:\Users\bruyld01\Documents\STEPSTONE\Powershell\SAP\LaptopList.txt"
foreach ($laptop in $laptops)
Copy-Item "C:\Users\bruyld01\Desktop\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -Destination \\$laptop\C$\
Enter-PSSession $laptop
$version = Get-WmiObject -Class Win32_Product | where {$_.Name -like "*SAP Business*"} | Select-Object Version
if ($version -ne "135.0.2071.1047")
Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V5.exe" -ArgumentList "/quiet"
else
Write-Host "SAP outlook add-in is up to date!" -ForegroundColor Green
Exit-PSSession
Error message:
Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At line:2 char:1
+ Start-Process -Filepath "C:\SAP_Business_ByDesign_Add-In_for_Microsoft_Outlook_V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Thanks,
DimitriHi,
Enter-PSSession is used for interactive remote sessions. Look into Invoke-Command instead.
http://ss64.com/ps/invoke-command.html
Don't retire TechNet! -
(Don't give up yet - 13,085+ strong and growing) -
Exchange 2013 CU7 on Windows 2012.
I have a 3 server DAG (newly created) and the EAC lists each server with Is Operational = Yes.
When I run Get-DatabaseAvailabilityGroupNetwork on any of the 3 servers I get:
[PS] C:\>Get-DatabaseAvailabilityGroupNetwork
Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
+ CategoryInfo : NotSpecified: (:) [Get-DatabaseAvailabilityGroupNetwork], FileNotFoundException
+ FullyQualifiedErrorId : [Server=<servernameremoved>,RequestId=11e182c9-cb4a-4f48-b985-dc4be7ef97ef,TimeStamp=2/23/20
15 10:00:53 PM] [FailureCategory=Cmdlet-FileNotFoundException] 586ECE82,Microsoft.Exchange.Management.SystemConfig
urationTasks.GetDatabaseAvailabilityGroupNetwork
+ PSComputerName : <servername FQDN removed>
Any suggestions?Try to run below command and see what it shows.
Get-DatabaseAvailabilityGroupNetwork -server node1.domain.com
BR/Deepak -
Running config.cmd produces - The system cannot find the path specified
I had successfuly installed Weblgic/OSB and cofigured a domain on 64 bit windows 2008
I then uninstalled all components and re-installed everything |( including deleting all directires ) .
When I come to run config.cmd to create the OSB Weblogic domain I get :-
The system cannot find the path specified
I have set echo on and can see that the cmd file is attempting to acces directories that do not exist - so the command file is getting wrong info from somewhere but I just cannot figure out from where. I donlt think its a script issue, its more like an issue with some setting somewhere in windows regirsty or some cache that its pulinng it in from - the wrong directoties displayed seem to look like my existing dir's with ~1 and ~2 on the end.
Any ideas suggestions greatly received.I have not edited any of the scipts at all - they are as they have been laid down byt the install.
Contents of E:\Oracle\Middleware\Oracle_OSB1\common\bin\config.cmd below
@ECHO ON
SETLOCAL
@REM Determine the location of this script...
SET SCRIPTPATH=%~dp0
FOR %%i IN ("%SCRIPTPATH%") DO SET SCRIPTPATH=%%~fsi
@REM Set the ORACLE_HOME relative to this script...
FOR %%i IN ("%SCRIPTPATH%\..\..") DO SET ORACLE_HOME=%%~fsi
@REM Set the MW_HOME relative to the ORACLE_HOME...
FOR %%i IN ("%ORACLE_HOME%\..") DO SET MW_HOME=%%~fsi
@REM Set the home directories...
CALL "%SCRIPTPATH%\setHomeDirs.cmd"
@REM Set the config jvm args...
SET CONFIG_JVM_ARGS=%CONFIG_JVM_ARGS% -DCOMMON_COMPONENTS_HOME=%COMMON_COMPONENTS_HOME%
@REM Delegate to the main script...
CALL "%WL_HOME%\common\bin\config.cmd" %*
ENDLOCALContents of E:\Oracle\Middleware\Oracle_OSB1\common\bin\setHomeDirs.cmd
@ECHO OFF
@REM Temporary workaround: normally use a hardcoded wls version (until the
@REM installer can substitute it for us); but for now, need to work with multiple
@REM versions. Choose the highest avail.
IF EXIST "%MW_HOME%\utils\config\10.3.3.0\setHomeDirs.cmd" (
SET WLS_VER=10.3.3.0
) ELSE IF EXIST "%MW_HOME%\utils\config\10.3.2.0\setHomeDirs.cmd" (
SET WLS_VER=10.3.2.0
) ELSE IF EXIST "%MW_HOME%\utils\config\10.3.1.0\setHomeDirs.cmd" (
SET WLS_VER=10.3.1.0
) ELSE (
SET WLS_VER=10.3
IF EXIST "%MW_HOME%\utils\config\%WLS_VER%\setHomeDirs.cmd" (
CALL "%MW_HOME%\utils\config\%WLS_VER%\setHomeDirs.cmd"
@REM Set common components home...
SET COMMON_COMPONENTS_HOME=%MW_HOME%\oracle_common
IF EXIST %COMMON_COMPONENTS_HOME% FOR %%i IN ("%MW_HOME%\oracle_common") DO SET COMMON_COMPONENTS_HOME=%%~fsiContents of following :-
dir /x E:\Oracle
>
Volume in drive E is Apps
Volume Serial Number is 6CF4-6338
Directory of e:\oracle
22/06/2012 13:57 <DIR> .
22/06/2012 13:57 <DIR> ..
22/06/2012 14:00 <DIR> MIDDLE~1 Middleware
0 File(s) 0 bytes
3 Dir(s) 758,748,934,144 bytes free
>
dir /x E:\Oracle\Middleware
>
Volume in drive E is Apps
Volume Serial Number is 6CF4-6338
Directory of e:\oracle\middleware
22/06/2012 14:00 <DIR> .
22/06/2012 14:00 <DIR> ..
22/06/2012 13:57 <DIR> COHERE~1.7 coherence_3.7
22/06/2012 13:57 136 DOMAIN~1.XML domain-registry.xml
22/06/2012 13:57 <DIR> logs
22/06/2012 13:57 <DIR> modules
22/06/2012 13:57 862 ocm.rsp
22/06/2012 14:02 <DIR> ORACLE~1 oracle_common
22/06/2012 14:02 <DIR> ORACLE~2 Oracle_OSB1
22/06/2012 13:57 110,518 registry.dat
22/06/2012 13:57 1,623 registry.xml
22/06/2012 13:57 <DIR> utils
22/06/2012 14:01 <DIR> WLSERV~1.3 wlserver_10.3
4 File(s) 113,139 bytes
9 Dir(s) 758,748,934,144 bytes free
>
dir /x E:\Oracle\MIDDLE~1\ORACLE~2\common\bin
>
Volume in drive E is Apps
Volume Serial Number is 6CF4-6338
Directory of e:\oracle\middle~1\oracle~2\common\bin
22/06/2012 14:03 <DIR> .
22/06/2012 14:03 <DIR> ..
20/01/2010 15:11 640 CONFIG~1.CMD config - Copy.cmd
22/06/2012 14:03 639 config.cmd
20/01/2010 15:11 777 config.sh
20/01/2010 15:11 638 pack.cmd
20/01/2010 15:11 773 pack.sh
20/01/2010 15:11 828 SETHOM~1.CMD setHomeDirs.cmd
27/04/2010 06:04 839 SETHOM~1.SH setHomeDirs.sh
20/01/2010 15:11 640 unpack.cmd
20/01/2010 15:11 777 unpack.sh
20/01/2010 15:11 538 WAS_CO~1.CMD was_config.cmd
20/01/2010 15:11 638 WAS_CO~1.SH was_config.sh
20/01/2010 15:11 1,344 wlst.cmd
20/01/2010 15:11 1,579 wlst.sh
20/01/2010 15:11 632 wsadmin.cmd
27/04/2010 06:04 739 wsadmin.sh
15 File(s) 12,021 bytes
2 Dir(s) 758,748,934,144 bytes free
>
And also I am able to do the following :
dir /x E:\oracle\MIDDLE~1\ORACLE~2\common\bin\setHomeDirs.cmd - ouptu below..
>
Volume in drive E is Apps
Volume Serial Number is 6CF4-6338
Directory of e:\oracle\MIDDLE~1\ORACLE~2\common\bin
20/01/2010 15:11 828 SETHOM~1.CMD setHomeDirs.cmd
1 File(s) 828 bytes
0 Dir(s) 758,748,606,464 bytes free
>
So everythings look ok to me.
So, it still begs the question why does my config.cmd script fall over doing the following :
CALL "E:\oracle\MIDDLE~1\ORACLE~2\common\bin\\setHomeDirs.cmd"
The system cannot find the path specified -
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 -
"The system cannot find the file specified" - New to MVSE 2013
Hey all,
I have downloaded Visual Studio Express 2013 for Windows Desktop and am currently working my through the introduction sessions on: http://www.cplusplus.com/doc/tutorial/program_structure/
I did not get far before i encountered this error whilst trying to run my segment of code. I am completely new to all this so please bear with me :)
The error window said:
"Unable to start program 'c\users\username\documents\visual studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'.
The system cannot find the file specified.
Would love some simplified help please if this is indeed the right area of the forum to post this in.
Many thanks!Hi Jono112,
>>"Unable to start program 'c\users\username\documents\visual studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'.
Based on your issue, to check if the issue is related to the VS IDE or your specified C++ project, I suggest you can refer the following MSDN document to check if you get same issue.
https://msdn.microsoft.com/en-us/library/ms235629.aspx
(1)you get same error in the new c++ console application, maybe you will need to repair or re-install the VS2013 check this issue again.
(2)If you did not get the issue in the new c++ console, so I suggest you try to clean and build your c++ console application, then debug it again.
Or you can upload your C++ console application to OneDrive and then copy link here, we will reproduce your issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Iam getting the 'The system cannot find the path specified.' Why?
C:\Documents and Settings\MPudur\Desktop>cd\
C:\>cd Training\ATG\ATG10.1.1\home\bin
C:\Training\ATG\ATG10.1.1\home\bin>startDynamoOnJBOSS.bat -c default -m Demo
The system cannot find the path specified.
The system cannot find the path specified.
Assembly started.
Target application is C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
Creating exploded ear file C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
Initializing...
Updating C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear.
Before make meta-inf file.
Making meta-inf file C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\META-INF
Creating application.xml...
Creating Ear file MANIFEST...
Importing classes...
Importing classes for module DafEar
Importing classes for module DafEar.Admin
Importing classes for module DafEar.base
Importing classes for module Demo
Importing classes for module DSS
Importing classes for module DPS
Importing classes for module DAS-UI
Importing classes for module DAS
Ignoring classpath entry lib/servlet.jar from module DAS
Ignoring classpath entry lib/jsp-api.jar from module DAS
Importing classes for module manuals
Importing J2EE module atg-admin.war declared in DafEar.Admin
Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\atg_admin.war\WEB-INF\web.xml
Importing J2EE module atg-bootstrap.war declared in DafEar.base
Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\atg_bootstrap.war\WEB-INF\web.xml
Importing J2EE module atg-bootstrap-ejb.jar declared in DafEar.base
Importing J2EE module demo-web.war declared in Demo
Parsing C:\Training\jboss-eap-5.1\jboss-as\server\default\deploy\ATG.ear\demo-web.war\WEB-INF\web.xml
Assembly took 0.922 seconds.
Calling C:\Training\jboss-eap-5.1\jboss-as\bin\run.conf.bat
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\Training\jboss-eap-5.1\jboss-as
JAVA: C:\Training\Java\jdk1.6.0_30\bin\java
JAVA_OPTS: -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Ds
CLASSPATH: C:\Training\Java\jdk1.6.0_30\lib\tools.jar;C:\Training\jboss-eap-5.1\jboss-as\bin\run.jar
===============================================================================You may refer your earlier thread:
Iam getting the path not specified error,but the jboss was running smoothly -
Java.io.FileNotFoundException: The system cannot find the path specified
hi all.
have this problem
i have a jsp with the codes as follows:
try{
File f=new File("C:/Program Files/Apache Group/Tomcat 4.1/webapps/iiso/account.xml");
FileWriter fw=new FileWriter(f,false);
XMLConverter xmlc=new XMLConverter();
String msg=xmlc.ConvertToXML("account");
fw.write(msg);
fw.flush();
System.out.println("file printed");
}catch(IOException ioe)
System.out.println(ioe);
}it works prefectly on my comp but however when i posted it up on the dev server
which is running on tomcat 4.0
i got this error:
java.io.FileNotFoundException: P:\Program Files\Apache Tomcat 4.0\webapps\IISOelearn\account.xml (The system cannot find the path specified)
the dev server is running on P drive.
tried installing tomcat 4.0 on my com and the code runs well.
could there be other sources tt i miss out causing the error?
many thanx in advance!
=)Most probably the server has a different path setup from you.
Instead of hardcoding the full file path into your app, you should have the following
ServletContext application = getServletConfig().getServletContext();
String fileName = application.getRealPath("/account.xml");
File f = new File(fileName);The method ServletContext.getRealPath takes a WEBSITE relative link, and turns it into a real location on disk.
This makes your code completely independant of what machine it is installed on.
Cheers,
evnafets -
Xalan, xsl:include, The system cannot find the file specified
Hi
Xalan is unable to parse stylesheets which contain xsl:include
directives, even if the file being included is in the same directory.
I'm currently porting our web application to weblogic 6.0 sp2 running on
Windows 2000. The application works fine except for one annoying problem,
this problem only manifests on Weblogic 6.0 sp2.
I've got a servlet which makes use of a jsp tag. The tag uses the
ServletContext.getResource() to reference a stylesheet in the webapps' xsl
subdirectory. If that stylesheet contains an xsl:include e.g. <xsl:include
href="myother.xsl"/>, myother.xsl is contained in the same directory as the
stylesheet containing the include. Xalan fails to parse the stylesheet. The
following exception is thrown "org.apache.xalan.XSLProcessorException: The
system cannot find the file specified".
I've currently amended the weblogic classpath as follows
set
CLASSPATH=.;c:\myjars\xerces.jar;c:\myjars\xalan.jar;c:\myjars\bsf.jar;c:\my
jars\js.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
xerces v1.4
xalan v1.2.2
bsf (as supplied with xalan 1.2.2)
js (Mozilla Rhino 15R2)
The code in the jsp tag to load the stylesheet is as follows
XSLTProcessor processor =
XSLTProcessorFactory.getProcessorUsingLiaisonName("org.apache.xalan.xpath.xd
om.XercesLiaison");
URL styleSheetUrl =
pageContext.getServletContext().getResource("/xsl/myxsl.xsl");
StylesheetRoot stylesheet = processor.processStylesheet(new
XSLTInputSource(styleSheetUrl.toExternalForm()));
Any help would be appreciated.
Regards
Tony -
Report Generation Tutorial, cannot find Rename Worksheet VI, Add Worksheet VI,
Report Generation Tutorial, cannot find Rename Worksheet VI, Add Worksheet VI,Get Worksheet VI, Append Table to Report. I have the Report Generation Toolset, where can I locate these VI's
Hello Jim,
First check to see if you have the Report Generation Toolkit installed. You can check by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change. If you don't have a NI LabVIEW Report Generation Toolkit entry in the list that appears, then go ahead and reinstall your Report Generation Toolkit.
If you do have an entry for the Report Generation Toolkit, check to see if you have support installed for your version of Office. You can do this by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change >> NI LabVIEW Report Generation Toolkit >> Modify. From there, you can install support for the necessary versions of Office.
If neither of those options work, I
would uninstall and reinstall the toolkit from the Add/Remove Programs utility.
Wendy L
LabWindows/CVI Developer Newsletter - ni.com/cvinews -
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.
-
Hello,
I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code (jquery code) in content editor web part on a page, its working fine, but when I am adding
the same code in an app, its giving me error : "The system cannot find the file specified. (Exception from HRESULT:
0x80070002)" - 500 Internal Server error.
(function () {
// This code runs when the DOM is ready and creates a context object which is
// needed to use the SharePoint object model
$(document).ready(function () {
//alert('In doc ready');
$('.attachmentButton').change(function(event){
var listName = 'UploadTest',
itemId = 2;
handleFileChange(listName,itemId,event.target.files);
function handleFileChange(listName,itemId,files){
alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
alert('files.length :=' + files.length);
var filereader = {},
file = {},
i=0;
//loop over each file selected
for(i = 0; i < files.length; i++) {
alert('In for loop');
file = files[i];
filereader = new FileReader();
filereader.filename = file.name;
alert('filereader.filename :=' + filereader.filename);
filereader.onload = function() {
var data = this.result;
var n=data.indexOf(";base64,") + 8;
//alert('n :=' + n);
//removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
data= data.substring(n);
//alert('data :=' + data);
alert('Above SPServices this.filename :=' + this.filename);
$().SPServices({
operation: "AddAttachment",
listName: listName,
asynch: false,
listItemID:itemId,
fileName: this.filename,
attachment: data,
completefunc: function (xData, Status) {
console.log('attachment upload complete',xData,status);
alert('Status :=' + Status);
if (Status.toLowerCase() == "error"){
alert(xData.responseText);
alert(xData.status);
alert(xData.statusText);
filereader.onabort = function() {
alert("The upload was aborted.");
filereader.onerror = function() {
alert("An error occured while reading the file.");
//fire the onload function giving it the dataurl
filereader.readAsDataURL(file);
alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
alert(xData.status); - gives error - "500"
alert(xData.statusText); - gives error - "Internal server error"
Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
Any suggestions, why I am getting this error in NAPA ?Hi,
According to your post, my understanding is that you have an issue about adding attachments to list items in app.
To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
There are two articles about retrieve the list and list items in the host web, you can refer to them.
http://www.dotnetcurry.com/showarticle.aspx?ID=1028
http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
What’s more, we can also use the REST API to achieve the same scenario.
http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
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 -
Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
2.5. After upgrade if I go to selfservice portal via
https://myserver.mycompany.com/selfservice, I get this error:
Server Error in '/SelfService' Application.
Could not load file or assembly 'System.Web.WebPages.Razor,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. 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.IO.FileNotFoundException: Could not load file or assembly
'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 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:
[FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.Mvc.PreApplicationStartCode.Start() +0
[InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
[HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
Anyone know how to solve this? Thanks in advanceSorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
here.
If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319
Maybe you are looking for
-
Upgrade to Pc Suite 7.1.40.6 destroyed my connecti...
Hi everyone! I was having some problems with transfering musics to my Nokia n70, so yesterday I updated my version of the nokia pc suite. Last night everything was working fine, however today in the morning I tried to connect my mobile phone to the c
-
What are the application components for Marketing
Hi,Guru's I've got confusion about the application components which are supported by SAP CRM for Marketing for a implementation project ? And how would be the landscape for Marketing ? can you describe me. Regards C.R.Gupta Edited by: CR.Gupta on Mar
-
Hey all, what is the shortest way to get the current directory?
-
I use MAIL to retrieve my email. One spam email will not delete. HELP! How do I get rid if it? This is on an iPad2.
-
Error on 11g 2 during external job execution using credential
Hi, I need a help from you. I am getting below error on 11g 2 during external job execution using credentials - EXTERNAL_LOG_ID="job_805812_412409", ORA-27369: job of type EXECUTABLE failed with exit code: Arg list too long STANDARD_ERROR="Launching