Content Validation Logs
Is there a content validation log?
I was getting an error during OSD that content is not available, but it is indeed on the DP. I have manually went in and selected each and every piece and selected validate. Now the Completion Statistics are just sitting here at 16 success and 84 In
progress.
This is only one DP that is having this problem
Please Advise as I am pulling my hair out, one of our sites is entirely unable to deploy hardware without this.
Based on that log... it just stopped yesterday and the content statistics in console stayed "in progress" with no updates.
I have since kicked the scheduled task for content validation and it is running.
I have one DP that is failing to present its content for a task sequence, though everything I look at shows the content on the DP.
It is listing 3 locations of content... but neither of these 3 are dps within their boundary.
Errors in smsts.log file
Decompression (zlib) succeeded: original size 591, uncompressed size 3692.
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Location Reply: <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite
SiteCode="CA1" MasterSiteCode="CA1" SiteLocality="FALLBACK" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014"
Signature="http://CA1AP03P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.1.17.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities
SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA1AP03P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL
Name="http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://CA2AP01P.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite Name="Corporate"/><IPSubnets><IPSubnet Address="10.2.17.0"/><IPSubnet
Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>CA2AP01P.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows
Trust="0"/><Locality>FALLBACK</Locality></LocationRecord><LocationRecord><URL Name="http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014" Signature="http://MINN_DP.******.com/SMS_DP_SMSSIG$/CA100014"/><ADSite
Name=""/><IPSubnets><IPSubnet Address=""/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property
Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>MINN_DP.******.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>FALLBACK</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply>
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS server:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Found location: http://CA1AP03P.******.com/SMS_DP_SMSPKG$/CA100014
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Local=0
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS server:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Found location: http://CA2AP01P.******.com/SMS_DP_SMSPKG$/CA100014
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Local=0
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS server:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Found location: http://MINN_DP.******.com/SMS_DP_SMSPKG$/CA100014
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Local=0
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Processing 3 locations.
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Not processing remote location:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Flags: 01000000
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) URLs : 1
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) SMB :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Not processing remote location:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Flags: 01000000
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) URLs : 1
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) SMB :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Not processing remote location:
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Flags: 01000000
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) URLs : 1
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) SMB :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) MCS :
TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408)
LocationsList.size() > 0, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2142)
TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) FALSE, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1863) TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Content location request for CA100014:14 failed. (Code 0x80040102) TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) hr, HRESULT=80040102
(e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2626) TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) Failed to resolve PackageID= TSMBootstrap
18/09/2014 8:19:11 AM 1032 (0x0408) (*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,3412)
TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource,
fpCallbackProc, pv, hCancelEvent), HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1523) TSMBootstrap 18/09/2014 8:19:11 AM
1032 (0x0408) Failed to resolve selected task sequence dependencies. Code(0x80040102) TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) hrReturn, HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,445)
TSMBootstrap 18/09/2014 8:19:11 AM 1032 (0x0408) ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040102) TSMBootstrap
18/09/2014 8:19:11 AM 1032 (0x0408) ThreadToResolveAndExecuteTaskSequence returned code 0x80040102 TSMBootstrap 18/09/2014 8:19:11 AM
888 (0x0378) Setting wizard error: This task sequence cannot be run because the program files for CA100014 cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.
TSMBootstrap 18/09/2014 8:19:11 AM 888 (0x0378)
Similar Messages
-
Create alert when content validation fails
How can I create an alert (with email subscription) when content fails to validate on a distribution point or distribution point group?
born to learn!AJM
Did you come up with a solution for this? We are using SCOM to monitor the SMSDPMON.log on our DP's for a string of "Failed to evaluate package".
Also, I have built a custom SQL report to query the SCCM database for this information and it is sent to me once a week, the day after content validation runs on the DP's. Below is the SQL code I am using, use it to build your own custom SCCM report.
select LastUpdateDate, MessageID,vSMS_DistributionDPStatus.PackageID,v_package.Name as PackageName, vSMS_DistributionDPStatus.Name as DistributionPoint
from vSMS_DistributionDPStatus,v_package
Where vSMS_DistributionDPStatus.PackageID = v_package.PackageID and MessageID = 9517
-Tony -
Content Validation Issue on Distribution Points
Hi all,
I am currently running SCCM 2012 R2 CU2 with Single Primary Site Server and Several remote Distribution Points serving Windows Updates, Software and Images.
This has been bothering me for a while now and I can not figure it out…. Two of my distribution points are not completing their content validation. They begin the process as scheduled
but about 2-5 packages in, they get hung up on an old package that does not exist anymore and then start the process over, validating the same 2 packages over and over. I have ran a few scripts to check WMI for this package and it is definitely not there.
It is not present in the Content Library either.
Simple query for to check WMI for the package on the DP:
gwmi -Namespace rootsccmdp -Query “select * from SMS_PackagesInContLib where PackageID = ‘XXX001AE′”
Here is a snip of the smsdpmon.log
Report status message 0x8000094F to MP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Status message has been successfully sent to MP from remote DP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Start to evaluate package ‘XXX001AE’ version 0 …
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Report status message 0x4000094C to MP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Status message has been successfully sent to MP from remote DP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Failed to evaluate package XXX001AE, Error code 0×80070002
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Report state message 0x8000094F to MP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Report Body: SPS001AE["Display=vdepman.sdale.org"]MSWNET:["SMS_SITE=SPS"]vdepman.sdale.org
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Report status message 0x8000094F to MP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Status message has been successfully sent to MP from remote DP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Report status message 0x8000095A to MP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Status message has been successfully sent to MP from remote DP
SMS_Distribution_Point_Monitoring
11/9/2014 3:54:02 AM
3604 (0x0E14)
Anyone have any idea why it is still trying to validate this old package?
ThanksThanks for the replies,
Here is some extra information on what I have tried.
I have run the Bart Serneels script which did seem to clean some things up on the other servers. Did NOT fix the issue on these ones however.
I have also ran these two scripts that compare the content on the DP itself.
This one Compares Content Librrary with WMI and deletes the package INI if needed.
cls
$WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
$ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
$PkgLibPath = ($ContentLib) + '\PkgLib'
$PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
$PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
$PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
$PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
##Write-Host Items in WMI but not the Content Library
##Write-Host ========================================
##$PksinWMIButNotContentLib
Write-Host Items in Content Library but not WMI
Write-Host ====================================
$PksinContentLibButNotWMI
Write-Host Delete .INI´s in PkgLib not in WMI
Foreach ($PkgLIB in $PksinContentLibButNotWMI){
Remove-Item -Path "$PkgLibPath\$PkgLIB.INI" -Confirm
This one Compares WMI to the Content Library and delete the package from WMI.
cls
$WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object
$ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath
$PkgLibPath = ($ContentLib) + '\PkgLib'
$PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)
$PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})
$PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }
$PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }
#Items in WMI but not the Content Library
#========================================
$PksinWMIButNotContentLib
#Items in WMI but not the Content Library
#========================================
$PksinWMIButNotContentLib
Foreach ($Pkg in $PksinWMIButNotContentLib){
Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib -Filter "PackageID = '$Pkg'" | Remove-WmiObject -Confirm
Neither of them return any information about left over packages.
If I must, I may uninstall the DP role on these servers and reinstall it, one of them in also my "Application Catalog Server". Will re-installing the DP on this server cause any major issues?
Thanks -
What is the best way to merge a file content into log file
What is the best way to merge a file content into log file.
In worst case, I will read the file line by line as string, then use
logger.info(lineString)to output to log file.
However, is there better way to do this?
The eventual log file will be something like:
log message 1
log message 2
content from file line 1
content from file line 2
content from file line 3
log message 3
log message 4ThanksJohn618 wrote:
Thank you and let me explain:
1. What do you mean by better?
I would like to see better performance. read line by line and log each line as string can be slow. Did you measure this and determine that it is actually a problem for your application? Or are you guessing?
Regardless of what you do you are still going to need to read the file.
>
2.The only better way I can think of is not having to do it, but I assume you have a very good reason to want to do this.
Yes, I have to do it beacuse the requirement is to have that file content be part of logging.
Any idea?How is it supposed to be part of it? For example which of the following is better?
File AAA - contents
First Line
Second Line XXX
Log 1
2009-03-27 DEBUG: Random preceding line
2009-03-27 DEBUG: First Line
2009-03-27 DEBUG: Second Line XXX
2009-03-27 DEBUG: Random following line
Log 2
2009-03-27 DEBUG: Random preceding line
2009-03-27 DEBUG: ----- File: AAA -------------
First Line
Second Line XXX
2009-03-27 DEBUG: Random following lineBoth of the above have some advantages and disadvantages.
The first in a mult-threaded app can end up with intermittent log entries in between lines, so having log lines with thread ids becomes important.
The first can be created by reading one line at a time and posting one at a time.
The second can be created by reading the entire file as a single string and then posting using a single log statement. -
How to capture content activity log from DMP?
Hi There,
I try to implement content activity log from DMP. The information that I want to get are DMP IP, Conent File Name (video or jpg file), open date/time. The only way that I can do is sending http command direct to DMP (http.file via port 7777).
Is it possible to implement Syslog server to get those information from DMP?
Thank you
PanyaHi Panya,
There is a feature called "Proof Of Play" which was created exactly to track what the DMPs are playing, you can find the documentation at the following link:
http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_2/dmm/user/guide/signs/proof.html
Is this what you are looking for?
Best Regards,
Marco -
SharePoint Content Database Log Truncation
Upon searching the web I found that DPM 2010 does not truncate the SQL log when it does the express full. Logs are truncated only when someone does a incremental (log backup)
Now For sharepoint content db, DPM does not do SQL transaction log incremental backup right?
So how are the content db logs truncated?
My recovery type is Full (we use mirroring). Should I backup the databases manually for the log truncation to occur?They way this works is that DPM will back up the content database, and then back up the ldf file associated with it. You will see entries in the application event log corresponding to each action. The important ones to note will be:
Log Name: Application
Source: MSSQL$MIRRORA
Date: 4/28/2015 7:53:17 PM
Event ID: 18264
Task Category: Backup
Level: Information
Computer: CButchSQL1.domain.com
Description:
Database backed up. Database: WSS_Content_number4, creation date(time): 2015/04/24(19:20:20), pages dumped: 2282, first LSN: 173:445:49, last LSN: 173:465:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE:
{'{72BA7E1C-DB2D-4C40-B4A1-BDAF62B6E213}1'}). This is an informational message only. No user action is required.
This one of course indicates your content database was backed up. After that, you should see:
Log Name: Application
Source: MSSQL$MIRRORA
Date: 4/28/2015 7:53:25 PM
Event ID: 18265
Task Category: Backup
Level: Information
Computer: CButchSQL1.domain.com
Description:
Log was backed up. Database: WSS_Content_number4, creation date(time): 2015/04/24(19:20:20), first LSN: 173:163:1, last LSN: 173:472:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'C:\Program Files\Microsoft
SQL Server\MSSQL10_50.MIRRORA\MSSQL\DATA\DPM_SQL_PROTECT\CBUTCHSQL1\MIRRORA\WSS_Content_number4_log.LDF\TempLog\TempLog.log'}). This is an informational message only. No user action is required.
DPM essentially does a temporary backup of the log to the temp location listed and immediately deletes it. Once the log file is backed up for a database in full recovery mode, SQL will then truncate the log automatically for you. If you see the
18265 event and the db is in full recovery mode, then SQL is failing somehow to truncate and should be investigated. If you see 18264 but then no 18265, then you should check to be sure this isn't DPM R2 UR5 protecting SP with SQL Always On backend as
we are investigating an issue where DPM is not properly backing up the log files. Right now, you can manually truncate those log files until a fix is created.
Thanks, Chris Butcher - MSFT This posting is provided "AS IS" with no warranties, and confers no rights -
Standard User Analyzer - Microsoft Compatibility Toolkit 5.6 - No (valid) log Error
Information:
Test machine running Windows 7 Professional 64 bit.
Machine is bound to an Active Directory domain
Logged in as a standard user.
I am testing some applications for compatibility in my company on this machine. I am currently trying to utilize the "Standard User Analyzer" tool to determine the shims I need to apply to make these applications work successfully.
Here's what happens:
-I launch Standard User Analyzer
-I "Browse" to "c:\programs\app.exe" (we have the applications housed in this folder instead of Program Files)
-I uncheck the "Elevate" option, and launch the application.
-I complete some operations within the application to allow the Standard User Analyzer to determine the best course of action.
-I exit the application.
-I receive the error:
Standard User Analyzer
Failed to load log file C:\Users\rryan\AppData\Local\Temp\sua :
No (valid) log file is found.
OK
After clicking okay, nothing happens. It does not provide me with any mitigation suggestions.
Once my account is verified, I can post a screenshot of the error.
I would appreciate any assistance you can provide so that I can utilize this application.
Thank you.Tried that. That did not work, either. This seems to be a common problem with people, which has yet to be resolved.
Plus, using the administrator account is NOT a solution. This is the "Standard User Analyzer." If I am running it as an administrator account, it defeats the purpose of the tool.
The instructions for the tool even state that using it with the administrator option is not best practice.
I'm also not sure why you would direct me to a "test" scenario thinking that would resolve my issue. It doesn't even come close. I used that page months ago when I was learning how to use this. Not an appropriate answer at this
point.
An actual resolution would be greatly appreciated. -
Does content validation happen at all during the distribution process? I know it occurs when it is scheduled on a DP and it can be triggered manually from a DP. Just not sure if it occurs any other times.
--TonyDo you know off the top of your head if the validation occurs when a package is distributed to a DP? I can always monitor the DP to see if that task kicks off during a distribution. I came across
this which is pretty helpful too! -
ERROR OGG-00446 No valid log files for current redo sequence 142
2011-02-03 14:26:41 ERROR OGG-00446 No valid log files for current redo sequence 142,
thread 1, error retrieving redo file name for sequence 142, archived =0,
use_alternate = 0Not able to establish initial position for begin time 2011-02-03 14:25:17.
Is this an error finding the redo logs or is this an error finding the archive redo logs.Yes. It depends - is that sequence number in the current log group, or is it in an archived redo log?
-
Does Oracle XML Parser support Content Validation
Hi there,
Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
Any suggestion would be greatly appreciated. Thanks.
---Denali
nullHi there,
Could someone out there give me a hint on whether the Oracle XML Parser has the capability of handling Content Validation? If yes, what's the mechanism behind it?
From my understanding of the Oracle XML Parser, even with the validating mode turned on, the parser only validates the XML data against the DTD (if any), which involves checking whether or not the attribute names and element tags are legal, whether nested elements belong to where they are, and so on. But I dont see any Content Validation. And my guess is that this feature, namely Content Validation, is simply not supported in the current version of the Oracle XML Parser. Am I right?
Any suggestion would be greatly appreciated. Thanks.
---Denali
null -
In attempting to add standard DTS logging to a package via Data Tools, I found that my attempt to execute:
Dim provider As LogProvider = p.LogProviders.Add("DTS.LogProviderTextFile.2")
(or any other log provider type,) resulted in:
The log provider type "DTS.LogProviderTextFile.2, {0A039101-ACC1-4E06-943F-279948323883}" specified for log provider "{CC5CB9A4-E0D5-4ECD-8F4E-1E8FB9BDE8A6}" is not recognized as a valid log provider type. This error occurs when an
attempt is made to create a log provider for unknown log provider type. Verify the spelling in the log provider type name.
I created a new package with a single script task using only the example code from the MS documentation for Embedding Logging Programmatically at:
http://msdn.microsoft.com/en-us/library/ms136023(v=sql.110).aspx
consisting of:
Imports Microsoft.SqlServer.Dts.Runtime
Module Module1
Sub Main()
Dim p As Package = New Package()
Dim loggingConnection As ConnectionManager = p.Connections.Add("FILE")
loggingConnection.ConnectionString = "C:\SSISPackageLog.txt"
Dim provider As LogProvider = p.LogProviders.Add("DTS.LogProviderTextFile.2")
provider.ConfigString = loggingConnection.Name
p.LoggingOptions.SelectedLogProviders.Add(provider)
p.LoggingOptions.EventFilterKind = DTSEventFilterKind.Inclusion
p.LoggingOptions.EventFilter = New String() {"OnPreExecute", _
"OnPostExecute", "OnError", "OnWarning", "OnInformation"}
p.LoggingMode = DTSLoggingMode.Enabled
' Add tasks and other objects to the package.
End Sub
End Module
I get the same error as listed above in SQL Server 2012 Data Tools on three separate machines. On my primary dev box, where the code fails in Data Tools, running the exact same code in BIDS runs without problems.
Importing the working BIDS package into Data Tools also fails with the same error.
I have not encountered any other 2012 Data Tools issues, but logging is a core pattern that makes me worry that this is a problem that may emerge with other functions in the DTS toolset.
Thanks for any help!!Arthur,
Great idea, I verified that the Integration Services for 2012 was not installed. I installed the new SSIS service and verified that SQL Server Integration Services 11.0 was running (previously only 10.0 was running.)
Initially, I experienced an error message trying to run my simple script above:
Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0,...
I followed the steps at the MS link for Could not load file or assembly ‘Microsoft.VisualStudio.Tools.Applications.Core’
and loaded the missing x64 runtime from edist/VSTA/runtime/x64/VSTA_RT30.msi
on the distribution media as recomended.
The script ran, but returned the error listed in the beginning of this message. I then tried:
- turning off the 10.0 service
- setting the project's Run64BitRunTime value both false and true
- changing the reference to Microsoft.SqlServer.ManagedDTS.dll from C:\Program Files (x86)\Microsoft SQL Server\110\SDK\Assemblies to C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91
all of these resulted in the same failure.
Thank you for the suggestion, I really thought it would be on target. Alas, it wasn't the fix.
It is so weird that all the other stuff I'm doing (a very elaborate programmatic package generator doing some tricky stuff,) works fine and only this super basic logging fails!!!!
Thanks again,
--Tim -
SCCM2012 Content Validation Failing - SMSPKGSIG
Hi all,
We have a main site server, and 15 distribution points. We recently had to move the distribution shares using ContentLibraryTransfer.exe on three DPs due to space requirements. Since then we've had issues getting content to the three DPs. I've been through
a few steps troubleshooting so far, it appears that it's an issue with the signature files. Content will 'successfully' transfer, and then fail when it's validated.
distmgr.log contains the following;
RDC:Failed to copy package content signature file \\?\K:\SMSPKGSIG\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar to \\SCCMPRI01.wakefield.gov.uk\SMSSIG$\Content_e517d975-b5f0-4a53-8ba1-80c0be72ccb3.1.tar. Error 2
If you check the K:\SMSPKGSIG folder it doesn't contain that .tar file, indeed the only .tar files that have been generated since the contentlibrarytransfer.exe process are for our antivirus definitions. I've checked security on the SMSPKGSIG file and it matches
that of our Dev site, which works fine. There are also no relevant .tar files in the \SMSSIG$ folder that have been created since the transfer.
So far we've;
Recreated the Distribution point site role on the primary server
Updated the AV rules to cover the newly created Distribution Point file shares
Attempted to update and redistribute affected packages
Any advice from here would be gratefully received!Here's a similar thread. Maybe it could help you.
http://social.technet.microsoft.com/Forums/systemcenter/en-US/afc4b35b-5d06-4188-a79c-e06ed682ecfe/failed-to-get-rdc-signature?forum=configmgrswdist
Benoit Lecours | Blog: System Center Dudes -
Reg:printing contents to log file
Hello all iam creating a debug log file for my program.. debug will be based on the level set which will be taken as a input from the user ..when i try to print the contents to a file gen.out i could not print anything ..file is empty..can some one pls help me ..there is no error thrown by the program
// my main propram
public class ff {
public static void main(String[] args) {
PrintStream out = System.out;
int dbgLevel = Integer.parseInt(args[1]);
String path ="gen.out";
debug.setLevel(dbgLevel);
try {
debug.setLogFile(path);
catch(Exception e1) {
e1.printStackTrace();
debug.msg(0, "Printing contents to a file ");
if (Debug.allowed(0)) {
Debug.msg(0, "1.printing th econtents );
//debug class
public class debug {
private static int ourLevel = 0;
private static FileWriter c_writer;
private static final String k_nl = System.getProperty("line.separator");
public static void msg(int reqLevel, String debugMessage) {
if (reqLevel <= ourLevel) {
String s = "DBG(" + reqLevel + ") " + getTS() + " " + debugMessage + k_nl;
if (c_writer == null) {
System.out.println("writer is null "+c_writer.toString());
System.err.println(s);
System.err.flush();
else {
System.out.println("writer is not null "+c_writer.toString());
try {
c_writer.write(s);
catch (IOException e) {
e.printStackTrace();
} // if (c_writer...) else ...
} // if (reqLevel...
} // msg()
public static void setLogFile(String path) throws IOException {
c_writer = new FileWriter(path);
public static void setLevel(int l) {
ourLevel = l;
public static boolean allowed(int reqLevel) {
return reqLevel <= ourLevel;
file is getting created but its empty ..wat am i doing wrong here .?thanks mkoryak got it i was flushing a wrong stream
thanks for the help -
Content server log showing exception in stream
Hi all,
I am connecting to ecm with the follwoing cod eand error
on transfere stream is ocurring
after connection was paralyesd for about 4 minutes then
ecxeption occure then server log shows
a service exception
the follwoing is the used code
PLZ HELP ME
* Copyright (c) 1997-2001 IntraNet Solutions, Incorporated. All rights reserved.
* Copyright (c) 2001-2007 Stellent, Incorporated. All rights reserved.
package com.stellent.cis.sdk.samples.checkin;
import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Date;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import com.stellent.cis.client.command.CommandException;
import com.stellent.cis.client.io.ICISTransferStream;
import com.stellent.cis.client.api.scs.ISCSContent;
import com.stellent.cis.client.api.scs.ISCSContentID;
import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinAPI;
import com.stellent.cis.client.api.scs.document.checkin.ISCSCheckinFlags;
import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinResponse;
import com.twainconnect.sample.UCPMClient1;
import java.io.FileInputStream;
import java.io.InputStream;
* This class shows how to check in a file into the content server. This takes a bunch of command line switches most of which is
* optional. If some required values are not given, it creates random values for them.
* -file : the absolute path to the file which is to be checked in (required)
* -contentid : the content id of the document (auto generated)
* -title : the title of the document (auto generated)
* -type : the type of the document (defaults to ADACCT)
* -securitygroup : the security group (defaults to Public)
public class CheckinFile extends UCPMClient1 {
// The path to the primary file of the document
private String primaryFile = null;
// The content id of the document
private String contentId = null;
// The title of the document
private String title = null;
// the type of the document
private String type = null;
// the security group of the document
private String securityGroup = null;
// The check in api from the cis
private ISCSDocumentCheckinAPI api = null;
public static void main(String[] args) {
CheckinFile checkin = new CheckinFile();
checkin.initialize(args);
try {
checkin.connect();
checkin.execute();
} catch (CommandException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
System.exit(0);
* Executes the services to perform a content server check in.
protected void execute() throws RemoteException, CommandException {
// Get the Document check in api from the active api.
api = getClient().getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
// Perform a check in of the file with the values provided. The check in flags is generated in the method
// getCheckinFlags(). Also see getActiveContent(), getActiveContentId()
try {
ICISTransferStream transferStream = getClient().getUCPMAPI().createTransferStream();
transferStream.setFile(new File("D:\\ddd.doc"));
System.out.println("read b4 get === "+transferStream.getInputStream().read());
// InputStream inputStreamxx = new FileInputStream( );//transferStream.getInputStream();
// FileInputStream inputStreamxx = new FileInputStream(new File("D:\\ddd.doc"));
// transferStream.setInputStream(inputStreamxx);
// System.out.println("after setting "+transferStream.getInputStream().read());
// byte[] input = new byte[25];
// for (int i = 0; i < input.length; i++) {
// int b = transferStream.getInputStream().read(input);
// if (b == -1)
// break;
// input[i] = (byte)b;
// System.out.println("\n---------\n"+input.length);
// System.out.println("Whole legnth= "+transferStream.getInputStream().read(input));
// System.out.println(inputStream .read());
// System.out.println(getPrimaryFile());
// transferStream.setFileName("mmm");
// transferStream.setContentType("text/plain");
// transferStream.setContentLength(5);
ISCSDocumentCheckinResponse result =
api.checkinFileStream(getSCSContext(), getActiveContent(),
transferStream);
//getSCSContext().setCrendentials();
// The message from the content server , if any
String message = result.getMessage();
// Print a status message to the console
print("Checked in the file [" + getPrimaryFile() +
"] with content id " + getContentId() + ". Message:" +
message);
} catch (FileNotFoundException exp) {
throw new CommandException(exp);
} catch (IOException exp) {
throw new CommandException(exp);
} catch (Exception exp) {
exp.printStackTrace();
* This creates a new SCSCheckinFlags object which can be used to define the check-in properties.
* @return new SCSCheckinFlags object
* @throws RemoteException
* @throws com.stellent.cis.client.command.CommandException
protected ISCSCheckinFlags getCheckinFlags() throws RemoteException,
CommandException {
log.fine("Entering getCheckinFlags");
ISCSCheckinFlags checkinFlags =
(ISCSCheckinFlags)getClient().getUCPMAPI().createObject(ISCSCheckinFlags.class);
// Specify that the file should be copied, and not be deleted after the check in.
checkinFlags.setFileCopy(true);
// Specify this to true if this is a workflow step checkin.
checkinFlags.setFinished(false);
return checkinFlags;
* Creates a new SCSContent object where all the document specific properties and meta-data values can be set for the
* check-in process.
* @return new SCSContent object with the properties set
* @throws RemoteException
* @throws com.stellent.cis.client.command.CommandException
protected ISCSContent getActiveContent() throws RemoteException,
CommandException {
// Create a new content object for the executing context
ISCSContent activeContent =
(ISCSContent)getClient().getUCPMAPI().createObject(ISCSContent.class);
ISCSContentID contentID =
(ISCSContentID)getClient().getUCPMAPI().createObject(ISCSContentID.class);
contentID.setContentID(getContentId());
activeContent.setContentID(contentID);
// Set the Title of the document
activeContent.setTitle(getTitle());
// set the type of the document
activeContent.setType(getType());
// set the security group of the document
activeContent.setSecurityGroup(getSecurityGroup());
return activeContent;
* Override the initialize method to read in more document specific values from the command line.
protected void initialize(String[] args) {
log.fine("Entering initialize");
super.initialize(args);
// Provide a default value for the fields so that we don't have to enter it always. ;-)
// Date is random enough for us.
Date now = new Date();
setPrimaryFile(readArgsAsString("-file", args, null));
setTitle(readArgsAsString("-title", args,
"Title By SDK " + now.getTime()));
setContentId(readArgsAsString("-contentid", args,
now.getTime() + "Content-Id-SDK"));
setType(readArgsAsString("-type", args, "ADACCT"));
setSecurityGroup(readArgsAsString("-securitygroup", args, "Public"));
// Getters and setters for the variables
public String getPrimaryFile() {
primaryFile = "D:\\w.txt";
return primaryFile;
public void setPrimaryFile(String primaryFile) {
this.primaryFile = primaryFile;
public String getContentId() {
return contentId;
public void setContentId(String contentId) {
this.contentId = contentId;
public String getTitle() {
return title;
public void setTitle(String title) {
this.title = title;
public String getSecurityGroup() {
return securityGroup;
public void setSecurityGroup(String securityGroup) {
this.securityGroup = securityGroup;
public String getType() {
return type;
public void setType(String type) {
this.type = type;
Edited by: user7326470 on Oct 17, 2009 2:52 AM<?xml version="1.0" encoding="windows-1256" ?>
<config>
<adapter default="true" name="myadapter" type="scs">
<config>
<property name="type">web</property>
<property name="vaultType">web</property>
<property
name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
y>
<property name="port">4444</property>
<property
name="contentServerAdminID">sysadmin</property>
<property
name="contentServerAdminPassword">idc</property>
<property
name="eventPollingEnabled">true</property>
<property
name="persistentConnection">true</property>
<property name="cacheEnabled">true</property>
<property
name="connectionTimeout">9999999999999999999999999999999
9999999999999999999999999999999999999999999999999999</pr
operty>
<property
name="contentServerMappedVault"></property>
<property name="appserverMappedVault"></property>
</config>
<beans template="classpath:/META-
INF/resources/adapter/adapter-services-scs.jxml"/>
</adapter>
<adapter name="checkin" type="scs">
<config>
<property name="type">web</property>
<property
name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
y>
<property name="port">4444</property>
<property
name="contentServerAdminID">sysadmin</property>
<property
name="contentServerAdminPassword">idc</property>
<property
name="eventPollingEnabled">true</property>
<property
name="persistentConnection">false</property>
<property name="cacheEnabled">true</property>
<property
name="connectionTimeout">9999999999999999999999999999</p
roperty>
<property
name="contentServerMappedVault"></property>
<property name="appserverMappedVault"></property>
</config>
<beans template="classpath:/META-
INF/resources/adapter/adapter-services-scs.jxml"/>
</adapter>
</config>
the JDeveloper exception is as foolows
[2009-10-17 11:24:10,749] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - No password credentials supplied for background
polling thread but adapter config 'myadapter' is set to
type web which requires authentication will attempt to
poll with no credentials
[2009-10-17 11:24:10,811] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - Error in content server event poller
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 401
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.administrative.query.imp
l.SCSAdministrativeQueryAPI.queryDocumentHistory
(SCSAdministrativeQueryAPI.java:76)
at
com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
401
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 6 more
Caused by:
com.stellent.cis.common.exception.HttpException: 401
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 19 more
[2009-10-17 11:29:10,847] [SCS EventPoller [myadapter]]
WARN
(com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
er) - Error in content server event poller
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 401
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.administrative.query.imp
l.SCSAdministrativeQueryAPI.queryDocumentHistory
(SCSAdministrativeQueryAPI.java:76)
at
com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
401
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 6 more
Caused by:
com.stellent.cis.common.exception.HttpException: 401
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 19 more
com.stellent.cis.client.command.CommandException: Error
reading the response from the Content Server: 500
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:338)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.execute
(SCSCommand.java:222)
at
com.stellent.cis.client.command.impl.services.CommandExe
cutorService.executeCommand
(CommandExecutorService.java:57)
at
com.stellent.cis.client.command.impl.CommandFacade.execu
teCommand(CommandFacade.java:158)
at
com.stellent.cis.client.command.impl.BaseCommandAPI.invo
keCommand(BaseCommandAPI.java:84)
at
com.stellent.cis.client.api.scs.document.checkin.impl.SC
SDocumentCheckinAPI.checkinFileStream
(SCSDocumentCheckinAPI.java:663)
at
com.stellent.cis.sdk.samples.checkin.CheckinFile.execute
(CheckinFile.java:118)
at
com.stellent.cis.sdk.samples.checkin.CheckinFile.main
(CheckinFile.java:71)
Caused by:
com.stellent.cis.server.api.scs.request.SCSRequestExcept
ion: Error reading the response from the Content Server:
500
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:156)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.processRequest(SCSRequestProcessor.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:61)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedPublishFilter.handleRequest
(SCSOptimizedPublishFilter.java:128)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.stream.SCSOptimi
zedRetrieveFilter.handleRequest
(SCSOptimizedRetrieveFilter.java:250)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
rviceCacheFilter.handleRequest
(SCSServiceCacheFilter.java:112)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestF
ilterChain.doRequestFilter
(SCSRequestFilterChain.java:58)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestE
xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
iaProxy(SCSCommand.java:353)
at
com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
equest(SCSCommand.java:335)
... 7 more
Caused by:
com.stellent.cis.common.exception.HttpException: 500
at
com.stellent.cis.server.api.scs.protocol.impl.httpclient
.HdaViaHttpProtocol.writeMessage
(HdaViaHttpProtocol.java:171)
at
com.stellent.cis.server.api.scs.request.impl.SCSRequestP
rocessor.sendRequest(SCSRequestProcessor.java:148)
... 20 more
Process exited with exit code 0.
the server exception in log of content server is as
follows
Event generated by user 'anonymous' at host
'192.168.0.104'. Stream terminated before being able to
read HTTP protocol line. Stream terminated before being
able to read HTTP protocol line. [ Details ]
An error has occurred. The stack trace below shows more
information.
!csUserEventMessage,anonymous,192.168.0.104!$!
syStreamTerminatedBeforeProtocol!
syStreamTerminatedBeforeProtocol
intradoc.common.ServiceException: !
syStreamTerminatedBeforeProtocol
at
intradoc.server.ServiceRequestImplementor.doRequest
(ServiceRequestImplementor.java:628)
at intradoc.server.Service.doRequest
(Service.java:1709)
at
intradoc.server.ServiceManager.processCommand
(ServiceManager.java:357)
at intradoc.server.IdcServerThread.run
(IdcServerThread.java:195)
Caused by: java.io.IOException: !
syStreamTerminatedBeforeProtocol
at
intradoc.serialize.DataBinderSerializer.readStreamLineBy
teEx(DataBinderSerializer.java:1588)
at
intradoc.serialize.DataBinderSerializer.readStreamLineEx
(DataBinderSerializer.java:1556)
at
intradoc.serialize.DataBinderSerializer.readLineEx
(DataBinderSerializer.java:1528)
at
intradoc.serialize.DataBinderSerializer.parseForData
(DataBinderSerializer.java:1336)
at
intradoc.serialize.DataBinderSerializer.parseMultiConten
t(DataBinderSerializer.java:1283)
at
intradoc.serialize.DataBinderSerializer.continueParse
(DataBinderSerializer.java:1244)
at
intradoc.data.DataSerializeUtils.continueParse
(DataSerializeUtils.java:138)
at intradoc.server.Service.continueParse
(Service.java:415)
at
intradoc.server.ServiceRequestImplementor.doRequest
(ServiceRequestImplementor.java:620)
... 3 more -
Content validation before uploading file
Hi,
We want to do some validations before uploading an excel file to OBIEE :
1 - check the file extension
2 - do some data validation on the content of the excel file.
I succed in doing the first step by adding some javascript customization to OBIEE javascript files. However, i cant do the second step with javascript, because i need to read the excel file content and make connection to a database to perform the validation.
Is there any way, to do the validation in server side so that i can read the excel file and make the database connection with a java code.
Thanks.Hi,
Actualy, users produces some informations about production. These informations are in excel files because there is no application for this business area. Also they want, throw OBIEE 11g portal, to upload their files them selves, have a validation workflow of the file in obiee, and then automatically copy excel files content in a oracle tables and create some reports on these tables.
I dont know if these needs are possible in the obiee 11g platform, so i start doing a prototype. Now, i'am in the first step of uploading the excel file into a folder in the obiee catalog. However during the upload a file a need to do some technical validations (null values, numeric values, ...) and check if the value of a specific column exists in a table on an other database.
Therefor, the xls file is not a variable it's uploaded every time a user wants it. The production environnement of obiee 11g is AIX, however for the prototype, i will user an environnement on windows.
Thanks.
Maybe you are looking for
-
How to find out what access a group has
Hello. I inherited a portal that has a lot of groups & some of which do not appear to be in use from what I can see. I would like to get rid of these groups if they are no longer viable. So, I would like to know if there are any api's that I could us
-
Dynamic lookup using flex?
Hi Folks - You know when you are typing a string in a search engine and as you type, options that match what you've typed so far appear in a box below the input field? I'm trying to recreate that kind of funtionality using flash/flex. Ideally, a ke
-
hi, question regarding back ground scheduling, one program consists of a selection screen having some input field and program calling SMARTFORMS in the program. When I shedule it in back ground I am not seeing output in the spool, and job is not comp
-
Change default language at site creation?
Hi, I have a SharePoint farm consisting of three site collections. All of these have been created with English language. A Norwegian language pack has been installed. Is there any way to change the default language when a new site is created? More sp
-
Trying to watch Disney Jr. Getting error 400-1. ***?
Trying to watch Disney Jr. Getting error 400-1. ***?