A serious problem in ASP with SQL 2008

hi everybody,
iI have a problem, and it’s about asp classic working with SQL server 2008>
first of all I have a Recordset look like this:
<%
     Dim rsBlackBox_Page
     Dim rsBlackBox_Page_cmd
     Dim rsBlackBox_Page_numRows
     Set rsBlackBox_Page_cmd = Server.CreateObject ("ADODB.Command")
     rsBlackBox_Page_cmd.ActiveConnection = MM_MAXsqlServer_STRING
     rsBlackBox_Page_cmd.CommandText = "SELECT IDmaxPage, txtTitiel_E, txtBrief_E, txtName_E, txtPath FROM dbo.tbl_Pages,      dbo.tbl_Upload_Media WHERE bitShowInBlcakBlock = 1 AND MAXmediaUploadID=intPhotoSmallID ORDER BY IDmaxPage DESC"
     rsBlackBox_Page_cmd.Prepared = true
     Set rsBlackBox_Page = rsBlackBox_Page_cmd.Execute
     rsBlackBox_Page_numRows = 0
%>
Now I have a code to bring information from that recordset, and this code look like this:
<img src="images/<%
if (not rsBlackBox_Page.eof) then
            Response.Write(rsBlackBox_Page.Fields.Item("intPhotoSmallID").Value& “ alt=”””& (rsBlackBox_Page.Fields.Item("txtPath").Value)&””””)
            end if%>" width="57" height="65" />
and this code suppose to print the path of the image and alt attribute , form DB, unfortunately this code can’t working, when I made some change in the code, like:
<img src="images/<%
if (not rsBlackBox_Page.eof) then
            tempY=(rsBlackBox_Page.Fields.Item("txtName_E").Value)
            tempX=(rsBlackBox_Page.Fields.Item("txtPath").Value)
            Response.Write(tempX&"""")
Response.Write(" alt="""&tempY&"""")
            end if%>" width="57" height="65" />
it’s works, can any one please explain what happened to this code, cuz I have a lot of values to print, and there is no way to make it work.
thank you in advance.

No, It does not return any errors, and the page appear normally, but no results was shown,
and thank you for your note, but i thought that this is the right place to post my question, because the recordset was created by Dreamweaver.

Similar Messages

  • Problem: VSS error with 'SQL Server Backup to Windows Azure Tool' installed

    When 'SQL Server Backup to Windows Azure Tool' is installed, shadow copies cannot be enable and backups fail.  When attempting to enable shadow copies, we get a "volsnap" error:  "The shadow copies of volume X were aborted because
    of a failed free space computation".  After uninstalling the "Tool", VSS works.  Reinstalling "Tool" causes the problem to return.
    While the error suggests a space issue, there is plenty of space on the server's two volumes.  Additionally, another 100GB volume was added and VSS storage was allocated to it; still received the error.
    Issue seems to point to 'SQL Server Backup to Windows Azure Tool'.
    Environment:  Hyper-V guest:  "Windows Server 2012 R2 Standard" with "SQL Server 2008 R2 Standard".  Using "Azure Storage" for SQL backups.
    Suggestions?

    Hello,
    Yes, we have a confirmed interference between the tool and the VSS Framework. This was identified very recently and is under investigation by the product group. Since the issue is within the filter driver shipped by the tool, that unfortunately means that
    you currently need to choose between the tool and a working VSS Framework. If the latter is more important, then uninstall the tool (that will require a restart).
    We apolologize for the inconvenience. I'm going to try to get the home page of the tool updated to avoid other situations like yours. Hopefully we should see a new version of the tool soon.
    As a side note, recent versions of SQL Server can directly use Azure Storage as backup target, see
    http://msdn.microsoft.com/en-us/library/jj919148(v=sql.110).aspx.
    Regards,
    Guillaume Fourrat - Microsoft France

  • BPC-MS 7.5 SP5 Multi-Server Installation with SQL 2008

    Hi Experts,
    I have problem with multiserver installation. Even though installation user is SQL and OLAP administrator, installation lacks of creating Apshell OLAP database. OLAP server is using default port and we confirmed user can access this server. At the beginning installation user also could not create SQL database  but we took Apshel.db9 and use Advanced Settings in installation and now installation process creates SQL Database but not OLAP database.
    Actually our problem is not with creating Apshell OLAP Database we can import it from somewhere but this is the beginning of our OLAP connection problems. I do not know how many times we checked installation document and we installed Shared Features, ADO.net components etc..
    Please see error screenshot [here|http://www.navis.com.tr/BPCMultiserverInstall.png]
    Any ideas?
    Thanks in advance,
    Ergin Ozturk

    Hi There
    You need to ensure that the SQL Server has the correct protocols enabled, as per Bruno's post, you need to ensure that TCP / IP is enabled.
    Additionally, you may want to ensure that the SQL Server is able to allow remote connections.
    Please find below a link to a How To Guide on allowing remote connections to SQL Server
    [http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx]
    Hope this helps
    Kind Regards
    Daniel

  • Advance features available in sql server 2008 R2 compared with SQL 2008 SP2

    Hi,
    Can some one brief me the advance features available in sql server 2008 R2 compared with SQL Server 2008 SP2.
    I am planning to upgrade my existing sql server 2008 SP2 to sql server 2008 R2, before that i need the advantages to proceed , if the advantages are not suite to my requirements then i will drop out this option.
    Please give me the detailed reply for my analysis
    hemadri

    Hi Hemadribabu,
    There are some new features in SQL Server 2008 Service Pack 2(SP2), including SQL Server utility, Data-tier Application (DAC), Reporting Services in SharePoint Integrated mode and partitioning improvement. Features are supported by the different editions
    of SQL Server 2008 R2. For example, the Report Builder 3.0, PowerPivot for excel are available on the SQL Server Datacenter and SQL Server 2008 R2 Parallel Data Warehouse, they can assist you creating business intelligence documents. Here are the Top
     new features in SQL Server 2008 R2, including 
    Report Builder 3.0, SQL Server 2008 R2 Datacenter, SQL Server 2008 R2 Parallel Data Warehouse, 
    StreamInsight, Master Data Services and so on.
    For more information about SQL Server 2008R2 and SQL Server 2008 SP2, you can review the following articles.
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).ASPX
    https://social.technet.microsoft.com/wiki/contents/articles/1486.microsoft-sql-server-2008-sp2-release-notes.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Problem in connection with sql server

    hi ,
    i am facing problem in connection with ms sql server..please help me out.... i created the database ChandanClient...and there is one table Expense_code_Table...
    i want to insert the data into this table.. i am trying to create a demo example.. here is the code
    package demo;
    import java.sql.*;
    public class getdatabase {
         public static void main(String[] args) {
              Connection con =null;
              int ExpenceCode1=1;
         String ExpenceName1="exp_paper";
         String Organization1="exp_organization";
              try
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                   con=DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433");
                   Statement st = con.createStatement();
                   String q1="INSERT INTO Expense_code_Table(ExpenceCode,ExpenceName,Organization)VALUES("+ExpenceCode1+",'"+ExpenceName1+"','"+Organization1+"')";
         st.execute(q1);
              }catch(Exception e)
                   System.out.println(e);
              try
                   con.close();
              catch (SQLException e)
                   e.printStackTrace();
    after running program
    it is showing me...
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    java.lang.NullPointerException
         at demo.getdatabase.main(getdatabase.java:22)
    Exception in thread "main"
    please help me out how to solve this problem...
    thanks in advance...
    bye
    chandan sharma

    Put ur driver class files in the class path...
    regards
    Shanu

  • Update SharePoint list programatically twice a day with SQL 2008 r2

    How complicate is to sustain the update  SharePoint list programatically twice a day by using SQL job?
    the data need  to be update twice a day and it is going o be use to feed a share point form...where the user(S) will be choosing by lookup in infopath form.
    BTW..I do not have control of the SharePoint farm, I have MS SQL 2008 R2 and SharePoint version is 2010. 
    Or Also I am considering to use  MS access 2010 and SharePoint version is 2010.
    CRISTINA&amp MICROSOFT Forum

    >DRAFT IDEA<
    Is this will corrupt SharePoint if I try this?
    The two data list that I want to update twice a day come from other database sources
    One is from Human Resources roster list. (The result of the query) –amount of records >> 600
    UNREAL
    example
    Unique ID
    domain name
    Region
    Badge
    Full Name
    email address
    Manager
    Director
    EUROPE
    EMEA
    123456
    Bear, Charles
    [email protected]
    Hanc, Juilan
    Cano, Oscar
    AMERICAS
    ABU
    223456
    Ros, Adrian
    [email protected]
    Knight, Dexter
    Brown, Dexter
    ASIA-PACIFIC
    APJ
    323456
    Chen, Andy
    [email protected]
    Ducann, Scott
    Ginger, Jeff
    (JOIN) From the roster list connect with the User Information List "user
    credential"(/_vti_bin/UserProfileService.asmx) to allow me Create dependent drop-down by using these articles:
    https://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/
    http://sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?ID=172
    http://blogs.msdn.com/b/infopath/archive/2004/03/24/95529.aspx
    http://www.dotnetcurry.com/showarticle.aspx?ID=794
    http://www.codeproject.com/Articles/155829/SQL-Server-Integration-Services-SSIS-Part-Basics
    The second one comes from Account list. (The result of the query) –amount of records >> 22,000
    FAKE
    example
    Unique ID
    email_address
    account_id
    account_lk_id
    account_name
    subdivision_region_name
    subdivision
    support_model
    [email protected]
    22650
    22649
    NANA Web Skills
    AP
    Martial Law
    PunkingSPlus
    [email protected]
    16624
    16624
    ELECTRIC FOOD
    AMER
    Short Circuit Blue
    PunkingSPlus
    [email protected]
    12538
    12538
    100 Got drunk
    EMEA
    100 Got drunk
    PunkingSPlus
    [email protected]
    22206
    22205
    911 Hospital Ghost
    AP
     Hospital AP
    PunkingSPlus
    [email protected]
    6886
    6886
    Administration for UFO LAND
    AP
    Xiamen
    PunkingSPlus
    [email protected]
    22242
    22241
    ACT  Recording
    EMEA
    ACT  Recording  Orange
    PunkingSPlus
    (JOIN) In this list I will need to do the same connect with the User Information List "user
    credential"(/_vti_bin/UserProfileService.asmx)
    To narrow these lists to what they are only responsible to work..
    These two tables are going to be part of InfoPath form ...
    with these draft idea , Do I need to be considering to be using what you suggest ? >>>"PowerShell
    availabe in SQL and the CSOM to interact with SharePoint "
    Could be possible that you can also provide an article?? relate to ....
    "Firstly you must not update SharePoint content databases directly from SQL. Doing so may
    corrupt your farm and will render it unsupported by Microsoft."
    Thanks in advance
    CRISTINA 

  • JDBC Connection with SQL 2008

    Hello ,
                  I have a scenario where I have to send/receive data from MES system.  Current version of  MES SQL is 2005.
    Now client has upgraded it to SQL 2008.
    We have installed JDBC 2.0 drivers :
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99B21B65-E98F-4A61-B811-19912601FDC9&displaylang=en
    PI version : 7.1
    JRE version : 1.5
    But we are unable to connect to the database ,
    Also pasting the JDBC parameters that we are using ,
    JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection : jdbc:sqlserver://172.51.1.83:1433;databaseName=Tirisano
    Error Message while connecting :
    Exception: 'Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: UnsupportedClassVersionError: Bad version number in .class file'.
    com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel JDBC_Test (Party: *, Service: BC_Test, Object ID: 7d8d2928a753332faf9c0d278401585e) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: UnsupportedClassVersionError: Bad version number in .class file'.
    Has someone worked on this ?
    Sayalee

    Dear Sayalee,
    Were you able to resolve this issue ? I am facing the same issue with our clients system . Please let me know .
    Thanks & Regards,
    Sandeep

  • Having problems connecting Coldfusion10 with sql server express 2012

    Hi,
    I am having problems setting up a datasource for a local sql express 2012 server. Its running as the default instance. Connections are working with ODBC and client told just not Coldfusion.
    When I try to set up a connection using the sql driver I get this error:
    Connection verification failed for data source: Leaf
    java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connect
    The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433. Reason: Invalid argument: connect
    When I try a Socket connection with an ODBC connection I setup in windows I get this error:
    Connection verification failed for data source: LeafDB
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]Internal network error, connection closed.
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver]Internal network error, connection closed.
    Any ideas?
    Thanks,

    Hi Rossco199,
    The issue is likely caused by you not having yet assigned port 1433 in SQL Express itself. Follow the procedure described on the following page, and you should solve the problem: http://www.tensixconsulting.com/2012/02/sqlserverexception-the-tcpip-connection-to-the-hos t-port-1433-has-failed/
    In particular, remember to assign port 1433 to 127.0.0.1 and to IPAll. Also set 'Active' and 'Enabled' to 'Yes' for the IP 127.0.0.1. While you're at it, if 'Named Pipes' is disabled, you should right-click on it and select 'enable'. Afterwards, restart the Windows service 'SQL Server(SQLEXPRESS)'.
    It is advisable to allow ColdFusion server authentication. However, the SQL Express server is configured by default to allow only Windows authentication. This conflict may lead to errors.
    Should you then encounter the dreaded Error 233: "No process is on the other end of the pipe", proceed as follows. Open the tool Microsoft SQL Server Management Studio. Right-click on the name of your database server, then on Properties. In the user interface that opens, click on Security. Select the combined 'SQL Server and Windows Authentication mode'. Restart the service 'SQL Server(SQLEXPRESS)'.

  • URGENT: Problems Loading files with SQL Loader into a BLOB column

    Hi friends,
    I read a lot about how to load files into blob columns, but I found errors that I can't solve.
    I've read several notes in these forums, ine of them:
    sql loader: loading external file into blob
    and tried the solutions but without good results.
    Here are some of my tests:
    With this .ctl:
    LOAD DATA
    INFILE *
    INTO TABLE mytable
    REPLACE
    FIELDS TERMINATED BY ','
    number1 INTEGER EXTERNAL,
    cad1 CHAR(250),
    image1 LOBFILE(cad1) TERMINATED BY EOF
    BEGINDATA
    1153,/opt/oracle/appl/myapp/1.0.0/img/1153.JPG,
    the error when I execute sqlldr is:
    SQL*Loader-350: Syntax error at line 9.
    Expecting "," or ")", found "LOBFILE".
    image1 LOBFILE(cad1) TERMINATED BY EOF
    ^
    What problem exists with LOBFILE ??
    (mytable of course has number1 as a NUMBER, cad1 as VARCHAR2(250) and image1 as BLOB
    I tried too with :
    LOAD DATA
    INFILE sample.dat
    INTO TABLE mytable
    FIELDS TERMINATED BY ','
    (cad1 CHAR(3),
    cad2 FILLER CHAR(30),
    image1 BFILE(CONSTANT "/opt/oracle/appl/myapp/1.0.0/img/", cad2))
    sample.dat is:
    1153,1153.JPEG,
    and error is:
    SQL*Loader-350: Syntax error at line 6.
    Expecting "," or ")", found "FILLER".
    cad2 FILLER CHAR(30),
    ^
    I tried too with a procedure, but without results...
    Any idea about this error messages?
    Thanks a lot.
    Jose L.

    > So you think that if one person put an "urgent" in the subject is screwing the problems of
    other people?
    Absolutely. As you are telling them "My posting is more important than yours and deserve faster attention and resolution than yours!".
    So what could a typical response be? Someone telling you that his posting is more important by using the phrase "VERY URGENT!". And the next poster may decide that, no, his problem is evern more import - and use "EXTREMELY URGENT!!" as the subject. And the next one then raises the stakes by claiming his problem is "CODE RED! CRITICAL. DEFCON 4. URGENT!!!!".
    Stupid, isn't it? As stupid as your instance that there is nothing wrong with your pitiful clamoring for attention to your problem by saying it is urgent.
    What does the RFC's say about a meaningful title/subject in a public forum? I trust that you know what a RFC is? After all, you claim to have used public forums on the Internet for some years now..
    The RFC on "public forums" is called The Usenet Article Format. This is what it has to say about the SUBJECT of a public posting:
    =
    The "Subject" line (formerly "Title") tells what the message is about. It should be suggestive enough of the contents of the message to enable a reader to make a decision whether to read the message based on the subject alone. If the message is submitted in response to another message (e.g., is a follow-up) the default subject should begin with the four characters "Re: ", and the "References" line is required. For follow-ups, the use of the "Summary" line is encouraged.
    =
    ([url http://www.cs.tut.fi/~jkorpela/rfc/1036.html]RFC 1036, the Usenet article format)
    Or how about [url http://www.cs.tut.fi/~jkorpela/usenet/dont.html]The seven don'ts of Usenet?
    Point 7 of the Don'ts:
    Don't try to catch attention by typing something foolish like "PLEASE HELP ME!!!! URGENT!!! I NEED YOUR HELP!!!" into the Subject line. Instead, type something informative (using normal mixed case!) that describes the subject matter.
    Please tell me that you are not too thick to understand the basic principles of netiquette, or to argue with the RFCs that governs the very fabric of the Internet.
    As for when I have an "urgent" problem? In my "real" work? I take it up with Oracle Support on Metalink by filing an iTAR/SR. As any non-idiot should do with a real-life Oracle crisis problem.
    I do not barge into a public forum like you do, jump up and down, and demand quick attention by claiming that my problem is more important and more urgent and more deserving of attention that other people's problem in the very same forum.

  • Credential problem while running with SQL job agent

    Hi,
    SQL job agent fails to run when I change my computer login (Password) credentials information often.
    How I can run the SQL job agent with Database login credentials.
    Regards
    Venkatesh S

    Hi Venkatesh,
    If I understand correctly, you are using a proxy account has your login credential to run a step of SQL Agent Job. So when you change the login’s password, the credential of the proxy account has an expired password, then the proxy account doesn’t work in
    your job.
    As per my understanding, we can only use SQL Server Agent Service Account or Proxy Account to run the SQL Server Integration Services Package steps in SQL Agent Job. Since the SQL Server Agent Service Account may not have required permissions to access the
    resources in the packages, we recommend use Proxy Account. To create Proxy Account, we should create a credential first. To create a credential, we should specify a Windows user account. So we cannot use a SQL Server authentication login to run the job.
    A good workaround is use a windows user account with a password that never expire or changes rarely or update the password of credential followed by your login.
    Reference:
    How to: Automate SSIS Package Execution by Using the SQL Server Agent (SQL Server Video)
    How to: Run a Package
    How to: Create a Proxy (SQL Server Management Studio
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Serious problems on GUI with NetBeans.....

    package supershare;
    import java.awt.event.*;
    import javax.swing.*;
    public class testGUI extends javax.swing.JFrame implements java.awt.event.ActionListener{
        public testGUI(){initComponents();}
    public void initComponents(){/*Generated Code*/}
    public static void main(String args[]) {
                    new testGUI().setVisible(true);
      public void actionPerformed(ActionEvent e)
            /*JProgressBar jp = new JProgressBar(0, 100);
            jp.setValue(0);
            jp.setStringPainted(true);
            this.add(jp);
            this.validate();*/
            this.remove(jButton1);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        // End of variables declaration
    }Above is the code I made under NetBeans....
    As you know, NetBeans has a function called "JFrameForm", which allows you to design GUI more conviniently....
    if you are familar with NetBeans, you can easily understand the above code...
    You know what I am trying to do is that when I click the button, the button should disappear, but it doesnot....
    please help here... actually, I have a bigger project meeting this problem.. and if I have to design the whole project without using NetBeans's JFrameForm function, it will be a nightmare...yes, lots of work...
    Apreciate any help
    thanks

    Has any one here used NetBeans before???
    It has nothing to do with netbeans (except the layout manager you used happens to come with it)
    You need to understand what you are doing in terms of LayoutManagers and Containers. You cannot just add a Component to a Container with anything but the simplest layout manager - you need to understand the constraints the manager uses. In this case, I designed my JFrame using the Netbeans designer (which is most cool I must say) and added a JPanel to act as an area to add and remove components from (so I don't have to understand the GroupLayout constraints).
    Be forewarned that GroupLayout is not (as of yet) part of the standard jdk and you may have issues trying to distribute your application or run it outside of netbeans unless you know what you are doing or netbeans does it for you (I haven't tried yet)
    Good luck
    import java.awt.BorderLayout;
    import javax.swing.JProgressBar;
    * @author  Ian Schneider
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
        private void initComponents() {
            jButton1 = new javax.swing.JButton();
            jPanel1 = new javax.swing.JPanel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jButton1.setText("Press Me");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jPanel1.setLayout(new java.awt.BorderLayout());
            jPanel1.setName("progressArea");
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jButton1)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 281, Short.MAX_VALUE)
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
                    .addContainerGap()
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel1, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            pack();
        // </editor-fold>
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            final JProgressBar jpb = new JProgressBar(0,100);
            jPanel1.add(jpb,BorderLayout.CENTER);
            jPanel1.validate();
            jPanel1.repaint();
            Runnable task = new Runnable() {
                public void run() {
                    jButton1.setEnabled(false);
                    for (int i = 0; i < 100; i++) {
                        jpb.setValue(i);
                        try {
                            Thread.sleep(50);
                        } catch (InterruptedException ie) {}
                    jButton1.setEnabled(true);
                    jPanel1.remove(jpb);
                    jPanel1.validate();
                    jPanel1.repaint();
            new Thread(task).start();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JPanel jPanel1;
        // End of variables declaration
    }

  • SQL 2008 R2 Backups (Backup Exec) are failing with SQLVDI error

    Hi 
    We are experiancing Backup failures with SQL 2008 R2 DB with Backup Exec 2012, below are the errors
    Event ID 18210: BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device 'MSQ_00__2efc94bd_289f_4866_8dcb_3f3fde91416d_'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).
    Event ID 1: SQLVDI: Loc=TriggerAbort. Desc=invoked. ErrorCode=(0). Process=1864. Thread=6220. Server. Instance=MSSQLSERVER. VD=Global\ECD_00__2efc94bd_289f_4866_8dcb_3f3fde91416d__SQLVDIMemoryName_0. 
    We upgraded the memory from 8 GB to 12 GB, also as per the kb article we registered sqlvdi.dll with the servers, but still have teh same issue
    Expect support to correct teh issue
    LMS

    Hi,
    I’m writing to follow up with you on this post. Was the problem resolved after performing our action plan steps?If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • EVGET in BPC 7 MS and SQL 2008

    Have there been any change in how evget works in BPC 7 MS with SQL 2008 compared with BPC 5,1 and SQL 2005?
    When I use EVGET in BPC 5.1 and SQL 2005 I always get RFN# when the cell with EVGET isn't updated.
    But now when I'm trying BPC 7 and SQL 2008 I get i zero (0) when cell isn't updated. And some times I get another value that isn't the right value for that specific EVGET formula, seems like the system has an old value in memory thats shows, but when I update the, right value shows up in the cell.
    This can be a bit confusing and even worse, in some of our reports the wrong value isn't updated when report is refreshed.
    Anyone with the same problem or anyone who know if there are any changes made how the data is refreshed in EVGET formulas

    Did anoyone resolve this issue? - we are facing the same

  • P6 v.7 configuration question (SQL 2008)

    I'm in the process of creating a server to test a client/server deployment of P6 before we go live with it, but in reviewing the tested configurations in the Oracle knowledgebase I do not see our config, and I just wanted to see if anyone has successfullly used the one I want to go with. The config is:
    Windows Server 2008 X64 R2 SP1 on a Virtual in Hyper V (4 GB RAM, 2 Virtual processors)
    SQL 2008 with SP2
    Specifically looking for if anyone has tested it with SQL 2008 SP2. We can forego installing the service packs on SQL if they seem to cause issues.
    Thanks for any advice you all can give.

    While I have not personally tested SQL 2k8 SP2 I doubt you will have any issues.
    What you may be concerned with however is that when running on an unofficially-supported platform the vendor may chose not to assist you should something go severely wrong down the road. In Primavera's case I have never seen this to be a problem but now that Oracle has taken over things could potentially be different (especially in the case of MS SQL as I imagine they will eventually stop supporting it altogether).

  • Security issue in SQL Server replication in SQL 2008 Express edition

    Hi,
    I am trying to do merge replication through web sync in SQL server 2008 express edition. i tried the merge replication using RMO with C# code but no luck. i am getting the security related error.
    my Publisher and distribution are on SQL server 2008 R2 Standard edition. machine name "Printserver",
    I created subscription on SQL server 2008 express edition.
    I hosted the web service for merge syncronization on another machine named "ANUJVMWIN7".
    I installed SSL cerificate on all the machine (server, hosted server and subscriber machine.)
    here is the error description.
    The upload message to be sent to Publisher ‘PRINTSERVER’ is being generated
    The merge process is using Exchange ID ’0B23EBE2-D502-4D92-A9A1-88B8F738CFFC’ for this web synchronization session.
    A security error occurred
    A security error occurred
    The Merge Agent could not connect to the URL ‘https://ANUJVMWIN7.prospecta.in/WebSyncTest/replisapi.dll’ during Web synchronization. Please verify that the URL, Internet login credentials and proxy server settings are correct and that the Web server is reachable.
    The same process i tested with the SQL server 2008 standard edition and all the things are working fine. i could able to merge the databases but no luck with SQL 2008 express edition.
    Please help.
    Thanks
    Anuj Sharma
    Thanks Anuj Sharma Software Engineer

    Hi Brandon,
    I am not using self signed certificate. I installed SSL certificate provided by RapidSSL CA. This certificate is installed on my publisher machine ("Printserver"),
    web hosting machine ("ANUJVMWIN7") and my subscriber machine as well.
    Here are the certificate details which i installed on each machine.
    Thanks
    Anuj Sharma
    Thanks Anuj Sharma Software Engineer

Maybe you are looking for

  • Closed clamshell mode on mba 13" - Keeps loggin out every 30 seconds

    I'm trying to use my MBA 13" in Closed clamshell mode, connected to a 27" Thunderbolt Display however it's not working- Every 30 seconds or so, it locks the screen, and makes me log in again. I have just reset my MBA to factory settings to see if tha

  • Delivery Times on 24" iMacs

    Can't believe the responsiveness. Ordered CTO with 500GB drive and 2GB RAM on late Thursday, September 14. Shipping was estimated at Sep 20 with arrival on the 25th. Actual shipment was the 16th - arrived on the 19th! Went from Shanghai to Phillippin

  • Issue with BPM while calling store proc

    Hi All, We are using BPM to execute/call the store procedure for look up. We are sending the correct request; bu we are not get the expected output form BPM during runtime. No issue with store proc ,we doudble checked Is there any way to debug the BP

  • User defined Query in Print Layout

    Is it possible to print output of a user defined query in a Print Layout. For example: in Quotation Kentish

  • [svn] 4764: Fixes to flex4tests to [finally] account for the API changes in effects in yesterday's commit.

    Revision: 4764 Author: [email protected] Date: 2009-01-30 11:47:42 -0800 (Fri, 30 Jan 2009) Log Message: Fixes to flex4tests to [finally] account for the API changes in effects in yesterday's commit. Tests now compile and run... QE Notes: None Doc No