Object ISIP not modifiable in QA
Hi All,
As all of you may know in spite of the fact that the system has been closed (SCC4) and also whether the system change option is set to not modifiable (SE06) it is possible however to allow certain objects to be changed. In this case I am trying to allow changes to any infopackage. In order to perform this action I have set up the object type ISIP --> InfoPackage as "changeable original" through the object changeability of the transport connection.
However, I still having problems while trying to change my existing infopackages. I am still receiving the following message:
"The system and namespace change option set for this SAP System does not allow any changes to be made to object ISIP"
Did anyone have this problem before?
Thanks,
José.-
Hi All,
Just wanted to share with you the solution that I've found to this problem. Indeed the problem was related to a bug it seems to exist in some versions whereby using the button "switch changeability" does not work (it shows like it has changed but it does not). Instead of this button, better right click on the column and choose the corresponding option.
It worked, so I will close this post.
Thanks anyway,
José.-
Similar Messages
-
Authorization Object is not working when report is modified.
Hi BW Guru's
We have Company Code as Authorization Object .and we have 3 company Codes (xxxx,yyyy,zzzz).where the users under Company code xxxx are not supposed to view company code yyyy,zzzz data etc.
I modified an existing Report and transported to production.But the Authorization Object is not working for that report.The Report is defaultly displaying all the company codes data(xxxx,yyyy) for all the users.But for the other reports its(company code ) is working fine.
What could be the problem?Is theproblem in transporting the objects.But i transported all the objects inluding auhorization object.
Please send me the solution as it is very much urgent.
The solution will be def. awarded with full points.
Regards
Sanjayhi Sanjay,
please don't post the same question again, check and response back from your previous thread
Re: Authorization Object is not working when report is Modified.
hope this helps.
would be nice if you reward for helpful answers to all of your previous postings, e.g
docs related to RRI -
Object Reference Not Set To An Instance Of An Object - Outlook Add-In - Add-In Express
Hi,
My Add-In has been developed in VS2010 using the Add-In Express pack.
Its a very simple add-in that shows an IT support ticket email detailing PC information. To use it, following installing the add-in, the user must select the tab in outlook and click on the Send IT Support Email button which will generate an Outlook Email
Template with specific information about the PC that I pull using VB.
It works fine in Windows 7 & 8, but throws an 'Object Reference Not Set To An Instance Of An Object' exception in Windows XP. Screenshot is shown below:
The code is below
Imports System.Runtime.InteropServices
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms
Imports AddinExpress.MSO
Imports System.Object
Imports System.Net
Imports System.Environment
Imports System.Net.NetworkInformation
Imports System.Windows.Forms.Application
Imports Microsoft.Office.Interop.Outlook
Imports outlook = Microsoft.Office.Interop.Outlook
'Add-in Express Add-in Module
<GuidAttribute("735B7BC8-DD2F-44D8-BC37-30D86769C065"), ProgIdAttribute("$safeprojectname$.AddinModule")> _
Public Class AddinModule
Inherits AddinExpress.MSO.ADXAddinModule
#Region " Add-in Express automatic code "
'Required by Add-in Express - do not modify
'the methods within this region
Public Overrides Function GetContainer() As System.ComponentModel.IContainer
If components Is Nothing Then
components = New System.ComponentModel.Container
End If
GetContainer = components
End Function
<ComRegisterFunctionAttribute()> _
Public Shared Sub AddinRegister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXRegister(t)
End Sub
<ComUnregisterFunctionAttribute()> _
Public Shared Sub AddinUnregister(ByVal t As Type)
AddinExpress.MSO.ADXAddinModule.ADXUnregister(t)
End Sub
Public Overrides Sub UninstallControls()
MyBase.UninstallControls()
End Sub
#End Region
Public Shared Shadows ReadOnly Property CurrentInstance() As AddinModule
Get
Return CType(AddinExpress.MSO.ADXAddinModule.CurrentInstance, AddinModule)
End Get
End Property
Private Sub AddInModule_AddInInitiatize(ByVal sender As Object, ByVal e As EventArgs) _
Handles MyBase.AddinInitialize
'Outlook 2010 = 14
If Me.HostMajorVersion >= 14 Then
AdxOlExplorerCommandBar1.UseForRibbon = False
End If
End Sub
Public ReadOnly Property OutlookApp() As Outlook._Application
Get
Return CType(HostApplication, Outlook._Application)
End Get
End Property
'Gets the MAC Address from the NIC Information
Function getMacAddress()
Dim nics() As NetworkInterface = _
NetworkInterface.GetAllNetworkInterfaces
Return nics(0).GetPhysicalAddress.ToString
End Function
Sub CreateTemplate()
Dim sHostName As String
Dim sDomain As String
Dim sUserName As String
Dim sOS As String
Dim s64 As String
Dim sMAC As String
Dim host As String = System.Net.Dns.GetHostName()
Dim LocalHostaddress As String = System.Net.Dns.GetHostEntry(host).AddressList(1).ToString()
Dim MyItem As Outlook.MailItem
'Finds the PC Number
sHostName = Environ$("computername")
'Finds the Domain
sDomain = Environ$("userdomain")
'Finds the Username logged into the PC
sUserName = (Environment.UserDomainName & "\" & Environment.UserName)
'Finds the Operating System
sOS = (My.Computer.Info.OSFullName)
'Shows the results collected from the getMacAddress Function in the sMac variable
sMAC = getMacAddress()
'Finds the Architecture of the Operating System - x86 or x64
If (Environment.Is64BitOperatingSystem) Then
s64 = ("64bit")
Else
s64 = ("32bit")
End If
'Creates a Template Email
MyItem = OutlookApp.CreateItem(Outlook.OlItemType.olMailItem)
'Configures the Sender as [email protected]
MyItem.To = "[email protected]"
'Shows the template
MyItem.Display()
'Shows all of the string in the Email Body
MyItem.HTMLBody = String.Concat("<b><u>IT SUPPORT TICKET</u></b>", "<br/><br/>", "<tr><b>PC Number: </b></tr>", sDomain, "\", sHostName, "<b></b>", "<br/><br/>", "<b>Username: </b>", sUserName, "<b></b>", "<br/><br/>", "<b>OS Version: </b>", sOS, s64, "<b></b>", "<br/><br/>", "<b>IP Address: </b>", LocalHostaddress, "<b></b>", "<br/><br/>", "<b>MAC Address: </b>", sMAC, "<b></b>", "<br/><br/>", "<b>Comment:</b>", "<br/>", "<i>Please give a brief description of your problem attaching a screen shot if possible</i>", "<br/><br/>") & MyItem.HTMLBody
End Sub
Private Sub AdxRibbonButton1_OnClick(ByVal sender As Object, ByVal control As IRibbonControl, ByVal pressed As Boolean) Handles AdxRibbonButton1.OnClick
'Runs CreateTemplate
CreateTemplate()
End Sub
Private Sub AdxCommandBarButton1_Click(ByVal sender As Object) Handles AdxCommandBarButton1.Click
'Runs CreateTemplate
CreateTemplate()
End Sub
End Class
I would appreciate any help with this whatsoever as I am pulling my hair out!!
Many Thanks!!
ChrisHi,
Welcome to MSDN forum.
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because your Add-in is developed using Add-in Express which is third-party, I suggest consulting Add-in Express forum:
http://www.add-in-express.com/forum/index.php for better support.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
First of all I would like to say I'm very disappointed with Cisco/Linksys support. I made 6 phone calls and spent about 3 hours on hold and being connected to someone else over the course of about two weeks. The Tech supportin this particular case was the worst I have ever experienced. Regarding the problem - make sure that you do not have any items in the start up such as Linksys EasyLink Advisor and in particular nmctxth unchecked. Also, check that your Anti-Virus does not have the app blocked. I was instructed to uninstall and reinstall about six different times - which I did. This never solved anything. Then I notice a program named "Pure Networks", this appears to be app associated with LELA. The best I could tell this does not get uninstalled and reinstalled like the rest of the program. So I chased the app down to Documents and Settings\All Users\Application Data\Pure Networks\Setup\PlatformSetupInstaller_0.msi . Executed this program which initiated an install program for the same and selected the REPAIR option from the three options (Repair\Modify\Uninstall). After about two or three minutes the program indicated the Repair had completed and the PC needed to be rebooted. Which I did and now the program (LELA) works with no issues. I think when you uninstall and reinstall the LELA program this never gets executed. So when you manually run the program it actually gets executed. I performed this Repair when the file: PlatformSetupInstaller_0.msi was selected and actually executed. The following error messages were indicated before the issue was resolved:
Error
MSG_100_000_003
Cannot find Platform service, make sure that the service is correctly installed on your machine.
Error
Object ref not set to an instance of an object.
Error
1628
These errors occured when various items were selected in LELA and after reboot on reinstall. And by the way LELA would be blank with no Network Map present. If you go through the log files under the Documents and Settings\All Users\Application Data\Pure Networks and C:\Documents and Settings\All Users\Application Data\Linksys\Lela, then search for the word fail, you will turn up these errors in bits and parts. The registry key: 4CDCB1A1-87EE-49AB-9A9F-E270FC5DB823 led me to the Pure Networks program or I might not have figured it all out.
All of these error messages are related to the log files in either folder indicated above.
I hope this helps everyone - again the support was pitiful and I really expected more.The Linksys Link Network Advisor (LELA) sometimes works, most of the times does not on our "House-PC"; we have to install the disk again when it gets stuck to make it work. Also, in order to make changes to our network, we can do it easily on its web site, but the LELA will not synchronize it sometimes; so we have to go again and put the disk in to re-install LELA and "synchronize" it; though in reality, it is as if we are installing LELA for the first time, everytime we want to make changes to our network, by the way, a real pain!! After reading the advice above, I also installed Sisco's (the Linksys parent company) Network Magic software and now all my computers in my network work seamessly, and perfectly well. I can even share my printers now!! Thanks for this advice; very helpful indeed.
a happy network administrator -
Crawler Help: Object reference not set to an instance of an object
I'm trying to write a custom crawler and having some difficulties. I'm getting the document information from a database. I'm trying to have the ClickThroughURL be a web URL and the IndexingURL be a UNC path to the file on a back-end file share. Also, I'm not using DocFetch. The problem I'm having is that when the crawler runs I get the following error for every card:
"4/19/05 13:43:30- (940) Aborted Card creation for document: TestDoc1. Import error: IDispatch error #19876 (0x80044fa4): [Error Importing Card.
Error writing Indexing File.
SOAP fault: faultcode='soap:Server' faultstring='Server was unable to process request. --> Object reference not set to an instance of an object.']"
Has anyone seen this before? Any help you can provide would be greatly appreciated. I have included the code from my document.vb in case that helps.
Thanks,
Jerry
DOCUMENT.VB
Imports System
Imports Plumtree.Remote.Util
Imports Plumtree.Remote.Crawler
Imports System.Resources
Imports System.Globalization
Imports System.Threading
Imports System.IO
Imports System.Data.SqlClient
Imports System.Text
Namespace Plumtree.Remote.CWS.MoFoDocsOpen
Public Class Document
Implements IDocument
Private m_logger As ICrawlerLog
Private DocumentLocation As String
Private d_DocumentNumber As Integer
Private d_Library As String
Private d_Name As String
Private d_Author As String
Private d_AuthorID As String
Private d_Category As String
Private d_ClientName As String
Private d_ClientNumber As String
Private d_DateCreated As DateTime
Private d_DocumentName As String
Private d_DocumentType As String
Private d_EnteredBy As String
Private d_EnteredByID As String
Private d_FolderID As String
Private d_KEFlag As String
Private d_LastEdit As DateTime
Private d_LastEditBy As String
Private d_LastEditByID As String
Private d_Maintainer As String
Private d_MaintainerID As String
Private d_MatterName As String
Private d_MatterNumber As String
Private d_Practice As String
Private d_Description As String
Private d_Version As Integer
Private d_Path As String
Private d_FileName As String
Public Sub New(ByVal provider As DocumentProvider, ByVal documentLocation As String, ByVal signature As String)
Dim location() As String = DocumentLocation.Split("||")
Me.DocumentLocation = DocumentLocation
Me.d_DocumentNumber = location(0)
Me.d_Library = location(2)
Dim objConn As New SqlConnection
Dim objCmd As New SqlCommand
Dim objRec As SqlDataReader
objConn.ConnectionString = "Server=sad2525;Database=PortalDocs;Uid=sa;Pwd=;"
objConn.Open()
objCmd.CommandText = "SELECT * FROM DocsOpenAggregate WHERE Library = '" & Me.d_Library & "' AND DocumentNumber = " & Me.d_DocumentNumber
objCmd.Connection = objConn
objRec = objCmd.ExecuteReader()
Do While objRec.Read() = True
Me.d_Name = objRec("Name")
Me.d_Author = objRec("Author")
Me.d_AuthorID = objRec("AuthorID")
Me.d_Category = objRec("Category")
Me.d_ClientName = objRec("ClientName")
Me.d_ClientNumber = objRec("ClientNumber")
Me.d_DateCreated = objRec("DateCreated")
Me.d_DocumentName = objRec("DocumentName")
Me.d_DocumentType = objRec("DocumentType")
Me.d_EnteredBy = objRec("EnteredBy")
Me.d_EnteredByID = objRec("EnteredByID")
Me.d_FolderID = objRec("FolderID")
Me.d_KEFlag = objRec("KEFlag")
Me.d_LastEdit = objRec("LastEdit")
Me.d_LastEditBy = objRec("LastEditBy")
Me.d_LastEditByID = objRec("LastEditByID")
Me.d_Maintainer = objRec("Maintainer")
Me.d_MaintainerID = objRec("MaintainerID")
Me.d_MatterName = objRec("MatterName")
Me.d_MatterNumber = objRec("MatterNumber")
Me.d_Practice = objRec("Practice")
Me.d_Description = objRec("Description")
Me.d_Version = objRec("Version")
Me.d_Path = objRec("Path")
Me.d_FileName = objRec("FileName")
Loop
objCmd = Nothing
If objRec.IsClosed = False Then objRec.Close()
objRec = Nothing
If objConn.State <> ConnectionState.Closed Then objConn.Close()
objConn = Nothing
End Sub
'If using DocFetch, this method returns a file path to the document in the backend repository.
Public Function GetDocument() As String Implements IDocument.GetDocument
m_logger.Log("Document.GetDocument called for " & Me.DocumentLocation)
Return Me.d_Path
End Function
'Returns the metadata information about this document.
Public Function GetMetaData(ByVal aFilter() As String) As DocumentMetaData Implements IDocument.GetMetaData
m_logger.Log("Document.GetMetaData called for " & DocumentLocation)
Dim DOnvp(23) As NamedValue
DOnvp(0) = New NamedValue("Author", Me.d_Author)
DOnvp(1) = New NamedValue("AuthorID", Me.d_AuthorID)
DOnvp(2) = New NamedValue("Category", Me.d_Category)
DOnvp(3) = New NamedValue("ClientName", Me.d_ClientName)
DOnvp(4) = New NamedValue("ClientNumber", Me.d_ClientNumber)
DOnvp(5) = New NamedValue("DateCreated", Me.d_DateCreated)
DOnvp(6) = New NamedValue("DocumentName", Me.d_DocumentName)
DOnvp(7) = New NamedValue("DocumentType", Me.d_DocumentType)
DOnvp(8) = New NamedValue("EnteredBy", Me.d_EnteredBy)
DOnvp(9) = New NamedValue("EnteredByID", Me.d_EnteredByID)
DOnvp(10) = New NamedValue("FolderID", Me.d_FolderID)
DOnvp(11) = New NamedValue("KEFlag", Me.d_KEFlag)
DOnvp(12) = New NamedValue("LastEdit", Me.d_LastEdit)
DOnvp(13) = New NamedValue("LastEditBy", Me.d_LastEditBy)
DOnvp(14) = New NamedValue("LastEditByID", Me.d_LastEditByID)
DOnvp(15) = New NamedValue("Maintainer", Me.d_Maintainer)
DOnvp(16) = New NamedValue("MaintainerID", Me.d_MaintainerID)
DOnvp(17) = New NamedValue("MatterName", Me.d_MatterName)
DOnvp(18) = New NamedValue("MatterNumber", Me.d_MatterNumber)
DOnvp(19) = New NamedValue("Practice", Me.d_Practice)
DOnvp(20) = New NamedValue("Description", Me.d_Description)
DOnvp(21) = New NamedValue("Version", Me.d_Version)
DOnvp(22) = New NamedValue("Path", Me.d_Path)
DOnvp(23) = New NamedValue("FileName", Me.d_FileName)
Dim metaData As New DocumentMetaData(DOnvp)
Dim strExt As String = Right(Me.d_FileName, Len(Me.d_FileName) - InStrRev(Me.d_FileName, "."))
Select Case LCase(strExt)
Case "xml"
metaData.ContentType = "text/xml"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "vsd"
metaData.ContentType = "application/vnd.visio"
metaData.ImageUUID = "{2CEEC472-7CF0-11d3-BB3A-00105ACE365C}"
Case "mpp"
metaData.ContentType = "application/vnd.ms-project"
metaData.ImageUUID = "{8D6D9F50-D512-11d3-8DB0-00C04FF44474}"
Case "pdf"
metaData.ContentType = "application/pdf"
metaData.ImageUUID = "{64FED895-D031-11D2-8909-006008168DE5}"
Case "doc"
metaData.ContentType = "application/msword"
metaData.ImageUUID = "{0C35DD71-6453-11D2-88C3-006008168DE5}"
Case "dot"
metaData.ContentType = "application/msword"
metaData.ImageUUID = "{0C35DD71-6453-11D2-88C3-006008168DE5}"
Case "rtf"
metaData.ContentType = "text/richtext"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "xls"
metaData.ContentType = "application/vnd.ms-excel"
metaData.ImageUUID = "{0C35DD72-6453-11D2-88C3-006008168DE5}"
Case "xlt"
metaData.ContentType = "application/vnd.ms-excel"
metaData.ImageUUID = "{0C35DD72-6453-11D2-88C3-006008168DE5}"
Case "pps"
metaData.ContentType = "application/vnd.ms-powerpoint"
metaData.ImageUUID = "{0C35DD73-6453-11D2-88C3-006008168DE5}"
Case "ppt"
metaData.ContentType = "application/vnd.ms-powerpoint"
metaData.ImageUUID = "{0C35DD73-6453-11D2-88C3-006008168DE5}"
Case "htm"
metaData.ContentType = "text/html"
metaData.ImageUUID = "{D2E2D5E0-84C9-11D2-A0C5-0060979C42D8}"
Case "html"
metaData.ContentType = "text/html"
metaData.ImageUUID = "{D2E2D5E0-84C9-11D2-A0C5-0060979C42D8}"
Case "asp"
metaData.ContentType = "text/plain"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "idq"
metaData.ContentType = "text/plain"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "txt"
metaData.ContentType = "text/plain"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "log"
metaData.ContentType = "text/plain"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case "sql"
metaData.ContentType = "text/plain"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
Case Else
metaData.ContentType = "application/octet-stream"
metaData.ImageUUID = "{F8F6B82F-53C6-11D2-88B7-006008168DE5}"
End Select
metaData.Name = Me.d_Name
metaData.Description = Me.d_Description
metaData.FileName = Me.d_FileName ' This is a file name - for example "2jd005_.DOC"
metaData.IndexingURL = Me.d_Path ' This is a file path - for example "\\fileserver01\docsd$\SF01\DOCS\MLS1\NONE\2jd005_.DOC"
metaData.ClickThroughURL = "http://mofoweb/docsopen.asp?Unique=" & HttpUtility.HtmlEncode(Me.DocumentLocation)
metaData.UseDocFetch = False
Return metaData
End Function
'Returns the signature or last-modified-date of this document that indicates to the portal whether the document needs refreshing.
Public Function GetDocumentSignature() As String Implements IDocument.GetDocumentSignature
Dim SigString As New StringBuilder
Dim SigEncode As String
SigString.Append(Me.d_DocumentNumber & "||")
SigString.Append(Me.d_Library & "||")
SigString.Append(Me.d_Name & "||")
SigString.Append(Me.d_Author & "||")
SigString.Append(Me.d_AuthorID & "||")
SigString.Append(Me.d_Category & "||")
SigString.Append(Me.d_ClientName & "||")
SigString.Append(Me.d_ClientNumber & "||")
SigString.Append(Me.d_DateCreated & "||")
SigString.Append(Me.d_DocumentName & "||")
SigString.Append(Me.d_DocumentType & "||")
SigString.Append(Me.d_EnteredBy & "||")
SigString.Append(Me.d_EnteredByID & "||")
SigString.Append(Me.d_FolderID & "||")
SigString.Append(Me.d_KEFlag & "||")
SigString.Append(Me.d_LastEdit & "||")
SigString.Append(Me.d_LastEditBy & "||")
SigString.Append(Me.d_LastEditByID & "||")
SigString.Append(Me.d_Maintainer & "||")
SigString.Append(Me.d_MaintainerID & "||")
SigString.Append(Me.d_MatterName & "||")
SigString.Append(Me.d_MatterNumber & "||")
SigString.Append(Me.d_Practice & "||")
SigString.Append(Me.d_Description & "||")
SigString.Append(Me.d_Version & "||")
SigString.Append(Me.d_Path & "||")
SigString.Append(Me.d_FileName & "||")
Dim encoding As New UTF8Encoding
Dim byteArray As Byte() = encoding.GetBytes(SigString.ToString())
SigEncode = System.Convert.ToBase64String(byteArray, 0, byteArray.Length)
Return SigEncode
End Function
'Returns an array of the users with access to this document.
Public Function GetUsers() As ACLEntry() Implements IDocument.GetUsers
'no acl info retrieved
Dim aclArray(-1) As ACLEntry
Return aclArray
End Function
'Returns an array of the groups with access to this document.
Public Function GetGroups() As ACLEntry() Implements IDocument.GetGroups
'no acl info retrieved
Dim aclArray(-1) As ACLEntry
Return aclArray
End Function
End Class
End Namespace1. I don't think you can just set the index url to a unc path.
2. Try creating an index aspx page. In your MetaData.IndexURL set it to the index aspx page, and include query string params for the encoded unc path as well as the content type.
3. In the index servlet, get the content type and path from the query string
4. Get the filename from the file path
5. Set the headers for content-type and Content-Disposition, e.g.
Response.ContentType="application/msword"
Response.AddHeader("Content-Disposition", "inline; filename'" + filename)
6. Stream out the file:
FileStream fs = new FileStream(path, FileMode.Open)
byte[] buffer = new byte[40000]
int result
System.IO.Stream output = Response.OutputStream
do
result = fs.Read(buffer, 0, 40000)
output.Write(buffer, 0, result)
while (result == 40000)
put the above in a try-catch, and then delete the temp file in the finally block.
If this does not help, set a breakpoint in the code to find the error. Also use Log4Net to log any errors. -
Object does not match target type when raising an event from c# to VB6
I have a c# .net DLL that I use from a VB6 app. It exposes an event,
and the VB6 app is sinking it.
The VB6 app is receiving the event, as long as it is raised from the
main thread of the .net DLL.
I have an aync task being handled inside the DLL (delegate BeginInvoke). Any
attempt to raise the event from within that thread casuses the reported
error, even from within the AsyncCallback function, when the thread is ending.
I noticed that the delegate for the event is not declared inside the
interface. It's in that module, but above the interface definition:
[ComVisible(false)]
public delegate void LoggingEventHandler( string logData );
The event is declared in the class itself as:
public class Processor : _Processor
public event LoggingEventHandler LogNotification;
Finally, to raise the event:
if ( this.Completed != null )
this.Completed( true );
If I open the tlb with OLEVIEW, I can see the public event just fine. Of course, I expected to, as it's working up until the helper thread kicks in.
Now for the REAL WIERD PART! This DOES work on several servers that have
been in production for months. It's just this one server that it won't work
on. Same code. Resinstalled/registered it 1,000 times. It took me a while to
find that an error was even occuring, since it was being raised in the
seperate thread. In other words, I'm receiving the event just fine on a series of servers. This is a new machine we're trying to bring online. I suspect it's environmental, but I can't figure it out.
I don't understand why the publisher would be expecting a certain type of
subscriber in the first place... unless the error is really triggered by the client when the event reaches it. I've put logging into the client, though, and the first line of code inside the event is not being executed.
For the VB6 app, I reference the tlb file that is automatically created when
I compile (Interop is checked). I unregistered and re-registered the tlb on
the server. I regasm'd the dll itself. All dlls are in the same folder - not
in the GAC.
The stack trace is as follows:
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags
invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32
culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
msgData)
at HPFS.Queue.IProcessorEvents.LogNotification(String logData))This is driving me nuts!
I sure would appreciate any suggestions.
I got this working on one of the two machines. The other machine had some other issues, so I had it re-imaged. It's been so long since I fixed the first one, that I can't remember exactly how I did it. Plus, I did so many things to it over two weeks, that I never really felt confident, anyway. But ... I could *swear* that the last thing I did back then to get this event to flow was to re-register the DLL's TLB.
So ... This is win 2k with FW 1.1 + SP1.
Completed is the delagate I'm trying to invoke.
this.Completed.Target.GetType().Name = "__comobject"
I've tried everything. Unregistered the .tlb. Unregistered the .net DLL. Verified that the app completely failed while unregistered. Created the TLB using RegAsm /tlb syntax.
I tried using CLR SPY. It registers nothing. It only lets me pick an EXE. This is a DLL tring to raise to an EXE.
I've looked at the TLB in OLE VIEW and I just don't know what I'm looking at.
Is there any other tool or technique I can use to audit/monitor/trap this? .net is giving me *** for details about what's failing. I wish I could somehow debug into exactly what it's trying to do and get more details on the failure.
Here's the error I'm getting:
(Code -1) Object does not match target type.<Source:mscorlib>(Stack: at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at HPFS.Queue.IProcessorEvents.Completed(Boolean success)
at HPFS.Queue.Processor.RequestDone())
Processor = the DLL I'm trying to raise the event from.
IProcessor = the event interface that's exposed through COM. -
Strange IE ExternalInterface Bug: "Object does not support this property or method"
We have an application on a relatively slow server (I mention
the speed because it may be relevant).
The app is flash 8 and uses ExternalInterface to call a
javascript function in its parent page. It also used the
ExternalInterface to receive a call from another function. These
calls happens separately (the outbound one calls up a list view of
items, clicking on an item calls up the details in the flash
movie). In between the calls, the flash movie is hidden by moving
it off screen using absolute positioning.
On my local development box (Windows XPSP2) this works fine
in both directions.
On our production server (LAMP) this works fine in both
directions in Firefox 1.5 and 2.0
BUT while the outbound call from Flash to the page works fine
in Internet Explorer 6 or 7, the call back from the page to the
flash movie fails with the error messgage "Object does not support
this method or property"
We've tried not hiding the flash so it is always present on
the page and still the browser > flash communication breaks in
ie.
We've tried using both the Adobe active content script and
swfobject to embed the flash in the page with no difference in the
resultset. In truth we've given up and gone to a two-page solution,
reloading the flash from the start each time but I wondered if
anyone had encountered a similar issue? Can't see why it would work
perfectly in FF but not in IE.Not sure if this is your problem, but you do reference the
Flash object
differently, depending on the browser. In a video player we
made, that uses
JS to communicate back to Flash, I use a function like this
to modify the
variable depending on the browser:
function changeVideo(xname){
//ff
if(window.vplayer){
window.document["vplayer"].SetVariable("theXML", xname);
window.document["vplayer"].GotoFrame(2);
window.document["vplayer"].Play();
//ie
if(document.vplayer){
document.vplayer.SetVariable("theXML", xname);
document.vplayer.GotoFrame(2);
document.vplayer.Play();
The Flash is in a <div> named 'vplayer'
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
HELP URGENT - Entity Object Substitution not working as advertised!!!!!
Hi All,
I have done an entity Object substitution and in order to rule out any coding errors on my part I have generated a fresh EO with no code changes in it and uploaded the files to java top and updated the MDS with the substitution.
The substitution is successful but I get the following error related to my substituted file:
oracle.apps.fnd.framework.OAException: oracle.jbo.AttrValException: JBO-27019: Get method for attribute "ItemNumber" in XxEgoMtlSystemItemsVLEOEx could not be resolved. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3241) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3036)
## Detail 0 ## java.lang.ClassCastException: oracle.jbo.server.EntityDefImpl incompatible with oracle.apps.fnd.framework.server.OAEntityDefImpl at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getDefinitionObject(EgoMtlSystemItemsVLEOImpl.java:562) at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getItemNumber(EgoMtlSystemItemsVLEOImpl.java:11324) at oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl.getAttrInvokeAccessor(EgoMtlSystemItemsVLEOImpl.java:6888)
I think the real error is Detail 0 line but I haven't seen this before. Could this be the wrong version of JDeveloper that I have used????? About this page showed 12.1.2 and I have downloaded the JDev for 12.1.2???????
Please help I need to sort this ASAP.
Thanks allI have covered everything in the above threads and followed the EO substitution scenario exactly as per area51.
I am now getting a different error on the EO substitution, when the page loads that creates a row in the EO the following error is displayed:
Error
1. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
2. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
3. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
4. Attribute set for InventoryItemId in view object EgoMtlSystemItemsVO failed
This is a caught error and thrown to the top of the page as opposed to a complete stack error which is what I was getting before? At first I thought this was due to the VO substitution I had done earlier as a test but I have deleted the substitution document for the VO sub and if I remove my EO substitution the page works fine so my EO substitution is causing the problem.
EO substitution was as follows:
<Substitutes>
<Substitute OldName ="oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEO" NewName ="xxsdg.oracle.apps.ego.item.eu.server.XxEgoMtlSystemItemsVLEOEx" />
</Substitutes>
Beginning of EO Code is as follows:
package xxsdg.oracle.apps.ego.item.eu.server;
import oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEOImpl;
import oracle.apps.fnd.framework.server.OAEntityDefImpl;
import oracle.jbo.AttributeList;
import oracle.jbo.domain.Date;
import oracle.jbo.domain.Number;
import oracle.jbo.domain.RowID;
import oracle.jbo.server.AttributeDefImpl;
import oracle.jbo.server.EntityDefImpl;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class XxEgoMtlSystemItemsVLEOExImpl extends EgoMtlSystemItemsVLEOImpl {
public static final int MAXATTRCONST = EntityDefImpl.getMaxAttrConst("oracle.apps.ego.item.eu.server.EgoMtlSystemItemsVLEO");
public static final int GLOBALATTRIBUTE11 = MAXATTRCONST;
public static final int GLOBALATTRIBUTE12 = MAXATTRCONST + 1;
public static final int GLOBALATTRIBUTE13 = MAXATTRCONST + 2;
public static final int GLOBALATTRIBUTE14 = MAXATTRCONST + 3;
public static final int GLOBALATTRIBUTE15 = MAXATTRCONST + 4;
public static final int GLOBALATTRIBUTE16 = MAXATTRCONST + 5;
public static final int GLOBALATTRIBUTE17 = MAXATTRCONST + 6;
public static final int GLOBALATTRIBUTE18 = MAXATTRCONST + 7;
public static final int GLOBALATTRIBUTE19 = MAXATTRCONST + 8;
public static final int GLOBALATTRIBUTE20 = MAXATTRCONST + 9;
public static final int ROWID = MAXATTRCONST + 10;
private static OAEntityDefImpl mDefinitionObject;
/**This is the default constructor (do not remove)
public XxEgoMtlSystemItemsVLEOExImpl() {
/**Retrieves the definition object for this instance class.
public static synchronized EntityDefImpl getDefinitionObject() {
if (mDefinitionObject == null) {
mDefinitionObject =
(OAEntityDefImpl)EntityDefImpl.findDefObject("xxsdg.oracle.apps.ego.item.eu.server.XxEgoMtlSystemItemsVLEOEx");
return mDefinitionObject;
/**Add attribute defaulting logic in this method.
public void create(AttributeList attributeList) {
super.create(attributeList);
.... -
OVR1 and SR10 not modifiable in production system.
Hi all,
We would like tcode OVR1 and SR10 to be executable in our production system.
We want to skip the change request needed to push the new entries from our development all the way to our production system. I want only to activated the possibility to create the OVR1, SR10, SR11 and SR12.
Here is the message we get when we try to create in our production system
Message no. TK430
Diagnosis
The system administrator has set your logon client to the 'not modifiable' status.
Client-specific objects can not be changed in this client.
System Response
The function terminates.
Procedure
Contact the system administrator.
For more information, see the SAP Library under Change and Transport System.
Regards!
CurtisTo All,
The OSS Note 812002 will deactivate the transport requirement.
There's a config in Solution Manager that must be set also.
When I get the full Solution I will post it here.
Regards!
Curtis -
Modifying 0VTC and 0VRF trasnactions when client is not modifiable
hi
we are uploading 0VTV and 0VRF transactions using a BDC logic. in development the change asks for a transport request. now when we moved into production the client settings in SCC4 are "client not modifiable" so we were not able to update the transactions.
how do i make my logic work without changing the SCC4 settings. i read about "current setting" in SPRO--> Define Routes and Stages->maint objects. i have done this setting for both 0VTC and 0vrf. just make sure that this will solve our problem we have made the development system SCC4 settings same as prod system ( client not modifiable). but still i am getting the client modifiable error. is there any other setting i need to do or any thing wrong with the way i did the "current setting" setting. please let me know.
thanksHi,
I have a client who has a requirement to use these transactions as master data in production too.
Could you please share the OSS Note/s that can achieve this?
Cheers,
Andrew. -
Problem: DTR workspace is not modifiable
Hi all,
I'm not able to edit projects anymore in NWDS.
When the popup appears for checkout it says that :
Checkout is not possible. See below for details.
The operation requires the writeability of the following Objects:
View com.xxxx.sap.xxx.xx.comp.bupa.view.BuPaFavorites
======>problem: DTR workspace is not modifiable
I'm quite sure I have the right authorizations on the NWDI as I've already been able to edit and deploy before ...
Timeframe when this occurs is after upgrade of Development configuration pool server, don't know if this has some effects on the issue ...
Thx for your input.HI
Goto -
> Src folder of ur DC and right click and make readonly property disable then you can able to modify the project....
Thanks
Kirankumar.M -
Getting error on Portal : Access via 'NULL' object reference not possible
hi friends,
While executing a bapi,I am getting this error : Access via 'NULL' object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
I am calling a bapi with only one required parameter from Portal as per the design of the bapi and the bapi itself is calling some other functions internally.
I a using ECC 5.00 i,e. EA-HR 5.00. On SDN it is suggested to Apply OSS Note 1018036. But it is applicable to EA-HR 6.00 and subsequent releases,I guess.
Need your suggestions and also need to know if the above Note can be applied to EA-HR 5.00.
P.S: Points would be assigned, thanks is advance.
Regards,
Sudeep DasHi,
ESS Personal information scenarios
Reason and Prerequisites
In case record is not modified successfully it should discard the
trial.Due to program error this was not happening correctly
Solution
Code changes were done in ESS adapter to handle this scenario
Hope this helps
Regards
Krishna -
Why jvm maintains string pool only for string objects why not for other objects?
why jvm maintains string pool only for string objects why not for other objects? why there is no pool for other objects? what is the specialty of string?
rp0428 wrote:
You might be aware of the fact that String is an immutable object, which means string object once created cannot be manipulated or modified. If we are going for such operation then we will be creating a new string out of that operation.
It's a JVM design-time decision or rather better memory management. In programming it's quite a common case that we will define string with same values multiple times and having a pool to hold these data will be much efficient. Multiple references from program point/ refer to same object/ value.
Please refer these links
What is Java String Pool? | JournalDev
Why String is Immutable in Java ? | Javalobby
Sorry but you are spreading FALSE information. Also, that first article is WRONG - just as OP was wrong.
This is NO SUCH THING as a 'string pool' in Java. There is a CONSTANT pool and that pool can include STRING CONSTANTS.
It has NOTHING to do with immutability - it has to do with CONSTANTS.
Just because a string is immutable does NOT mean it is a CONSTANT. And just because two strings have the exact same sequence of characters does NOT mean they use values from the constant pool.
On the other hand class String offers the .intern() method to ensure that there is only one instance of class String for a certain sequence of characters, and the JVM calls it implicitly for literal strings and compile time string concatination results.
Chapter 3. Lexical Structure
In that sense the OPs question is valid, although the OP uses wrong wording.
And the question is: what makes class Strings special so that it offers interning while other basic types don't.
I don't know the answer.
But in my opinion this is because of the hybrid nature of strings.
In Java we have primitive types (int, float, double...) and Object types (Integer, Float, Double).
The primitive types are consessons to C developers. Without primitive types you could not write simple equiations or comparisons (a = 2+3; if (a==5) ...). [autoboxing has not been there from the beginning...]
The String class is different, almost something of both. You create String literals as you do with primitives (String a = "aString") and you can concatinate strings with the '+' operator. Nevertheless each string is an object.
It should be common knowledge that strings should not be compared with '==' but because of the interning functionality this works surprisingly often.
Since strings are so easy to create and each string is an object the lack ot the interning functionality would cause heavy memory consumption. Just look at your code how often you use the same string literal within your program.
The memory problem is less important for other object types. Either because you create less equal objects of them or the benefit of pointing to the same object is less (eg. because the memory foot print of the individual objects is almost the same as the memory footpint of the references to it needed anyway).
These are my personal thoughts.
Hope this helps.
bye
TPD -
File Upload Error : Object could not be found in cache, key is null!
I am having this problem. when I attach a file and press submit button, it gave me
"Object could not be found in cache, key is null !"
In my ViewController context I have Invoice_DOC attribute (binary, fileupload)
and that is mapped to ComponentContoller.attribute(INVOICE_DOC).
here is wdDoInit() method of my view controller..
public void wdDoInit()
IWDAttributeInfo attInfo =
wdThis.wdGetDemurrageCompController().wdGetContext ().nodeSubmitElements().getNodeInfo().getAttribute(IPrivateDemurrageComp.ISubmitElementsElement.INVOICE_DOC);
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
Any Idea why I am having this..
I went through some tutorials, The controller node has cardinality of 1..1...Hi,
Could you please try with the following code. Here I have an Action for file uploading.
public void wdDoInit()
//@@begin wdDoInit()
// get attribute info for context attribute "FileResource"
IWDAttributeInfo attributeInfo =
wdContext.getNodeInfo().getAttribute(
IPrivateFileUploadView.IContextElement.FILE_RESOURCE);
// make the context attribute's simple type modifiable.
// Only with this line of code the binary data (stored within the
// context attribute) can be parsed. The Web Dynpro Runtime stores
// the mime-objects metadata within the attributes type metadata.
attributeInfo.getModifiableSimpleType();
// set the file details invisible
wdContext.currentContextElement().setDetailsVisibility(
WDVisibility.NONE);
//@@end
//Another method for File upload button
public void onActionUploadFile(
com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent) {
//@@begin onActionUploadFile(ServerEvent)
// get attribute info for context attribute 'FileResource'
IWDAttributeInfo attributeInfo =
wdContext.getNodeInfo().getAttribute(
IPrivateFileUploadView.IContextElement.FILE_RESOURCE);
// get modifiable binary type from the attribute info,
// requires type cast.
IWDModifiableBinaryType binaryType =
(IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
IPrivateFileUploadView.IContextElement element =
wdContext.currentContextElement();
// if a file in the 'FileResource' attribute exists
if (element.getFileResource() != null) {
try {
String mimeType = binaryType.getMimeType().toString();
byte[] file = element.getFileResource();
// get the size of the uploaded file
element.setFileSize(this.getFileSize(file));
// get the extension of the uploaded file
element.setFileExtension(
binaryType.getMimeType().getFileExtension());
// NOTE: context attribute 'FileName' must not be set
// because the FileUpload-UI-element property 'fileName'
// is bound to it. Consequently the fileName is automatically
// written to the context after file upload.
// set the details visibility attribute
element.setDetailsVisibility(WDVisibility.VISIBLE);
// report success message
wdComponentAPI.getMessageManager().reportMessage(
IMessageFileUpDownloadComp.SF_UPLOAD,
new Object[] { binaryType.getFileName()},
false);
} catch (Exception e) {
throw new WDRuntimeException(e);
// if no file in the 'FileResource' attribute exists
else {
// set the details visibility attribute, hide details
element.setDetailsVisibility(WDVisibility.NONE);
// report error message
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
msgMgr.reportContextAttributeMessage(
element,
attributeInfo,
IMessageFileUpDownloadComp.NO_FILE,
new Object[] { "" },
true);
// clear the FileResource context value attribute
element.setFileResource(null);
//@@end
Thanks
Chandan -
FileUplaod UI : Object could not be found in cache, key is null!
Hi,
I get problem using FileUpload UI Element.
When I select a file (any file .) and push a button (uplaod bt), I get an error message below the FileUpload UI:
==> Object could not be found in cache, key is null!
There is something odd cause in the event linked to my upload button the function is completly emtpy. So it is not o Code error. And of course I've make the context attribute Modifiable :
IWDModifiableBinaryType type = (IWDModifiableBinaryType) wdContext.getNodeInfo().getAttribute(IPrivateExternalOrderCompView.IContextElement.FILE_RESOURCE).getModifiableSimpleType();
Any Idear ?
Regards,Hi,
Ok guys thanks for your answers, I fixed my problem.
The thing was I missused simple modify type.
So here is what I'm doing :
In my context View :
file type : Binary
wdInit of the View :
IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateExternalOrderCompView.IContextElement.FILE);
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
That's it !
Everything goes good.
Thanks
Regards,
Maybe you are looking for
-
IChat video keeps closing down the program
Hey, I just bought my new Macbook air yesterday and after resolving connection problems I am now having constant problems with the video on ichat. Four times in a row it has closed down after a few minutes of video, here is the report code Process: i
-
Scroll bar moved layout slightly to left
If content on ALL of my site either did or didn't require a scroll bar, the transitions when clicking from page to page would all look smooth. Unfortunately I have some pages that are short (and so the browser displays no display bar) and other pages
-
Media Manager and .motn files
Hi all, I am having a strange problem....I have Media Managed a number of projects, and they have .motn files (either media that was on the timeline, sent to Motion, modified, then saved, OR, I used a Master Template in FCP that I made in Motion). Wh
-
MBP keyboard - similar to the aluminum 2007 keyboard sold separately?
I love the MBP keyboard. Does anyone know if the "feel" is the same as for the USB (wired) aluminum keyboard sold separately (which I'm considering getting for my G4)? see: http://www.apple.com/keyboard/ I wish the wired one had a lighted keyboard, b
-
Can AE still be downloaded as a trial? Where?
Efforts to download an AE trial, if there still is one, go nowhere -- the link goes to a CC page instead, and AE isn't even listed on that particular page. Any ideas? Many thanks.