Cannot find the object "ApShellExtra.dbo.AuditActivityHdrApShell"
After installing BPC 7.5 MS SP06 processing the Planning application in ApShell throws the following error:
Cannot find the object "ApShellExtra.dbo.AuditActivityHdrApShell"
Looking in ApShellExtra the table doesn't exist. It seems like about 75% of the audit tables are missing. Any ideas how to get these tables to appear?
It seems security related. My normal process for an install is to open Administration and modify security so the BPCSysAdmin account has access to everything and the System Admin Task Profile is setup. From there I tried processing an application and received the error. After restarting Administration more admin options were available and more auditing tables were available.
Similar Messages
-
Hi,
***Problem
I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
manually/Expiration Workflow/Powershell.
Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
"Grant" MPR or any of the corresponding Sets since last time I saw it working.
Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
***Error details
When I try to delete a User object, here is the output :
Portal
"Processing error" on submit
with the following details
Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
Logs
« Application »
The Portal cannot connect to the middle tier using the web service interface. This failure prevents all portal scenarios from functioning correctly.
The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
Ensure the portal configuration is present and points to the resource management service.
« Forefront Identity Manager »
Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
--- End of inner exception stack trace ---
Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
Boolean maintenanceMode)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
--- End of inner exception stack trace ---
For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
Is any of you has already encounter this problem ?
Any help would be greatly appreciated,
Thanks in advance for your help,
MatthewWhile there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html -
Cannot find the object "CrossRef" in Active Directory
I am trying to install Lync 2013. I'm getting the following error: Error:
An error
occurred: "Microsoft.Rtc.Management.Deployment.ActiveDirectoryException" "Cannot
find the object "CrossRef" in Active Directory."
WARNING: Enable-CSAdForest failed.
This error is at "Step 3: Prepare Current Forest" of the install.I've tried to run the forest prep as a local domain and I get the following:
Creating new log file "C:\Users\administrator.xxx\AppData\Local\Temp\2\Enable-CSAdForest-052cfe14-7f42-4969-88da-83279413ab8c.xml".Enable the Active Directory forest to host Lync Server 2013 deployments.
Prepare Forest Active Directory settings execution failed on an unrecoverable error.Creating new log file "C:\Users\administrator.xxx\AppData\Local\Temp\2\Enable-CSAdForest-[2013_05_30][13_25_56].html".WARNING:
Enable-CSAdForest failed.WARNING: Detailed results can be found at "C:\Users\administrator.xxx\AppData\Local\Temp\2\Enable-CSAdForest-[2013_05_30][13_25_56].html".Command
execution failed: Container CN=Microsoft,CN=Program Data,DC=xxx,DC=local not found -
Cannot find the object % because it does not exist or you do not have permissions
I'm executing a SQL 2008 sproc from an Access Data Project, using ADO. The sproc truncates and then fills a table in the SQL database, which is then used as the recordsource in an Access report.
This works fine for all users except one. I assumed it was a problem with that user's privileges, but when I connected to the database thru SSMS using his login, I was able to excecute the sproc successfully. I even explicitly granted that SELECT, UPDATE
and DELETE to that user but it stills throws the error when executed from Access.
Any suggestions?
Darrell H BurnsTRUNCATE TABLE requires ALTER permission on the table. You could say that TRUNCATE TABLE is half of DROP TABLE. The pages are deallocated, but the metadata is retained.
Rather that granting users extra rights, a better solution is to sign the procedure with a certificate, create a user from the certificate grant that user ALTER on table. In this way, you package the permission with the procedure. (The user for the certificate
is special kind of user that cannot log in.)
I have a longer article on my web site that describes this technique in detail:
http://www.sommarskog.se/grantperm.html
Erland Sommarskog, SQL Server MVP, [email protected] -
Cannot drop the table - cannot enable compression - cannot find the object
Hi,
I'm trying to install Database Instance as a 2nd part of distributed SAP system. There was already MS SQL 2008 STD installed, I installed another MS SQL 2008 STD instance manually (as described in PI installation guide) from original MS SQL 2008 STD DVD, not one provided by SAP. The database is created by SAPinst, and we have a crash at the beginning of ABAP import phase:
Here is a log: -> http://wklej.org/id/392174/
I thought I can run development SAP system on Standard Edition. Am I right and this is just permission problem? How to troubleshoot that?
Thanks for any suggestions.
Regards,
KHi Sven,
Thanks, &norowcompression& did the trick!
Does anyone know is this type of installation (not SAP's MSSQL media, STD Edition for dev/qas system, MS SQL instance for SAP with another MS SQL instances on the same server) is supported?
Thanks again,
K
//edit:
no it's not supported:
Note 62988 - Support Packages for Microsoft SQL Server
"Supported editions
All supported SQL server releases are tested by SAP in the Enterprise Edition only. Therefore, only the Enterprise Edition is supported. The SAP support may not be able to solve problems that occur with other editions."
Edited by: Konrad Kostecki on Sep 23, 2010 10:22 AM -
I am looking at an issue with users not getting specific group policies.
After searching a number of client computers I found that the following error
The user '*' preference item in the 'User - 6th Form Students Policy {E03166E7-A848-48B5-AA93-97B848AA9C13}' Group Policy object did not apply because it failed with error code '0x80070003 The system cannot find the path specified.' This error was suppressed.
I can find the folder in the Sysvol folder on all of the domain controllers.
The issue with end users seems to be that the proxy settings for internet explorer is not being applied.
Potential problems?
one folder in sysvol entry is empty
\\<server>\SYSVOL\<domain.name>\Policies\{E03166E7-A848-48B5-AA93-97B848AA9C13}\User\microsoft\IEAK\LOCK
or is this our issue
The old method of configuring proxy settings to Internet Explorer 9 has changed?
https://support2.microsoft.com/kb/2530309?wa=wsignin1.0
http://thommck.wordpress.com/2013/11/08/the-new-way-to-configure-internet-explorer-proxy-settings-with-group-policy/Hi all
In administering this policy I am a little confused.
We have a policy that distributes proxy settings in the internet explorer maintenance settings section - however when opening this policy up in GPO editor the internet explorer maintenance section is not present.
I plan to apply the settings via User/preferences/control panel settings/ internet settings (or registry settings from article) however I am unable to edit the settings for internet explorer maintenance and these will persist. Ideas???? -
Oracle Access Manager Configuration : Cannot find the Person Object Class
Hi,
I am trying to install OAM , I am getting the following error when i am configuring the Identity server for the first time.
1) I have installed OID. I am using one OID for both config and user data.
2) I have installed Identity server and have modified the OID schema automically during installation.
3) I have installed web pass.
I have gone to the url: http://trn-ps-oid.oracle.com:7777/identity/oblix
Here i gone to Identity System Console to configure Identity server.
Following are the config data i have given
Configuration DN : dc=mydomain,dc=com
Search Base : dc=mydomain,dc=com
Host : mypc.mydomain.com
Port Number : 389
Root DN : cn=orcladmin
Root Password : *******
Directory Server Security Mode : Open
Is the Configuration data stored in this directory also : Yes
Person Object Class : inetorgperson
Auto configure objectclass : yes
Group Object Class : groupOfUniqueNames
Auto configure objectclass : yes
After this I have clicked on the restart server button.
It comes back to the page asking to enter Person Object class details.
I Get the Error : Cannot find the Person Object Class.
I have checked the object class in OID it is there, I have verified the connection details are also correct.
Any Ideas what might be wrong.
Earlier during setup i had to modify the OID schema, how do i check if this has been done.
Any Ideas<?xml version="1.0" encoding="utf-8"?>
<ValNameList
xmlns="http://www.oblix.com"
ListName="setup.xml">
<NameValPair
ParamName="mainOIS"
Value="true"></NameValPair>
<NameValPair
ParamName="currentStep"
Value="LDAP_CONFIG_CHANGES"></NameValPair>
<NameValPair
ParamName="status"
Value="incomplete"></NameValPair>
<NameValPair
ParamName="whichDB"
Value="OID"></NameValPair>
<NameValPair
ParamName="dataDirCopied"
Value="TRUE"></NameValPair>
<NameValPair
ParamName="machineNo"
Value="localhost"></NameValPair>
<NameValPair
ParamName="portNo"
Value="389"></NameValPair>
<NameValPair
ParamName="rootDN"
Value="cn=orcladmin,cn=Users,dc=mydomain,dc=com"></NameValPair>
<NameValPair
ParamName="ldapRootPasswd"
Value="**************"></NameValPair>
<NameValPair
ParamName="securityMode"
Value="Open"></NameValPair>
<NameValPair
ParamName="oblixUserDataSame"
Value="Yes"></NameValPair>
<NameValPair
ParamName="searchBase"
Value="dc=mydomain,dc=com"></NameValPair>
<NameValPair
ParamName="configDN"
Value="dc=mydomain,dc=com"></NameValPair>
<NameValPair
ParamName="obClassPerson"
Value="inetorgperson"></NameValPair>
<NameValPair
ParamName="defaultConfigForPersonOC"
Value="true"></NameValPair>
<NameValPair
ParamName="obClassGroup"
Value="groupOfUniqueNames"></NameValPair>
<NameValPair
ParamName="defaultConfigForGroupOC"
Value="true"></NameValPair>
<NameValPair
ParamName="obOldClassPerson"
Value="inetorgperson"></NameValPair>
<NameValPair
ParamName="obOldClassGroup"
Value="groupOfUniqueNames"></NameValPair>
</ValNameList> -
Why in Ai CC 2014, when I use a pathfinder tool on two objects, their anchor points snap slightly off from where they were? I'm looking under all the snap to options under VIEW & cannot find the culprit. Please help!
You're welcome.
There are a couple of issues connected to it:
http://www.vektorgarten.de/problems-align-to-pixel-grid.html
I don't think that list is complete -
Hi,
We had a complex map. Because of some requirement, we used custom xslt on this map. Somehow at runtime that custom xslt is giving below error:
Cannot find the script or external object that implements prefix 'ScriptNS0'.
I checked below links, it seems this is a bug in Biztalk 2010/Visual stuio 2010.
http://sandroaspbiztalkblog.wordpress.com/2012/07/29/biztalk-mapper-patterns-calling-an-external-assembly-from-custom-xslt-in-biztalk-server-2010/
The above link suggest to add a xml element in the .btm file. I tried that as well but no luck. Can anyone suggest me reason and solution for this?
Thanks, Girish R. Patil.When using the Custom XSLT option, you have to maintain the Extension Xml yourself, just as you would for inline custom Xslt that calls external Assemblies.
Docs:
http://msdn.microsoft.com/en-us/library/aa547368.aspx
Sample:
http://blog.vertica.dk/2013/03/20/using-custom-xslt-in-biztalk/ -
Cannot find the field for the Contact Role in Contact object.
Hi, friends,
I need to set Contact Role when creating new Account and Contact. I tried the following tests but cannot figure it out:
1. Create new Account and then new Contact, set the AccountContactRole in Account WSDL as “Main” but failed to set that field in form
2. Create new Account and then new Contact, set the ContactRole in Contact WSDL as "Main” but failed to set that field in form
3. Create new Contact and then new Account, set those two fields, but failed to set that field in form
So far I know, the Account Contact Role is kind of picklist type in Account Contact Field. I could find its customization in Admin-> Application Customization -> Account -> Account Contact Fields -> Contact Roles. However, I cannot find the exact item in WSDL file to map this item. The AccountContactRole in Account WSDL and ContactRole in Contact WSDL are suspicious.
It will be appreciated if anyone could help me on this issue.
Thank you very much
Ray
Edited by: user9015675 on Jan 19, 2010 2:59 PMHi, Sean, I tried the Web Service 1.0 call to create a new Contact and then a new Account with created Contact ID. But the CRMOD return the "Access Deny" fault. Is there somewhere I could see or change this kind of access rights? Or some bug in my web service call?
I am sorry I did not open a new topic thread as I think they are related and easy for reference. Thank you very much.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AccountWS_AccountInsert_Input xmlns="urn:crmondemand/ws/account/10/2004" xmlns:ns2="urn:/crmondemand/xml/account">
<ns2:ListOfAccount>
<ns2:Account>
<ns2:AccountName>XXXX1264030832268</ns2:AccountName>
<ns2:ListOfContactRole>
<ns2:ContactRole>
<ns2:ContactRole>Main</ns2:ContactRole>
<ns2:ContactId>XXXX1264030828034</ns2:ContactId>
</ns2:ContactRole>
</ns2:ListOfContactRole>
</ns2:Account>
</ns2:ListOfAccount>
</AccountWS_AccountInsert_Input>
</soap:Body>
</soap:Envelope>
Return:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Method 'SetFieldValue' of business component 'Account Contact Role' (integration component 'Account Contact Role') returned the following error:
"Access denied.(SBL-DAT-00542)"(SBL-EAI-04376)</faultstring>
<detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault">
<siebelf:logfilename>OnDemandServicesObjMgr_enu_18122.log</siebelf:logfilename>
<siebelf:errorstack>
<siebelf:error>
<siebelf:errorcode>(SBL-DAT-00542)</siebelf:errorcode>
<siebelf:errorsymbol></siebelf:errorsymbol>
<siebelf:errormsg>Method 'SetFieldValue' of business component 'Account Contact Role' (integration component 'Account Contact Role') returned the following error:
"Access denied.(SBL-DAT-00542)"(SBL-EAI-04376)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> -
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 -
Error [0x80070003] The system cannot find the path specified
We have Windows 2012 Server hosting 2 VMs - Domain Controller & RDS. We have been doing Windows Server Backup incremental and have an ongoing issue with scheduled backups each night. The backup shows completed with warnings and generates
2 log files.
The first log files shows:
Backup of volume \\?\Volume{5d46f853-5db2-11e2-93e7-806e6f6e6963}\ succeeded.
Backup of volume C: succeeded.
Backup of volume F: succeeded.
Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Component: ACBCD71E-A8CA-4672-B951-52C1BE8444BE
Caption : Backup Using Child Partition Snapshot\FMLRDS1
Logical Path:
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Component: Host Component
Caption : Host Component
Logical Path:
The 2nd log file more often than not shows:
Backup of volume E: has failed. Backup failed as shadow copy on source volume got deleted. This might caused by high write activity on the volume. Please retry the backup. If the issue persists consider increasing shadow copy storage using 'VSSADMIN Resize
ShadowStorage' command.
Error in backup of E:\ during enumerate: Error [0x80070003] The system cannot find the path specified.
Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Component: 2B4A9541-C88B-442E-9A7A-6D8A27342C11
Caption : Backup Using Child Partition Snapshot\FMLDC1
Logical Path:
Error : 8078010D
Error Message : Enumeration of the files failed.
Detailed Error : 80070003
Detailed Error Message : (null)
We had been getting a successful backup once or twice a week which showed completed (with no mentioned of warnings) but now it regularly shows completed with warnings as noted above.
We did a manual full backup of the DC to a different external drive a few days ago and that completed without warnings and the backup shows: E: Completed 63.38 Full - VSS Copy Backup Successful, 8/27/13 3:35 PM - 4:43 PM. Data Transferred 63.38
On a side note, we can view the logs in the windows/logs/windowsserverbackup directory but when we attempt to view the details of a log file through the Local Backup Console for any log which shows completed with errors, we get a "MMC has detected an
error in the snapin and will unload and then it shows Object referenced not set to instance of an object." The manual backup noted above that was successful is able to be viewed through the Local Backup Console without this error.
Any idea as to why this is failing during the scheduled backups? This hosts a database that we need to have regular successful backups.Hi,
First please follow the steps below to re-register dll files. Detailed information could be found here: http://support.microsoft.com/kb/940032:
1. Click Start, click Run, type cmd, and then click OK.
2. Type the following commands at a command prompt. Press ENTER after you type each command.
3. cd /d %windir%\system32
4. Net stop vss
5. Net stop swprv
6. regsvr32 ole32.dll
7. regsvr32 oleaut32.dll
8. regsvr32 vss_ps.dll
9. vssvc /register
10. regsvr32 /i swprv.dll
11. regsvr32 /i eventcls.dll
12. regsvr32 es.dll
13. regsvr32 stdprov.dll
14. regsvr32 vssui.dll
15. regsvr32 msxml.dll
16. regsvr32 msxml3.dll
17. regsvr32 msxml4.dll
Please let us know if any command failed to be performed with an error.
If issue still exists, have a try with the step it provided "VSSADMIN Resize ShadowStorage" to enlarge the shadow storage.
Also you could test to delete all old Shadow Copies by acccessing <Drive> Properties --> Shaodow Copies --> Delete Now. This will remove all your backup information so if it is not acceptable, just skip this step.
TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected] -
"System cannot find the path specified" error message !HELP !
Hi
In doing a program to read a string from the buffer, I am getting an error message that says "cannot find the file specified"
The file was created in a previous program and I verified it does
exist at the specified location on my hard disk.
Below is the "ReadAString" program and "WriteAString" program where the String was created.
Thanks
Joe
import java.io.*;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class ReadAString
public static void main(String[] args)
File myFile = new File("C:Documents and Settings/Gateway User/jbproject/ssd_ch10p407/src/ssd_ch10p407/charData.txt");
FileInputStream myInputFileInAStream = null;
try
myInputFileInAStream = new FileInputStream(myFile);
catch (FileNotFoundException e)
e.printStackTrace();
System.exit(1);
FileChannel myInputChannel = myInputFileInAStream.getChannel();
ByteBuffer myByteBuffer = ByteBuffer.allocate(48);
System.out.println("\nNew buffer: \tposition = " +
myByteBuffer.position() + "\tLimit = " +
myByteBuffer.limit() + " \tcapacity = " +
myByteBuffer.capacity());
try
//size() will return the length of the file
System.out.println("\nFile contains " + myInputChannel.size() + " bytes");
//The FileChannel object keeps track of the file's current position
System.out.println(
"The file's current position before the read into the buffer is: " +
myInputChannel.position());
while (myInputChannel.read(myByteBuffer) != -1)
System.out.println("\nBuffer after read: \tposition = " +
myByteBuffer.position() + "\tLimit = " +
myByteBuffer.limit() + " \tcapacity = " +
myByteBuffer.capacity());
System.out.println(
"The file's current position after it read into the buffer is: " +
myInputChannel.position());
System.out.println("\nString read: " +
( (ByteBuffer) (myByteBuffer.flip())).asCharBuffer().
toString());
System.out.println("Buffer after flip: \tposition = " +
myByteBuffer.position() + "\tLimit = " +
myByteBuffer.limit() + " \tcapacity = " +
myByteBuffer.capacity());
// set the limit to capacity and the position to 0
myByteBuffer.clear(); //clear the buffer for the next read
} //end of while loop
System.out.println("\nEOF reached.");
myInputFileInAStream.close(); //close the file and the channel
catch (IOException e) {
e.printStackTrace(System.err);
System.exit(1);
System.exit(0);
import java.io.*;
import java.nio.*;
import java.nio.channels.FileChannel;
//This program takes a text phrase (in Unicode characters;(2 bytes each character)
//and puts it into a buffer via a CharBuffer,
//then loads the buffer contents into a file channel
//then outputs to a file.
//When you have successfully run the program, go to Start | Search |
//type in "charData.txt" and examine the contents of the file. OR
//go to the notepad and open
// C:
//Documents and Settings
//GateWay User
//jbproject
//ssd_ch10p407
//src
//ssd_ch10p407
//you should see charData so right click on it and choose "open with " "Notepad"
// and verify the contents are "Garbage in Garbage out"
// each time you run the program, "Garbage in Garbage out " should be concatenated.
public class WriteAString
public static void main(String[] args)
String phrase = new String("Garbage in Garbage out\n");
String dirname = "C:/Documents and Settings/Gateway User/jbproject/ssd_ch10p407/src/ssd_ch10p407";
String filename = "charData.txt";
File dir = new File(dirname);
//now checkout the directory
if (!dir.exists()) {
if (!dir.mkdir()) { //.....create it
System.out.println("Cannot create directory: " + dirname);
System.exit(1);
else if (!dir.isDirectory()) {
System.err.println(dirname + " is not a directory");
System.exit(1);
//create the fielstream
File myFile = new File(dir, filename);
FileOutputStream myOutputFileInAStream = null; //place to store the stream reference
try
myOutputFileInAStream = new FileOutputStream(myFile, true);
System.out.println("File stream created successfully");
catch (FileNotFoundException e)
e.printStackTrace(System.err);
ByteBuffer myByteBuffer = ByteBuffer.allocate(1024); //ByteBuffer object created
CharBuffer myCharBuffer = myByteBuffer.asCharBuffer(); // create view buffer
//transfer the phrase to myByteBuffer via mycharBuffer
myCharBuffer.put(phrase);
//update myByteBuffer limit (position times 2 because each Unicode
// character takes 2 bytes) to store in the ByteBuffer
myByteBuffer.limit(2 * myCharBuffer.position());
System.out.println("myCharBuffer position is " + myCharBuffer.position());
//create the file output stream channel object
FileChannel myOutputChannel = myOutputFileInAStream.getChannel();
System.out.println("new buffer: position = " +
myByteBuffer.position() +
"\tLimit = " + myByteBuffer.limit() +
" \tcapacity = " + myByteBuffer.capacity());
//each time the program is run, the phrase is again loaded into the buffer.
// Run the program several times and open charData.txt to verify that the
//data went into the file.
//Load the data into the buffer
for (int i = 0; i < phrase.length(); i++)
myByteBuffer.putChar(phrase.charAt(i));
System.out.println("Buffer after loading : position = " +
myByteBuffer.position() + "\tLimit = " +
myByteBuffer.limit() + " \tcapacity = " +
myByteBuffer.capacity());
myByteBuffer.flip(); //flip the buffer ready for file write
System.out.println("Buffer after flip: position = " +
myByteBuffer.position() + "\tLimit = " +
myByteBuffer.limit() + " \tcapacity = " +
myByteBuffer.capacity());
//write this file
try
myOutputChannel.write(myByteBuffer); //write the buffer to the file channel
System.out.println("The file contains " + myOutputChannel.size() + " bytes" +
" Do you see this number double every time you run the program?");
//you should see 48 characters writen to the file each time (phrase has 24 characters)
myOutputFileInAStream.close(); //close the output stream and channel
System.out.println("Buffer contents written to file");
catch(IOException e)
e.printStackTrace(System.err);
System.exit(0);
//After running the program once my output was:
//File stream created successfully
//myCharBuffer position is 23
//new buffer: position = 0 Limit = 46 capacity = 1024
//Buffer after loading : position = 46 Limit = 46 capacity = 1024
//Buffer after flip: position = 0 Limit = 46 capacity = 1024
//The file contains 46 bytes //Do you see this number double every time you run the program?
//Buffer contents written to fileRight - File is smart. Otherwise, you'd have to build
platform-specific paths by hand, using file.seperator,
to keep your code multi-platform. Ew.
Grant
IC..
Aldaris84 bows his head in honour of the man/woman that created the clearly intelligate File class
:) -
Load Report Failed : The System cannot find the path specified
Hi,
I have a .Net windows application and I'm using crystal report in that. Application is published in CITRIX. If I login as Administrator user, reports are generating fine.
But for any other user i'm getting following error while trying to open crystal report
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text **************
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at castlegate.frmFormB.frmFormB_Load(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmFormB.vb:line 401
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at castlegate.frmViewEnquiry.btnPrint_Click(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmViewEnquiry.vb:line 340
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Expecting solution to above issue
Regards
NistPSHi,
See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement]
What version of Crystal Reports are you using?
Visual studio version you have?
Have you applied any servcie pack?
Is this on your development computer or on a deployed computer?
If on a deployed system, how was the CR runtime installed to that system?
Regards,
Shweta
Maybe you are looking for
-
Firewire DV output disconnects when I pop over to other programs
I am brand new to the Mac and brand new to Final Cut Studio, just bought both of them this month. I do After Effects animation and edit the animations with clients in the room, I've been using Premiere on a Windows laptop for years, and I've been tol
-
When I hold the sleep button down to power off my ipad, I get the red slide that confirms that I want to power down. I slide it like I always have, but once it shuts down, it immediately reboots. I can't get it to shut off completely.
-
I have a creative zen sleek photo and out of no where it stoped working it won't turn on or anything how do i fix it or contact the company so they can fix there peice of **bleep** product
-
Mac Os X when printing to a canon ir 3220 job stops
We have a canon im 3220 and when i try printing there the job just Stops i see the job go to print center but once is there it says its oppening the printers connection, and then after that it just stops (no errors messages or codes). Im the only one
-
Can you get the full version of minecraft on an ipad mini?
Can you get the full version of minecraft on your Ipad mini?