System.load_file1 invalid

SQL> CREATE OR REPLACE PROCEDURE load_file1(p_filmid number,p_filmname in varchar2,p_actor in varcha
r2,p_actress in varchar2,p_director in varchar2,p_mainsing1 in varchar2,p_mainsing2 in varchar2,p_co
median in varchar2)
2 IS
3 src_file BFILE;
4 dst_file BLOB;
5 lgh_file BINARY_INTEGER;
6 BEGIN
7 src_file := bfilename('PHOTO_DIR',p_filmname);
8 INSERT INTO films (filmid,filmname,actor,actress,director,mainsing1,mainsing2,comedian,photos)
values (p_filmid,p_filmname,p_actor,p_actress,p_director,p_mainsing1,p_mainsing2,p_comedian,EMPTY_BL
OB)RETURNING photos INTO dst_file;
9 SELECT photos INTO dst_file FROM films where filmid=p_filmid and filmname=p_filmname and actor=
p_actor and actress=p_actress and director=p_director and mainsing1=p_mainsing1 and mainsing2=p_main
sing2 and comedian=p_comedian FOR UPDATE;
10 dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
11 lgh_file := dbms_lob.getlength(src_file);
12 dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
13 UPDATE films SET photos = dst_file WHERE filmid=p_filmid and filmname=p_filmname and actor=p_ac
tor and actress=p_actress and director=p_director and mainsing1=p_mainsing1 and mainsing2=p_mainsing
2 and comedian=p_comedian;
14 dbms_lob.fileclose(src_file);
15 END load_file1;
16 /
this is the procedure i ve used.
SQL> exec load_file1(1,'red','ajith','sriya','gautham','spb','chitra','c','bus1.bmp');
error:
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object SYSTEM.LOAD_FILE1 is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

SQL> CREATE OR REPLACE PROCEDURE load_file1(p_filmid number,p_filmname in varchar2,p_actor in varcha
r2,p_actress in varchar2,p_director in varchar2,p_mainsing2 in varchar2)
2 IS
3 src_file BFILE;
4 dst_file BLOB;
5 lgh_file BINARY_INTEGER;
6 BEGIN
7 src_file := bfilename('PHOTO_DIR',p_filmname);
8 INSERT INTO films (filmid,filmname,actor,actress,director,mainsing2,photos) values (p_filmid,p_
filmname,p_actor,p_actress,p_director,p_mainsing2,EMPTY_BLOB)RETURNING photos INTO dst_file;
9 SELECT photos INTO dst_file FROM films where filmid=p_filmid and filmname=p_filmname and actor=
p_actor and actress=p_actress and director=p_director and mainsing2=p_mainsing2 FOR UPDATE;
10 dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
11 lgh_file := dbms_lob.getlength(src_file);
12 dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
13 UPDATE films SET photos = dst_file WHERE filmid=p_filmid and filmname=p_filmname and actor=p_ac
tor and actress=p_actress and director=p_director and mainsing2=p_mainsing2;
14 dbms_lob.fileclose(src_file);
15 END load_file1;
16 /
Procedure created.
SQL> show errors;
No errors.
SQL> exec load_file1(1,'a','b','c','d','e','b.jpg');
BEGIN load_file1(1,'a','b','c','d','e','b.jpg'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'LOAD_FILE1'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Similar Messages

  • System.ArgumentException: Invalid field name. {c042a256-787d-4a6f-8a8a-cf6ab767f12d} while Activating Info path form Feature

    We are encountering an error while activating features for info-path form on site collection.Earlier It was working fine but when we deactivate info path feature on site collection and try to activate again with updated info path form its giving below error.
    Feature receiver assembly 'Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver', method 'FeatureActivated' for feature '86e128c1-8d91-9809-ac8a-7b77e8a2159b'
    threw an exception: System.ArgumentException:Invalid field name. {c042a256-787d-4a6f-8a8a-cf6ab767f12d} at Site Collection url at Microsoft.SharePoint.SPFieldCollection.GetFieldById(Guid
    fieldId, Boolean bThrowException) at Microsoft.SharePoint.SPFieldCollection.get_Item(Guid id) at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.UpdateContentType(SPContentType contentType, String serverRelativeUrl, FormTemplate formTemplate)
    at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.CreateOrUpdateContentTypes(SPSite currentSite, String serverRelativeUrl, FormTemplate formTemplate) at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties
    properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)

    Hi Prathap singh.
    Greetings . pls try to deactivate from powerhell and activate it again
    http://social.technet.microsoft.com/Forums/office/en-US/e79ebe96-2b48-46e3-8cce-6caed44f0418/invalid-field-name-error-while-trying-to-deactivate-administrator-approved-infopath-form-template?forum=sharepointcustomizationprevious
    http://social.technet.microsoft.com/Forums/office/en-US/ddb8b710-138a-4e26-bf46-65ebd0ac525f/i-get-the-invalid-field-name-when-trying-to-activate-feature-to-publish-infopath-form?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Infamous "Recovery policy configured for this system contains invalid recovery certificate" message

    Hello,
    On a Windows 2012 R2 member server of a Windows 2012 domain, I tried encrypting a folder, and I got a "Recovery policy configured for this system contains invalid recovery certificate message."  This is the first known attempt
    at enabling EFS within our organization.
    When I looked at the EFS certificate within the Default domain GPO, it had expired.
    Is it as simple as deleting and recreating the EFS certificate within the Default domain GPO?  Then running gpupdate /force on the Windows 2012 member server?
    Thanks
    Ron

    You can give a look to that: http://blogs.technet.com/b/askds/archive/2008/01/07/replacing-an-expired-dra-certificate.aspx
    More if you ask them here: https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=migratedforums&filter=alltypes&sort=lastpostdesc
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Points System Incorrectly invalidated $50 and $5 certificate, left with $40...

    To whom it may concern,
    I received an email back on 12/24/2013 stating that My Best Buy redeemed my points for a $50 certificate.  I continued to purchase items without using the certificate.  On 12/30/2013, I received another email stating that My Best Buy redeemed additional points for a $5 certificate.  I have not made any additional purchases since the $5 certificate and yet when I attempted to use both of the certificates the other day, I was told they were not valid and had likely been used.  The only thing that I have returned was purchased on 12/30/2013 after receiving the $5 certificate.  The tablet was then returned in the following two days.  I know from previous experience that Best Buy only awards points on purchases at a minimum 30 days after the purchase has been completed to ensure that the awarded points are only given on items that have been kept.
    Given this, why is it that your system invalidated my $50 and $5 certificates, and then proceeded to give me a $40 certificate instead? What happened to the additional points that your system issued back prior to downgrading me to a $40 certificate???  I'll be honest with you - I have already had multiple displeasing experiences at Best Buy and hope this will not be another one.  I can assure you that if it is, I will be transitioning my purchases to Amazon instead of through your company.
    Please advise...

    Good morning mrod5167, and welcome to the forum,
    I can understand having questions if it appears that points are missing from your account or if certificates were cancelled for some reason.  After using the email address you registered with the forum to review your My Best Buy™ account, I believe that I can explain why those certificates were cancelled.  Whenever a return is processed, any points that were awarded for the original purchase would be removed.  The returns that you processed at the beginning of the year involved bonus points that you had been awarded from one of our private shopping events, so when removed caused your points balance to go negative and the two certificates to be cancelled.  Once the point values for the two certificates reposted to your account, you no longer had a negative balance, but only enough for a $40 certificate.
    I hope that explanation helps; however, if you do have additional questions, please feel free to send me a private message and I will see what I can do to further assist.  A private message can be sent by clicking on the blue button located within my signature.
    Thank you for reaching out to us.
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • System Recovered - Invalid product key

    I've just done a recovery, but it tells me that product key is invalid. I've used the Toshiba disk supplied with the computer.
    Originally Basic was on, but the recovery disk is premium. Where can I get a key from?

    Hi,
    usually its impossible that, if you install a operating system from a toshiba recovery disk, a CD key is needed. You said, originally was Basic installed an on the recovery disk was premium. I dont think that a recovery media contains another version of Vista then which was preinstalled.
    Are you REALLY sure that the disk which was used for recovery, is the same which was shipped with the machine?
    Could you please tell which machine you own?
    Greets

  • Error on the reports with drill-through links on SSRS 2012 SP2 -- Invalid URI: The Uri string is too long

    Hi, We are migrating SSRS 2008 R2 reports to SSRS 2012 SP2. (PS. SSRS 2012 SP2 has been applied.) Everything went smooth expect some reports which were using reporting services. These reports have some drilin-through actions and was passing in a huge
    xml parameter. I referred to some other posts in which there were also some similar issues like "The Uri string is too long."  but they're different. My reports can be opened and the error only occurred when accessing the drill-through actions.
    As I know, Microsoft has provided the fix for the known issue "The Uri string is too long." in sp1 but it looks it can't cover this kind of situation since I have installed the SSRS SP 2. Is there any solution? In addition, there's no such
    issue on SSRS 2008 R2.
    Thanks,
    onizga

    Hi onizga,
    According to your description that you are migrating SSRS 2008 R2 reports to SSRS 2012 SP2, after migration you got some error like “The Uri string is too long” which only occurred when accessing the drill-through actions, right?
    Usually, the issue can be caused when you try to pass some parameters that cause the URL length to exceed 65,520 characters for a Microsoft SQL Server 2012 Reporting Services (SSRS 2012), you cannot render the report, and you may receive the following error
    message:
    The value of parameter 'param' is not valid. (rsInvalidParameter).Invalid URI: The Uri string is too long.
    This is an known issue and already have the hotfix SQL Server 2012 Service Pack1 Cumulative Update 9 (CU9) as you know, you can try to reinstall this hotfix to fixed this issue:
    http://support.microsoft.com/kb/2916827 .Any issue after applying the update, please post it on the following thread or you can submit an feedback:
    http://connect.microsoft.com/SQLServer/feedback/details/788964/ssrs-2012-invalid-uri-the-uri-string-is-too-long 
    Similar threads for your reference:
    SSRS - The value of parameter 'param' is
    not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long.
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
    The value of parameter 'pSetOfScopes' is not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long
    If you still have any question, please feel free to ask
    Regards
    Vicky Liu
    If you have any feedback on our support, please click here

  • "Invalid User ID" error while running OSoft Application in browser

    Hi,
    I have installed BPC 7.5 SP04 in Multi Server environment where SQL Server, OLAP Server, Reporting Server on one machine and Application Server and Web Server on other machine, After installing I tried to run Osoft application via url "http://Application Server name/OSoft" as suggested in Install guide but receiving "Invalid User ID" error
    Error Information
    Server Error in '/OSoft' Application.
    Invalid UserID
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid UserID
    Please guide me on this as what can be the cause of this error and how to fix it.
    I have used Windows Server 2008 with IIS 7.
    Thanks,
    Rohit
    Edited by: Khatak Rohit on Mar 18, 2011 10:57 AM

    First login must be done with Installation user.
    In your case you tried to login from your PC where you were conected with your user.
    This user  is used to connect to BPC and this user has no rights into BPC.
    It was used this user because BPC allow Windows authentication.
    So you have to go into IE - Tools - Internet Options
    Select Security Tab - Select Intranet
    Push Custom Level
    Go to section - User Authentication - select "Prompt always user and pwd"
    Close IE
    Open again and try http://nameofserver/osoft you will receive now a prompt for user and pwd.
    Input an user and pwd with access to BPC and you will see this time the page will be load correct.
    Regards
    Sorin Radulescu

  • Invalid parameter SECONDARY_RECORD-PSKEY Error in Personal Data Screen

    Hi All,
    We are using EHP6. The Personal Data  iview is throwing an error while trying Edit something.
    I am able to add a new register  but getting the following dump while trying to Edit/Save
    This apply for all the employees.
    This apply for all the employees.
    I looked through SAP Note-1815863 - Dump in Class CL_HRPA_INFOTYPE_CONTAINER Method. However all the tables mentioned in that Note seemed to be configured properly.
    Any help will be appreciated.
    Short Dump
    Error while processing your query
    What has happened?
    The URL call sap/bc/webdynpro/sap/HRESS_A_PERSINFO was terminated because of an error.
    Note
    The following error occurred in system DEV : Invalid parameter SECONDARY_RECORD-PSKEY , value 1008119301067 9999123120130621000
    The error occurred on application server HRE_05 and in work process. 8
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_HRPA_INFTY_CONTAINER_DATA~MODIFY_SECONDARY_RECORD of program CL_HRPA_INFOTYPE_CONTAINER====CP
    I have checked:
    Report RPUPAV00.
    Subtype config, inconsistent data.
    I updated table V_T582V & V_T582W.
    I maintained tcode-GENIL_MODEL_BROWSER.
    I also have checked the following:
    sap > bc> webdynpro > HRESS_A_PERSINFO   ----check this once activate or not ...right click and check is it activated or not
    I also have run the report RPUFIXDS for that personal number, , however the issue follow.
    The error not occur when I delete the register for the the following  V_T582V & V_T582W, however the fields for the infotype secondary not appear in the dynpro of the infotype 0002.
    Thanks
    Regards

    There could be several possible causes
    Usually this error occurs if a secondary infotype functionality has been delivered via SP or SNOTE for infotype 0002 but the PERNR you are using does not have secondary infotype record
    Tables V_T582V & V_T582W determine if a secondary infotype will be used - if you remove entries here this will deactivate the secondary infotype useage - this might be one way to resolve the issue - but perhaps you wish to use the secondary infotype - in some cases it might be required- for example ESS might expects a secondary infotype and throw an error if there is an issue
    If you wish to use the secondary infotype you need the delivered entries in V_T582V & V_T582W and you need to run RPUPAV00 for any PERNR that has a 0002 record existing prior to the new secondary infotype being introduced to ensure they have a secondary infotype record key that matches the primary infotype key

  • You are not authorized to logon to the target system (error code 1)

    Dear Expert,
    I met some problems that 'You are not authorized to logon to the target system (error code 1)' when I tried to do the auth. testing for RFC SM_CLNT<SID>_TRUSTED in satellite system.
    Following SAP note 128447, I recreated the RFCs in SMSY in solution manager for satellite system using existing user.
    It was still error ''You are not authorized to logon to the target system (error code 1)'.
    In SMSY in solman, I checked the RFCs connection which I recreated using RFC wizard, they are ok(green).
    I have already maintain the auth. obj S_RFCACL for user who is running this.
    So, I am confused what authorization I did not maintain in user? Please help me out!
    Thanks a lot!
    Br,
    Lucy
    Edited by: lucy YANG on Mar 19, 2011 6:59 AM
    Edited by: lucy YANG on Mar 19, 2011 7:01 AM

    Hello Lucy,
    The error is pretty clear that the calling system is not a trusted system so I don't think you should bother with an authorization trace at this time, because authorizations is not quite the issue. The calling system is NOT a trusted system, authorizations or not.
    Please refer to SAP Note 128447 Trusted/Trusting systems
    The error is listed there:
    Authorization errors that occur when using an RFC destination for which
    the 'Trusted Systems' indicator is set are documented with the following
    message:
    "No authorization to log on as a trusted system (Trusted RC = #)."
    In this case, the trusted return code # (# = 0, 1, 2, 3) has the
    following relevance:
    1   The calling system is not a trusted system, or the
         security key for the system is invalid.
         Solution: Recreate the trusted system (see
         documentation).
    These are the links the Note provides for the documentation:
    [http://help.sap.com
    /saphelp_nw04/helpdata/en/22/042671488911d189490000e829fbbd/frameset.htm
    ] in accordance with the documentation
    [http://help.sap.com/
    saphelp_nw04/helpdata/en/8b/0010519daef443ab06d38d7ade26f4/content.htm].
    The Note states to recreate the Trusted system according to the Documentation (links above)
    This is all in the Note. Please follow the Note to reslve this known error.
    Regards,
    Paul

  • Invalid object name 'dbo.uf_GetRateSrcMember'

    Hello Friends,
    We recently applied the  SP3 (CPMBPC03P_1-20002499) for BPC 5.1. We are in Single Server environment. Our BPC 5.1 build was 5.0.486 which was required to install the SP3. After the installation it is 5.0.502
    We are getting the error below when we are trying to change the appliction sets from from the main page.
    Any help to resolve the issue is appreciated
    Server Error in '/OSoft' Application.  Invalid object name 'dbo.uf_GetRateSrcMember'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.
    Source Error:
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
    Stack Trace:
    [Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.]
       Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
       OSoft.Consumers.ZFP.WebBase.PageBase.GetCurrentView() +518
       OSoft.Consumers.ZFP.WebBase.PageBase.get_CurrentView(String strDimension) +43
       ASP.Landing_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +95
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
       System.Web.UI.Page.ProcessRequestMain() +1926
    Really looking forward for answers.
    I would really really really appreciate any help
    Thanks

    Kaji,
    I had the same problem. Here is the solution:
    Dear customer,
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    When modify application is run , the user function has been removed.
    A workaround is this:
    if you make Entity and RateSrc as secured dimension,
    the user function will be made in the appset again.
    Then you can change the user function as other name in database
    by renaming. After finished the rename,
    you can change the dimension as unsecured dimension like current.
    Then, you have to replace the user function name
    as original function name.
    Because the user function name is dependent on dimension name.
    If you can#t connect BPC Admin due to web page error,
    you have to execute the EverestAdmin.exe file
    in "C:\Program Files\BPC"
    Hope it solves the prob...
    Nic

  • Reconnect of a R/3 source system afer a BW system copy

    We want to copy our BW 3.0b development system as a BW sandbox system in order to try out the BW 3.5 migration.
    Therefore, we performed a system copy of our BW DEV system to a new machine. On the BW-side we ran BDLS to get a new logical name for the system and defined a RFC connection to our R/3 Dev Source System (incl. appropriate RFC users).
    On the R/3 side we also defined an additional RFC connection to the "new - just copied" BW-system.
    While trying to reconnect our R/3 Devopment source system within the new BW we encountered the problem that the R/3 system recognized that there already exists a connection to a BW (the old BW dev). If we take this option, the old connection is deleted and a new one is defined. However, from the R/3 perspective we want two BWs connected. It seems the problem has to do with the IDOCs and TRFC port definitions, because the IDOC type ZRSBW010 seems to point to the wrong system.
    Unfortunately, we are stuck at the moment.
    Any kind of help or hints to relevant SAP documents would be much appreciated.
    In the OSS we found some notes on this topic (325525 etc.) but we still not sure how to proceed.
    However, in general, we think it shouldn't be a problem to have one R/3 connected to several BW's or is it?
    Frank Schülke, E.ON Ruhrgas IT, Germany

    We worked out this scenario.  Our solution came with an interpretaion of SAP documentation including SAP Note 886102, obsolete (but informative) SAP Note 184754, and the document How to... System Copy in SAP Business Intelligence System Landscapes - May 2005.
    Basically the steps are...
    -Using the BW transport collector in the source BW system, collect, release, and export all objects related to the R/3 source system.
    -Perform the system copy of the source BW system to the target BW system.
    -Change SM59 destinations in the target BW system to the R/3 source systems to invalid hostnames.
    -Delete the R/3 source system definitions from the target BW system (the nonsensical hostnames in SM59 ensure you will not make any changes in the actual R/3 source systems).
    -Use BDLS to change the logical system in your target BW system.
    -Recreate the R/3 source system definitions in the target BW system, this step will make corresponding config for the target BW system in the R/3 source system.  It is important here to activate and replicate.
    -Ensure that table RSLOGSYSMAP has the correct entries for your R/3 source systems
    -Import the objects you collected in the first step into your target BW system.

  • Invalid UserId

    Why is this so hard...
    I don't know what is so different about this client compared to others, but I continue to have problems.
    Specifically, I get an "Invalid UserId" when I try to login with anyone other than the install user.  I was able to add the user through security and assign them rights to the app set.  When I try to hit the http://servername/osoft url I get the following error in IE:
    Server Error in '/OSoft' Application.
    Invalid UserID
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid UserID
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [Exception: Invalid UserID]
       OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset) +1520
       OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e) +218
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnInit(EventArgs e) +67
       System.Web.UI.Control.InitRecursive(Control namingContainer) +241
       System.Web.UI.Page.ProcessRequestMain() +197
    Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
    Nothing is coming up in any logs.
    Thoughts?
    McP

    I believe you are running into a bug where it is required to add 
    [domain name].com to Define System User Groups so the Admin client can  
    add users, but since users' ids are [domain name]\user and              
    [domain name].com\user, the backend tables need to manipulated.  Please check the table tblappsetaccess in the appserver database of SQL. If the user IDs do contain a .com please follow the instructions below.
    This issue will be fixed in the upcoming 7.0 release. In the meantime you can utilize the following SQL script to remove the .com from the security tables.   You will need to run this script each time a new user is added to the application set.                                                                               
    Run this script against the AppServer  database
    update tblAppsetAccess                                                 
    set UserID = replace(UserID, '.com\', '\')                             
    update tblLastUserApp                                                  
    set UserID = replace(UserID, '.com\', '\')                                                                               
    Run this script against the  ApplicationSetName   database                                                                               
    update BPFAccess                                                       
    set UserorTeamID = replace(UserorTeamID, '.com\', '\')                 
    update UserTeamAssign                                                  
    set UserorTeamID = replace(UserorTeamID, '.com\', '\')                 
    update UserTeamProfileAssign                                           
    set UserorTeamID = replace(UserorTeamID, '.com\', '\')                                                                               
    update tblAppAccess                                                    
    set UserID = replace(UserID, '.com\', '\')                             
    update tblUsers                                                        
    set UserID = replace(UserID, '.com\', '\')                             
    update UserProfile                                                     
    set UserID = replace(UserID, '.com\', '\')

  • It takes 5 minutes to startup and i have "invalid volume directory count"

    I have tried 'restore disk' with install disk, does not work.
    Now it takes 5 minutes to start leopard.....
    Please help....
    This is when i startup:
    12-04-09 21:05:59 com.apple.launchd[107] (0x109840.Locum[197]) Exited: Terminated
    12-04-09 21:06:04 com.apple.loginwindow[24] Shutdown NOW!
    12-04-09 21:06:04 com.apple.loginwindow[24] System shutdown time has arrived
    12-04-09 21:06:05 com.apple.SystemStarter[17] Stopping HP Trap Monitor
    12-04-09 21:06:05 com.apple.SystemStarter[17] Stopping HP IO Monitor
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:18 com.apple.launchctl.System[2] launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    12-04-09 21:11:18 com.apple.launchd[1] (com.apple.blued) Unknown key for boolean: EnableTransactions
    12-04-09 21:11:18 com.apple.launchd[1] (org.cups.cupsd) Unknown key: SHAuthorizationRight
    12-04-09 21:11:18 com.apple.launchd[1] (org.ntp.ntpd) Unknown key: SHAuthorizationRight
    12-04-09 21:11:40 org.ntp.ntpd[14] Error : nodename nor servname provided, or not known
    12-04-09 21:11:43 com.apple.SystemStarter[17] Starting HP IO Monitor
    12-04-09 21:11:43 com.apple.SystemStarter[17] Starting HP Trap Monitor
    12-04-09 21:12:12 com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[101]) Exited: Terminated
    12-04-09 21:12:12 com.apple.launchd[110] (com.apple.AirPortBaseStationAgent) Unknown key for boolean: EnableTransactions

    kennmoo wrote:
    I have tried 'restore disk' with install disk, does not work.
    what exactly doesn't work?
    boot from the leopard install DVD and repair the startup disk (repair disk, not permissions) using disk utility.
    Now it takes 5 minutes to start leopard.....
    Please help....
    This is when i startup:
    12-04-09 21:05:59 com.apple.launchd[107] (0x109840.Locum[197]) Exited: Terminated
    12-04-09 21:06:04 com.apple.loginwindow[24] Shutdown NOW!
    12-04-09 21:06:04 com.apple.loginwindow[24] System shutdown time has arrived
    12-04-09 21:06:05 com.apple.SystemStarter[17] Stopping HP Trap Monitor
    12-04-09 21:06:05 com.apple.SystemStarter[17] Stopping HP IO Monitor
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Missing thread record (id = 7726336)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume directory count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 62222 instead of 62224)
    12-04-09 21:11:16 com.apple.launchctl.System[2] Invalid volume file count
    12-04-09 21:11:16 com.apple.launchctl.System[2] (It should be 269114 instead of 269128)
    12-04-09 21:11:18 com.apple.launchctl.System[2] launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    12-04-09 21:11:18 com.apple.launchd[1] (com.apple.blued) Unknown key for boolean: EnableTransactions
    12-04-09 21:11:18 com.apple.launchd[1] (org.cups.cupsd) Unknown key: SHAuthorizationRight
    12-04-09 21:11:18 com.apple.launchd[1] (org.ntp.ntpd) Unknown key: SHAuthorizationRight
    12-04-09 21:11:40 org.ntp.ntpd[14] Error : nodename nor servname provided, or not known
    12-04-09 21:11:43 com.apple.SystemStarter[17] Starting HP IO Monitor
    12-04-09 21:11:43 com.apple.SystemStarter[17] Starting HP Trap Monitor
    12-04-09 21:12:12 com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[101]) Exited: Terminated
    12-04-09 21:12:12 com.apple.launchd[110] (com.apple.AirPortBaseStationAgent) Unknown key for boolean: EnableTransactions

  • PTWS Invalid Pointer

    The following code runs fine whilst using server1 (PTWS, EDK 5.0.2, Win2K) while using server2 (PTWS, EDK 5.0.2, W2K3) I'm getting that Invalid Pointer exception thrown. I'm definetly getting a login token back, since a call to portletRequest.GetLoginToken() comes back fine. I've done a diff on the PTWS directories on both servers and they're both the same. I've checked the portal50 DSN and it too connects just fine. Anyone have an idea on what could be causing this?
    IPortletContext portletContext = PortletContextFactory.CreatePortletContext(this.Request, this.Response);IPortletRequest portletRequest = portletContext.GetRequest();IPortletResponse portletResponse = portletContext.GetResponse(); IRemoteSession prcSession = RemoteSessionFactory.GetTokenContext(new Uri("http://server2/ptapi/QueryInterfaceAPI.asmx"), portletRequest.GetLoginToken()); IUserManager userMgr = prcSession.GetUserManager();
    foreach(int groupID in userMgr.GetCurrentUserGroups()){ Response.Write (groupID + "<br>");}
    Response from server:
    HTTP/1.1 100 Continue
    HTTP/1.1 500 Internal Server Error.Date: Thu, 14 Jul 2005 00:23:31 GMTServer: Microsoft-IIS/6.0X-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/xml; charset=utf-8Content-Length: 978
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Invalid pointer at com.plumtree.server.helper.IPTSession.Reconnect(String bstrToken) at com.plumtree.server.CIPTSession.Reconnect(String bstrToken) at com.plumtree.soap.basic.PTSoapAPIImplBasic.createSession(String sLoginToken) at com.plumtree.soap.basic.SessionAPIImplBasic.getCurrentUserGroupMembership(String sLoginToken) at SessionAPI.SessionAPI.getCurrentUserGroupMembership(String sLoginToken) --- End of inner exception stack trace ---</faultstring> <detail /> </soap:Fault> </soap:Body></soap:Envelope>

    It is possible the clocks are out of sync between your portal issuing the request to your portlet and the WS Server.  Make sure the clocks for the machines hosting your portal and WS Server are synced up.
    Also, you might want to trying increasing the duration of the login token.  In your Remote Portlet Web Service administration screen, where you configure it to sent the login token, there is a box that says &#034;5 minutes&#034; as the token's default duration.  Increase it to say 15 to better your chances.
    It is also possible that the new WS Server itself has a problem.

  • Error: Invalid USerID

    Hi,
    we just installed BPC MS.  I can call http://server:port/osoft from the Server itself. On the Server, everything works fine, no problems.
    But if like to call osoft from my local computer I get the following message:
    Invalid UserID
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid UserID
    *Source Error: *
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    *Stack Trace: *
    [Exception: Invalid UserID]
       Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
       OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset) +1517
       OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e) +219
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnInit(EventArgs e) +67
       System.Web.UI.Control.InitRecursive(Control namingContainer) +241
       System.Web.UI.Page.ProcessRequestMain() +197
    Any idea what the problem could be?
    Thanks in advance!
    Rgds,
    Christian

    After a new install of SAP BPC only 1 windows user is registered in the security of BPC for AppSet "ApShell".
    This user is the one used to install the product on the server. It may be a local user on your server SERVERNAME\BPCSYSADMIN or a domain user DOMAIN\BPCSYSADMIN.
    When you open the osoft web portal through the url http:
    SERVERNAME\osoft\ the authentication is done twice :
    First as IIS layer
    Second at BPC layer
    By default, the authentication is done against the actual Windows user (the one used to open the windows session).
    If you open a Windows session on the server with the BPC install user (SERVERNAME\BPCSYSADMIN or DOMAIN\BPCSYSADMIN) and then you run Internet Explorer => Then you will be authenticated with this user on IIS and BPC layer, which is ok because this user is recorded in Default BPC security.
    If you open a Windows session on your PC with a random windows user (DOMAIN\MyRandomUser002) and then you run Internet Explorer from your PC => You will be authenticated as DOMAIN\MuRandomUser002 and so you will have an error as this user is unknown at BPC layer authentication.
    To add this user in BPC security you have to :
    1. Install the BPC Admin client on your PC. As the BPC Admin client install setup is available though the BPC portal, you have to connect to it with the BPCSYSADMIN client (and so it's mandatory to change IE settings in order to get the pop-up authentication box). When you are able to connect to BPC portal from your PC with the BPCSYSADMIN client, you will be able to download the Admin client setup and install it (you must have administrator right on your PC to install it).
    Note : If you can't change IE settings (as it seems to be a security problem on your side), you can get the setup from the server in the \osoft directory).
    2. One BPC Admin client is installed, run it and connect to ApShell with BPCSYSADMIN account (connection wizard).
    3. Go in security management and add your user (DOMAIN\MyRandomUser002) in ApShell security.
    Now you will be able to access BPC Portal with your personnal windows account.
    Note : If you want to use Domain user security, you must setup first the AD settings through SAP Server Manager (a tool installed on BPC server).
    For information : I think all of these have to be taken care during the initial install of the product. It's something i name "Security delegation to standard Windows account".
    good Luck !

Maybe you are looking for