Multiple System Folders in Operation! Consolidation Tips?

Hi from a first-wave Mac OS 6 user (Started with a Plus and 20MB External; )
An obviously stupid situation is plaguing my longtime PMac G3/266 running OS 8.6.
(Yes I DO run OSX latest versions on other machines - this is a legacy system i maintain for various reasons incl. access to otherwise orphaned files & apps).
Long story condensed...Have 2 Seagate internal HDs running. Newer one ('07: ) was installed with intent to use for backup and extra storage. Somehow along the line
TWO System Folders became active and over time of course some elements of one System have become intermingled with the other. Goal here is, as sensibly/simply as possible, unify a single system...whether that's back to 8.6, or migrating everything i NEED to an OS 9.2 drive (wiser i suppose). It has been SO long
that I don't even remember the fundamentals of migration from OS 8 to 9...but
complicating matters is this multiple Sys Folder issue.
Don't want to lose currently-active preferences... data-access to stuff like
Filemaker Pro files with time-sensitive current data like invoicing etc.
All this said, any pointers on how to proceed, to effectively keep the current status of everything in current Active use - but eliminate the other System folder wherein some components are affecting apps/docs/files in the OTHER Sys. Folder and..vice versa. This is a fragile process especially when it comes to stuff like email in an old version of Netscape Communicator that I use on this machine. As far as that app., there are multiple User folders but we need to salvage the RIGHT User Profile and Data i.e. i.e., the one that's most current and in-use.
I don't think this is as nightmarish as it might seem on the surface...I'm just looking to map an orderly strategy to approach it. What I really don't want to lose afa the System, is the correct Preferences for the active apps. Again, it seems some apps are drawing info from BOTH System/Pref folders.
BTW DW/DiskWarrior was used for Directory creation on the newer of the drives, in case that's of any relevance.
I was thinking of just picking up another HD, putting it in another, newer desktop (AGP/G4) and then migrating everything from both HDs on the older 8.6 OS machine to the newer machine which would be on 9.2.2...but under the circumstances, not sure that would be simple/straightforward unless I first resolve the duplication thing with what's on the "dueling 8.6 HDs" machine.
Sorry I didn't really shorten a long story after all but thanks and appreciation for any advice if you've read this far.
MikeE

Don Archibald wrote:
Hi, Mike -
…TWO System Folders became active….
Two System Folders may be present on the machine, but only one can be active at any given time.
Are the two System Folders each on a separate drive? Or are both on the same drive?
If each is on its own drive, then the active one can be identified in several ways. The easiest way is to look at the drive icons on the right-hand side of the desktop - the icon for the boot volume (meaning the drive whose OS is in use) will be the one on top. If this is constant through reboots, then there is no change in which OS is being used, and its contents will be the most current.
Many folk have multiple OS's available on their machines. Usually they are segregated by being on different volumes (a volume - an unpartitioned drive, or a partition of a partitioned drive).
For example, I have two hard drives in the G4 I'm using. One drive has been partitoned into four volumes, the other into five volumes; in addition, I have a full-time external firerwire drive. This gives me 10 separate volumes. All could be bootable if I had an OS on each; I do have OS's on 7 of them, so I have 7 bootable volumes. One is a full duplucate (backup) of my primary boot volume, including the OS (OS 9.1); others are of different OS versions or configs, used for testing purposes or for specific needs.
There is no cross-contamination in this arrangement; prefs are updated, etc., only in the System Folder for the active OS, meaning the one then running the machine.
Hi Don, thanks for writing.
+> Are the two System Folders each on a separate drive? Or are both on the same drive?<+
The two System Folders are on each on separate drives.
+> If each is on its own drive, then the active one can be identified in several ways. The easiest way is to look at the drive icons on the right-hand side of the desktop - the icon for the boot volume (meaning the drive whose OS is in use) will be the one on top. If this is constant through reboots, then there is no change in which OS is being used, and its contents will be the most current.+
>
OK, will check that. Trying to get a handle on what is going on here. Several anomalies that i need to identify the cause of. For a simple example - Old "Stickies Notes" will boot up one time and on next restart, a default startup with that app. appearing "as-new" -- i.e. no prefs at all...no database connectivity and specific "stickie-notes" that would otherwise show up under one System's startup.
Honestly it's as if the System will startup randomly from either one Folder or The Other...and/or....choose Prefs from One or The Other each time.
Just trying to get everything to jive under one singular System with no influence from the Other.
Will look at the drive icons on reboots to try and single out the most-current and hopefully can sort things out that way. As I say, I'm willing to simply move the whole "universe" from both Drives up to a single new OS 9 environment, if i can find a way to do it relatively easily.
Thanks again
Mike

Similar Messages

  • System Folders

    I have found two System folders in my document folder. They appear to be identical and add-up to over 13Gb of disk space. Is that where the main System folder should reside? I am trying to clear up space and worry about the fact I may have multiple System folders on my HD and therefore would like to Trash the excess one(s)!
    Thanks in advance for the help.

    If you double click the hard drive icon you should see something like this:
    Applications
    Documents
    Library
    System
    System Folder (if you have Classic installed)
    Users
    There should not be a System folder anywhere else, and there had better be one at the root level!
    Francine
    Francine
    Schwieder

  • How do I create multiple live USBs of Operating systems to boot from on one flashdrive?

    How do I create multiple live USBs of Operating systems to boot from on one flashdrive?
    I am attempting to create multiple live USBs within one flashdrive so that i can boot various operating systems without having to buy multiple USb sticks. I am using a Mac OS X Snow Leopard 10.6.8 Operating System currently. I am using the Terminal provided by the OS.
    I would like to try Debian, Kali, Precise Puppy, and Sabayon- with one space left empty for whatever Linux OS I would like to try next. I have partitioned an 8GB flashdrive into the following sections:
    name of intended OS,     space allocated for it:
    1)Debian ........................1.32 GB
    2)Kali..............................2.61GB
    3)Precise Puppy..............163.7MB
    4)Sabayon.......................1.77GB
    5)TBD..............................2.14GB
    I have figured out how to change the .iso files of the operating systems into .img files with the following commands:
    hdiutil convert -format UDRW /path/to/input.iso -o /path/to/output.img
    a .img.dmg file is created, this is corrected in the next line of code *please note: I am a a very beginner at programming, and would greatly appreciate any help. Thank you!
    mv /path/to/output/file.img{.dmg,}
    This is where I started to get confused:
    I entered diskutil list to find the location of the partitions on my flashdrive, and this is the relevant section:
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *8.0 GB     disk1
       1:                 DOS_FAT_32 DEBIAN               1.3 GB     disk1s1
       2:                 DOS_FAT_32 KALI                    2.6 GB     disk1s2
       3:                 DOS_FAT_32 PRECISE            163.7 MB   disk1s3
       4:                 DOS_FAT_32 SABAYON           1.8 GB     disk1s5
       5:                 DOS_FAT_32 TBD                     2.1 GB     disk1s6
    This is the code I attempted to use and the subsequent result:
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: Resource busy
    *at this point I went to the Disk Utility GUi and unmounted only the DEBIAN partition, now back to the terminal*
    charles-burtons-mac-mini:~ charlesburton$ sudo dd if=/Users/charlesburton/Desktop/debian-live-7.2-i386-gnome-desktop.img of=/dev/disk1s1 bs=1m
    dd: /dev/disk1s1: end of device
    1259+0 records in
    1258+1 records out
    1320005632 bytes transferred in 1011.966891 secs (1304396 bytes/sec)
    Please may someone help explain why I had a return value of +1 in my records in and how I can make it work properly.

    I would like to know the answer to this as well.  I tried renaming the 3D version by adding 3D after it, but it still not a separate movie in iTunes.
    It's putting them in the same folder.

  • How import prior Backed-Up Fox Favorities in multiple sub-folders rather than one at a time in Fox 6.0

    How do you import prior Backed-Up Fox Favorities. This involved many short-cuts and contained in multiple sub-folders.
    How can I import the whole folder library rather than one short-cut at a time from each folder.

    The favorites shortcuts were not IE but from Firefox. I had a operating system failure. So, after re-installing the operating system, I then had to re-install all applications anew.
    After installing Fox 6.0, the problem is my prior use of folders and sub-folders with many favorites shortcuts in each.
    It appears that I will need to start anew with creating a folder system in the new firefox application. Then take all of the favorites shortcuts, individually, out of folders and put them in a file in a row, in an antilog fashion. Then try to get Firefox to accept them in some fashion.
    I also do not know how to (1) export IE Favorites (2) in IE (3) to an HTML?
    I am just lost.
    Ijohn5

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

  • (RFC vs files), where Sender SAP and receiver multiple system

    Publish and Subscribe using  BPM or Without BPM (RFC vs files), where Sender SAP and receivers multiple system,.
    This is my 1st BPM scenario in sandbox system
    For this scenario
    I Created 2 Data types
    2 MT,
    Service interface:
    Request interface Mode:Asynchronous
    Abstract Req interface,Mode:Asynchronous
    Response Interface,Mode:Asynchronous
    Abstract Respomse Interface ,Mode:Aysnchronous
    Synchronous Interface ,Mode:Synchronous
    2 Message mapping for Req and Resp
    1 Operation Mapping
    BPM design: Plz find the attatchement
    Can anyone please help me how many Interface determinations,receiver determinations ,sender agreements,receiver agreements need to create for this.......
    It will be good if anyone send the BPM design flow for this.........
    can we do this scenario without BPM?
    Regards
    A.Muni kumar
    Edited by: Muni 1234 on Jan 31, 2012 10:24 AM

    Hi
    Receiver is FTP only.....
    SAP side is RFC.........
    RFC sender will be initiating the scenario, and there is receiver is File, PI should go to file directory and take the file then send it back to RFC as response.
    Sender: RFC
    Receiver: File
    1. is this scenario with condition based routing.. so that each time outof many receiver systems it will trigger any specific system.
    if above is the case then you can achive this without BPM also..
    Yes...its condition based routing...
    I Used async in this scenario.....sender side configurations also done....
    But when when I am triggering BAPI from SE37 I am getting an error
    Exception SYSTEM_FAILURE
    Message ID: 00 Message number: 341
    Message:
    Runtime error CALL_FUNCTION_NOT_FOUND has occurred
    How to Solve this????
    I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..
    Connection is Ok
    Or we need to create proxy for MI and report for this?
    Edited by: Muni 1234 on Feb 1, 2012 8:38 AM

  • Multiple System Libraries

    I have more than one "Library" folder, One in my SYSTEM folder and another in my USER folder. There are several of the same files in both. I'm wondering if in transferring from one laptop to another, restoring from backups as I replaced hard disks, upgrading from system to system, etc., if I mistakenly have created more than one.
    Recently when I installed the latest Adobe Flash Player plugin and it didn't work, I placed another copy in the same location in the other library folder, and it did work. That made me wonder.
    Question: Should I have multiple Library folders??
    Can I consolidate to save space?
    I'm afraid to do a clean install because for the most part, everything works........

    Thanks for the feedback. BTW, get an ext HD large enough so you can put a bootable backup/clone of your *it works so good now* installation and keep it current. That way, you can always get back to that good state. It's especially important when installing updates. See these for details:
    http://docs.info.apple.com/article.html?artnum=106941
    http://www.macmaps.com/upgradefaq.html
    http://www.macmaps.com/backup.html
    http://www.thexlab.com/faqs/installswupdates.html
    http://www.thexlab.com/faqs/backuprecovery.html

  • Previous system folders hav 10gb on an 80mb disk  could not repair vol

    I'm trying to install Virtual PC. It seems to hang and the reason I suspect is there isn't enough disk space. Can I delete the previous system folders? I shouldn't need them for anything I can think of. There are two of them 5gb each.
    I have another problem I ran disk repair and it said one vol could not be repaired in red but it did say 1 vol was repeaired. I'm not sure what this means since there should only be one vol on my hard drive? When I ran disk repair I got the following messages:
    Checking HFS+ vol
    checking Extents overflow file
    checking catalog file
    Reserved words in catalog record incorrect data
    checking multi-linked files
    checking catalog hierarchy
    checking extended attributes
    Invalid leaf record count should be 6706 not 549
    checking vol bitmap
    checking vol info on Mac HD
    Repairing vol
    the vol was repaired
    1 HFS vol repaired
    1 vol not repaired
    I have MySQL Server and PHP installed. I just upgraded from Tiger to Leopard. I need VPC to run and I need space to install Windows on the Mac HD but I'm wondering why disk repair could not repair 1 vol and why it thinks there were two volumns.
    thanks in advance,

    Is there a second partition for Virtual PC, or other use?
    In Disk Utility, each partition should be listed below the main line (with the Drive name/size).
    If there are two (or more) then you have multiple volumes.
    The one named "Mac HD," that was repaired, is almost certainly your boot volume, so look at the other(s).
    See what the format of each is, by clicking on it and looking at the bottom. If it's not some flavor of Mac OS Extended, then DU likely can't repair it.

  • Multiple application folders?

    In preparation for installing Lion I thought I should get rid of the multiple applications folders.  How do you do this?

    I have the same problem - I've had it several times since I bought an iMac (27" solid state hard drive) in summer last year.I'm running Snow Leopard 10.6.8. At one point I had Application folders nested to four levels!
    These are NOT aliases - I only discovered the problem when my hard drive was running out of space!
    I have certainly not done anything to cause this to happen (I am a very experienced Mac user).
    Deleting the nested folders has had no ill effects (although I did have problems with emptying the Trash for a while).
    Not really a problem, except in that it might be symptomatic of something seriously wrong with the system.

  • What to do with Previous System Folders?

    First of all, Happy New Year to all!
    I just spent two days doing an "Archive and Install" on my iMac at the advice of an Apple Genius who checked out my iMac at the Apple store. He said my iMac was running very slow but couldn't find any reason for it.
    The first "Archive and Install" took six hours on the 30th, and then it was several more hours to get the software back up to speed with all of the updates. But after all of that, my system ended up in the Kernal Panic screen on start up. So today I got on the phone with Apple Care and they had me boot up with the Leopard Install DVD in the drive, holding down the C key. That worked, but I was back to square one with my Archive and Install.
    The second try yesterday took another 6 hours, and then it took several hours to get my software back up to speed again. The Apple Care guy told me the Install should only take an hour, so that right there tells me something isn't right. Anyway, here I am after two very long days, with my iMac at least functioning again, albeit not faster as I had hoped. It's still running slow as molasses. This post has taken me forever to write due to only being able to type three or four letters, then wait for SBOD to stop spinning, then another two or three letters. It's so frustrating.
    But, my main reason for posting here is to ask two questions.
    1. The two "Archive and Installs" left me with two "Previous System Folders" on my hard drive that are almost 21 GB's!! I had 74 GB's free before and now have only 53. Can I dump those folders and get my space back? I sure hope so. If so, how do I safely do it?
    2. The three folders on my dock at the right end; Applications, Documents, and Downloads, used to be in nice neat folders with symbols on them indicating what they are, but now they're just plain folders with stuff sticking out of the top of them, and in the case of the Applications folder, the Address book app is sitting on top of the folder, rather than inside of it, and all I see is the Address book icon, not the folder. How do I get those folders back to normal? I hate the way they look now!
    I'm very frustrated that I'm having all of these problems with my iMac, but grateful at this point that I extended my warranty before the first year was up. I'm definitely going to have to take it back in for more help. I don't think it should take four minutes for iTunes to start up and shut down, four minutes for iPhoto to shut down, or two minutes for a photo to open up in iPhoto after clicking on it, etc., etc. I have the Spinning Beach Ball of Death spinning way more than it should! I'm tired of constantly having to wait for it to stop so I can continue.
    Ironically, I installed two more Gigs of RAM less than six months ago so that I would have a faster computer, but I never really noticed a difference. Although it wasn't this slow the first few months.
    Thanks in advance to anyone who can answer my two questions up above, and thanks for listening to me while I expressed my frustration.
    Deb

    Hi Deb,
    This may be ten days late, and way, way too long, but you might want to try some of these suggestions, especially if AppleCare, or someone else, hasn't fixed it for you. You'll probably need to print out all this stuff. It's all stuff I've found useful in similar situations. There is no particular order to check things, but you might want check the utility "Activity Monitor" first and then try setting up a new account. That has worked for me.
    Launch "Activity Monitor" (found in the utility folder inside the root Applications folder) and click on the CPU column to see if some background process or another application is running and using a large percentage of the processor's time. Also check the RAM columns to see if something is using a lot of the available RAM. If there is something that doesn't seem right, you can select it and double click the questionable item - a dialog box will appear that allows you to quit. That may solve the problem of spinning "pizza wheels" of death without a restart. At the least you'll have a good question to ask AppleCare (though they'll definitely suggest Activity Monitor.
    You may also want to set up a new account in Apple Menu/System Prefs/Accounts with a different name and password. Then within that account try launching some apps from the Root Applications folder. They may now work in the new account. You can also install some apps you use most within the new account. Those apps will be placed in the Applications folder within the new home folder of the new account - NOT in the root Applications folder (the one you see when you double click the hard drive icon).
    If you haven't set up a new account before it will seem strange when you first startup. Nothing is the same - the desktop, dock, etc will be like when the machine was new. But often, using the new account, and finding the sluggishness is now gone, tells you the problem was in the old account - even if you can't find what the problem was. The old account is still there. But setting up the new account will take some additional drive space if you reinstall applications.
    Whatever you do, *_don't just delete the old account_* as that will also delete all your documents, videos, photos, etc. You can copy or move between accounts with your administrator password. The Library folder in the old Home folder will contain a lot of stuff you may want to keep, but also can contain the corrupt file that caused the sluggishness problem. You may want to copy the contents of different User/New Acct Home folder/Library folders a little at a time and reboot after changes. If the sluggishness reappears, then pull out the last items you put in and try to narrow it down.
    If you don't want to set up a new account initially try some of these suggestions. Uninstall and reinstall the major applications that run slowly. Use the uninstaller that comes with the app. If there is none, then just reinstall and restart. That might solve the problem. Reinstall whatever apps you need. Can't hurt and may eliminate some file corruption.
    After you restart, and BEFORE you launch any application, press and hold the Cmd (Apple) Key and then hit tab. You will see which apps are running in addition to the Finder. If there is stuff you didn't launch, keep pressing Cmd-Tab which will highlight each application. When selected, you can quit the application [Cmd-Q ]. Or just release the Cmd-Tab keys with the app selected and it's name should appear at the top left of the menu bar. There, you can pull down the menu and quit it (or press Cmd-Q). If it doesn't quit try to Force Quit [Opt-Cmd-Escape]. Try not to quit the Finder. Then launch the apps you need and see if they are still sluggish.
    If there was stuff running and you don't know why, check your Account (Apple Menu/System Prefs/Accounts). Accounts is the first item on the System row (next to last row down). Click Accounts and when it opens, click the the account you're using (if there are more than one). Then click the Login Items tab near the top of the window. You'll see a list of apps that launch whenever you start up (sometimes in the background). If you don't recognize some of what's there you can remove them using the [-] icon. You'll have to unlock the account with your password and then re-lock it to prevent others from changing stuff.
    Restart or log-out and log-in and see if the machine is faster without one or more of the removed items. There are things that are best not touched, but you'll probably know by their names. Pretty much anything you'd add will be found in the Applications or Utility folders. Other stuff is added by applications when they are installed. Make a list of whatever you remove if you have to add it back. If an application needs something you removed, you may be asked to reinstall the app.
    That's it - hope it helps.
    MartyP

  • How do I sync multiple picture folders to my iPod ?

    How do I sync multiple picture folders to my iPod touch ? I don't want to create another folder and then copy the desired folders to be synced, into this main folder. All of my pictures are about the size of 5-10 MB. Copying them would mean loss of additional space.

    You can only point iTunes at one folder for syncing to the iPod. You can however selectively choose which subfolders of the main folder are included. I use a Photos folder inside iTunes\iTunes Media and move the folders that I want on my device into that, but the parent folder could be anywhere that suits you.
    tt2

  • How do I view multiple inbox folders at the same time in Mail?

    I want to configure Mail to show me multiple inbox folders at the same time. I want to be able to split the screen and show in the top section unread messages, then messages I've marked with label A, then messsges I've marked with label B, then everything else in my inbox (like using the multiple inbox feature in Gmail). Is this possible?

    Just figured it out - I can select multiple messages as you suggested when I am not in full screen mode.
    So once I come out of full screen mode - then the multiple windows open.
    QED

  • Fiori: incorrect alias used when multiple system aliases assigned

    Hello all and Masayuki Sekihara
    I'm implementing SAP Fiori PO/PR/Contract approval.
    There is only 1 gateway system currently in order to support 4 ECC systems.
    (Sandbox, development, quality and production)
    Everything is working correctly when assigning only one (Sandbox) SAP system alias to the gateway service of PO approval for example.
    However when we assign multiple system aliases and set the sandbox system alias as default things go wrong.
    (Currently IW_BEP is not yet installed on the development; Quality and productive system)
    And we noticed the service is resulting in an error message because these BEP function modules can not be found on the target system.
    However the issue is that it should not call these systems as we have flagged Sandbox system as default.
    Anyone has an idea or note for this?
    (We temporary fixed this by assigning only a single alias to the services).
    But in a later phase we want to add all in order to be able to test on all systems and run production as default.
    Thanks for your help.

    I don't want to use the MOC.
    I want the behaviour like mentioned in the note:
    The default system is used whenever the service is not called as MOC. If you have defined more than one default system alias, the first system is used as the default.
    How can I achieve this?
    According to my understanding now I should make sure ";m"o is not added to the URL, but how can this be achieved?
    Thanks!

  • How can I create manual Y-axis labels in a multiple system report?

    A similar question was asked by Lutz1410 on 3/30/07, but it doesn't seem that this was finally resolved.  I'll try to ask the question in a different way.
    I created a graph in View with 3 axis systems in the "multiple systems" mode, then transferred this to Report.  I would like to apply manual scaling and text to each of the 3 axis systems, however if I change either of these parameters they are applied to all 3 Y-axes.  In other words, I end up with 3 axes having exactly the same text labels and scaling.
    1. For the axis text, is there a delimiter that can be used in the axis text field to tell Report that the first text value is for the first Y-axis, the 2nd value is for the next axis, etc?
    2. For the scaling, is it possible to have separate scales for each Y-axis?
    Of course, a workaround is to create 3 independent graphs in Report, but this is less convenient.
    Thank you,
    Craig

    Hi Craig,
    If you want to apply different manual scaling parameters to each of the stacked Y axes, then you need to use 3 separate Y axes.  If you want to display a curve-specific text to each of the stacked graphs, this you can do with a DIAdem expression:
    @ChnName(CCN)@@         channel name of each curve
    @ChnDim(CCN)@@            channel unit of each curve
    @ChnComment(CCN)@@   channel description of each curve
    The corresponding value for each curve will automatically display at the correct vertical spot next to its curve.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • System.Security.VerificationException: Operation could destabilize the runtime during code coverage run in visual studio

    I have a unit test that basically does the following:
    Creates an app domain using minimum priviledges.  The MarshalByRefObject that is living in the app domain, loads another assembly to execute.  This new assembly basically takes in a data object defined in a separate assembly, and returns a
    new data object of that type.
    All this works fine in debug mode, or when running w/out code coverage.  The Sandbox assembly is signed.
    The exception that gets thrown is this:
    Test method TestProject1.UnitTest1.TestMethod1 threw exception:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.VerificationException: Operation could destabilize the runtime.
    ClassLibrary3.Bar..ctor()
    ClassLibrary2.Foo.TestMethod(Bar testBar)
    System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
    ClassLibrary1.RemoteSandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters)
    ClassLibrary1.RemoteSandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters)
    ClassLibrary1.SandBox.Execute(String assemblyPath, String scriptType, String method, Object[] parameters) in c:\users\la22426\documents\visual studio 2010\Projects\TestProject1\ClassLibrary1\Sandbox.cs: line 43
    TestProject1.UnitTest1.TestMethod1() in c:\users\la22426\documents\visual studio 2010\Projects\TestProject1\TestProject1\UnitTest1.cs: line 21
    Unit Test code:
    [TestClass]
    public class UnitTest1
    [TestMethod]
    public void TestMethod1()
    using (SandBox sandbox = new SandBox())
    string assemblyLocation = Path.Combine(Environment.CurrentDirectory, @"..\..\..\ClassLibrary2\bin\Debug\ClassLibrary2.dll");
    object result = sandbox.Execute(assemblyLocation, "ClassLibrary2.Foo", "TestMethod", new Bar() { X = "test" });
    Assert.IsNotNull(result);
    Data Object code:
    namespace ClassLibrary3
    [Serializable]
    public class Bar
    public Bar() { }
    public string X { get; set; }
    Assembly to execute code:
    namespace ClassLibrary2
    public class Foo
    public Bar TestMethod(Bar testBar)
    return new Bar() { X = testBar.X };
    Sandbox code:
    namespace ClassLibrary1
    public class SandBox : IDisposable
    AppDomain Domain { get; set; }
    RemoteSandBox RemoteSandBox { get; set; }
    public SandBox()
    var setup = new AppDomainSetup()
    ApplicationBase = AppDomain.CurrentDomain.BaseDirectory,
    ApplicationName = Guid.NewGuid().ToString(),
    DisallowBindingRedirects = true,
    DisallowCodeDownload = true,
    DisallowPublisherPolicy = true,
    //DisallowApplicationBaseProbing = true,
    var permissions = new PermissionSet(PermissionState.None);
    permissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
    permissions.AddPermission(new ReflectionPermission(PermissionState.Unrestricted));
    this.Domain = AppDomain.CreateDomain(setup.ApplicationName, null, setup, permissions,
    typeof(RemoteSandBox).Assembly.Evidence.GetHostEvidence<StrongName>());
    this.RemoteSandBox = (RemoteSandBox)Activator.CreateInstanceFrom(this.Domain, typeof(RemoteSandBox).Assembly.ManifestModule.FullyQualifiedName, typeof(RemoteSandBox).FullName).Unwrap();
    public object Execute(string assemblyPath, string scriptType, string method, params object[] parameters)
    return this.RemoteSandBox.Execute(assemblyPath, scriptType, method, parameters);
    public void Dispose()
    if (this.Domain != null)
    AppDomain.Unload(this.Domain);
    class RemoteSandBox : MarshalByRefObject
    public RemoteSandBox()
    public object Execute(string assemblyPath, string scriptType, string method, params object[] parameters)
    //we need some file io permissions to load the assembly
    new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, assemblyPath).Assert();
    Assembly assembly;
    try
    assembly = Assembly.LoadFile(assemblyPath);
    finally
    CodeAccessPermission.RevertAssert();
    Type type = assembly.GetType(scriptType, true);
    MethodInfo methodInfo = type.GetMethod(method);
    object instance = (methodInfo.IsStatic) ? null : Activator.CreateInstance(type);
    object returnVal = null;
    returnVal = methodInfo.Invoke(instance, parameters);
    return returnVal;

    I marked the shared data library with the attributes:
    [assembly: AllowPartiallyTrustedCallers]
    [assembly: SecurityRules(SecurityRuleSet.Level2, SkipVerificationInFullTrust = true)]
    And then marked  the data class Bar with the attribute:
    [SecuritySafeCritical]
    And got a little more insight into what's going on:
    Test method TestProject1.UnitTest1.TestMethod1 threw exception:
    System.MethodAccessException: Attempt by security transparent method 'Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.Register()' to call native code through method 'Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.VSCoverRegisterAssembly(UInt32[],
    System.String)' failed.  Methods must be security critical or security safe-critical to call native code.
    Microsoft.VisualStudio.Coverage.Init_d2f466df4c65e2a7bb5d7592c49efef0.Register()
    ClassLibrary3.Bar..ctor() in c:\users\xxx\documents\visual studio 2010\Projects\TestProject1\ClassLibrary3\Bar.cs: line 13
    TestProject1.UnitTest1.TestMethod1() in c:\users\xxx\documents\visual studio 2010\Projects\TestProject1\TestProject1\UnitTest1.cs: line 21
    Since the injected code coverage il is doing some native stuff, it's throwing.  Any ideas on how to allow this?

Maybe you are looking for

  • Adobe Acrobat 8.1 STD & MS Project 2007 crash after converting project files to PDF

    Need some help. Currently I create complex projects schedules (3-7 pages in length) and then convert to a .PDF thru Adobe Acrobat 8.1STD and although it takes a little bit, it does create the .PDF file. However when I open in Adobe Reader and try to

  • Inserting mp3 in 8.1.7

    hi everyone i just changed OS and i reinstalled oracle 8.1.7 my target is the same as before: insterting MP3 files in a table.. this is what i did: - i created a new user; - i granted connect, resource, create library, create table, create any direct

  • How to Upload/Open pdf or excel ?

    1. How to upload a Excel or PDF file into SAP through ABAP WedDynpro?     Upload file name convention is <salesordernumber>_<itemnumber>_YYYYMMDD.xls or     <salesordernumber>_<itemnumber>_YYYYMMDD.pdf 2. There is a sales order report which contains

  • HASH JOIN Issue - query performance issue

    Hello friends: I have a nested loop long query. When i execute this on Oracle 9i, the results comes back within no time (less than a sec) but the same query, same schema, the query takes over 20-30secs. Looking at the execution plan (pasted below) -

  • What is a Role option in Bex and what is its primary purpose?

    What is a Role option in Bex and what is its primary purpose? My understanding is that the role option in bex is used so that everybody can able to access queries and workbooks is it right? Please don't ditch me I already searched forum to find exact