Report Generation working on Dev machine but not on Deployment + Lessons learned
I don't do deployments very often with Teststand. But I have to say, I learned a lot from this one from trial and error and help from the message board. I have got my deployment to final work (almost) with these lessons learned:
1. Create a base installer for the engines and drivers, that way if you need to update it is much smaller.
2. Dont install Teststand before Labview on a new development machine (not related to this deployment but I did learn that)
3. Don't have your Testexec window open, alter the Station Globals, then close the window. It just puts them back to the old version (probably my biggest problem).
4. Paths are extemely important.
I think I have figured it out with much time involved and kept notes of what I have done for future. The ONLY issue I have left is this below. My dev machine works as it should but when I deploy, it does not. FYI- I manually copied over Station Globals, Process model, and Testexec. DO I need something else?
I create serial numbers for my UUT's in the proceses model. It all works fine in development. The serial numbers are generated and the UUT filename is titled [023232232].txt and changes per unit. The path for example lets say is C:\Users\Ryan\Desktop\temp. A logfile is generated for each and put in that folder.
When I deploy, it does something different. Instead of putting the files into the temp folder, it errors out saying it is in use. If I delete the temp folder, it creates a file called "temp" which contains my text logfile. This file just keeps getting overwritten.
Any ideas on this?
Hi SimpleJack,
One way you can ensure that the Report Options you want to have stay with your sequence file is to actually override them using a Sequence File Callback. I have attached a link to a KnowledgeBase article that walks you through how to add the ReportOptions callback to your sequence and programmatically set the options that you would normally set by going to Configure»Report Options from the Sequence Editor.
Also, to ensure that the correct Process Model is being used with your sequence file after distributing, you can set the Process Model within the Sequence File Properties. This can be found by going to Edit»Sequence File Properties, and then going to the Advanced tab. I have attached a screenshot of this window below, as well. From here, you can set the Model Option to Require Specific Model, which especially comes in handy if you are using your own custom Process Models.
I hope this helps, SimpleJack! Have a great day!
How Can I Programmatically Enable or Disable Database Logging or Report Generation?
Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support
Similar Messages
-
Fixed headers while scrolling works fine in bids but not when deployed to reportserver
Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
Thanks in advance...............
IoneHi ione721,
Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
View in Internet Explorer 9 by following steps:
When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
The following screenshots are for your reference:
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu -
Report works on development machine, but not on distributed machines
New to CR, I use VS2005 and have added a crystal report that works fine on the development computer. I use the one click deployment to distribute my application with the report on a form. When I try to populate the report, I get the following error:
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Etcu2026..
Hope someone can help.I am looking into the merge modual from the link, hope thier are some install instructions. I am using the version of CR that is bundeled with VS2005. I did not see a serperate version for CR, Microsoft Visual here is the data from the VS2005 Help:
Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP2
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0401054-41481
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0401054-41481
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0401054-41481
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0401054-41481
Microsoft Visual J# 2005
Microsoft Visual Studio 2005 Tools for Applications 77626-009-0401054-41481
Microsoft Visual Studio 2005 Tools for Applications
Microsoft Visual Web Developer 2005 77626-009-0401054-41481
Microsoft Visual Web Developer 2005
Microsoft Web Application Projects 2005 77626-009-0401054-41481
Microsoft Web Application Projects 2005
Version 8.0.50727.762
Crystal Reports XXXXX-XXXXXXX-XXXXXXX
Crystal Reports for Visual Studio 2005
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB937061)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/937061
Security Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB947738)
This Security Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Security Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947738
Edited by: Jonathan Parminter on Mar 12, 2009 1:37 PM -
XMLDocument.Validate works on some machines but not on others
Hi All
I have a problem which I cannot Solve , I have a routine that Validates a node in a document against a XSD file using the XmlDocument.Validate method. This works fine on several machines but on a different network using the Same Document and schema files validate fails with a validation exception element not found . I cannot figure out why the exact same files and application should be successful on one machine and unsuccessfull on another. I have used Filemon to see if their are ACCESS DENIED problems but there are none.
I have reinstalled the framework 2.0, to no avail
RegardsI am trying to Get the Details on to an HTTP server no luck yet, and this fourm says that the files are to large to upload. , I have noticed the FILEMON says that the MSCORLIB.PDB file was not found in two locations WINNT and WINNT\dll would this have somthing to do with the problem. I have given the XML and Schema files to others to view but they confirm that there is nothing wrong with the file or the schema.
-
JavaMail applet working on local machine - but NOT on my webpage
Hi.
My code works on my machine as an applet run through my Eclipse IDE.
I have the Applet deployed on my website, which is the same server as the email server itself.
public void postMail(String to, String subject,
String message , String from) throws MessagingException
boolean debug = false;
//Set the host smtp address
Properties props = new Properties();
props.put("mail.smtp.host", "mail.completemusician.net");
props.put("mail.smtp.port", "2626");
props.put("mail.smtp.auth", "true");
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getDefaultInstance(props, auth);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress addressTo = new InternetAddress(to);
msg.setRecipient(Message.RecipientType.TO, addressTo);
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/plain");
Transport.send(msg);
}1) I know my code works on my local machine - so it's not related to a code bug.
2) I know that all class files are uploaded correctly and working in a single JAR file. The other 3 classes I use work fine in this applet.
3) I receive no errors of any kind - it just appears that my constructor may not be called, or the instant java mail API is mentioned, the applet just refuses to work.
v.setMessage("Attempting to send..");This line never is used in my class constructor - which is troubling.
public SendMailUsingAuthentication(String from, String to, String subject,
String text, ValidationDialog vd) {
v = vd;
v.setMessage("Attempting to send..");
boolean succeed = true;
try {
postMail(to, subject, text, from);
} catch (Exception e) {
// TODO Auto-generated catch block
v.setMessage("Email delivery has failed. " +
"Please check your email address provided and try again." +
"\n\n" + e.getMessage());
e.printStackTrace();
succeed = false;
if(succeed)
v.setMessage("Your request has been submitted successfully.\n\n" +
"You may safely navigate away from this page.");
v.setBlue();
// TODO Auto-generated constructor stub
}Feel free to reply - I would appreciate your help. Just keep in mind:
1) Don't tell me to use javascript. I refuse.
2) Don't tell me I need a server application. It's supposed to work according to documentation, without it.Is your applet signed properly? Note that you have to sign all the jars for the applet -- including the JavaMail jar and the activation jar -- using the same signer.
-
FTP to fieldpoint works in development environment but not in deployed app?
I have developed a VI which employs FTP to upload data files created by another application
embedded on a FieldPoint, not altogether unlike the "Redundant Datalogger" example VI found
in the NI Developer Zone. Unlike that example, I am not employing DataSockets, Citadel
database functionality or any other DSC functionality which I know or suspect does not work
in a deployed application without the DSC Run-Time Engine.
This VI works fine when I run it in the LabVIEW Development System (Full + RT + DSC), but
when I deploy the VI as a standalone application FTP (at least) appears to quit working.
I don't have the specific error code -- my VI re-interprets FTP errors to a novice-
friendly "check the LAN connection and/or FieldPoint power" warning and I will have to
modify the code to extract better diagnostics. I will also not be able to probe further
until I can get back to the fieldpoint, which is happily running its little app in a little
one-room water plant in the mountains. Meanwhile, is there something more fundamental (and
obvious to the veterans) which I am overlooking?
This application employs DSC security features and I have deployed it bundled with the
associated DSC files per the DSC manual instructions. All of that is apparently working fine;
the stand-alone just won't FTP to the fieldpoint while the development copy will.
Bob Miller
P.S. This VI also employs TCP to continuously communicate control and status info with the
fieldpoint, but the VI gives up on the link when FTP fails and never tries to open the TCP
path.I will answer my own query for any casual readers. I dragged my
notebook and my carcass up into the mountains last night to attempt
to diagnose the problem. One word answer:
Firewall.
The Symantec firewall on the PC had been configured to allow Labview
to access the network via TCP (which FTP is built on), but not an
application named "Water Plant Watchdog". Reconfiguring the firewall
(a two-minute job) fixed the problem.
NI embeds a lot of "Disable Windows firewall" messages in the LabVIEW
installer and/or documentation. This is an issue for a standalone PC
connected to a fieldpoint and a dial-up ISP. So the firewall (and the
LabVIEW application) must be managed to allow each other to do their
job. Fortunately Symantec (Norton)'s firewall seems flexible enough.
Bob -
Audio chat works on one machine, but not on the other!
First up, my setup:
Comcast Cable Modem -> Linksys Router -> iMac (Core2Duo), PowerBook (G4), Vonage
Both systems running OS X 10.4.10. Both systems are connected through their Airport cards (ethernet cables are pulled) to the router.
To better debug the problem I turned the Firewall and LittleSnitch off on both systems.
The router's firewall is turned off as well.
Port forwarding is also checked, and the PowerBook is not even listed having any ports forwarded at all (that's the one iChat audio chat works).
There must be something blocking the iMac... but I can't seem to figure it out. Any help greatly appreciated!
Here the error message when trying to start a audio chat on the iMac:
Date/Time: 2007-10-03 21:53:13.057 -0700
OS Version: 10.4.10 (Build 8R2232)
Report Version: 4
iChat Connection Log:
AVChat started with ID 996873621.
blafusel13: State change from AVChatNoState to AVChatStateWaiting.
0x1763daf0: State change from AVChatNoState to AVChatStateInvited.
0x1763daf0: State change from AVChatStateInvited to AVChatStateConnecting.
blafusel13: State change from AVChatStateWaiting to AVChatStateConnecting.
0x1763daf0: State change from AVChatStateConnecting to AVChatStateEnded.
Chat ended with error -22
blafusel13: State change from AVChatStateConnecting to AVChatStateEnded.
Chat ended with error -22
Video Conference Error Report:
@:0 type=4 (00000000/0)
[VCBANDWIDTH_DETECTIONFAILURE]
[20]
@SIP/Transport.c:121 type=4 (00000000/0)
[SIP/2.0 200 OK
Via: SIP/2.0/UDP m.0;branch=z9hG4bK21ebc40938e66ac3
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 3 NOTIFY
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:121 type=4 (00000000/0)
[BYE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP u0en0.0;branch=z9hG4bK294ea2d35c1d2655
Max-Forwards: 70
To: "blafusel13" <sip:[email protected]>;tag=950727899
From: "u0" <sip:[email protected]>;tag=999461336
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 2 BYE
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:121 type=4 (00000000/0)
[SIP/2.0 200 OK
Via: SIP/2.0/UDP m.0;branch=z9hG4bK6a2609544cbcf67a
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 2 NOTIFY
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:121 type=4 (00000000/0)
[SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP u0en0.0;branch=z9hG4bK063add5400ad6c74
Max-Forwards: 70
To: "blafusel13" <sip:[email protected]>;tag=950727899
From: "u0" <sip:[email protected]>;tag=999461336
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 SUBSCRIBE
Contact: <sip:[email protected]>
Event: conference
Expires: 3600
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:121 type=4 (00000000/0)
[SIP/2.0 200 OK
Via: SIP/2.0/UDP m.0;branch=z9hG4bK106e5ff018690da9
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 INVITE
Contact: <sip:[email protected]>
User-Agent: Viceroy 1.2
Content-Type: application/sdp
Content-Length: 397
[v=0
o=vcauto2 0 0 IN IP4 u0en0.0
s=blafusel13
c=IN IP4 u0en0.0
b=AS:2147483647
t=0 0
a=hwi:1056:2:2000
a=bandwidthDetection:YES
a=iChatEncryption:NO
m=audio 16384 RTP/AVP 12
a=rtcp:16385
a=rtpID:-66179448
m=video 16384 RTP/AVP 126
a=rtcp:16385
a=rtpmap:126 X-H264
a=RTCP:AUDIO 16385 VIDEO 16385
a=fmtp:126 imagesize 0 rules 20:640:480:640:480
a=framerate:20
a=rtpID:0
@SIP/Transport.c:121 type=4 (00000000/0)
[SIP/2.0 180 Ringing
Via: SIP/2.0/UDP m.0;branch=z9hG4bK106e5ff018690da9
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 INVITE
Contact: <sip:[email protected]>
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:121 type=4 (00000000/0)
[SIP/2.0 100 Trying
Via: SIP/2.0/UDP m.0;branch=z9hG4bK106e5ff018690da9
To: "u0" <sip:[email protected]>
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 INVITE
User-Agent: Viceroy 1.2
Content-Length: 0
Video Conference Support Report:
@SIP/Transport.c:1218 type=1 (00000000/0)
[NOTIFY sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP m.0;branch=z9hG4bK21ebc40938e66ac3
Max-Forwards: 70
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 3 NOTIFY
Contact: <sip:[email protected]>;isfocus
Event: conference
Subscription-State: terminated;reason=noresource
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:1218 type=1 (00000000/0)
[SIP/2.0 200 OK
Via: SIP/2.0/UDP u0en0.0;branch=z9hG4bK294ea2d35c1d2655
To: "blafusel13" <sip:[email protected]>;tag=950727899
From: "u0" <sip:[email protected]>;tag=999461336
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 2 BYE
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:1218 type=1 (00000000/0)
[NOTIFY sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP m.0;branch=z9hG4bK6a2609544cbcf67a
Max-Forwards: 70
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 2 NOTIFY
Contact: <sip:[email protected]>;isfocus
Event: conference
Subscription-State: active;expires=3600
User-Agent: Viceroy 1.2
Content-Type: application/conference-info+xml
Content-Length: 186
<c-i v="0" st="f" en="sip:[email protected]">
c<h>i</h><m t="a"/>
c<h>o</h><m t="a"/>
</c-i>
@SIP/Transport.c:1218 type=1 (00000000/0)
[SIP/2.0 200 OK
Via: SIP/2.0/UDP u0en0.0;branch=z9hG4bK063add5400ad6c74
To: "blafusel13" <sip:[email protected]>;tag=950727899
From: "u0" <sip:[email protected]>;tag=999461336
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 SUBSCRIBE
Contact: <sip:[email protected]>;isfocus
Expires: 3600
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:1218 type=1 (00000000/0)
[ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP m.0;branch=z9hG4bK2f5118ef7b71533d
Max-Forwards: 70
To: "u0" <sip:[email protected]>;tag=999461336
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 ACK
User-Agent: Viceroy 1.2
Content-Length: 0
@SIP/Transport.c:1218 type=1 (00000000/0)
[INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP m.0;branch=z9hG4bK106e5ff018690da9
Max-Forwards: 70
To: "u0" <sip:[email protected]>
From: "blafusel13" <sip:[email protected]>;tag=950727899
Call-ID: 90351360-7235-11dc-9ae6-fc6fa15013c4@lip
CSeq: 1 INVITE
Contact: <sip:[email protected]>;isfocus
User-Agent: Viceroy 1.2
Content-Type: application/sdp
Content-Length: 479
v=0
o=cape 0 0 IN IP4 m.6
s=blafusel13
c=IN IP4 m.6
b=AS:2147483647
t=0 0
a=hwi:1056:2:2160
a=bandwidthDetection:YES
a=iChatEncryption:NO
m=audio 0 RTP/AVP 12 3 0
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpID:1244757996
m=video 0 RTP/AVP 126 34
a=rtpmap:126 X-H264/90000
a=rtpmap:34 H263/90000
a=fmtp:34 imagesize 1 rules 30:352:288
a=framerate:20
a=RTCP:AUDIO 0 VIDEO 0
a=pogo
a=fmtp:126 imagesize 0 rules 20:640:480:640:480
a=rtpID:-1337831700
@:0 type=2 (00000000/22)
[VCAUDIO_OUTGOINGATTEMPT]
[2]well, i updated the router (latest firmware is from april 2006!). rebooted the modem, then the router, restarted ichat. same problem unfortunately. however i found some geeky cool-aid on macosxhints. a shell script which configures the router to enable dmz, and another one to disable dmz. with a little shell script one should be able to enable dmz, start ichat. and upon quitting ichat disable dmz. not the best solution, but this will help me out...
thanks to tony for his help! (we should send him a fruit basket or something 8)
http://www.macosxhints.com/article.php?story=20051015142349372 -
Ipod working on one machine but not another
I purchased a 30gb iPod video today, the problem is after I installed iTunes and plugged the iPod in I got an error message stating my ipod was possibly corrupted and suggesting that I restore it. When I try to restore it says this isnt possible because it can't download the required rescoure. The odd thing is when I plug it into another, much older computer in my house, it works fine. I've looked over a lot of the topics on this forum and can't find anything that has worked yet. Both machines are running Windows XP and iTunes 7, however the older machine has usp 1.0 ports yet it still worked. Any help would be much appreciated, thanks.
Not sure, maybe if you can share the form, I can have a look at it.
-
TC works w/Time Machine, but not as as AP
Really weird. All Macs successfully back up wirelessly via TM to my TC. And all Macs detect the TC as a valid AP (with strong signal)...and can 'join' the TC.....but there is no Internet access when using the TC. Any ideas are welcome. TIA.
Glad that worked Steve!
The key is the 90 second gap between each device so each upstream device gets a chance to build the IP addresses it will lease to the next box downstream. Always perform the process in the exact order beginning with moden and ending at the computer.
best,
dave -
Processbuilder works from command line but not on deployment server
I need to deploy my code on a 10g oc4j Oracle server. When I ssh into the server and run the following code, it works:
import java.util.*;
import java.io.*;
public class Launcher {
public static void main(String args[]) throws IOException {
String url = "http://www.ebay.com";
String[] commands = {"/bin/sh", "-c", "/opt/sfw/bin/firefox ", url, "-width", "1600", "-height", "1200", ":5"};
ProcessBuilder pb = new ProcessBuilder(commands);
env.put( "DISPLAY", ":5" );
Process process = pb.start();
It launches firefox and I can see the process running when I use "ps -ef | grep firefox". Firefox runs in a virtual frame buffer since this is a headless server. Originally I had problems just getting this code working by itself, but now it works fine.
However when I deploy the exact same code via Oracle application server, it doesn't do anything. Not only do no processes show up but I have added different output statements into this code and have verified that firefox never launches. However no error is ever thrown either, even when I just test for generic Exceptions. So any ideas on what I can do to get this running?Caffeine0001 wrote:
sabre150 wrote:
Solerous wrote:
Also, I do handle the stdIn and stdOut in the code. I was trying to pair down the code in my inclusion of it here to just give the bear minimum for running it. Here is my code for handling it if you'd like to see it:
InputStream is = process.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line;
System.out.printf("Output of running %s is:",
Arrays.toString(commands));
while ((line = br.readLine()) != null) {
System.out.println(line);
}I don't see stderr being handled and your command array is still wrong.
Edited by: sabre150 on Dec 10, 2008 4:48 PM
If he were to call [ProcessBuilder.redirectErrorStream(true)|http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html#redirectErrorStream(boolean)] then all he has to handle is stdout.
True, then that would be just one more important thing that the OP failed to post in his "*exact* same code" . -
Scrolling Header works in Visual Studio but not on Report Server 2008
2008 R2 Reporting Services. My scrolling header works in Visual Studio but not when deployed to the Report Server and viewed in IE 9. I have read most every post on this issue and can't find a solution. I have the fixed data properties
set correctly. Any suggestions?
Help appreciated!
LindaHi Linda,
As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
HTH,
Ram
Please vote as helpful or mark as answer, if it helps -
On 2011 iMac, External Altec Lansing speakers no longer work after upgrading to Mountain Lion.
They DO work on a lenovo machine but not my iMac. reset Pram - no luck. took speakers from wife's desktop, they
do not work when jack plugged into my iMac - Sys Prefs "SOUND" only lists "internal speakers/ built in" as available options.
I used my altec lansing speakers on 3 macs including this one for 5-6 years.....now with Mountian Lion I can only get internal speakers???
Ideas? Any/All help would be greatly appreciated - been going nuts with this for 2 days now.Hi,
When you start Messages fro the first time you are asked for an Apple ID
When this is verified and entered it appears in Messages Menu > Preference > Accounts and is Enabled.
The App should have also picked on on those iChat Accounst you had before.
These should be Enabled if they were when you last used iChat.
Exactly which "Accounts" are logged in can be seen in Message Menu > Accounts and will include the iMessage "Account" and Bonjour.
In the Window menu you will see CMD +0 for the Messages window and CMD+1 for the "Buddies" window which is a combined list at this stage.
Go to the Preferences > General Section and Untick the "Collect all accounts into one list".
This will give you separate iChat type Buddy lists.
You can check if that account/Buddy list is set to Invisible or if in the Preferences > Accounts > Security you have settings that will block some people from seeing you as On line.
You are saying Buddies can see you as On Line which implies they are still sending to your AIM based Names (@Mac.com is a valid AIM Screen Name)
I am not sure from your post if you are trying to iMessage their email IDs thinking they are Apple IDs and that they are using Messages as well.
There is no Buddy list for iMessages side
No-one can tell you are "On Line" until they have your details in the "To" spot in Messages with the correct iMessaged contact info (iPhone Number or Apple ID)
Obviously an Apple ID can be an email or look like one.
In some cases they are also valid AIM Screen Names as well.
In the case or the @mac.com name you may have linked this Apple ID to iMessages as well.
11:31 PM Saturday; August 11, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Airplay works for one user but not for another on the same machine
I have the problem where airplay works for one user but not for another and both users are on the same machine. For the user where it does not work, everything appears normal, it's just that there is no sound being transmitted. I have tried restarting the Airport express, restarting iTunes, repairing disk permissions. Any ideas about what can be done to resolve this?
my /etc/group:
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon
mem::8:
kmem::9:
wheel::10:root,hans,ibm,gast
ftp::11:
mail::12:
uucp:x:14:
log::19:root
locate:x:21:
smmsp::25:
http::33:
games::50:
network:x:90:
video:x:91:
audio::92:ibm,gast
optical::93:hal
floppy:x:94:hal
storage:x:95:hal
scanner:x:96:
power:x:98:
nobody::99:
users::100:gast
dbus:x:81:
hans:x:1001:
vboxusers:x:108:hans
policykit:x:1002:
hal:x:82:
kvm:x:78:
nx:x:85:nx
avahi:x:84:
camera:x:97:
gdm:x:1003:
gast:x:1004: -
JDBC/JSP/MySQL Code works from my local machine, but not on server
Hi there!
I've been struggling with this problem for a while.
I have a database from which I need to read and display some data on a browser. (The database is set up for remote access).
I'm using the following JSP/JDBC code to do that.
Class.forName ("com.mysql.jdbc.Driver").newInstance();
out.println("<BR> Connecting to DB...Pls. Wait <BR>");
Connection con = DriverManager.getConnection("url","user","pwd");
if(con.isClosed())
out.println("<BR><BR><BR>" +"Could NOT connect to MySQL Database...");
else out.println("<BR> CONNECTED !!! <BR>");
Statement stmt = con.createStatement();
results = stmt.executeQuery("SELECT * FROM TableName" );
When I run this of my local machine, it works fine. But when I upload it to a server, it doesn't run through. I dont get either the connected or not connected message.
I tried this piece of code that I found online to check the driver.
/*Driver d = (Driver)Class.forName("com.mysql.jdbc.Driver").newInstance();
out.println("<BR>Got a driver instance. ");
if (d.acceptsURL(url)) out.println("<BR>The driver does accept my URL");
else out.println("<BR>The driver doesn't like the URL I'm trying"); */
I ran it off the server and it worked. I got the outputs --Got a driver instance and The driver does accept my URL
I'm unable to figure out why this code can be run locally from my machine, but not from a different location. The database is NOT on my machine.
Any inouts will be really appreciated.
I'm using an Apache Tomcat container and the database is MySQL.Just wanted to mention
The database is on another (3rd) machine.
So I have
1. My local machine
2. Database hosted on a 2nd machine
3. Place I'm moving my code to (its basically a hosting account provided by an external company)
I can access the database from my local machine. However, when I move the code over to another machine, it doesn't work. -
G4 iBook works in Safe Mode, but not in regular mode (stuck on blue screen)
14" iBook G4 1.2GHz with 1 gig of RAM.
I recently had an issue with this machine in that the image on the screen would freeze but the cursor would be able to move around. This was narrowed down to an issue with the logic board. I wanted something a little more permanent than a shim, so I sent the board in to have it reballed.
After installing the maching back into my iBook, it seemed to work fine until I applied a software update to the machine.
It was then that I got to experience the first of many kernel panics.
Restarting at different times always brought me to the dialog box which states that the machine needed to be restarted in multiple languages.
Running the Apple Hardware Test off my install disks yielded this error code: 2ATI/2/4:113-xxxxx-125
I have no idea what that means. I do know that just before I got the results of the test, the screen changed to all kinds of colors. It was only for a few seconds and then the results (with the error code) were displayed.
Still, not sure what to do next, I tried resetting the PRAM. I also tried resetting the NVRAM.
I also tried booting up into Safe Mode which actually worked. There were no issues with the machine and everything seemed to be working fine.
When I tried to restart the machine in regular mode, I'm taken to the infamous blue screen and the machine just stays there. When I let the machine stay off overnight, it booted up normal, but after applying the software update, the machine was in kernel panic again.
I've tried running fsck, but nothing changes.
I'm still not sure why it seems to work in Safe Mode but not in regular mode.
I'd appreciate any suggestions or ideas.Hi,
A couple of the things that are disabled in safe mode are AirPort and non Apple startup items. The easiest thing for you to test is the AirPort card. Shut down and remove the AE card under the keyboard. See if it starts. If it does your AE card is bad. If not, start in safe mode and go to System Preferences>Accounts>youraccount and disable all non Apple startup (LOgin) items by clicking on them and then the minus sign. Restart normally and see if it will start.
John
Maybe you are looking for
-
Windows Vista can't print to AirPort connected printer
I have a windows 7 notebook and 3 macs... I can print with all macs but with my windows notebook I'm having thouble. I have already downloaded bonjour and the airport utility but my notebook is not even findind my time capsule. I've already tried eve
-
29.01 update is TERRIBLE! New interface sucks! FF loads like I'm on dial-up. I changed nothing but but updating FF. Thia has never happened before. Please send me instructions to get this POS off my machine and instructions to get the last version ba
-
Where do you buy A Macbook Air's Macintosh HD disk. Also how much does a 125gb cost?
Where do you buy A Macbook Air's Macintosh HD disk. Also how much does a 125gb cost?
-
Hi I'm working on a servlet for xsl transformation. I'm getting an error on run time : ============================================= javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl
-
I edit my Standard Def video in FCE, export a QT movie reference file using current setting out of FCE and bring it into imovie 09 so I can post my video to my mobile me gallery. I'm pretty disappointed with the quality once it is up on mobile me. I