Last active change request of a object which has been transported
Hi to all,
I need a method to obtain the last active change request of a object which has been transported to the corresponding target system. I know that the CR tables are E070 and E071, but how can I know the last active and transported CR of each object? Any suggestion?
Thank you very much,
Antonio
Hi Antonio, As u are aware that you can get TR information from E070 and E071 tables.From these two tables we can get the latest TR. In table E070 there are two fields with AS4DATE, AS4TIME.So, U can find the latest transported object on these two fileds.Also, u need to check the TRSTATUS field which specifies whether the object is transported ( R Released) or still Modifiable( Active as D).
However this table will also contains subtasks and main request. This can be diffrentiated with the help of STRKORR field of E070. If blank then its a main req else its a subtask where the field would contain the Main Request No.
Hope this would be of some help for u r development.
Regards,
Swaroop
Similar Messages
-
Using a Circle object which has been created outside a Group
Hi all!
I have one trouble:
I create a Circle object outside a Group object.
I trying to use th Circle in the Group and I have got compilation error.
It's my code:
* testfx.fx
* Created on 24.03.2009, 21:19:00
package testfx;
import javafx.scene.effect.*;
import javafx.scene.paint.*;
import javafx.scene.shape.*;
import javafx.scene.*;
import javafx.scene.text.*;
import javafx.scene.control.*;
import javafx.scene.transform.*;
import javafx.stage.Stage;
var MyCircle : Circle = Circle{
centerX: 200
centerY: 200
radius: 15
fill: Color.BLUE
function run(){
Stage {
title: "Button"
width:400
height:400
scene: Scene{
fill: Color.BLACK
content:[
Group{
content:[
Rectangle{
x: 125
y: 175
width: 150
height: 50
arcHeight: 5
arcWidth: 5
stroke: Color.GRAY
fill: LinearGradient{
startX: 0.0
startY: 0.0
endX: 0.0
endY: 1.0
proportional: true
stops:[
Stop{offset: 0.0 color: Color.WHITE},
Stop{offset: 1.0 color: Color.BLACK}
MyCircle <------- (SIC!)
effect: Reflection{
fraction: 1.0
topOffset: 3
topOpacity: 0.8
bottomOpacity: 0.2
}My error:
Note: The following error is an internal error in the OpenJFX compiler (1.1.0).
Please file a bug at the Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues) after checking for duplicates. Include the following diagnostic in your report and, if possible, the source code which triggered this problem. Thank you.
Where is my mistake here?
I'm sorry for my English, I have not enough knowledge in it at the moment.
//Best regards!
//AlexanderTry this:
package testfx;
import javafx.scene.effect.*;
import javafx.scene.paint.*;
import javafx.scene.shape.*;
import javafx.scene.*;
import javafx.stage.Stage;
var myCircle : Circle = Circle{
centerX: 200
centerY: 200
radius: 15
fill: Color.BLUE
Stage {
title: "Button"
width:400
height:400
scene: Scene{
fill: Color.BLACK
content:[
Group{
content:[
Rectangle{
x: 125
y: 175
width: 150
height: 50
arcHeight: 5
arcWidth: 5
stroke: Color.GRAY
fill: LinearGradient{
startX: 0.0
startY: 0.0
endX: 0.0
endY: 1.0
proportional: true
stops:[
Stop{offset: 0.0 color: Color.WHITE},
Stop{offset: 1.0 color: Color.BLACK}
myCircle
effect: Reflection{
fraction: 1.0
topOffset: 3
topOpacity: 0.8
bottomOpacity: 0.2
By the way, you could define the Circle inline, like this:
package testfx;
import javafx.scene.effect.*;
import javafx.scene.paint.*;
import javafx.scene.shape.*;
import javafx.scene.*;
import javafx.stage.Stage;
Stage {
title: "Button"
width:400
height:400
scene: Scene{
fill: Color.BLACK
content:[
Group{
content:[
Rectangle{
x: 125
y: 175
width: 150
height: 50
arcHeight: 5
arcWidth: 5
stroke: Color.GRAY
fill: LinearGradient{
startX: 0.0
startY: 0.0
endX: 0.0
endY: 1.0
proportional: true
stops: [
Stop{
offset: 0.0
color: Color.WHITE
Stop{
offset: 1.0
color: Color.BLACK
Circle{
centerX: 200
centerY: 200
radius: 15
fill: Color.BLUE
effect: Reflection{
fraction: 1.0
topOffset: 3
topOpacity: 0.8
bottomOpacity: 0.2
Thanks,
Jim Weaver
JavaFXpert.com (Learn JavaFX blog)
Edited by: JimWeaver on Mar 25, 2009 1:15 PM
Edited by: JimWeaver on Mar 25, 2009 1:17 PM -
Jndi lookup of of object that has been bound remotely
I want to register in weblogic server jndi tree some remote objects. A one standalone
application binds these object in server jndi. Another standalone app try to lookup
and executes some methods - everything works ok.
The problem is : applications which works internally on server can't lookup these
object. It's initial context doesn't contains such bindings. What's the difference
between naming contexts
inside and outside the server?
Thank in advance,
Vladimir.Hi JP3O,
>> But that doesn't help because CurrentExcelWorksheetEventsInstance is not nothing even after all properties give errors. What is a better test or approach I can use?
In my option, if you refer to the property of the Worksheet object which has been deleted, the error would be raised as expected. I think you could use the try catch statement to deal with this situation. Some key code like below:
Dim oxl As Excel.Application
Dim owb As Excel.Workbook
Dim osheet As Excel.Worksheet
Dim owbname As String
oxl = New Excel.Application
owb = oxl.Workbooks.Open("D:\Test\VSC#\03\Winform\VBWinform\Test.xlsx")
osheet = owb.Worksheets("sheet1")
Try
osheet = owb.Worksheets.Add()
owb.Close(False)
owbname = owb.Name
Catch comex As System.Runtime.InteropServices.COMException
If comex.ErrorCode = -214682246 Or comex.Message.Contains("Object has been deleted") Then
' handle deleted object
Else
Throw comex
End If
End Try
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
How can I import a change request to a system which is not in the domain
how can I import a change request into a system which is not part of the transport domain?
Hi,
You can transport any requests to any systems even though they are not in the transport domain.
1) Move the corresponding data & cofiles( in /usr/sap/trans/data & /usr/sap/trans/cofiles directories) to the same location in the target system.
2)Add the request to the queue from STMS ->Import Queue ->Extras ->Other Requests - >Add.
3)The execute the transport as usual.
Regards,
Sam -
I have a Windows 8 laptop which has been updated to 8.1. I'm trying to rename a new playlist in my itunes which I could change befor the last update which was very recent. It won't do it like it used to. Help, please! reetz58
yeah it is the gayest thing that happens :S what i do is turn off the internet, then open it, then turn on internet, then use it. :S OR make your homepage a tab.
-
Old computer died and I am trying to install Illustrator CS5 on new computer.
Last version I had before CS5 was/is Illustrator 10,which has been installed on new computer.
CS5 install says I need CS2,3 or 4 before installing 5, but old computer went directly from 10 to CS5.
How can I repeat this 10 to CS5 install?It does not seem likely that CS6 was upgraded from version 10. You might want to check your purchase history in your Adobe account to see if there is some missing link in the chain of purchases you made.
You can always try contacting Adobe support thru chat to see if they can find information or otherwise assist you in this matter.
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
Team,
I am trying to Install Exchange on my Lab, getting below error
message.
The Schema Role is installed on Root Domain and trying to install
exchange on Child domain.
1 Root Domain - 1 Child domain. both are located on single site.
“Setup encountered a problem while validating
the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
replication to complete.”
Followed below articles:
http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
http://www.petenetlive.com/KB/Article/0000793.htm
transferred the schema roles to different server on root domain, still no luck.
can someone please help me.
regards
Srinivasa k
Srinivasa KHi Srinivasa,
I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
After finishing this,
2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
5. Finally, run the setup program
Hope this will help you
Regards from Visit ExchangeOnline |
Visit WindowsAdmin -
How to check with which user id a request has been transported
Can anybody tell me how to find out with which id a request has been transported to a system?
Regards,
SrideviHi,
To find who has moved the request.
In STMS, Go to import overview(F5). Select the system in which you want to see who has moved the request.
Then at the top menu, in GOTO select IMPORT HISTORY(Ctrl+F7).
Once you are in import history, at the top menu in EDIT select DISPLAY MORE(Ctrl + Shift + F1).
Then it will display the users list.
Hope this helps you.
Regards,
Ravi -
I bought an Iphone 4 for my daughters birthday from the Apple shop, I am trying to use a Giff Gaff sim card which has been activated and has credit on it but the phone keeps giving me the message "please use a compatable sim"
Read here:
http://support.apple.com/kb/HT5014 -
Object (which has non-serializable attr.) serialization
i could not solve object serialization problem in anyway. how can this be performed without "java.io.NotSerializableException"?
import java.awt.Image;
import java.awt.Toolkit;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.Serializable;
public class Object2ByteArray {
public static void main(String[] args) {
Object2ByteArray obj2ba = new Object2ByteArray();
AnObject anObj = obj2ba.new AnObject();
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
//FileOutputStream fos = new FileOutputStream("C:\\obj.file");
ObjectOutputStream oos = new ObjectOutputStream(baos); //or (fos)
baos.writeTo(oos);
oos.writeObject(anObj);
oos.flush();
byte[] objInBytes = baos.toByteArray();
System.out.println("An object (which has a non-serializable element[Image]) is written to ObjectOutputStream.");
} catch (IOException e) {
e.printStackTrace();
public class AnObject implements Serializable {
Image img = Toolkit.getDefaultToolkit().getImage("C:\\anil.jpg");
int c = 10;
String desc = null;
}Hi,
No, transient means that the attribute won't be sent over the stream. You usually declare fields that you don't want to send, or can't send as transient.
/Kaj -
Request timed out because there has been no reply from the server in 600000
Issue:
Request timed out because there has been no reply from the server in 600000
Scenario:
1. All the crystal reports are designed by using Crystal Report 2008 Version -- 12.3.0.601
2. All reports are uploaded to CMC (SAP Business Objects Enterprise XI, Product: 12.1.0)
3. using Front-End .net Winform
4. Crystal Report is binding is done using Business View Manager (since having more than one databases)
5. Business View Manager Connects to Oracle using "Oracle Server" connection
6. Loading reports as follows
string queryString = string.Empty;
SessionMgr sessionMgr = new SessionMgr();
EnterpriseSession enterpriseSession = sessionMgr.Logon(userName, userPassword, serverName, authType);
EnterpriseService enterpriseService = enterpriseSession.GetService("InfoStore");
InfoStore infoStore = new InfoStore(enterpriseService);
enterpriseService = enterpriseSession.GetService("PSReportFactory");
Object psrfObject = enterpriseService.Interface;
PSReportFactory psReportFactory = (PSReportFactory)psrfObject;
queryString = "Select SI_CUID, SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS " + "Where SI_PROGID='CrystalEnterprise.Report' " + "And SI_ID=" + ReportId;
InfoObjects infoObjects = infoStore.Query(queryString);
InfoObject infoObject = infoObjects[1];
ReportDocument crDoc = new ReportDocument();
crDoc.Load(infoObject, enterpriseSession);
7. All the reports are getting loaded properly and i am able to dynamically set the report parameters
8. After executing report, some of the reports take more than 10 minutes, due to which shows following error
Request timed out because there has been no reply from the server in 600000
Note i have done following:
1. I have checked stored procedure running through oracle for more than 10 minutes (1 hr, 2 hrs)
2. Tried simply running crystal report without front-end running perfectly more than 10 minutes (1 hr, 2 hr)
3. When i run .net winform application for specific reports which takes long time, gives "Request timed out because there has been no reply from the server in 600000"
Also i have done lot much R&D and spent almost weeks to get resolution but not getting any solution out of it, please help me in this case
HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerClient SDKCorbaAdapterWaitReplyTimeout = 600000 and HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12.0Report Application ServerInprocServerEnterpriseRequ
AS per following URL
Session timeout
1. Log into Central Management Console
2. Go to server,right click on Crystal report processing server and select properties,change the idle connection time out to 60 minutes
3. Also right click on crystal report cache server and select properties ,change the idle connection time out to 60 minutes
4. Restart Crystal Report Processing Server and Crystal Report Cache Server
5. Change the session time out to 60 minutes in web.xml of INfoviewApp,InfoViewAppAction,PlatformSerivces and CrystalReports.
6. Navigate to the following location
<BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppWEB-INF
7. Edit the web.xml in notepad and search for the below lines.
<session-config>
<session-timeout>20</session-timeout> <!-- 20 minutes for session objects -->
</session-config>
8. Increase the Session-Timeout parameter to 20 to 60 minutes in web.xml . Save this file
9. Repeat the same for the web.xml file in the InfoViewAppActions folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
10. Repeat the same for the web.xml file in the PlatformSerivces folder in <BO Install Dir>Business ObjectsTomcat55webappsPlatformSerivcesWEB-INF
11. Repeat the same for the web.xml file in the CrystalReports folder in <BO Install Dir>Business ObjectsTomcat55webappsInfoViewAppActionsWEB-INF
12. Restart the tomcat server
Still i am getting same error, please help me, if you have any idea, clue with respect to this error on winformThis error is specific to RAS. The default CORBA request timeout is 10 minute = 600000 ms. When the RAS SDK does not get the reponse back from RAS server in 600000 ms it throws this message. Why it works in InfoView\CMC what I believe you refer to as "Front End' application is because InfoView\ CMC don't use RAS.
1. First make sure that a smaller report wich runs pretty fast ( 1-2 min) works. This will confirm that there is no connectivitiy issues between RAS and RAS SDK.
2. If you get the efrror for every single report, even the smaller ones, make sure the box running RAS and RAS SDK code( in case they are 2 different) can ping each other with IP, shortname and FQDN. If there is a firewall between them, the RAS port needs to be opened for bidirectional communication. By default RAS chooses a random port for communication with SDK but within CMC you can configure it to use a specific port and open it.
3. If the issue is specific only to reports that are long running, typically more than 10 minutes, then you need to inclease the CORBA timeout to a value more than what the reports typically would take to process. This is done on client code side or IIS in this case.
Here are the steps:
Make the following changes on the application server/system.
Open RegEdit by going to Start > Run and typing in regedit.exe. Then click Ok.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\CorbaAdapter
Change the value of SendRequestTimeout(ms) to 100000.
Change the value of WaitReplyTimeout(ms) to 6,000,000 ms. The default value is 600,000 ms and may not be long enough.
Restart IIS by going to Start > Run and typing in iisreset. Then click Ok.
Retry the failing application.
See note: 1296656
This error should be easy to fix
Edited by: Aasavari Bhave on Feb 2, 2012 11:20 AM -
I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
Thanks in advance.
EtreCheck version: 1.9.15 (52)
Report generated 19 September 2014 08:07:14 GMT+8
Hardware Information: ?
MacBook Pro (13-inch, Early 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2 cores
4 GB RAM
Video Information: ?
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ?
OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
Disk Information: ?
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information: ?
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ?
Apple Inc. thunderbolt_bus
Gatekeeper: ?
Mac App Store and identified developers
Kernel Extensions: ?
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
[loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
[loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
Launch Daemons: ?
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[running] com.sophos.autoupdate.plist Support
[running] com.sophos.configuration.plist Support
[running] com.sophos.intercheck.plist Support
[running] com.sophos.notification.plist Support
[running] com.sophos.scan.plist Support
[running] com.sophos.sxld.plist Support
[running] com.sophos.webd.plist Support
[running] com.trusteer.rooks.rooksd.plist Support
Launch Agents: ?
[loaded] com.divx.dms.agent.plist Support
[loaded] com.divx.update.agent.plist Support
[running] com.sophos.uiserver.plist Support
[running] com.trusteer.rapport.rapportd.plist Support
User Launch Agents: ?
[loaded] com.adobe.ARM.[...].plist Support
[running] com.amazon.music.plist Support
[loaded] com.google.keystone.agent.plist Support
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
User Login Items: ?
iTunesHelper
TomTomHOMERunner
AdobeResourceSynchronizer
Dropbox
Internet Plug-ins: ?
FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
EPPEX Plugin: Version: 10.0 Support
Default Browser: Version: 537 - SDK 10.9
OVSHelper: Version: 1.1 Support
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0 - SDK 10.7
Safari Extensions: ?
Ultimate
Audio Plug-ins: ?
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins: ?
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes: ?
Flash Player Support
Perian Support
Trusteer Endpoint Protection Support
Time Machine: ?
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
Destinations:
Data [Network] (Last used)
Total size: 2 TB
Total number of backups: 99
Oldest backup: 2012-04-20 17:05:32 +0000
Last backup: 2014-09-18 23:49:25 +0000
Size of backup disk: Excellent
Backup size 2 TB > (Disk size 297.29 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU: ?
6% InterCheck
5% iCalExternalSync
3% WindowServer
2% CalendarAgent
2% SystemUIServer
Top Processes by Memory: ?
152 MB SophosScanD
147 MB InterCheck
106 MB SophosAntiVirus
66 MB Dropbox
57 MB com.apple.iTunesLibraryService
Virtual Memory Information: ?
161 MB Free RAM
1.55 GB Active RAM
1.41 GB Inactive RAM
902 MB Wired RAM
611 MB Page-ins
0 B Page-outsUninstall Trusteer software
http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
Remove Sophos
https://discussions.apple.com/message/21069437#21069437 -
I have a new MacBook Pro with OS10.8.2 and cannot get Contacts to print a list of addresses with pictures showing. There is a check box selecting "picture" which has been checked - but no picture. This worked fine on OS10.7.5. Problem??
First, back up all data immediately, as your boot drive might be failing.
There are a few other possible causes of generalized slow performance that you can rule out easily.
Reset the System Management Controller.
If you have many image or video files on the Desktop with preview icons, move them to another folder.
If applicable, uncheck all boxes in the iCloud preference pane.
Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
Check your keychains in Keychain Access for excessively duplicated items.
If you have more than one user account, you must be logged in as an administrator to carry out this step.
Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
When posting a log extract, be selective. Don't post more than is requested.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long. -
Request timed out because there has been no reply from the server
Hi,
I am using "Embedded report application server 11.5".
When i am going to launch report with the help of above mentioned server i am getting "Request timed out because there has been no reply from the server for more than 600,000 milliseconds" error.I have already huge data for passed parameter
Steps that i followed:
1)I have set unlimited jobs in server.
2)In registry entry i have set 10,00,000 miliseconds insted of 6,00,000 miliseconds.
Can anybudy please provide me some solution for this.
Regards
VishalSee here if it's still an issue
Re: which registry setting to change for long running reports -
This user is allowed a maximum number of 5 concurrent shells, which has been exceeded.
I have a C# component which executes Powershell scripts in powershell environment. Suddenly it started to show some issues, Now, when I try to execute the following, it shows exception
Enter-PSSession -ComputerName 192.21.10.71 -Credential abc\admin
The exception is given below...
Enter-PSSession : Connecting to remote server failed with the following error message :
The WS-Management service cannot process the request. **This user is allowed a maximum
number of 5 concurrent shells, which has been exceeded.** Close existing shells or raise
the quota for this user. For more information, see the about_Remote_Troubleshooting
Help topic.
At line:1 char:16
+ Enter-PSSession <<<< -ComputerName 192.21.10.71 -Credential abc\admin
+ CategoryInfo : InvalidArgument: (192.21.10.71:String) [Enter-PSSession],
PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
I fear, this is because I haven't properly closed / disposed the runspaces created in c# component.
Here is the code extracted from my component
Collection<PSObject> objPS = new Collection<PSObject>();
PowerShell powershell = PowerShell.Create();
PSCredential credential = new PSCredential(strUserName, password);
objRunspace = RunspaceFactory.CreateRunspace();
objRunspace.Open();
objPS = powershell.Invoke();
finally
objRunspace.Dispose();
I am beating the bush, instead of finding the root cause of this issue.
Thanks...Hi,
Even I am facing the same issue while trying to open session in my C# code.
I have created and using one System.Management.Automation.Runspaces.Runspace object. Which is created by calling Open() method.
At the end while exiting the program I am calling Dispose() method.
Initially when I wrote this client, I was able to run powershell commands without any issue. After some days of use I got this below exception.
Result Message: Assembly Initialization method
InitializeLyncTestSuite threw exception. System.Management.Automation.Remoting.PSRemotingTransportException: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : The WS-Management
service cannot process the request. The maximum number of concurrent shells for this user has been exceeded. Close existing shells or raise the quota for this user. For more information, see the about_Remote_Troubleshooting Help topic.. Aborting test execution.
Result StackTrace:
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open()
at System.Management.Automation.Runspaces.RunspacePool.Open()
at System.Management.Automation.RemoteRunspace.Open()
After restarting all the Lync Server services I was able to avoid this exception. But after using this client couple of times now, I am facing the same issue again.
Does calling Dispose() method is not enough for closing a session from C# code? Or should I use something else to close session from C# client?
Maybe you are looking for
-
When I sort bookmarks in "Organize Bookmarks" they are not sorted under the pulldown menu on a regular page. Recently added bookmarks are not inegrated into to sorting.
-
What's the best format to import/encode with?
I must sound foolish but I just learned that my preferences for import encoding was set on mp3. I'm not sure how this has affected the sound quality of what I've been importing for the last couple of months but I think they're all mpeg-1 at 160kbps,
-
Set TIMEOUT on OCCI sql query using ?
Is there a way to set a timeout on a sql query using OCCI ?
-
Uninstall adobe reader 11.0
How do I uninstall adobe reader 11.0? OS X 10.9
-
BAPI to create demands on MD04
Hello, Can anyone direct me to a BAPI that will create the demands for a Goods Issue of a material to a subcontractor? I need the demands to show up in MD04 and ME2O. I plan to use the FM CS_BOM_EXPL_MAT_V2 to explode a subcontracting BOM and then