Common Language runtime debugging services - Application exception

I have a add-on application working on 2005A patch 08. One of our client's site I have a strange problem. The addon works on the test server bur on the production server, after install, it gives me the following error:
Common Language runtime debugging services.
Application has generated an exception that could not be handled.Process Id 0x98(2328), Thread id 0x3a4(932)
Can somebody help me?
I can use test server as client and point the company to the production server and it works fine. What could be missing on production server client? I am using the same ard and exe files for the addon on test server as well as production server.

Hi Ibai Peña,
My application goes this way:
1. Connect to UI api.
2. Set culture info.
3. connect to DI api.
I have placed messageboxes everywhere to b4 and after to see at what point it is failing. but I don't reach there at all.  I get error b4 my first messagebox.
On test server, the system was on 2004 and now upgraded to 2005. On production server, it is 2005.
But my application runs on other 2005 clean install machines. We tried uninstalling SAP B1 completely and loading it again but everytime I get the same error.
Regards.
Prakash

Similar Messages

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • Common Language Runtime Debugging Services

    I have been getting Fatal Execution Engine Errors.
    onfserv.exe - Common Language Runtime Debugging Services
    McafeeDataBackup.exe - Common Language Runtime Debugging Services
    MSI189.temp - Common Language Runtime Debugging Services
    MSIEF.temp - Common Language Runtime Debugging Services
    What is causing this and how can I fix it.

    It might be a virus, try scanning your machine with some other antivirus software than you have now installed. If that's not the problem check the chipset drivers and do all windows updates. Cheers and post back if none worked!
    Message was edited by: daniel.micu

  • Common Language Runtime detected an invalid program.

    I have an app that reads and writes to both digital and analog IO, and it keeps getting stuck.  This is my first NI app so I would believe that I am doing something wrong, but I do not know what.  What happens is that the code gets this far...
    lock (locker)
    try
    using (Task myTask = new Task())
    myTask.AOChannels.CreateVoltageChannel(pathToChannel, "aoChannel" + pathToChannel.Substring(pathToChannel.Length - 1, 1), 0.0, 10.0, AOVoltageUnits.Volts);  <-HERE
    AnalogSingleChannelWriter writer = new AnalogSingleChannelWriter(myTask.Stream);
    writer.WriteSingleSample(true, Voltage);
    catch (DaqException ex)
    MessageBox.Show(ex.Message);
    And then does not return.  Then, any subsequent attempts to communicate with the NI chassis (DOChannels.CreateChannel(pathtoNI9472 + ":7", "", ChannelLineGrouping.OneChannelForAllLines); for example) , return the following exception
    System.InvalidProgramException was unhandled
    HResult=-2146233030
    Message=Common Language Runtime detected an invalid program.
    Source=NationalInstruments.DAQmx
    StackTrace:
    at nNIMSAI100.tTaskSyncManager.getInstance()
    at NationalInstruments.DAQmx.Channel..ctor(Task task, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* virtualChannelName, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* physicalChannelName, Int32 usageType, tChannelType channelType, tLineGrouping lineGrouping, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* customScaleName)
    at NationalInstruments.DAQmx.DOChannel..ctor(Task task, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* virtualChannelName, tCaseInsensitiveBasicString<unsigned short\,_STL::char_traits<unsigned short>\,_STL::allocator<unsigned short>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* physicalChannelName, tLineGrouping lineGrouping)
    at NationalInstruments.DAQmx.DOChannelCollection.CreateChannel(String lines, String nameToAssign, ChannelLineGrouping grouping)
    at BalanceBoard.Calibrator.frmMain.EngageCylinders(Boolean Engage) in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\frmMain.cs:line 47
    at BalanceBoard.Calibrator.frmMain.btnToggle_Click(Object sender, EventArgs e) in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\frmMain.cs:line 361
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at BalanceBoard.Calibrator.Program.Main() in c:\Sandbox\balanceboard\src\BalanceBoard.Calibrator\Program.cs:line 18
    at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
    at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:
    What's going on?
    Thanks,
    -Seth

    Seth, this person solved this issue by unchecking "code optimization" in Visual Studio.
    Please read through this post and make sure all of your software is up to date, including DAQmx and Measurement Studio.
    http://stackoverflow.com/questions/23563299/invalidprogramexception-common-language-runtime-detected...
    -CB
    Casey B.
    Applications Engineer
    National Instruments

  • Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program.

    hello,
    we have 3 server sharepoint 2010 farm as a live system and a 1 server for development and test system. I've got a problem with one of our portals that gives correlation ID (in 2 or 3 times a week) on all my dataview web parts (total 8 Dataview
    WP) until i make IIS reset for that portal. (but same portal works like magic on test system over 3 weeks now). there is no custom code in the page other than the customized masterpage and css. and just reseting the IIS solves the problem for a couple
    of days but i need to fix that permanantly. if anyone can help me about that i will be happy. thank you all in advance.
    here is the log for the correlation ID;
    11/08/2011 09:40:11.72  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=63,946744628158 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (GetWebPartPageContent). Execution Time=64,2515319684485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=65.3603321092485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.22  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=361.680395134018 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (HelpDesk)). Execution Time=391.723110060077 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (Activate web part connections). Execution Time=416.389513192319 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.28  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.28* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.30  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.8157992147047 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Approves)).
    Execution Time=56.5768833748423 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.36  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=16.99475771362 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Tasks)).
    Execution Time=59.0992011554541 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.43  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=20.8265994700444 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.44  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.44* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.46  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.1539832576487 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.47  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.47* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=13.4458429772499 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.52  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=23.1282886512113 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.53  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.53* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.57  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx)). Execution
    Time=845.499567682485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f

    Nicholas Mulder's summary is exactly the issue our server is facing. App pool recycle kicks-off at 2:04am and by 2:06am all our data view web parts are displaying "Unable to display web part ..." I get the same error messages in ULS logs every
    time it recycles, however it is able to correct itself some of the time. The other times which is every few days, the web parts never come back up.
    Here are a few lines from the log leading up to the recycle and a few after.
    -The application domain /LM/W3SVC/1304874868/ROOT-1-130058022909222844 is unloading and going to be recycled.
    -Shutdown Reason: HostingEnvironment initiated shutdown  HostingEnvironment caused shutdown
    -AppDomain shutdown initiated
    -Flushing connection pool 'Data Source=SPSQL;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
    -An application domain named /LM/W3SVC/1304874868/ROOT-1-130058174460198926 has just been loaded.
    -Failed to look up string with key "FSAdmin_SiteSettings_UserContextManagement_ToolTip", keyfile Microsoft.Office.Server.Search.
    -Error initializing Safe control - Assembly:Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c TypeName: Microsoft.Office.SharePoint.ClientExtensions.Publishing.TakeListOfflineRibbonControl Error:
    -No webtemp*.xml files found for language 1033 and product version 3.
    -No webtemp*.xml files found for language 1033 and product version 2.
    -Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
    -Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
    -Error while executing web part: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    -Error while executing web part: System.ArgumentException: An item with the same key has already been added.   
    -Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.  
    -AddWithFile:DfwpXslFilesHashCache=Microsoft.SharePoint.WebPartPages.CloneableHashTable
    -Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program. 

  • Getting a QC error "COMMON LANGUAGE RUNTIME detected an invalid program" everytime loading the page

    Hi,
    I wanted to install QC 11 on my laptop and i am accessing QC through the link we all use in my company. But the thing is everytime i tried loading that, a ' COMMON LANGUAGE RUNTIME detected an invalid program" error comes up on screen and it stops right there. I am not even able to view login page. I have tried everything possible alternate but seems like there is no solution.
    I have Windows 7,64 bit version. Here are few suggestion that i have tried.
    a)I was using IE10 but somebody suggested i should upgrade to IE11 and then try simulating IE10 in document mode. That also didnt work.
    b) Tried running as Admin and in normal both, with protected mode OFF & ON. Every possible combination but the error is same.
    c) Downloaded Microsoft redistributable C++ 64 bit pack.
    d) Cleaned temporary files from IE.
    e) Upgraded java version 6 to 7, .net version from 4.0 to 4.5
    Its the first time i tried installing QC and seems like i am stuck at a dead end. Please help if this situation is something you are familiar with.
    Thanks

    Seth, this person solved this issue by unchecking "code optimization" in Visual Studio.
    Please read through this post and make sure all of your software is up to date, including DAQmx and Measurement Studio.
    http://stackoverflow.com/questions/23563299/invalidprogramexception-common-language-runtime-detected...
    -CB
    Casey B.
    Applications Engineer
    National Instruments

  • The common language runtime could not be loaded.

    The common language runtime could not be loaded error in receiving while opening excel file in windows 7.

    Hi,
    Is this problem just occures when opening excel file? How about other office program?
    Did you make any change to your Office, such as install language package, etc. that may cause this problem?
    Since your problem is specific with Office program, it would be better to provide your question at Office Forum.
    https://social.technet.microsoft.com/Forums/office/en-US/home?forum=officeitpro
    Roger Lu
    TechNet Community Support

  • ORA-20100: ODE-00002: Error in loading Common Language Runtime

    Hi!
    I try to execute .NET stored Procedure (ODE version 11.1.0.6.20)
    But error rmessag appear:
    SQL> select getstring() from dual;
    select getstring() from dual
    ERROR at line 1:
    ORA-20100: ODE-00002: Error in loading Common Language Runtime
    ORA-06512: at "SYS.DBMS_CLR", line 243
    ORA-06512: at "SYSTEM.GETSTRING", line 6
    Can you help me ?
    Regards
    IgorM

    Are you generating the .NET stored procedure using VS 2003 or VS 2005? If you are using VS 2003 then you should have .NET framework v1.1 (or v2.0) installed in your database server. If it is VS 2005, then you must have .NET framework v2.0.50727 installed in your database server?
    Can you please check registry value of ".NETFramework" in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<HOMENAME>\ODE where <HOMENAME> is the appropriate Oracle home in the database server.
    Please post all your .NET stored procedure queries in the .NET Stored Procedure forum (.NET Stored Procedures

  • Common Language Runtime option missing when attaching to extproc.exe

    All,
    In references to http://www.oracle.com/technology/pub/articles/mastering_dotnet_oracle/williams_sps.html.. I have been able to sucessfully deploy the .NET store procedure from VS 2005 to Oracle 11g with Oracle Extensions for .NET. The .NET SP also runs in SQL*Plus and from my VS 2005.
    I have Oracle 11g on a Win2003 Server and VS 2005 on a WinXP, so I attemped to debug the .NET store procedure remotely by attaching my VS to the extproc.exe process on the Win2003 machine.
    I setup a Visual Studio Remote Debuging Monitor on the Win2003 machine and could attached to it from my XP box but it does not hit the breakpoint Ive set when I run the SP from SQL*Plus. **All permission were set to allow remote debugging
    However, there isnt an option to specify CLR as the code type/program type.. only Managed, Native and T-SQL is listed. Extproc.exe is also listed as a " Managed, x86" Type as opposed to a ".NET, ..." Type unlike the screenshot shown in the article.
    Does anybody know why this is the case? Could it be possible that extproc.exe cannot be debugged remotely?
    Would appreicate it if anyone could shed some light into this.
    Thanks in advance.
    Brian

    Issue resolved. I came into work today and the breakpoint hit for some strange reason.

  • CREATE ASSEMBLY for assembly Assembly Name failed because the assembly is built for an unsupported version of the Common Language Runtime.

    Not sure if this is an SQL or C# question, but here it goes:  I am trying to create my first CLR assembly for SQL using C#.  I found several examples online, and am following them.  However, when I try to load my assembly into the SQL Server,
    I receive the aforementioned error.  I've googled the heck out of it an am coming up with nothing.  Anyone have an idea that can point me in the right direction?

    SQL Server 2008 uses .NET Framework 3.5 SP1 (and, really, the base portion of the framework is just 2.0 with updates, 3.0 and 3.5 just update the 2.0 base and add some new assemblies). If changing the VS2010 to 3.5 didn't do it, I'd try starting out with
    an entire new project and set the target to 3.5 at project creation time. Unless you're using some odd referenced assemblies that are version 1.1 or 4.0, this should work (I've been using VS2010 with 3.5 targets for SQLCLR for quite a while without incident).
    Hope this helps, Cheers, Bob Beauchemin, SQLskills

  • Application exception not handled

    I have a VB.NET winform app that I created that uses an unmanaged ActiveX control for knobs and sliders (cwui.ocx).
    I created a setup project for it and it installs fine on my machine. The app runs fine too.
    When I run it on another machine it installs fine, but when I run the program I get this error:
    MyApp.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled.
    Process id=0x11c(284), Thread id=0x68(104).
    Click OK to terminate the application.
    Click CANCEL to debug the application.
    Any ideas???

    My first guess would be that you did not include the CWUI_OCX.msm merge module in your setup project. Since the OCX is installed on your development machine it will work fine, but without installing it on the deployment machine you will get errors.
    The help topic:
    ms-help://NI.MeasurementStudio/MStudioMain/static/Distributing_MStudio_Apps.html
    Should explain.
    Jeff

  • Create SharePoint 2010 Search Service Application Using Powershell

    Hi Team,
    Could you please assist me in completing the search service application for
    two server using powershell. Both the servers will be running all the component
    Version SharePoint 2010
    # 1.Setting up some initial variables.
    write-host 1.Setting up some initial variables.
    $SSAName = "Search Service Application"
    $SVCAcct = "Domain\ServiceAccount"
    $SearchAppPoolName ="DefaultAppPool"
    $SSI = get-spenterprisesearchserviceinstance -local
    $err = $null
    $SSADBName="Search_AdminDB"
    $SSADBServer="DBServer"
    $host1="Server1"
    $host2="Server2"
    # Start Services search services for SSI
    write-host Start Services search services for SSI
    Start-SPEnterpriseSearchServiceInstance -Identity $SSI
    # 2.Create an Application Pool.
    write-host 2.Create an Application Pool.
    #$AppPool = new-SPServiceApplicationPool -name $SSAName"-AppPool" -account $SVCAcct
    $AppPool = Get-SPServiceApplicationPool -Identity $SearchAppPoolName -ErrorAction SilentlyContinue
    # 3.Create the SearchApplication and set it to a variable
    write-host 3.Create the SearchApplication and set it to a variable
    $SearchApp = New-SPEnterpriseSearchServiceApplication -DatabaseServer $SSADBServer -Name $SSAName -applicationpool $AppPool -databasename $SSADBName
    #4 Create search service application proxy
    write-host 4 Create search service application proxy
    $SSAProxy = new-spenterprisesearchserviceapplicationproxy -name $SSAName"ApplicationProxy" -Uri $SearchApp.Uri.AbsoluteURI
    # 5.Provision Search Admin Component.
    write-host 5.Provision Search Admin Component.
    set-SPenterprisesearchadministrationcomponent -searchapplication $SearchApp -searchserviceinstance $SSI
    # 6.Create a new Crawl Topology.
    write-host 6.Create a new Crawl Topology.
    $CrawlTopo = $SearchApp | New-SPEnterpriseSearchCrawlTopology
    New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
    Source:blog.MSDN Author- Russ Maxwell
    Thanks Basva

    Could you please assist me in completing the search service application for
    two server using powershell. Both the servers will be running all the component 
    Hi Basva,
    Do you want to provision two search service applications in single farm?
    Commonly, only one search service application is needed in a farm for Search function.
    Here are articles for detail information about how to provision search service application using powershell:
    http://blogs.msdn.com/b/jjameson/archive/2011/02/28/powershell-script-to-configure-search-in-sharepoint-server-2010.aspx
    http://blogs.msdn.com/b/russmax/archive/2009/10/20/sharepoint-2010-configuring-search-service-application-using-powershell.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Backup-SPFarm for PowerPivot Service Application

    Hi 
    I am using Backup-SPFarm PowerShell cmdlet to take a backup of my service applications.
    I am able to take the backup of all my services applications except PowerPivot Service Application.
    Below is my command:
    Backup-SPFarm -Directory $backupSAFolder -BackupMethod Full -Item "Farm\Shared Services\Shared Services Applications\SQL Server PowerPivot Service Application"
    Error:  Item Farm\Shared Services\Shared Services Applications\SQL Server PowerPivot Service Application not found. 
    I also cross checked with the correct Application service name (to check if i am not doing any typo mistake) using 
    Get-SPServiceApplication cmdlet. see the screenshot below.
    Could somebody help me please.
    My name is yogendra

    You just need to take backup of service application databases from SQL server
    http://msdn.microsoft.com/en-us/library/jj218793.aspx
    op
    2) Backup, Copy, Restore the Databases
    The “SharePoint database-attach upgrade” process is a sequence of steps to back up, copy, and restore PowerPivot related content and service application databases to the SharePoint 2013 farm.
    Set Database to read-only: In SQL Server Management Studio, right-click the database name and click
    Properties. On the Options page, set the
    Database read-Only property to
    True.
    Back up: Back up each content database and service application database that you want to migrate to the SharePoint 2013 farm. In SQL Server Management Studio, right-click the database name, click
    Tasks, and click Back up.
    File copy the database backup files (.bak) to the desired destination server.
    Restore: Restore the databases to the destination SQL Server Database Engine. This step can be completed using SQL Server Management Studio.
    Set Database to read-write: Set the
    Database read-Only to False.
    Migrate Schedules option1: SharePoint farm administrator
    In the SharePoint 2013 Management Run the Set-PowerPivotServiceApplication cmdlet with the
    -StartMigratingRefreshSchedules switch to enable automatic on demand schedule migration
    . The following Windows PowerShell script assumes that there is only one PowerPivot service application.
    $app=Get-PowerPivotServiceApplication
    Set-PowerPivotServiceApplication $app -StartMigratingRefreshSchedules
    After the Windows PowerShell script is run, the schedules are active and the schedules will run at the next appropriate time. However, the status one the schedule refresh page is not enabled. When the schedule runs the first time it will be migrated and
    on the schedule refresh page, Enabled will be true.
    If you want to check the current value of the StartMigratingRefreshSchedules property, run the following PowerShell script. The Script loops through all PowerPivot service application objects and display the name and property values:
    $apps = Get-PowerPivotServiceApplication
    foreach ($app in $apps){}
    Get-PowerPivotServiceApplication $appp | format-table -property displayname,id,StartMigratingRefreshSchedules
    http://msdn.microsoft.com/en-us/library/ee210616.aspx
    If this helped you resolve your issue, please mark it Answered

  • How to debug an Application Service?

    Hi,
    I have created an application Service which has  been exposed as as a Web Service. Now how can I debug the Web Service or in other words the application service.
    I have started the CE server in debug mode and I am able to debug WebDynpro Applications.
    I am working on SAP CE 7.1.
    Please reply ASAP.
    Regards,
    Manish Sethi

    Hi Manish
    follow this tutorial it describes how to configure and use the SAP NetWeaver Developer Studio and the J2EE Engine for debugging CAF Application Service.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9db6c4ea-0c01-0010-15b1-f72f12aade28
    thanks
    Asif

  • Not able to launch Self Service Application thru JDeveloper

    We have been able to install and configure the JDeveloper and Self Service application, but not able to launch the application because of the error message below. We have followed the steps mentioned in the attached Quick Installation guide. We tried the solution available on the metalink for the error message" Unable to Load Template mappings...etc... ", but still not able to proceed.
    Error message in brief:
    WARNING: Unable to connect to URL: http://siebeloraclelab/custappsvcs_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    *09/10/21 09:56:07 java.rmi.RemoteException: ; nested exception is:*
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    *09/10/21 09:56:07 at*
    INFO: base exception:oracle.apps.ss.base.model.util.SelfServiceRuntimeException: Unable to load template mappings. Web service for template mappings has failed. Contact your system administrator.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    /home/oracle/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config>
    /usr/local/jdk1.5.0_05/bin/java -server -classpath /software/stage/JDeveloper_5_0_5/j2ee/home/oc4j.jar:/software/stage/JDeveloper_5_0_5/jdev/lib/jdev-oc4j-embedded.jar -DSIEBEL_WEBSERVER_URL=http://siebeloraclelab/custappsvcs/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/oracle/jdevhome/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    Oct 21, 2009 9:55:30 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Oct 21, 2009 9:55:31 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_340lmWKiVBfJ13eCPe1ZnYEVBbHAQFgg)
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_mWuHsh7xUpwQan6gwUvnOfj1kZXRclnF)
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_o50bUFHCTQyJWR14Iwtu3lW4PpCErshd)
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_o50bUFHCTQyJWR14Iwtu3lW4PpCErshd)
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_WWuBI5VZMcLlQhE3h_3k7r-oDwKLD92G)
    09/10/21 09:55:36 INFO: SecuritySensitive.lookupException password is not available for indirect password via application context (user: DataBase_User_S3flyHmsbRISiQsYMq2qF-NwIwoWVOfe)
    WARNING: Code-source /software/stage/JDeveloper_5_0_5/jlib/adf-faces-impl.jar (from <classpath> in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html) has the same filename but is not identical to /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib/adf-faces-impl.jar (from WEB-INF/lib/ directory in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.SelfService-ViewController-webapp:0.0.0.
    WARNING: Code-source /software/stage/JDeveloper_5_0_5/jlib/adf-faces-api.jar (from <classpath> in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html) has the same filename but is not identical to /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib/adf-faces-api.jar (from WEB-INF/lib/ directory in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.SelfService-ViewController-webapp:0.0.0.
    WARNING: Code-source /software/stage/JDeveloper_5_0_5/adfc/lib/adf-controller.jar (from <classpath> in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html) has the same filename but is not identical to /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib/adf-controller.jar (from WEB-INF/lib/ directory in /software/stage/JDeveloper_5_0_5/install/ViewController/public_html/WEB-INF/lib). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.SelfService-ViewController-webapp:0.0.0.
    09/10/21 09:55:47 log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    09/10/21 09:55:47 log4j:WARN Please initialize the log4j system properly.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 44504 ms.
    **Target URL -- http://172.21.14.220:8988/faces/ss/telco/catalog/TelcoSiteSelection.jspx**
    09/10/21 09:56:00 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    Oct 21, 2009 9:56:05 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache Region Xml filename : oracle/apps/ss/base/model/resources/SelfServiceCacheRegion.xml
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region PRODUCT_LOV is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region ARTICLE_LOV is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region BINARY_OBJECT is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region ATTACHMENT is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region DOCUMENT is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region FAQ is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region NEWS is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TOPALERT is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CONFIG is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region LOV is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region LOCALE is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region LOCALENAMES is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.setup.template.cache.TemplateRuleIdCacheLoader <init>
    INFO: invoking cache id loader
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TEMPLATE_RULE_ID is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TEMPLATE_RULE is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TEMPLATE_MAPPING is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SERVICE_REQUEST_TYPE_MAPPING is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TIMEZONE is created
    Oct 21, 2009 9:56:05 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CURRENCY is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SITE_CODE is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SITE_LANG is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SITE_ATTRIBUTE is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CATALOG is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CATALOG_CATEGORY is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CATEGORY_NLS is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CATEGORY is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SUB_CATEGORY is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CATEGORY_PRODUCT is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region PRODUCT_NLS is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region PRODUCT is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region PRODUCT_PRICE is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region PRODUCT_CLASS is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SORTED_PRODUCTS is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region SURVEY is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager fetchAttributes
    INFO: Couldnt set user defined attribute
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region BRANCH is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region CONFIGURATOR_MODEL is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.CacheManager initManually
    INFO: Cache region TIMEZONE_MAPPER is created
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.setup.template.cache.TemplateRuleCacheManager isTemplateCacheLoaded
    INFO: isTemplateCacheLoaded: false
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.setup.template.cache.TemplateRuleCacheManager loadAllRules
    INFO: entering loadAllRules method
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.security.SiebelWSHandler init
    INFO: init, begin
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.security.SiebelWSHandler init
    INFO: init, end
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getBaseLocale
    INFO: Exiting:en_US
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getLocaleFromString
    INFO: Exiting :en_US
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getLocaleAsMap
    INFO: Exiting with Locales loaded
    Oct 21, 2009 9:56:06 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getSiebelLanguage
    INFO: Exiting :ENU
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler isStatefulAnonymousSession
    INFO: isStatefulAnonymousSession, stateful WS call for anonymous users?false
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler handleRequest
    INFO: PERF: Web Service Call
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler isStatefulAnonymousSession
    INFO: isStatefulAnonymousSession, stateful WS call for anonymous users?false
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler findSiebelUserName
    INFO: findSiebelUserName, real username=null
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler isStatefulAnonymousSession
    INFO: isStatefulAnonymousSession, stateful WS call for anonymous users?false
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler findSiebelSessionTokenFromCache
    INFO: findSiebelSessionTokenFromCache, previous siebel session token:null
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler handleRequest
    INFO: DEBUG: Request, UserId null SessionToken null TimeStamp 1256099167253
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler handleRequest
    INFO: PERF: document/http://siebel.com/SelfService/Common/Setup:SelfServiceTemplateRuleQueryPage
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.security.SiebelWSHandler handleRequest
    INFO: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://siebel.com/SelfService/Common/Setup" xmlns:ns1="http://www.siebel.com/SelfService/Common/TemplateRule/Data" xmlns:ns2="http://www.siebel.com/SelfService/Common/TemplateRule/Id" xmlns:ns3="http://www.siebel.com/SelfService/Common/TemplateRule/Query">
    <env:Header>
    <sbh:SessionType xmlns:sbh="http://siebel.com/webservices">None</sbh:SessionType>
    </env:Header>
    <env:Body>
    <ns0:SelfServiceTemplateRuleQueryPage_Input>
    <ns0:NamedSearchSpec/>
    <ns3:ListOfSSTemplateRule pagesize="100" recordcountneeded="true">
    <ns3:SSTemplateRule>
    <ns3:ModId/>
    <ns3:ConditionTypeCode/>
    <ns3:ConditionValue/>
    <ns3:CatalogueCategoryId/>
    <ns3:EffectiveEndDate/>
    <ns3:EffectiveStartDate/>
    <ns3:PageTypeCode/>
    <ns3:RowId/>
    <ns3:TemplateName/>
    <ns3:WebSiteId/>
    </ns3:SSTemplateRule>
    </ns3:ListOfSSTemplateRule>
    <ns0:ExecutionMode>ForwardOnly</ns0:ExecutionMode>
    <ns0:LOVLanguageMode>LIC</ns0:LOVLanguageMode>
    <ns0:ViewMode>All</ns0:ViewMode>
    <ns0:PickListName/>
    </ns0:SelfServiceTemplateRuleQueryPage_Input>
    </env:Body>
    </env:Envelope>
    Oct 21, 2009 9:56:07 AM oracle.webservices.client
    WARNING: Unable to connect to URL: http://siebeloraclelab/custappsvcs_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    *09/10/21 09:56:07 java.rmi.RemoteException: ; nested exception is:*
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    *09/10/21 09:56:07 at oracle.apps.ss.base.model.setup.template.proxies.runtime.SelfServiceTemplateRule_Stub.selfServiceTemplateRuleQueryPage(SelfServiceTemplateRule_Stub.java:146)*09/10/21 09:56:07 at oracle.apps.ss.base.model.setup.template.proxies.SelfServiceTemplateRuleClient.selfServiceTemplateRuleQueryPage(SelfServiceTemplateRuleClient.java:40)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.setup.template.cache.TemplateRuleIdCacheLoader.load(TemplateRuleIdCacheLoader.java:119)
    09/10/21 09:56:07 at oracle.ias.cache.CacheLoader.callLoad(Unknown Source)
    09/10/21 09:56:07 at oracle.ias.cache.CacheHandle.findObject(Unknown Source)
    09/10/21 09:56:07 at oracle.ias.cache.CacheHandle.locateObject(Unknown Source)
    09/10/21 09:56:07 at oracle.ias.cache.CacheAccess.get(Unknown Source)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.util.cache.CacheManager.get(CacheManager.java:439)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.util.cache.CacheManager.get(CacheManager.java:426)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.setup.template.cache.TemplateRuleCacheManager.loadAllRules(TemplateRuleCacheManager.java:43)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.util.cache.CacheManager.initialize(CacheManager.java:190)
    09/10/21 09:56:07 at oracle.apps.ss.base.view.util.SelfServiceFilter.init(SelfServiceFilter.java:76)
    09/10/21 09:56:07 at com.evermind.server.http.HttpApplication.getFilterConfig(HttpApplication.java:7585)
    09/10/21 09:56:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:568)
    09/10/21 09:56:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/10/21 09:56:07 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/10/21 09:56:07 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/10/21 09:56:07 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/10/21 09:56:07 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/10/21 09:56:07 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/10/21 09:56:07 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/10/21 09:56:07 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    09/10/21 09:56:07 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    09/10/21 09:56:07 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    09/10/21 09:56:07 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    09/10/21 09:56:07 at java.lang.Thread.run(Thread.java:595)
    09/10/21 09:56:07 Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    09/10/21 09:56:07 at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:172)
    09/10/21 09:56:07 at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:148)
    09/10/21 09:56:07 at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
    09/10/21 09:56:07 at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    09/10/21 09:56:07 at oracle.apps.ss.base.model.setup.template.proxies.runtime.SelfServiceTemplateRule_Stub.selfServiceTemplateRuleQueryPage(SelfServiceTemplateRule_Stub.java:130)
    09/10/21 09:56:07 ... 25 more
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.setup.template.cache.TemplateRuleIdCacheLoader load
    SEVERE: RemoteException occured
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getBaseLocale
    INFO: Exiting:en_US
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.util.cache.LocaleCacheManager getLocaleFromString
    INFO: Exiting :en_US
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.util.cache.CacheManager get
    SEVERE: CacheException: during get
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.util.cache.CacheManager get
    INFO: base exception:oracle.apps.ss.base.model.util.SelfServiceRuntimeException: Unable to load template mappings. Web service for template mappings has failed. Contact your system administrator.
    Oct 21, 2009 9:56:07 AM oracle.apps.ss.base.model.util.cache.CacheManager get
    SEVERE: self service runtime exception

    Hi,,
    Seems like configuration problem at Siebel end.Check following points:-
    1) Are you able to invokde SelfServiceTemplate rule web service from [SOAP UI|http://www.soapui.org/].
    2) Recheck configuration details of custom object manager in siebel as mentioned in Self Service application developer guide.
    3) Recheck Siebel web service url which you have given...
    Regards,
    Vikram

Maybe you are looking for