Access file reside in the solution/package files on azure

Hi All,
I have one file in my solution and it will be uploaded along with package file. now one of the task is to validate file uploaded by end-user with file reside in solution. i am keeping uploaded file into the block blob.
how i can access file reside in solution on cloud ? should i have to kept file in blob or do we have other better option ?
BR,
Jonyy

Hi,
As I know you can use the Get Package API from Windows Azure Service Management REST API to retrieve files. I think storing files in blob is still a good way:
http://msdn.microsoft.com/en-us/library/windowsazure/jj154121.aspx
Thanks,
QinDian Tang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • The deployment package file (*.zip) was not found

    Hi,
    I was using my Visual Studio Online account and was pushing it to azure. The deployment failed and this was the result:
    Exception Message: The deployment package file (*.zip) was not found. Ensure that PackageAsSingleFile msbuild property is not set to False. (type FileNotFoundException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Deployment.Workflow.Activities.FindPackageAndParametersFile.Execute(CodeActivityContext context)
       at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    Does anyone have a possible solution?
    I've contacted support and they suggested to turn the website off while deploying but that did not seem to resolve the issue.

    photon, you've had quite a few threads now in which you lead those willing to help you down all kinds of useless rabit trails.  Most of the problems have been "solved" with you giving a statement much like this last one that "I forgot to <do some basic step clearly outlined in the instructions>".
    We all make silly mistakes from time to time - but if you show a consistent pattern of failing to follow simple instructions, then I doubt arch is for you, and I doubt you will continue to get much leeway from this community.

  • How to read the and Write the PDF file give me the solution

    Hi all,
    How to read the and Write the PDF file give me the solution
    My coding is
    import java.io.File;
    import com.asprise.util.pdf.PDFImageWriter;
    import com.asprise.util.pdf.PDFReader;
    import java.io.*;
    import java.io.FileOutputStream;
    public class example {
    // public example() {
         public static void main(String a[])
              try
              PDFReader reader = new PDFReader(new File("C:\\AsprisePDF-DevGuide.pdf"));
                   reader.open(); // open the file.
                   int pages = reader.getNumberOfPages();
                   for(int i=0; i < pages; i++) {
                   String text = reader.extractTextFromPage(i);
                   System.out.println("Page " + i + ": " + text);
    // perform other operations on pages.
    PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("c:\\new11.pdf"));
                   writer.open();
                   writer.addImage("C:\\sam.doc");
                   writer.close();
                   System.out.println("DONE.");
    reader.close();
              catch(Exception e){System.out.println("error:"+e);
              e.printStackTrace();
    I get the pdf content then it returns the string value but ther is no option to write the string to PDF, and we only add a image file to PDF,but i want to know how to wrote the string value to PDF file,
    Please give response immtly
    i am waiting for your reply.
    thanks,
    Suresh.G

    I have some question flow
    How library to use this code.
    I try runing but have not libary.
    Please send me it'library
    Thank you very much!

  • I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    I want to uninstall and then reinstall Firefox but I can't uninstall it. Nothing happens when I click remove in program access and defaults and the helper.exe file in the firefox uninstall dir doesn't do anything either.

    "program access and defaults" is not the place to remove programs in Windows. You need to go to the control panel and click on Add and Remove programs. For instructions on how to uninstall Firefox, see [[Uninstalling Firefox]]

  • Single XML configuration file for all the SSIS packages(including parent and child packages)

    Hi
    I have some 16 ssis packages. source Db and destination Db for these packages are common. I am calling these child packages in a master package.
    I want to use only one XML config file for this master.
    How do i use same for all child packages?
    and can i do it with parent package variable?

    I created a master package with a variable master, and in value i have entered the configuration file path.
    Hi vjp dinu,
    You should create variables in the parent package to pass values to variables in each child package rather than pass the file path of the XML Configurations file of the parent package.
    As Visakh mentioned, you can achieve your goal by creating corresponding variables in the parent package for each child package, and enable Package Configurations for the parent package so that you can control the values through the XML Configurations file
    for the variables of the parent package.
    Supposing there is a variable FilePath in child package 1, a variable ServerName in child package 2, then, we need to create two variables pFilePath, pServerName in the parent package. After configuring the Parent package variable in each child package (e.g.
    mapping pFilePath to FilePath, pServerName to ServerName), you can enable XML Configurations for the parent package, and expose the value property for both pFilePath and pServerName variables. In this way, you can modify the XML Configurations file of the
    parent package and the specified values will passed to the child packages.
    Reference:
    http://microsoft-ssis.blogspot.com/2011/06/passing-variables-from-parent-package.html 
    Regards,
    Mike Yin
    TechNet Community Support

  • "The selected package file requires an InDesign document that cannot be found."

    Hello,
    I often get this error message "The selected packaged file requires an InDesign document that cannot be found.  How do you want to continue?" when opening in InDesign CS5.5
    My options are "Browse to locate this document." and "Save the contents of the package to disk."
    When I selected "Browse to locate this document." and I located the appropriate InDesign file, it prompts me to browse for the file again.  Its a never ended cycle.
    I'm not sure how to solve this problem.  I'm not familiar with the procedure if I "save the contents of the package to disk."  Can someone help me out with this?
    Thanks!

    Well, there’s your answer. Pretty simple…don’t do that.
    But if the damage has been done, you can change the extension of the idap file to zip and unzip the contents. You’ll find all the updated InCopy stories there.
    Overwrite the ones on your harddrive and you should be good to go.
    Bob

  • File Name Copy (not text inside the file ) and change the extension of file

    Hi,
    I have a requirement in which I have to copy the file name (not the text inside file ) from one folder/dir to another folder/dir with some another extension.
    Suppose we have file abc.txt of 20kb in a folder ,we need this in another folder with abc.done extension of 0 kb.
    This I need just to trigger a process.
    I have a below code to copy some files from one folder to another but this code copies the complete file not the file name only.Need help.
    package com.sumit.collections;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.nio.channels.FileChannel;
    public class FileMove {
         * @param args
         * @throws IOException
         public static void main(String[] args) throws IOException {
              FileMove fm=new FileMove();
              fm.copyFiles();
         public void copyFiles() throws IOException { 
              File destination=new File("C://soft//test2");
              File srcDir = new File("C://soft//test");
         File[] files = srcDir.listFiles();
         FileChannel in = null;
         FileChannel out = null;
         for (File file : files) { 
         try { 
         in = new FileInputStream(file).getChannel();
         File outFile = new File(destination, file.getName());
         out = new FileOutputStream(outFile).getChannel();
         in.transferTo(0, in.size(), out);
         } finally { 
         if (in != null)
         in.close();
         if (out != null)
         out.close();
    Thanks
    Sumit

    Thanks for all your help.I got the solution.
    package com.sumit.collections;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    public class DotDoneFile {
         public static void main(String[] args) throws IOException {
              DotDoneFile fm=new DotDoneFile();
              fm.copyFiles1();
         public void copyFiles1() throws IOException { 
              List<String> filnamne = new ArrayList();
              File destDir = new File("C://Barcklays-soft//test2");
              File srcDir = new File("C://Barcklays-soft//test");
              File[] listOfFiles = srcDir.listFiles();
         try{
         for (int i=0;i<listOfFiles.length;i++){
              if (listOfFiles.isFile())
              filnamne.add(listOfFiles[i].getName());
              System.out.println(listOfFiles[i].getName());
              File.createTempFile(listOfFiles[i].getName(), ".done", destDir);
         catch(IOException ioe)
         System.out.println("Exception creating temporary file : " + ioe);

  • Looking for answers on XMP files - where should they be stored as sidecar files?  With the original raw file or in a separate folder?

    Looking for answers on XMP files - where should they be stored as sidecar files?  With the original raw file or in a separate folder?
    Relatively new user of Adobe LR5 and PS CC, about a year old. 
    If they should be stored somewhere beside the folder that contains the originals, where and how to change the settings?
    If I choose to write metadata to the original files, is that sidecar files or does the XMP file show separately?
    To be honest, I usually find a video and I cannot figure this out.  I have never received an answer on any of my questions by the way. 

    Hi there,
    You answered a prior question from me so I wanted to reach out to you about this.   I just need a step by step on how, if possible, to View LRCC on my MacBookPro when the main interface is on my iMac

  • How to not append '.PART' to the file name of the currently downloading file, and just download the file with its normal filename

    In Windows, when Firefox (I'm currently using 7.0) downloads a file, it appends ''.PART'' to the file name of the currently downloading file and just renames it to its original file name after it finishes downloading.
    I sometimes like to watch a currently downloading video file, so it will be better if Firefox just downloads the file to its actual filename (like what Opera does), so I can easily double click the incompletely downloaded file and watch it with the video player assigned to that file extension, rather than the awkward ''Right click -> Open With -> Choose Default Program'' route with .part files.
    Does anyone know how to set Firefox to do this?

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox and prevents Firefox from renaming the .part file.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • How to read a file residing on the client

    Hi
    How to read a text file residing on client using webdynpro application( If I write code in controller it will go the the server path rather than client path) ? Can somebody please help me
    Thanks

    Hi,
    If you want to upload a file to the server then you can use the webdynpro FileUpload to read the file from the local machine and
    save it to the server.
    But if you want to only read the file from the local machine you need to keep the file within the application in the path - scr/packages/components
    Thanks
    Ritushree
    Edited by: Ritushree Saha on Jul 8, 2009 5:35 PM

  • Firefox was fine earlier today.Now, I have no access or visualization of the Main Menu (File/Edit/View/Bookmarks,etc) What happened and how can I fix?

    Firefox was fine on my LapTop earlier today, Now, I have no access or visualization of the Main Menu Listings that are usually just below the title bar,i,e,,File,Edit,View,History,Bookmarks, Helpetc. Since I don' have access (it's not there), I cannot change settings. I have uninstalled and re-installed and it re-installs the same way.

    * In Firefox 3.6 versions on Windows and Firefox 4 on Windows and Linux it's possible to hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu of a toolbar.
    * Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • Hwo to delete files resides in the File.applicationStorageDirectory?

    i created a method saveLocally() to store the images temporarily which are obtained from the server.
          saveLocally(fileName:String, data:ByteArray):void
                var file:File = File.applicationStorageDirectory.resolvePath(fileName);
                var fileStream:FileStream = new FileStream();
                fileStream.open(file, FileMode.WRITE);
                fileStream.writeBytes(data, 0, data.length);
                fileStream.close();    
                                 these files are stored in "… C:\Documents and Settings\Administrator\Application Data\ImageGallery\Local Store"
    after i closed my application the files which are stored in the Local Store Directory are still

    Hi Ariv,
    Try to save the images in a Folder instead of directly saving in the Local Store directory in the  "C:\Documents and Settings\Administrator\Application Data\ImageGallery\Local Store" path.
    If you save them inside a particular folder then you can directly point to that folder where images reside and you can easily delete the contents with out any problem for other contents in the Local Store directory.
    If you directly save the images in your Local Store directory without any sub directory then it will be difficult for you to delete all the images at once as you may have other contents in the Local Store along with your images and so you cannot delete them at once and you need to point to each image file and delete single image file.
    So in order to avoid this you can store all the images in seperate folder in your ApplicationStorage directory and delete the contents(images) of the folder directly.
    So create a folder Images in the  Local Store directory and point to that Images drectoy in your code "C:\Documents and Settings\Administrator\Application Data\ImageGallery\Local Store\Images\image1.png"
    Change your code as below:
    Note: Here File.applicationStorageDirectory itself points to the path -->  "C:\Documents and Settings\Administrator\Application Data\ImageGallery\Local Store"
    No need to of using File.applicationStorageDirectory.resolvePath("Local Store"); or  File.applicationStorageDirectory.resolvePath("ImageGallery");
    Try to use debugging as what path you are actually getting then you know whats exactly happening...
    public function onclose():void
         //Here Images folder is the new folder now in which your images should be saved.
          var myFile:File = File.applicationStorageDirectory.resolvePath("Images");
           if(myFile.exists)
                myFile.deleteDirectory(true);  
    Thanks,
    Bhasker

  • IMovie 09 has trouble importing large video files from my JVC HD-40. I am trying to edit files such as these in 09. What should I do? Would buying iMovie 2011 help? I am shooting AVCHD files instead of the other mpeg2 file format.

    Hi,
         I am new into the Apple Community. I have a camcorder known as the JVC GZ-HD40 US and I currently am trying to use iMovie 2009 to edit my movies. With my camcorder, I have the choice to use two different video formats: AVCHD or Mpeg2. All my videos are shot in the AVCHD (HD) file format. This camcorder also has a 120 G Hard Drive built into it. When I plug in the camcorder through USB to my MacPro, the Hard Drive of the camcorder shows up as a icon on the desktop. Many of my video clips are at least thirty minutes in length, inside the camcorder. When I try to import in iMovie my video files, it only imports around ten minutes of the video and skips to the end of the clip. I would greatly prefer to use my MacPro desktop to edit movies instead of my Windows 7 computer which seems to work fine. Is there a solution to this problem? Would the new iMovie 2011 application solve this problem? I also have the Final Cut Express to work with, and also, can't get it to work. What should I try doing?

    Hi all,
    I have the exact same problem. I've just been to Thailand with my girlfriend, and we recorded a lot of stuff with my brand new Sony HD camcorder. And whenever the we ran out of camcorder memory we just emptied everything onto my HP laptop using the supplied Sony software, which produced m2ts files. When we got home, I realized that my Mac Pro/iMovie09 was not able to import this format. What a huge disappointment! Especially considering the fact that I just bought my mac back in March (my first mac ever) only for video editing and music composing (no problems with music composing, however!).
    Well, I needed a solution, so last week I just bought the Voltaic HD converting software (35$), and it works great. No problems. Only thing is that my Mac Pro (quad intel core) had to work 24 hours a day for four straight days/nights in order to finish the converting job - resulting in 434 GB worth of mov-files. This is no problem as such, and the quality is great. BUT it seems rather stupid that this converting has to take place. If I use Sony Vegas on my PC, it works out of the box with my original m2ts-files. And I would really appreciate if Apple would implement a simple import function of m2ts-files in their software - one that would (if necessary) automatically convert the files to mov. Or even better: would work natively with the m2ts-files.
    Best,

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • Cannot shrink log file 2 because the logical log file located at the end of the file is in use ?

    HI,
    I am getting this error frequently.. any recomendations :
    Executed as user: DB0\sqlservices. Processing database: dbin [SQLSTATE 01000] (Message 0) 
    Cannot shrink log file 2 (DB_log) because the logical log file located at the end of the file is in use. [SQLSTATE 01000] (Message 9008) 
    Processing database: DB_ [SQLSTATE 01000] (Message 0)  DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Message 2528) 
    Cannot shrink log file 2 (DB_log) because the logical log file located at the end of the file is in use. [SQLSTATE 01000] (Message 9008) 
    Processing database: DB [SQLSTATE 01000] (Message 0) 
    DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Message 2528) 
    Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized. Reissue the statement after the current backup or file manipulation operation is completed. [SQLSTATE 42000] (Error 3023) 
    Processing database: DB_AC [SQLSTATE 01000] (Error 0)  
    [SQLSTATE 01000] (Error 0)  DBCC execution completed. If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000] (Error 2528). 
    The step failed.
    Please give any receomendations to avoid this error in future :
    Yangamuni Prasad M

     
    Hi Yangamuni,
    Are there any progress?
    Please have a look on the below threads with the similar issues as yours:
    http://www.sqlservercentral.com/Forums/Topic652579-146-1.aspx
    http://social.msdn.microsoft.com/forums/en-US/sqldatabaseengine/thread/ae4db890-c15e-44de-a2af-e85c04260331
    The solution is change the recovery mode to SIMPLE, shrink log files and then change to the FULL recovery mode.
    Thanks,
    Weilin Qiao
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Last element in string

    Hello all I am having a string like this: 55.000000; 10.000000; 0.100000; 1.000000; 1.000000; 0.100000; 0.000000; 0.000000; 1.000000; 1.000000; 22.000000; 0.100000; 6144.000000; The length of the string is not always same. What i want is to have the

  • How can I have Firefox in English ONLY please!!!!

    I want to download Firefox in English, however, I am in Spain and the browser is automatically downloaded in Spanish, is there a way to resolve this issue?

  • 945P Neo 2 F Chipset installation CD

    I lost my CD and can't install the chipset driver when i reformatted the system. No internet connection at home so can't update my window XP to SP2.... anyone can help? The drivers i tried downloaded from the MSI is for window SP2.....

  • Crystal Reports  and Virtual Machine

    Hi, We currently are running Crystal Reports 9 on Windows, and have a project starting to upgrade our hardware plateform.  We'd like to take this opportunity to upgrade our Crystal Reports to either XI or 2008 at the same time.  Here are my questions

  • Solman to compare profile params

    hi all.. can any one help me in guiding to use solman to compare the profiles in satellite systems? I found a presentation in the ASUG website mentioning that solman can be used to compare instance profiles/parameters in the satellite systems. Have a