Execution of workflow automation failed due to "Could not find a part of the path 'D:\Program
Hi,
Execution of workflow automation failed due to "Could not find a part of the path 'D:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa\workflow_data\35517.xml"
Netapp case has been raised and confirmed there is no issue with the WFA application, no clue to diagnose the issue.
Execution fails continously 3 or 4 runs then get success, intermittent failure occurs.
WFA version :2.2
OS: Windows 2008
Can someone please help me to fix the issue?
Thanks
Deepak
Parag also pointed out that the BURT number is 833488 which has been fixed in 3.0.Please read the public report for more details. RegardsAbhi
Similar Messages
-
clean SC 2012 R2 RTM.
1. had problems with WSUS installation/post configuration
2. found a blog with an identical problem where the problem was solved with the call to Microsoft. Tools directory was missing.
I followed the suggestion: reinstalled WSUS using ps and wsusutil.
I canceled WSUS configuration at recommended step. Everything looked fine.
But after SUP creation I found SMS_WSUS_CONFIGURATION_MANAGER warning.
I checked WCM.log and found Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.
When checked there was no Schema folder in the path above. So it's just missing as folder TOOLS before troubleshooting.
Any suggestions for fixing this.
Thanks.
Here is partial WCM that could help to find the issue, I clearly see that there is no Schema directory in C:\Program Files\Update Services:
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
No changes - WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:00 PM 4536 (0x11B8)
Successfully refreshed categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:14 PM 4536 (0x11B8)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:20 PM 4536 (0x11B8)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:20 PM 4536 (0x11B8)
Successfully inserted WSUS Enterprise Update Source object {91F81925-CC1D-40C0-98C3-902AD3717594} SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:21 PM 4536 (0x11B8)
Configuration successful. Will wait for 1 minute for any subscription or proxy changes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:09:21 PM 4536 (0x11B8)
Setting new configuration state to 2 (WSUS_CONFIG_SUCCESS) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:21 PM 4536 (0x11B8)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~ at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath)~~ at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~ at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~ at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~ at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~ at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
packageFile)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
sdpFile)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
ERROR: Failed to publish sms client to WSUS, error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
STATMSG: ID=6613 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=confman.contoso.lan SITE=MON PID=1716 TID=4536 GMTDATE=Sat Dec 07 22:10:22.831 2013 ISTR0="8427071A-DA80-48C3-97DE-C9C528F73A2D" ISTR1="5.00.7958.1000"
ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
Failed to publish client with error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
completed checking for client deployment SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
HandleSMSClientPublication failed. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:10:22 PM 4536 (0x11B8)
Shutting down... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:51:31 PM 4536 (0x11B8)
Shutting Down... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:51:31 PM 4536 (0x11B8)
SMS_EXECUTIVE started SMS_WSUS_CONFIGURATION_MANAGER as thread ID 4168 (0x1048). SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:38 PM 2008 (0x07D8)
This confman.contoso.lan system is the SMS Site Server. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Populating config from SCF SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Setting new configuration state to 1 (WSUS_CONFIG_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Changes in active SUP list detected. New active SUP List is: SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
SUP0: confman.contoso.lan, group = CONFMAN, nlb = SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Updating active SUP groups... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Waiting for changes for 1 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:42 PM 4168 (0x1048)
Wait timed out after 0 minutes while waiting for at least one trigger event. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:43 PM 4168 (0x1048)
Timed Out... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Checking for supported version of WSUS (min WSUS 3.0 SP2 + KB2720211 + KB2734608) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Checking runtime v2.0.50727... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Did not find supported version of assembly Microsoft.UpdateServices.Administration. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Checking runtime v4.0.30319... SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Found supported assembly Microsoft.UpdateServices.Administration version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Found supported assembly Microsoft.UpdateServices.BaseApi version 4.0.0.0, file version 6.3.9600.16384 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Supported WSUS version found SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:53 PM 4168 (0x1048)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:55 PM 4168 (0x1048)
Verify Upstream Server settings on the Active WSUS Server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:55 PM 4168 (0x1048)
No changes - WSUS Server settings are correctly configured and Upstream Server is set to Microsoft Update SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
Setting new configuration state to 4 (WSUS_CONFIG_SUBSCRIPTION_PENDING) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
Refreshing categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:53:56 PM 4168 (0x1048)
Successfully refreshed categories from WSUS server SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:27 PM 4168 (0x1048)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
Configuration successful. Will wait for 1 minute for any subscription or proxy changes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:54:32 PM 4168 (0x1048)
Setting new configuration state to 2 (WSUS_CONFIG_SUCCESS) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:32 PM 4168 (0x1048)
Attempting connection to WSUS server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:34 PM 4168 (0x1048)
Successfully connected to server: confman.contoso.lan, port: 8530, useSSL: False SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:34 PM 4168 (0x1048)
PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~ at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath)~~ at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~ at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~ at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~ at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~ at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
packageFile)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
sdpFile)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile) SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
ERROR: Failed to publish sms client to WSUS, error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
STATMSG: ID=6613 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=confman.contoso.lan SITE=MON PID=1668 TID=4168 GMTDATE=Sat Dec 07 22:55:35.051 2013 ISTR0="8427071A-DA80-48C3-97DE-C9C528F73A2D" ISTR1="5.00.7958.1000"
ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
Failed to publish client with error = 0x80070003 SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
completed checking for client deployment SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
HandleSMSClientPublication failed. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
Trigger event array index 0 ended. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:35 PM 4168 (0x1048)
SCF change notification triggered. SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
Populating config from SCF SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
Waiting for changes for 58 minutes SMS_WSUS_CONFIGURATION_MANAGER 12/7/2013 5:55:40 PM 4168 (0x1048)
"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis>Any Errors in SUPSetup.log and WSUSCtrl.log log files?
No errors in these files. As I mentioned there is no Schema folder in Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~
Here are 3 repetitive errors in WCM.log:
1. PublishApplication(8427071A-DA80-48C3-97DE-C9C528F73A2D) failed with error System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Update Services\Schema\baseapplicabilityrules.xsd'.~~ at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath)~~ at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath,
Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)~~ at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)~~
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)~~ at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)~~ at System.Xml.XmlTextReaderImpl.FinishInitUriString()~~
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)~~ at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String schemaUri)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage.Verify(String
packageFile)~~ at Microsoft.UpdateServices.Administration.Internal.UpdateServicesPackage..ctor(String packageFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.Publisher.LoadPackageMetadata(String sdpFile)~~ at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetPublisher(String
sdpFile)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.PublishApplication(String sPackageId, String sSDPFile, String sCabFile)
2. Failed to publish client with error = 0x80070003
3. HandleSMSClientPublication failed.
"When you hit a wrong note it's the next note that makes it good or bad". Miles Davis -
Powerpivot add-in installation issue "Could not find a part of the path"
Hello,
I got a Windows Server 2008R2 terminal server with Office 2010 and Powerpivot installed. I have an issue for some users, not every user get this error. When trying to add the Powerpivot add-in in Excel the following error message is displayed:
Name:
From: file:///C:/Program Files (x86)/Microsoft Analysis Services/AS Excel Client/10/Microsoft.AnalysisServices.Modeler.FieldList.vsto
************** Exception Text **************
System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files (x86)/Microsoft Analysis Services/AS Excel Client/10/Microsoft.AnalysisServices.Modeler.FieldList.vsto did not succeed. ---> System.Net.WebException:
Could not find a part of the path 'C:\Program Files (x86)\Microsoft Analysis Services\AS Excel Client\10\Microsoft.AnalysisServices.Modeler.FieldList.vsto'. ---> System.Net.WebException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft
Analysis Services\AS Excel Client\10\Microsoft.AnalysisServices.Modeler.FieldList.vsto'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Microsoft Analysis Services\AS Excel Client\10\Microsoft.AnalysisServices.Modeler.FieldList.vsto'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
--- End of inner exception stack trace ---
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- End of inner exception stack trace ---
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
I have checked the path and I found nothing. I could understand the problem if all users got this error but it's online a handfew of users. Other users can add the add-in in Excel without any issue. All the users are in the same domain and they use the one
and only terminal server on the site.
Any advice? I've searched the web but haven't found anything.
Thanks in advance!Guys, I think I solved the
issue:
Symptoms
1. Power Pivot SQL 2012 32-bit installed over the old version without
deinstalling it
2. Installed with a user with administrator rights
3. It worked under the profile with admin rights, it didn't work under the
normal users w/o admin rights and threw this error message: Downloading file.///c:/Program files (x86)/Microsoft analysis services/AS Excel Client/10/Microsoft.AnalysisServices.XLHost.Addin.VSTO
did not succeed.
4. In the admin profile, it went to the path "110": C:/Program
Files (x86)/Microsoft Analysis Services/AS Excel
Client/110/Microsoft.AnalysisServices.Modeler.FieldList.vsto
5. In the normal profile, it went to the - wrong - "10" path:
C:/Program Files (x86)/Microsoft Analysis Services/AS Excel
Client/10/Microsoft.AnalysisServices.Modeler.FieldList.vsto
SOLUTION
1. ADMIN: Installed VSTO 4.0
2. ADMIN: Checked if the .NET Programmability Support was installed - it was -
if not, install it!
3. NORMAL USER: Create a .reg file (Backup your registry before!) and
use it UNDER THE NORMAL USER!!!
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Excel][HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins][HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\Microsoft.AnalysisServices.Modeler.FieldList]
"Description"="Microsoft SQL Server PowerPivot for Microsoft Excel"
"FriendlyName"="PowerPivot for Excel"
"LoadBehavior"=dword:00000003
"Manifest"="C:\\Program Files\\Microsoft Analysis Services\\AS
Excel Client\\110\\Microsoft.AnalysisServices.XLHost.Addin.vsto|vstolocal"
"CartridgePath"="C:\\Program Files\\Microsoft Analysis
Services\\AS OLEDB\\110\\Cartridges\\"
4. NORMAL USER: Rename the registry key
"HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\User Settings\Microsoft.AnalysisServices.Modeler.FieldList"
into
"HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\User
Settings\Microsoft.AnalysisServices.Modeler.FieldList_old"
5. NORMAL USER: Start up Power Pivot and it should
work now!
Analysis
IMHO the issue lies in the fact, that the Power Pivot
installer creates two problems:
The first issue is that the path to the add-in under
the NORMAL user is simply wrong and points to a wrong location (the
"10" in the path). In the admin profile, where it was originally
installed, it points to the "110" path which is correct.
The second issue is that the installation procedure
somehow needs to create a registry key (the one under point 4 in the solution)
to complete it self and if this key already exists it fails to install and
throws up weird error messages. If you delete or rename this key, it is created
again (exactly in the same way) but then everything works out.
Hope this
helps!
Regards, Reto -
Please I have been having problems loadig the adventuremultdime2012, I downloaded the visual studio 2013
but it is showing me this path
C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj :
error : Could not find a part of the path 'C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj'.
I guess its a hidden file or I have deleted it, because I cant find it too, any help pleaseLooks like you've either moved the file to somewhere else or it got deleted
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Hi all,
I am having a list of files in a folder named datafiles and I am processing them one by one when I finish each one I want to move the file into a folder archive.
I am having a variable named filename and archivefilename and two fileconnections one is originalfiles and archivefiles
archivefilename=replace( @[User::filename],"datafiles","archive")
orginalfiles connection is an expression =@user:filename
archivefies connection is an expression=@user:archivefilename
the filename comes from reading the folder that contains those files
public void Main()
string[] filenames;
filenames = Directory.GetFiles(@"C:\luminis\datafiles\");
Array.Sort(filenames);
Dts.Variables["filelist"].Value = filenames;
Dts.TaskResult = (int)ScriptResults.Success;
The folder c:\luminis\archive\ exists
why I am getting this error
My filesystem task : destinationpathvariable =false
destinationconnection:archivefile
overwrite=true
operation=movefile
issourcepathvariable=false
sourceconnection=original file
why am i getting this error[File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".
sohairzakithere may be 2 problem...
1> specify a target directory only, not with the file name.
OR
2> Try using the unc,path format \\computername\sharename\
let us know your observation...
Let us TRY this | Mail me
My Blog :: http://quest4gen.blogspot.com/ -
HI,
I am writing Some orders into
Text file under button control.It was writing under
file system under my physical directory. suddenly i got error :
Could not find a part of the path 'D:\SavingTextfile\sampletext_44.txt'.
I wrote in web.config file:
<Appsettings>
<add key="OrdersList" value="D:\\SavingTextfile\\sampletext.txt"/>
</Appsettings>
In Local system,i am storing like this:
D:\sampletext
My Code:
protected void btnSubmit_Click(object sender, EventArgs e)
string Orderslist = System.Configuration.ConfigurationManager.AppSettings["OrdersList"].ToString();
string fileName = Orderslist;
string fileText = fileName + "_" +DateTime.Now.ToString();
fileText = fileText.Replace(".txt", "") + ".txt";
fileText = fileText.Trim();
//Check if file already exists. If yes, delete it.
if (File.Exists(fileText))
File.Delete(fileText);
// Create a
new file
using (StreamWriter streamWriter = new StreamWriter(fileText))
streamWriter.WriteLine("order1");
streamWriter.WriteLine("order2");
Thanks in Advance:Hi,
Thanks for responding....
In App pool,Where i need to check permission. i.e. Current logged user permissions or some other permissions.
Actually text files are storing under D drive...But some times only getting error...
Could not find a part of the path 'D:\SavingTextfile\sampletext_44.txt
when i close the browser and reset IIS,again open browser and submit details,it is saving in the give path
D:\SavingTextfile
Help me...
Thanks. -
So, some of UEV 2.0 clients are syncing.
This one isn't.
So I'm in the event logs, and the App Agent piece shows
An exception has occurred while synchronizing settings packages. Exception message: "Could not find a part of the path '\\dc\UEVSETTINGS\westsalesuser9\SettingsPackages'.".
Event 13000.
But that location it totally writeable.
So basically, this one client cannot read OR write.
I've uninstalled, re-installed.
I've verified that Get-UEVTemplate shows the templates A-OK.
What else can I do / check?
Thanks in advance.
--Jeremy Moskowitz, Group Policy MVPHi,
For a better support about this kind of product, it is recommended to post in the following forum:
http://social.technet.microsoft.com/Forums/en-US/home?forum=mdopuev
Thanks for your understanding.
If you have any feedback on our support, please click
here
Alex Zhao
TechNet Community Support -
GP Preference Items Throwing "Could not find a part of the path" Error in GP Management Console
Hello,
For background, I recovered two Server 2008 R2 Domain Controllers in the same domain from a JRNL_WRAP_ERROR
using the BurFlags registry key as outlined in KB290762. The non-authoritative restore seemed to resolve NtFrs/replication challenges, as now the FRS and System logs are free from any major errors and "repadmin /showreps" output looks clean.
As part of the cleanup process I am going through and checking all the policy objects. Policy objects that leverage group policy preferences are
throwing an error when the settings are viewed in the management console:
The following errors were encountered:
An unknown error occurred while data was gathered for this extension. Details: Could not find a part of the path 'C:\Users\administrator.YOURDOMAIN\AppData\Local\Temp\2\ny0ho1ht.tmp'.
This occurs for existing Group Policy Preference objects and those that are newly created. It is important note if I go to edit the policy in question
the preference settings are available, it is viewing them in the management console that seems to be the issue. What concerns me here is that the file it is looking for is stored in the local temp directory and not the SYSVOL directory. With replication issues
behind me I am not sure how to address this last piece of the puzzle.
Any assistance in getting this squared away you be appreciated.
Thanks!
JordanDCDIAG /C outputs the following error in relation to the VerifyEnterpriseRefrences test:
Starting test: VerifyEnterpriseReferences
The following problems were found while verifying various important DN
references. Note, that these problems can be reported because of
latency in replication. So follow up to resolve the following
problems, only if the same problem is reported on all DCs for a given
domain or if the problem persists after replication has had
reasonable time to replicate changes.
[1] Problem: Missing Expected Value
Base Object:
CN=DC04,OU=Domain Controllers,DC=YOURDOMAIN,DC=local
Base Object Description: "DC Account Object"
Value Object Attribute Name: msDFSR-ComputerReferenceBL
Value Object Description: "SYSVOL FRS Member Object"
Recommended Action: See Knowledge Base Article: Q312862
[2] Problem: Missing Expected Value
Base Object:
CN=DC03,OU=Domain Controllers,DC=YOURDOMAIN,DC=local
Base Object Description: "DC Account Object"
Value Object Attribute Name: msDFSR-ComputerReferenceBL
Value Object Description: "SYSVOL FRS Member Object"
Recommended Action: See Knowledge Base Article: Q312862
LDAP Error 0x20 (32) - No Such Object.
I am evaluating the suggested KB now but am not sure it is related to the issue at hand but posted it for completeness.
All other tests pass. -
Error DTW (Could not find a part of the path)
Have you encounter this error when importing using DTW? Please see image below. I'm using SAP 9.0 PL09
Hi Gimo,
Looks like a rights issue. Could you please try again, but run the DTW as administrator ?
Regards,
Johan -
(failed due to: Could not create/access the TopLink Session)
I got the fallowing error from Enterprise Manager when testing "validationForCC" and the invocation instance failed.
Anyone have an idea?
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException:
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)
at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [soademoDatabase]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'soademoDatabase'. Resolved ''; remaining name 'soademoDatabase'. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 moreIf anyone is is intrested. I figured out the solution. In the Weblogic Console Located in the JDBC Data Sources. Added correct JNDI Name for Name: soademoDatabase which was jdbc/soademoDatabase. Redeploy and restart server. Works fine
-
RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'
Hi, All
the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolve my problem. all JCO, RFC connections and SDL DATA supplier(VA) seem OK. error message in SM21 is "Could not send SLD data"
detail from SM21
The system could not send the data that has been collected automatical
for the System Landscape Directory (SLD). Check whether the gateway
configured in transaction RZ70 has been started and whether the SLD
bridge has been registered with this gateway.
You can use transaction SM59 to check this in the sending system for t
implemented RFC destinations. The RFC destinations have the standard
names "SLD_UC" for Unicode sending systems and "SLD_NUC" for non-Unico
sending systems. If a different RFC destination has been entered in
RZ70, check this destination instead.
You can use the Gateway Monitor to check the target gateways. In ABAP
systems, this monitor is started with transaction SMGW, or you can use
the external SAP program "gwmon". Check whether the specified gateway
has an active registration.
OF COURSE I checked RFC of SLD_UC and SMGW
any different ideas
Regards
ABHHi
Please check the following notes are implemented
Note 906454
Note 907729
You may be aware but if you are not --->RZ70 creates the required SLD* RFCs during runtime - therefore if you have defined these RFCs manually first using the same namespace you can get RFC conflicts which result in a failed submission
Please also check the user in the RFC is known to both systems and has required authorization to write to SLD
Generally with SLD you have to install or select a suitable gateway to handle incoming data supply traffic
Also the gateway you are using has be known to SLD and reflected in RZ70 - i.e these defintions have to be the same
It is also recommended to delete all references to SLD_* RFCs in data supplier and target SLD
after a failed submission attempt to allow RZ70 to recreate these consistently once the above has been checked
Best wishes
Stuart -
Could not find schema information for the attribute 'filename'
Can anyone help me.
I download the VB.NET sample source and try to run the application and got this error.
"Could not find schema information for the attribute 'filename'"
and
"Could not find schema information for the attribute 'url'"
and
"Custom tool warning:Schema validation warning:Schema item 'element' named 'AccountWS_AccountUpate_Input' from namespace 'urn:crmondemand/ws/account/' is invalid. Namespace 'urn:/crmondemand/xml/account' is not available to be referenced in this schema"
Thanks
PitipornAre these errors or warnings? If warnings, you should be able to just ignore them.
-
Could not find agent library on the library path or in the local directory
Hi all,
I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
1) I've added #include <mysql++.h>
2) and I've added mysqlpp::Connection conn(false); (global variable)
I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
Below the code:
-- analizer.cpp --
#include <iostream>
#include <stdlib.h>
#include <jni.h>
#include <string.h>
#include <jvmti.h>
#include <mysql++.h>
#include "ClassDetail.cpp"
#define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
static void checkForNull(void *ptr, const char* file, int line) {
if(ptr == NULL) {
std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
abort();
static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
jvmtiError errNum;
char *name;
errNum = jvmti->GetErrorName(err, &name);
if( errNum != JVMTI_ERROR_NONE) {
std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
abort();
return name;
#define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
if(err != JVMTI_ERROR_NONE) {
char *name = getErrorName(jvmti, err);
std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
abort();
static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
static void startGCEvent(jvmtiEnv *jvmti_env);
static void finishGCEvent(jvmtiEnv *jvmti_env);
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
jrawMonitorID lock;
int gc_count;
long heapSize = 0;
bool heapCheck = false;
mysqlpp::Connection conn(false);
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
std::cout<<"OnLoad\n";
jint rc;
jvmtiEnv *jvmti = NULL;
jvmtiError err;
jvmtiCapabilities capabilities;
jvmtiEventCallbacks callbacks;
rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
if( rc != JNI_OK) {
std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
return -1;
CFN(jvmti);
err = jvmti->GetCapabilities(&capabilities);
CJVMTIE(jvmti, err);
CFN(&capabilities);
capabilities.can_generate_garbage_collection_events = true;
capabilities.can_tag_objects = true;
CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
callbacks.VMInit = &vmInit;
callbacks.GarbageCollectionStart = &startGCEvent;
callbacks.GarbageCollectionFinish = &finishGCEvent;
CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
return 0;
JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
std::cout<<"OnUnload\n";
static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
std::cout << "worker";
for (;;) {
CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
while (gc_count == 0) {
CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
jvmti->RawMonitorExit(lock);
gc_count = 0;
jvmti->RawMonitorExit(lock);
/* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
if(!heapCheck) {
heapCheck = true;
jint count;
jclass *classes;
CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
for(int i = 0; i < count; i++) {
char *sig;
CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
CFN(sig);
details[i] = ClassDetail(strdup(sig));
CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
heapSize = 0;
CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
std::cout << "Heap Memory : " << heapSize<<'\n';
heapCheck = false;
static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
jclass clazz = jni->FindClass("java/lang/Thread");
jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
jthread _thread = jni->NewObject(clazz, mid);
CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
static void startGCEvent(jvmtiEnv *jvmti) {
static void finishGCEvent(jvmtiEnv *jvmti) {
std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
gc_count++;
CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
if(tag != (jlong) 0) {
std::cout << "Tag : " << tag<< '\n';
ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
char *sig = detail->getSignature();
std::cout << "Class " << sig << " size : " << size<<'\n';
heapSize += size;
return JVMTI_ITERATION_CONTINUE;
-- ClassDetail.cpp --class ClassDetail {
private:
char* signature;
public:
ClassDetail(char* signature){
this->signature = signature;
char* getSignature() { return this->signature;}
--Makefile--########################################################################
# Sample GNU Makefile for building JVMTI Demo waiters
# Example uses:
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
# gnumake JDK=<java_home> OSNAME=linux [OPT=true]
# gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
# Source lists
LIBNAME=analizer
SOURCES=analizer.cpp
MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
# Solaris Sun C Compiler Version 5.5
ifeq ($(OSNAME), solaris)
# Tell gnumake which compilers to use
CC=cc
CXX=CC
# Sun Solaris Compiler options needed
COMMON_FLAGS=-mt -KPIC
# Check LIBARCH for any special compiler options
LIBARCH=$(shell uname -p)
ifeq ($(LIBARCH), sparc)
COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
endif
ifeq ($(LIBARCH), sparcv9)
COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
endif
ifeq ($(OPT), true)
CXXFLAGS=-xO2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-z defs -ztext
# Libraries we are dependent on
LIBRARIES= -lc
# Building a shared library
LINK_SHARED=$(LINK.cc) -G -o $@
endif
# Linux GNU C Compiler
ifeq ($(OSNAME), linux)
# GNU Compiler options needed to build it
COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
# Options that help find errors
COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
ifeq ($(OPT), true)
CXXFLAGS=-O2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
LDFLAGS += -lmysqlpp
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=$(LINK.cc) -shared -o $@
endif
# Windows Microsoft C/C++ Optimizing Compiler Version 12
ifeq ($(OSNAME), win32)
CC=cl
# Compiler options needed to build it
COMMON_FLAGS=-Gy -DWIN32
# Options that help find errors
COMMON_FLAGS+=-W0 -WX
ifeq ($(OPT), true)
CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
else
CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.obj)
# Library name and options needed to build it
LIBRARY=$(LIBNAME).dll
LDFLAGS=
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=link -dll -out:$@
endif
# Common -I options
CXXFLAGS += -I.
#CXXFLAGS += -I../agent_util
CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
# Default rule
all: $(LIBRARY)
# Build native library
$(LIBRARY): $(OBJECTS)
$(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
# Cleanup the built bits
clean:
rm -f $(LIBRARY) $(OBJECTS)
# Simple tester
test: all
LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
#LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
# Compilation rule only needed on Windows
ifeq ($(OSNAME), win32)
%.obj: %.cpp
$(COMPILE.cc) $<
endifDid you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).
-
This is my app.config file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="IntelBrandFX.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<add key="connStr" value="Data Source=tmvnasql1.tmvn.com;Initial Catalog=brandplan;Integrated Security=True"/>
</appSettings>
<applicationSettings>
<IntelBrandFX.Properties.Settings>
<setting name="IntelBrandFX_rollupViewerService_extract" serializeAs="String">
<value>https://viewer.rollup.com/omdsp2008/extract.asmx</value>
</setting>
</IntelBrandFX.Properties.Settings>
</applicationSettings>
</configuration>
And the Warning messages are
Message 1 Could not find schema information for the element 'applicationSettings'.
Message 2 Could not find schema information for the element 'IntelBrandFX.Properties.Settings'.
Message 3 Could not find schema information for the element 'setting'.
Message 4 Could not find schema information for the attribute 'name'.
Message 5 Could not find schema information for the attribute 'serializeAs'.
Message 6 Could not find schema information for the element 'value'.
Althought they do no hinder me from successfully running the project. these messages are annoying. I have seen many articles on the web but could nowhere find the exact schemas for that the above elements that I could add to the DotNetConfig.xsd file.
Could somebody give me an idea how to create xsds for the elements above and include in the dotnetConfig.xsd.
I understand what needs to be done but not sure of the exact way to do it.
Thanks,You don't need to modify the dotnetconfig.xsd. All you need to do is generate an XSD for your section and let VS know where it is at.
1) Create your XSD using any of the various tools available or by hand.
2) Copy your XSD into the <VSDir>\Xml\Schemas directory.
3) Create a catalog file for your schema.
4) Restart VS and it'll load the XSD and give you Intellisense.
Here's the MSDN documentation for it: http://msdn.microsoft.com/en-us/library/ms255821.aspx
Michael Taylor - 8/18/09
http://p3net.mvps.org -
EHSM - Create Vendor - error: 'Could not find a document for the given key'
Dear all,
In the Chemical Approval Process I have attached a SDS document to the Approval Request. You can assign a Vendor to the SDS. As there are no (EHSM) Vendors currently available in the system I would like to create a new (EHSM) Vendor by clicking on 'Create Vendor'.
This will lead me to the following Webdynpro Application: Edit Vendor (EHFND_UI_VENDOR_OVP).
Only one field is shown in the Webdynpro named: 'Name of the Vendor'. After typing a name e.g. 'test', the following error message appears; 'Could not find a document for the given key'. See also attached document. This issue looks like a missing number range, however I could not find a EHSM number range for Vendors.
How to solve this issue?
More information:
Software Component: SAP EHS Management (EHSM) Support Package: 3
Process: Chemical Approval
Webdynpro application: EHFND_UI_VENDOR_OVP
Thank you.
Kind regards,
RoyHi
babooraj
This might be a problem with Windows Power Shell.
The solution is to copy the folder: "PSWorkflow" from "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\"
to "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules"
Than everything works fine.
Ps.: @Microsoft, please fix this problem in future versions.
Thomas van Veen
Maybe you are looking for
-
Driver without bloatware for LaserJet P1102w
I'm trying to use an HP LaserJet P1102w that's on my home network. I'm looking for the drivers, but I'm uncertain of what to download. There is a 100+mb package that declares I need 500+mb of space to install. It comes with the driver and a bunch of
-
I had a nokia E72 and i encrypted my sd memory card. Recently i removed the sd card and sold my E72 Nokia. I know the password used when i encrypted it. Is there any way i could recover my file from the sd card?
-
MBC 15' retina not detecting my ipad mini OS8 after yosemite update
Why does my MBC not detect my ipad anymore and why has the bluetooth icon dissapeared from my status bar? Any help will be much appreciated
-
What's the difference between new Apple TV and last one
What's the difference between the last Apple TV model and the new one? Do I need to buy the new one or will the sofware update catch me up to the same standard as the new one?
-
Hi guys, we are going to do role migration according to new authorisation concept of 7.0.I have few doubts about this. 1.does this new concept recommend reporting on multiproviders? 2.on what BW objects are these reporting roles based?(I am hearing t