Issue: Detected use of SPRequest for previously closed SPWeb object

I have a solution to create web site by a custom web template. I used ULS Viewer to monitor the sharepoint error log during the process. I see some unexpected error(Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb
objects when you are done with all objects obtained from them, but not before.)
I believe that It will bring up a memory leak issue in anytime future. so I spend some time to find the root cause. It has no unexpected issue by creating web site with out of the box template(BLOG,WIKI, etc). I will get only get it with custom
template. Does anyone know the reason and soltuon for this issue? Thanks.

        protected void Button2_Click(object sender, EventArgs e)
            string Client = "Client";
            string creatorId = "UserId";
            string creatorname = "Robin Hung";
            string rreatorEmail = "[email protected]";
            SPSecurity.RunWithElevatedPrivileges(delegate()
using (
SPSite newSite =
new SPSite("http://localhost/sites/" + Client))
SPWebTemplateCollection WTC =
newSite.GetWebTemplates(1033);
SPWebTemplate webTemplate =
newSite.GetWebTemplates(1033)["SubSite"];
newSite.AllowUnsafeUpdates = true;
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity.
Verbose,
EventSeverity.
Verbose),
TraceSeverity.Verbose,
"Test 2", "Called");
using (SPWeb spWeb = newSite.OpenWeb())
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity
.Verbose,
EventSeverity
.Verbose),
TraceSeverity.
Verbose,
"Test 21",
"Called");
spWeb.AllowUnsafeUpdates = true;
spWeb.Webs.Add("Robin4", "Robin2", "test", 1033,
webTemplate, false, false);
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity
.Verbose,
EventSeverity
.Verbose),
TraceSeverity.
Verbose,
"Test 211",
"Called");
spWeb.Webs.Add("Robin5", "Robin2", "test", 1033,
WTC["SubSite"], false, false);
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity
.Verbose,
EventSeverity
.Verbose),
TraceSeverity.
Verbose,
"Test 212",
"Called");
spWeb.Webs.Add("Robin6", "Robin2", "test", 1033,
WTC[30], false, false);
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity
.Verbose,
EventSeverity
.Verbose),
TraceSeverity.
Verbose,
"Test 213",
"Called");
spWeb.AllowUnsafeUpdates = false;
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity
.Verbose,
EventSeverity
.Verbose),
TraceSeverity.
Verbose,
"Test 22",
"Called");
newSite.AllowUnsafeUpdates = false;
//currentSite.AllowUnsafeUpdates = false;
SPDiagnosticsService.Local.WriteTrace(0,
new SPDiagnosticsCategory
("Log",
TraceSeverity.
Verbose,
EventSeverity.
Verbose),
TraceSeverity.Verbose,
"Test 4", "Called");

Similar Messages

  • Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them

    HI
    i am keep seeing this message in ulsviewer of splogs in a webfront end server
    Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:  
    at Microsoft.SharePoint.SPWeb.get_Exists()   
    at Microsoft.SharePoint.WebControls.CssLink.OnLoad(EventArgs e)   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
    at System.Web.UI.Page.ProcessRequest()   
    at System.Web.UI.Page.ProcessRequest(HttpContext context)   
    at ASP._layouts_icc_icc_scan_view_aspx.ProcessRequest(HttpContext context)   
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)   
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)   
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    adil

    Hi,
    Your SPweb object is not disposed properly.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3a25eb86-8415-4053-b319-9dd84a1fd71f/detected-use-of-sprequest-for-previously-closed-spweb-object-please-close-spweb-objects-when-you?forum=sharepointdevelopmentprevious
    http://sharepoint.stackexchange.com/questions/50793/detected-use-of-sprequest-for-previously-closed-spweb-object-after-spquery
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before.

    I have develop a custom solution for SharePoint Foundation 2010 that provide PDF documents filled with lists data and attachemnts.
    If the Customer run the solution to get the PDF we found in the ULS log following entry:
    03/07/2014 12:07:20.69  w3wp.exe (0x0B10) 0x18EC 
    SharePoint Foundation General                        90hv Unexpected 
    Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:    at Microsoft.SharePoint.Utilities.SPUtility.GetLocalizedString(String
    source, String defaultResourceFile, UInt32 language)     at Microsoft.SharePoint.SPFieldCollection.get_DisplayNameDict()     at Microsoft.SharePoint.SPFieldCollection.GetFieldByDisplayName(String strDisplayName, Boolean
    bThrowException)     at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)    
    at ECM_PDF_Excel.ListClicked.GetECOs(Dictionary`2 searchedEC... e918ecd4-7ed6-44bb-9e4f-d764586a2f79 ...RECONumber)    
    at ECM_PDF_Excel.PDF.Create()     at ECM_PDF_Excel.Layouts.ECM_PDF_Excel.ECMPDFExcel.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 f... e918ecd4-7ed6-44bb-9e4f-d764586a2f79
    03/07/2014 12:07:20.69* w3wp.exe (0x0B10)                        0x18EC SharePoint Foundation        
     General                        90hv Unexpected ...lags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32
    flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   e918ecd4-7ed6-44bb-9e4f-d764586a2f79
    We check the method
            /// <summary>
            /// Returns the ECOs in a Dictionary: ECO Number, Suffix
            /// </summary>
            /// <param name="searchedECRECONumber">Dictionary, with the search ECR/ECO Number</param>
            /// <returns>Dictionary ECO Number, Suffix</returns>
            public static Dictionary<string, string> GetECOs(Dictionary<String, String> searchedECRECONumber)
                SPSite siteContx = SPContext.Current.Site;
                SPWeb webContx = siteContx.RootWeb;
                Dictionary<string, string> listECOs = new Dictionary<string, string>();
                string ecoNumber = string.Empty;
                string ecoSuffix = string.Empty;
                if (searchedECRECONumber.ContainsKey(ConstantData.listClickedECONumberDictionary))
                    ecoNumber = searchedECRECONumber[ConstantData.listClickedECONumberDictionary];
                else
                    return listECOs;
                // Ich suche die ECO Nummber bei gegebener ECR Nummer
                // Ich brauche den Listen Namen der in den Spalten Realtion ECR Number & Realtion ECO Number einen Wert hat
                SPList dataList = webContx.Lists.TryGetList(ConstantData.listName_ECMExcelTemplateDataLists);
                if (dataList != null)
                    SPListItemCollection dataListItems = webContx.Lists.TryGetList(ConstantData.listName_ECMExcelTemplateDataLists).Items;
                    foreach (SPItem dataListItem in dataListItems)
                        Object relationECRColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECRNumber];
                        Object relationECOColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECONumber];
                        if (relationECRColumnName != null && relationECOColumnName != null)
                            // Ich habe den Listennamen gefunden in dem Spalten Realtion ECR Number & Realtion ECO Number einen Wert haben
                            string searchedListName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_Title];
                            string searchedECOSuffixColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECONumber];
                            // Get the List from variable listName
                            listECOs = GetECOsDictionary(searchedListName, searchedECOSuffixColumnName, ecoNumber, relationECOColumnName);
                return listECOs;
    - What take we wrong?
    - How can we avoid this message?
    Regards
    Jonnyenglisch
    Ralf Happe - Christobal Colón N° 1 ES 07670 Portocolom Tel.: +34 6961 0375 7 @: [email protected] Skype: ralfhappe msm: [email protected] www.ralfhappe.com ralfhappe | soluciónes

    Here the code of GetECOsDictionary:
             /// <summary>
            /// Fill the dicionary with related ECO Numbers/Suffix
            /// </summary>
            /// <param name="searchedListName">String: the name of the list</param>
            /// <param name="ecoNumber">String: the ECO Number</param>
            /// <param name="relationECOColumnName"></param>
            /// <returns>Dictionary</returns>
            private static Dictionary<string, string> GetECOsDictionary(string searchedListName, string ecoNumber, Object relationECOColumnName)
                SPSite siteContx = SPContext.Current.Site;
                SPWeb webContx = siteContx.RootWeb;
                Dictionary<string, string> listECOs = new Dictionary<string, string>();
                SPQuery oQuery = new SPQuery();
                oQuery.Query = "<OrderBy>" +
                                    "<FieldRef Name='" + "Title" + "' Ascending='TRUE'></FieldRef>"
    +
                                "</OrderBy>" +
                                "<Where><BeginsWith>" +
                                    "<FieldRef Name='" + "Title" + "'/>" +
                                    "<Value Type='Text'>" + ecoNumber + "</Value>" +
                                "</BeginsWith></Where>";
                SPListItemCollection searchedListItems = webContx.Lists.TryGetList(searchedListName).GetItems(oQuery);
                foreach (SPItem searchedListItem in searchedListItems)
                    // Wenn die geclickte ECO Nummer gleich der Listen ECO Nummer ist dann setze die gefundene ECO Nummer
                    string foundECONumber = (String)searchedListItem[relationECOColumnName.ToString()];
                    string[] splitECONumber = foundECONumber.Split(ConstantData.splitBy_Slash);
                    if (ecoNumber == splitECONumber[0])
                        ecoNumber = splitECONumber[0];
                        if (splitECONumber.Count() == 1)
                            listECOs.Add(foundECONumber, "0");
                        if (splitECONumber.Count() > 1)
                            listECOs.Add(foundECONumber, splitECONumber[1]);
                return listECOs;
    Ralf Happe - Christobal Colón N° 1 ES 07670 Portocolom Tel.: +34 6961 0375 7 @: [email protected] Skype: ralfhappe msm: [email protected] www.ralfhappe.com ralfhappe | soluciónes

  • Hello, I have the usual issue to use AcroExch.PDDoc/AcroExch.App/AcroExch.AVDoc objects in Visual Basic (MS EXCEL). On my company's machine I have Acrobat X and everything works fine, but I have another machine with just "Reader" installed - is there als

    Hello, I have the usual issue to use AcroExch.PDDoc/AcroExch.App/AcroExch.AVDoc objects in Visual Basic (MS EXCEL). On my company's machine I have Acrobat X and everything works fine. I am looking for the cheapest solution to get the stuff running on another machine... is there any way to do that with the Acrobat SDK, or do I need to purchase a full version of Acrobat XI ($$) ?

    The Acrobat SDK is nothing by itself. It is just information on how to automate Acrobat - just as the Office SDK doesn't include Office, but is for people who already have purchased Office but want to automate it.
    These automation things are MARKETING TOOLS FOR ACROBAT. Consider this and the technical limitations make a lot more sense.
    So, yes, you need to buy Acrobat. Standard is cheaper than Pro.

  • Issue when using Navigation attributes for filtering in BEX

    Hello,
    We are encountering an issue when applying filter on Navigation attributes in BEx query built on top of a BW HANA Virtual Provider.
    The interface is as below :
    HANA Calculation View -> SAP BW 7.4 Virtual InfoCube -> Multiprovider -> BEx Query.
    We have directly mapped the base Infoobject from HANA View to BW Virtual Provider and using this in BEx query free characteristics. We also have used the navigational attribute of this Infoobject in our Report variable screen as well as an Auth relevant object.
    Eg if ZMATERIAL is the base infoobject and ZMATERIAL__ZXYZ navigational attribute is used in the report variable screen and as Authorization variable.
    This is causing the query to fail.
    The query also fails if I apply any filter values on any Navigational attribute with error message  :
    "Termination message sent ERROR DBMAN (305): Error reading the data of InfoProvider"
    Using the navigational attribute with authorization variable fails with below :
    "Termination message sent ERROR DBMAN (099): Invalid query;Failed to find attribute ZMATERIAL__ZXYZ [...]"
    Appreciate any inputs on this issue and how this can be fixed.
    Thanks,
    Tintu

    Hi Andrey,
    Thank you for your input.
    Based on the OSS note , it says to import BW7.4 SP7. We are already on BW7.4 SP7
    We get error "Termination message sent ERROR DBMAN (099): Invalid query;Failed to find attribute
    ZMATERIAL__ZXYZ"  whenever we try to apply filters on any of the navigational attribute.
    Thanks,
    Tintu

  • I can not use the arrows for previous and foward at the top of the browser bar.

    At the top of the screen there are two arrows, left and right, to click on to move back and forth from current screen to the previous screen such as a list of websites. The arrows are visible but not highlighted to be used.

    I was having a similar problem but only when answering calls. A reset seems to have fixed it. http://support.apple.com/kb/HT1430
    If that doesn't do it you may need to contact Apple Care or take it in for repair.

  • ADF mobile Client App: Issue about using db sequence for populating row_id

    Hi,
    I'm working on an ADF mobile client app POC project. In the mobile app, new record can be created, the column type for row_id is VARCHAR2(15), I used the db sequence created in MC db, converted the seq number to a string, then set row_id via initDefaults method.
    The new records are created and row_ids are set with the proper sequence numbers when first time launching the client app in blackberry simulator. But if I exit the app and re-launch the app again, I got net.rim.device.api.database.DataTypeExpection when trying to create a new record.
    Could anyone please help me and let me know what could cause this issue? What should be the proper way to populate the row_id? Appreciate your response in advance!
    Jdev/ADFMobile extension version:
    11.1.1.4.0 build 5860
    mobile server version:
    10.3.0.3
    blackberry version:
    BlackBerry JDE 5.0.0
    BlackBerry Smartphone Simulators 6.0.0.141 (9800)
    Code:
    public class SOrgExtEOImpl extends EntityImpl {
    protected void initDefaults() {
    super.initDefaults();
    SequenceImpl seq = new SequenceImpl("S_SIEBELMOBILE_S_ORG_EXT", getDBTransaction());
    populateAttributeAsChanged(ROWID1, seq.getSequenceNumber().toString());
    Log:
    First time launching the MC app:
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 14:58:13.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 14:58:13.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to 73501
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.CreatedBy at index 2
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to 1-11ZQ
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.LastUpdBy at index 4
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to 1-53Y
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.BuId at index 5
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to 1-1DG
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.AccountAddressFKAssoc not found in cache, so
    loading it from XML
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.ActivityAccountFKAssoc not found in cache, so
    loading it from XML
    [FINE - adfnmc.bindings - BC4JIteratorBinding - notifyRowInserted]
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - rowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - notifyRowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - RangeBindingImpl - rowInserted] AccountAddressView1
    [FINE - adfnmc.bindings - RangeBindingImpl - notifyNewElement] AccountAddressView1, index:0
    [FINE - adfnmc.ui - BBTable - newElement] relativeIndex = 0
    [FINE - adfnmc.bindings - RangeBindingImpl - setVariableIndex] Begin, AccountAddressView1, listener: oracle.adfnmc.component.ui.BBTable$1
    [FINE - adfnmc.bindings - SimpleContext$Variables - setVariable] Setting variable "row" to expression #
    {AccountPageDef_AccountAddressView1_rowAlias}
    [FINE - adfnmc.ui - BBOutputText - endInit]
    Re-launching the MC app:
    INFO - adfnmc.bindings - BC4JOperationBinding - execute] Preparing to execute OperationBinding id:'CreateInsert'
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 15:08:35.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 15:08:35.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [INFO - adfnmc.ui - ErrorHandlerImpl - reportException] BindingContainer: AccountPageDef, exception: oracle.adfnmc.AMCJboException
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] [oracle.jbo.server.SequenceImpl$TableSequenceImpl.retrieveSequenceParamsFromDB]
    oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for sequence S_SIEBELMOBILE_S_ORG_EXT
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] oracle.adfnmc.java.sql.SQLException:
    net.rim.device.api.database.DataTypeException:Datatype mismatch
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] Unable to retrieve String at index 2
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException]
    [FINE - adfnmc.ui - MessageBox - show] message=oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for
    sequence S_SIEBELMOBILE_S_ORG_EXT
    [FINE - adfnmc.ui - MessageBox - show] oracle.adfnmc.java.sql.SQLException: net.rim.device.api.database.DataTypeException:Datatype mismatch
    [FINE - adfnmc.ui - MessageBox - show] Unable to retrieve String at index 2

    >
    >
    using 10gR2 on Sun-Solaris. Getting consistently "db file parallel read" over 35 ms as an average wait for the past few months. No performance issues as such.
    Using RAID 1+0. DB Size is 2 TB. Transactions are OLTP/Batch
    Is this metric high or normal. How to justify that..
    Looking at your results it's not really possible to say.
    db file parallel read is a request for a number of randomly distirbuted blocks, and the time for a read is the time for the last block of the set to be returned.
    Without knowing how many blocks are being requested at a time you can't really determine what constitutes a reasonable time. Given that you say OLTP + Batch, and have a large volume of scattered reads, it's quite possible that you have some queries on the Batch side doing very large index range scans - which would allow for some very large db file parallel reads.
    I take it from the use of statspack that you're not licensed for the diagnostic and performance packs; it would be easy to query v$active_session_history to get some idea of the number of blocks per request as this is given by the P2 parameter. As it is. you may be able to get a rough idea by messing about with the various "physical read" numbers in the Instance Activity section of statspack.
    Regards
    Jonathan Lewis

  • WLC 2504 - Issue with using Microsoft NPS for Radius Management Login

    Hello,
    In our environment we like to have our network admins and engineers use their Active Directory credentials when logging into devices so we can log who logged into which devices and if any changes were made. To do this we use a Server 2008 R2 NPS server with all our routers, switches and ASA's. We recently purchased a WLC to begin adding wireless to our environment. (See WLC_Radius_Config.png and NPS_Radius_Config.png)
    On the WLC, I am able to authenticate in using my AD credentials but when I go to apply any config changes I get a message saying "Authorization Failed. No sufficient privileges." (See error.png) I have a feeling I am missing something small but this is very important to us.
    I checked the Radius server and there are no login errors or NPS errors pointing to the WLC logins. Has anyone else run into this issue or know what I can do to solve it? 
    Thanks,

    Hi Kyujin,
    I wish I had finished my guide.  Didn't realize it would take this long.
    But what I meant is that when adding the attributes to my NPS (Microsoft's Network Policy Server) I only had to add the role and virtual domain if using Prime Infrastructure.
    If you use NCS, you have to add the role, all the tasks, and the virtual domain.
    See the screenshots and see if that helps explain it.  Not sure how TACACS will work as I'm not familiar with it.
    Microsoft NPS - Attributes for NCS
    Microsoft NPS - Attributes for PI

  • Issue in using Runtime.exec for service in linux

    Hi,
    I have a problem in executing my own service through java6 on linux operating system.
    I have created a UI (user interface) which contains a button. On clicking that button my own service gets executed successfully. But the problem is that when I close my UI, my service gets stopped. I want that it should keep running even when the UI gets closed.
    I am using this command to start my service in ActionListener:
    Runtime.getRuntime().exec("service myservice start");Am I missing something here?
    Is this the expected behavior of exec()?

    You need to use something along the lines of
            String[] command =
                "bash", "-c", "xemacs > /dev/null 2>&1 &"
            Process p = Runtime.getRuntime().exec(command);
            Thread stderr = new StreamGobbler(p.getErrorStream(), "stderr");
            stderr.setDaemon(true);
            stderr.start();
            Thread stdout = new StreamGobbler(p.getInputStream(), "stdout");
            stdout.setDaemon(true);
            stdout.start();
            int exitCode = p.waitFor();
            System.out.println("Exit code = " + exitCode);where the StreamGobbler class is taken from [http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html]. You should read all the 4 sections of this article.

  • Issue with ICE Online Protocol for Content Push- KM objects

    Hi All,
    I am trying to Push the content from one Portal to another Portal using ICE Online Protocol.
    While pushing I want to transfer each Object (Image, XML file, Documents,etc..etc..)with the same GUID as it is in Souce to Target Portal.
    Kindly help me how to maintain the same GUID in Target portal using ICE Online method, with the value in Source Portal.
    Thanks in Advance..
    Regards||
    Ashok M.

    We can't maintain the same GUID's when we use ICE Online method.

  • How do I continue to save for previous version?

    Hello. I am currently using LabView 9.0 32-bit, Windows 7. Unfortunately, my university uses Labview 8.6.1 32-bit, Windows Vista Business. First, I tried to open my VI's which I started at the University and modified on my machine back on a university machine. I received an error stating that the files were saved with a newer version of LabView and could not be opened. I went home, and opened the VI's again and used File > Save for Previous Version. This is okay, except it forces me to create a new destination folder. When I close LabView and open the VI's from this destination folder, they open up automatically with an asterisk to indicate the files have changed and require saving. Obviously this is automatically converting my 8.6 files to 9.0. This is very frustrating.
    How can I force LabView to stick with the version that the files were created or saved as? If I attempt to save the "asterisked" files for previous version, it refuses to let me. Thank you for your time and consideration.

    You must be doing something wrong, or perhaps Windows 7 is interfering. Here's the step-by-step process:
    Launch LabVIEW 2009.
    Open an 8.6 VI. It should show up with an asterisk in the title bar.
    Make some changes.
    Select File -> Save for Previous Version.
    Verify that "8.6" is selected in the dropdown.
    Click "Save...".
    In the dialog click the "Save" button to accept the default of saving the VI into a new folder called "<VI Name> Folder".
    Close the VI. When asked if you want to save changes click "Don't Save".
    Check the timestamp on the newly created file in that folder.
    Open the same 8.6 VI again.
    Make some changes. 
    Select File -> Save for Previous Version.
    Verify that "8.6" is selected in the dropdown.
    Click "Save...".
    The "File name" textbox should have the same default name as previously. If you click "Save" Windows should move you into that folder, and the save dialog should remain open. The file listing should contain the VI.
    Click on the "Current Folder" button. You should get a dialog warning you that the operation will save over existing files. Click "OK" to continue. The VI will be saved as the previous version over the previous save that was done. To verify this, check the timestamp on the file.
    I just did the above on LV2009 running under XP just so I could get the button names correct.
    You can repeat steps 10-16 as many times as you want without needing to create a new folder.

  • Save for previous does not work

    In LabVIEW 7, there is no possibility to save for a previous version. The reference to "Save with options" in file menu, given in Help, leads nowhere. I have also tried to save programmically, using method "Save for previous", but it did nothing (and did not say anything in the Warnings or Error).
    What to do?

    > In LabVIEW 7, there is no possibility to save for a previous version.
    > The reference to "Save with options" in file menu, given in Help,
    > leads nowhere. I have also tried to save programmically, using method
    > "Save for previous", but it did nothing (and did not say anything in
    > the Warnings or Error).
    > What to do?
    Can you be more specific? Save with options has six options listed on
    the left side. The next to last in LV7 should allow for saving the
    LV6.1. Really, you should just have to click that radio button and if
    you aren't using any toolkits, you click save and choose a folder for LV
    to place the VIs into -- it does this trying to avoid saving over the
    originals. If you need the VIs for versions before 6.1, load into 6.1
    and go furthe
    r back into time. In general, each LV release will save
    back to the previous major release.
    Where in this sequence do you run into a problem?
    Greg McKaskle

  • Improper Format error while saving for previous version

    Hi all,
    I have been developing some Daq code with LabView 8.5. Recently I needed to open the vi on a computer which has Labview 8. I used the save for previous version option. I used low-level vi's in my code which are both available to 8.5 and 8 instead of using new express vi's. LV warned me about converting fixed point numbers to double precision while saving, which in my opinion should not cause a problem.
    I have also enabled "Show front panel when called" and "Show front panel when loaded" options from VI Properties dialog (as adviced by previous threads http://forums.ni.com/ni/board/message?board.id=170&thread.id=369331).
    However I was not able to solve the problem. Are there any suggestions to solve my problems?
    Thanks.
    Gokcen

    I dont understand exactly what the problem is.
    Have you used fixed point numbers in your code? and if so does it matter if LabVIEW converts them to DBL? If not then dont worry about it.
    What problem do you have with the 'show front panel when called' as it isnt clear from your message.
    Also, if you can post your problem code as it makes it easier for people to see the problem
    David
    www.controlsoftwaresolutions.com

  • HT204587 I can't use touch id for purchasing app from iTunes in India

    I can't use touch id for purchasing app from iTunes in India

    Hi Love Apple,
    If you are having issues with using Touch ID for purchases, you may find the following article helpful:
    iPhone 5s: Using Touch ID
    http://support.apple.com/kb/HT5883
    Regards,
    - Brenden

  • HT1933 I bought six songs using my itunes gift card in February but I cannot play the songs or downlaod them to my ipod because I get an error saying the original file could not be found.  I have used the gift card previously with no issue.  How do I fix

    I bought six songs using my itunes gift card in February but I cannot play the songs or downlaod them to my ipod because I get an error saying the original file could not be found.  I have used the gift card previously with no issue.  How do I fix it?

    Have you moved or deleted those tracks on your computer (the gift card has got nothing to do with it) ?
    You might be able to re-download them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes (re-downloading isn't possible in all countries) - if those songs appear there then delete the entries from your iTunes library (where you are clicking on them to play them and gettinf the 'original file' error), and they should then get a cloud symbol against them for re-downloading.
    If they don't appear in that link then have you got them on, for example, an external drive ?

Maybe you are looking for