URL Help Needed
Hello,
I have a method that needs to return a URLConnection object. I am passing into that method a string URL. I have created a URL Object from the url string, then I made a URLConnection object from that url object. Then I try to connect to that urlconnection object. But if I put in a bad URL, it does not throw an exception?
The purpose of this is that I have some xml files in a remote directory, and I am making sure that they exist before I throw them to a sax parser.
What can I do to make sure the files exist, keeping in mind that they live on a different server, and I didnt want to run rpc for this mission? PS, I got a DataInputStream on the connection, then read a line to throw an error, but then it messed up the returned connection.
Any ideas.....
CODE THAT DOES NOT THROW ERROR EVEN IF surl DOES NOT EXIST
eg
http://somehost.com/nonexistant.xml
public URLConnection getURLConnectionObject(String surl)
URLConnection c = null;
try
URL url = new URL(surl);
String line;
c = url.openConnection();
catch(MalformedURLException me) {
message = "MalformedURLException: " + me + "\n\n";
System.out.println("MalformedURLException: " + me);
catch (IOException ioe) {
message = "IOException: " + ioe + "\n\n";
System.out.println("IOException: " + ioe);
return c;
URL url = new URL(surl);
url.getContent // will throw an exception if you cannot get content..
//then return the connection
c = url.openConnection();
Similar Messages
-
Great player, want on movie finished to forward to url help needed
I am very happy to have found this perfect player.
However the only thing i need is to forward to another page when the movie is finished.
Cannot find anny documentation how to receive or send this event, mayby through flash vars.
Can someone help me out...?
Marcel SpaanURL url = new URL(surl);
url.getContent // will throw an exception if you cannot get content..
//then return the connection
c = url.openConnection(); -
More than 255 characters in browser URL - Help needed
Hai friends,
We are facing a problem. We are calling a report from a form. We are using
FORMS 10G AND REPORTS 10G.
While calling reports from forms Reports are showing error, because we are not able to pass more that 255 characters in brwoser URL.
We are using
web.show_document(v_host||':'||v_port||lv_serv_string||v_parameter_string,'_blank');
for calling reports.
Please give a help.
Thanks and Regards
MathewSir,
We are using this code.
PROCEDURE lp_web_show IS
v_host varchar2(100);
v_port varchar2(10);
lv_serv_name varchar2(50);
lv_serv_string varchar2(50);
lv_rep_name varchar2(25) := 'Apr020.rep';
lv_rep_fmt varchar2(50);
v_parameter_string varchar2(4000);
v_username varchar2(50);
v_password varchar2(50);
v_database varchar2(50);
Lvr_Where_Clause Varchar2(4000);
BEGIN
Proc_Validate_All; --Procedure to validate all items in canvas
lp_get_web_details(v_host,v_port,lv_serv_name,lv_serv_string,lv_rep_fmt,
v_username,v_password,v_database);
v_parameter_string := lv_serv_name;
v_parameter_string := v_parameter_string||'&report='||lv_rep_name;
v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||
v_password||'@'||v_database;
v_parameter_string := v_parameter_string||'&execution_mode=batch';
v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
v_parameter_string := v_parameter_string||'&destype=cache';
v_parameter_string := v_parameter_string||'&desformat='||lv_rep_fmt;
Proc_Get_Where_Clause(Lvr_Where_Clause);
v_parameter_string :=
v_parameter_string||'&PVR_WHERECLAUSE='||Lvr_Where_Clause;
v_parameter_string := v_parameter_string||'&PM_FIN_YEAR='||:FIN_YEAR;
web.show_document(v_host||':'||v_port||lv_serv_string||v_parameter_string,'_blank');
END;
So the total URL exeecds 255 characters. I didnt understand your coding. Do We have to pass host name,port number and all no? -
Super amateur question follow-up (URL help needed)
I neglected to say in a previous post that I actually have five images in the flash animation that need to link to web pages.
I duplicated the code that worked on one image. Now I get an error saying there are duplicate function definitions. Here is the code I have added which I hoped would work for three images. It doesn't. Your help is greatly appreciated.
bfcSyringe_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/syringe.html");
navigateToURL(targetURL, "_self");
fpr_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/fpr.html");
navigateToURL(targetURL, "_self");
sandTrap_mc.addEventListener(MouseEvent.CLICK,onClick);
function onClick(evt:Event):void {
var targetURL:URLRequest = new URLRequest("http://hodentalcompany.com/pages/sand.html");
navigateToURL(targetURL, "_self");And, for Funky Soul's solution, I used this code:
bfcSyringe_mc.addEventListener(MouseEvent.CLICK,onClick);
bfcSyringe_mc.name = "bfc";
fpr_mc.addEventListener(MouseEvent.CLICK,onClick);
fpr_mc.name = "fpr";
sandTrap_mc.addEventListener(MouseEvent.CLICK,onClick);
sandTrap_mc.name = "sand";
function onClick(evt:Event):void {
switch(e.target.name)
case "bfc":
navigateToURL(new URLRequest("http://hodentalcompany.com/pages/syringe.html"), "_blank");
break;
case "fpr":
navigateToURL(new URLRequest("http://hodentalcompany.com/pages/fpr.html"), "_blank");
break;
case "sand":
navigateToURL(new URLRequest("http://hodentalcompany.com/pages/sand.html"). "_blank");
break;
And got this error:
1084: Syntax error: expecting identifier before _blank. -
URGENT HELP NEEDED ... Tomcat Realm and JRE1.4 plug-in problem
I have tried the Security Realm of Tomcat. Since I do not have
an LDAP server, I decided to use the Tomcat-users.xml file in
Tomcat\conf directory.
I added the following lines of code in the web.xml file.
<security-constraint>
<web-resource-collection>
<web-resource-name>Entire Application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<!-- NOTE: This role is not present in the default users file -->
<role-name>webviewer</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Tomcat Manager Application</realm-name>
</login-config>
The <role-name> "webviewer" is added into "Tomcat-Users.xml" as the following:
<tomcat-users>
<user name="test" password="password" roles="webviewer" />
</tomcat-users>
So, now when we type the url: http://localhost:8080/adbpdbre/default.htm, TOMCAT shows a dialog box asking for UserName: and Password:Now, only when we give the username and password, it shows the page. This is exactly what we want.
But the problem now is, this default.htm page, has 5 links to 5 applets. The first time that I click on one of these links, the JRE plug of 1.4 shows a dialog again asking for the username and password. Till I dont provide the username and password the system doesnt go ahead and applet doesnt load. I do not want the JRE to ask me for the username/passwords again..How to avoid this ?
Can you give me some more information on this. Ultimately in the production usage, we will be using LDAP and not Tomcat's memory realm.
URGENT HELP NEEDED ... I need to get back to my client on this.
Help would be v. much appreciated.In the config file, you 're essentially saying that you want Tomcat to prompt for usr/passw on every request (url-pattern = /*) made by a 'webviewer', and that's exactly what Tomcat is doing.
Consider using specific url-patterns & roles for resources to be protected. If for now, all you need is to protect the first page, use a more specific url-pattern.
Just an advice : if you'll be using LDAP in production, do not waste time with Tomcat's Security Realm and the BASIC authentication type, since the two have not much in common. Start reading doc on LDAP, and code a prototype, or even better, a vertical slice of the app (i.e a proof of concept). -
Help needed to run JSTL 1.1 in Tomcat 6.0.16
Hi All,Help needed to run JSTL 1.1 in Tomcat 6.0.16. I am trying to run the example given in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html The example tries to connect to MySQL database from JSP using JSTL and JNDI Datasource.I am running the example using Eclipse 3.4.2 using Sysdeo plugin to start and stop Tomcat server from Eclipse IDE.
My web.xml file has <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
</web-app>
and test.jsp has proper taglib directives
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
I have placed the jstl.jar and standard.jarof the jakarta-taglibs-standard-1.1.2.zip under E:\Deepa\workspace\DBTest\WebContent\WEB-INF\lib directory also placedcontext.xml file under E:\Deepa\workspace\DBTest\WebContent\META-INF and the content of context.xml is as below
<Context path="/DBTest" docBase="DBTest"
debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="deepa" password="mysql" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
</Context>
Now while running the example, Eclipse creates one DBTest.xml file under C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost
which has the following line:
<Context path="/DBTest" reloadable="true" docBase="E:\Deepa\workspace\DBTest" workDir="E:\Deepa\workspace\DBTest\work" />
I am getting the following error when running http://localhost/DBTest/WebContent/test.jsp
in Browser:
<HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:431)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:494)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
org.apache.jasper.compiler.Parser.parse(Parser.java:138)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
In the Tomcat Server console, I am getting the following error:
INFO: Server startup in 7295 ms
May 20, 2009 6:36:48 AM org.apache.jasper.compiler.TldLocationsCache processWebDotXml
WARNING: Internal Error: File /WEB-INF/web.xml not found
May 20, 2009 6:36:48 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application
what is the problem with my code?
When running the same example, by creating a local server in Eclipse(creating new Server connection pointing to same Tomcat 6.0 installation) it runs fine without any error.Hi evnafets,
Wow, very helpful information, great insight into working of Eclipse. Thanks a lot.
I have one more question. I have a context.xml file under {color:#0000ff}E:\Deepa\workspace\DBTest\WebContent\META-INF{color} folder and that has the Resource element to connect to MySQL database:
{code{color:#000000}}{color}<Context path="/DBTest" docBase="DBTest" debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="deepa" password="mysql" driverClassName="com.mysql.jdbc.Driver"
{color:#0000ff}url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>{color}
{color:#0000ff}</Context>{color}As usual when running application in local Tomcat server of Eclipse, this data source works fine. But when I run the application on Tomcat, by starting Sysdeo plugin from Eclipse, the DBTest.xml file created in C:\Tomcat 6.0\conf\Catalina\localhost has the context entry as<Context path="/DBTest" reloadable="true" docBase="E:\Deepa\workspace\DBTest\WebContent" workDir="E:\Deepa\workspace\DBTest\work">
</Context>The<Resource> element I have specified in the context.xml of \WebContent\META-INF folder is not taken into account by Tomcat and it gives the following error:May 21, 2009 5:20:04 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException_: Cannot create JDBC driver of class '' for connect URL 'null'"
_at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(_QueryTagSupport.java:276_)
at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(_QueryTagSupport.java:159_)
at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(_test_jsp.java:113_)
at org.apache.jsp.test_jsp._jspService(_test_jsp.java:66_)
at org.apache.jasper.runtime.HttpJspBase.service(_HttpJspBase.java:70_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:717_)
at org.apache.jasper.servlet.JspServletWrapper.service(_JspServletWrapper.java:374_)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(_JspServlet.java:342_)
at org.apache.jasper.servlet.JspServlet.service(_JspServlet.java:267_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:717_)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:290_)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:206_)
at org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:233_)
at org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:191_)
at org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:128_)
at org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:102_)
at org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:109_)
at org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:286_)
at org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:845_)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(_Http11Protocol.java:583_)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(_JIoEndpoint.java:447_)
at java.lang.Thread.run(_Thread.java:619_)
{code}
So to overcome this error I had to place the <Resource> element in DBTest.xml under C:\Tomcat 6.0\conf\Catalina\localhost {color:#000000}and then it works fine. {color}{color:#ff0000}*Why is the context.xml file in META-INF not considered by Tomcat server using Sysdeo Plugin?*
*Thanks,*
*Deepa*{color}
{color}
Edited by: Deepa76 on May 26, 2009 9:32 PM -
Opening an URL that needs username and password
Hello
I need to open an URL that needs an username and a password. I can open a normal URL like this:
URL direccion = new URL("http://169.254.30.3:554/modules/admin.htm");
I tried:
URL direccion = new URL("http://username:[email protected]:554/modules/admin.htm");
but it does not work. (If I write this in my browser it works)
Can you help me please?
ThanksLook here:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Authenticator.html -
Web test result for a URL which needs a client certificate to authenticate
Hi,
we want to check URL response of a .asmx URL which needs a client certificate for authenticating.
I got the cert object and then passed it to invoke-webrequest cmdlet, but no matter what i try I always get this error
“The underlying connection was closed”.
code1
$WebClient = New-Object System.Net.WebClient
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$WebClient.DownloadString(“https://server1/mywebservices/myser.asmx”)
code2
$url=”https://server1/mywebservices/myser.asmx”
$cert=(Get-ChildItem cert: -Recurse | where {$_.Thumbprint -eq “abcdefgh3333…..something”}| Select -First 1)
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
#load my client certificate defined by thumbprint
$HTTP_Request = [System.Net.WebRequest]::Create($url)
$HTTP_Request.ClientCertificates.Add($cert )
# We then get a response from the site.
$HTTP_Response = $HTTP_Request.GetResponse()
Can someone please help me.
Thanks
ManishHi Anna
Thanks for the reply.
I used the function referred earlier in my script, as below.
It is still throwing error. However it does work in powershell v2.
Is there any specific change required in the script to make it work with V3. I tried invoke-webrequest and it failed too.
function Ignore-SSLCertificates
$Provider = New-Object Microsoft.CSharp.CSharpCodeProvider
$Compiler = $Provider.CreateCompiler()
$Params = New-Object System.CodeDom.Compiler.CompilerParameters
$Params.GenerateExecutable = $false
$Params.GenerateInMemory = $true
$Params.IncludeDebugInformation = $false
$Params.ReferencedAssemblies.Add("System.DLL") > $null
$TASource=@'
namespace Local.ToolkitExtensions.Net.CertificatePolicy
public class TrustAll : System.Net.ICertificatePolicy
public bool CheckValidationResult(System.Net.ServicePoint sp,System.Security.Cryptography.X509Certificates.X509Certificate cert, System.Net.WebRequest req, int problem)
return true;
$TAResults=$Provider.CompileAssemblyFromSource($Params,$TASource)
$TAAssembly=$TAResults.CompiledAssembly
## We create an instance of TrustAll and attach it to the ServicePointManager
$TrustAll = $TAAssembly.CreateInstance("Local.ToolkitExtensions.Net.CertificatePolicy.TrustAll")
[System.Net.ServicePointManager]::CertificatePolicy = $TrustAll
$url="https://server1/mywebservices/myser.asmx"
$certs = Get-ChildItem Cert:\CurrentUser\My | where {
$_.Thumbprint -eq “abcdefgh3333…..something”}
$HTTP_Request = [System.Net.WebRequest]::Create($url)
Ignore-SSLCertificates
try
$HTTP_Request.ClientCertificates.Add($certs )
# We then get a response from the site.
$HTTP_Response = $HTTP_Request.GetResponse()
catch [System.exception]
Write-Error $error[0].Exception
$HTTP_Status = [int]$HTTP_Response.StatusCode
Manish -
Hi,
Was trying use third party(Caucho) jdbc type 4 driver for MySQL. I updated the
jdbcdrivers.xml to include the details for the new driver. However, when using
Config wizard, how (or where) do i provide a JDBC url helper class, so that the
config wizard can connect the database using the jdbc url?
Amit.Amit wrote:
Joe Weinstein <[email protected]> wrote:
Actually, all you need to do is get the driver you want into the weblogic
classpath, and then tell the pool the class name you want for the driver,
and give it the URL and properties it needs.
Joe
Hi. In order to implement a custom default, you would need to have
a URLHelper class, as the other entries refer. I don't know that we
offer a way to create Defaults, but you should be able to create a pool
from the console by specifically typing in the class name and the URL.
Is that not true?
Joe
>
>
Thanks Joe,
But i wanted to see the jdbc url changed in the config wizard screen (as pointed
in the pic). Caucho jdbc driver has url like "jdbc:mysql-caucho://hostname:port/database".
Others mysql drivers have url like "jdbc:mysql://hostname:port/database. So where
exactly could i tweek that property, since all that is editable is hostname, port,
and database? -
Java/adobe update URL's needed
I know this doesn't directly answer your question, but suggestion:
Deploy updates instead of allowing clients to update automatically.
Benefits include:
- You know what version all of your clients are using.
- Users are not bugged by the ever more annoying prompts to update Flash, Java, Reader etc.I have a SonicWall and have it fully locked down using content filtering. I have done some searching and can't seem to locate the URL's needed to allow updates for Java and Adobe products (reader/flash/air). Can anybody help me out with these? Thank you.
This topic first appeared in the Spiceworks Community -
Help Need ! X-Fi Titanium Championship Fatal1ty
/ Help ME . I and my friend in Mumble , Skype , Ventrillo ... is going craizy whit that sound see it.
[url="http://rapidshare.com/files/34959373/Microphone_2009-2-0_22-47-2.wma.html">Sound[/url]? my mic have interferencies whit no reasonCRe: Help Need ! X-Fi Titanium Championship Fatalty Champion Seriesx <a rel="nofollow" href="http://forums.creative.com/t5/Sound-Blaster/SB-X-Fi-Series-Support-Pack-2-0-05-5-2009/td-p/527485"]http://forums.creative.com/t5/Sound-Blaster/SB-X-Fi-Series-Support-Pack-2-0-05-5-2009/td-p/527485[/url]
download the above package. remove everything you have installed originally from the CD, etc. Turn off your internet connection if you have broadband because it will install its own updates through windows updates. Install the above package. Retest your card and I/O bay.
I have used the above pack with an X-FI Xtreme Music OEM from Dell, an X-FI Fatality Pro PCI, and the Titanium. It works great. Afterwards you can update to the latest drivers without problems. If you start, as you already have, with the newest driver, things just dont work quite right in my opinion. -
Help Need ! X-Fi Titanium Championship Fatal1ty Champion Series
Hi guys,
i recently bought?this sound card
i encounter 2 problems which i desperately need help with cause creative isnt giving me a satisfied answer
Firstly,?i cant update to the latest driver.
if i update...everytime i try to press any of the buttons(Game mode, x-fi?CMSS 3D, x-fi crystalizer) on the I/O front panel console.
i seem to lose control of I/O front panel console. i cant control the Main volume,Mic volume or any of my 3 modes using my I/O front panel console,?i can only change them through creative console launcher
secondly,
everytime i try change my recording device to "microphone FP". it keeps jumping back to "microphone" which apparently is the port on the sound card itself.
its kinda stupid to use the mic port on the sound card rather than the I/O front panel port being i paid such a high price for it mainly because of its specs but partially cause it has a I/O front panel.
someone please help me with this problem cause creative technical support hasnt been able to solve my problem
so im trying my luck to see if anyone is out there suffering the same problem as me?would?gladly?share his solution with me?to this problem =)CRe: Help Need ! X-Fi Titanium Championship Fatalty Champion Seriesx <a rel="nofollow" href="http://forums.creative.com/t5/Sound-Blaster/SB-X-Fi-Series-Support-Pack-2-0-05-5-2009/td-p/527485"]http://forums.creative.com/t5/Sound-Blaster/SB-X-Fi-Series-Support-Pack-2-0-05-5-2009/td-p/527485[/url]
download the above package. remove everything you have installed originally from the CD, etc. Turn off your internet connection if you have broadband because it will install its own updates through windows updates. Install the above package. Retest your card and I/O bay.
I have used the above pack with an X-FI Xtreme Music OEM from Dell, an X-FI Fatality Pro PCI, and the Titanium. It works great. Afterwards you can update to the latest drivers without problems. If you start, as you already have, with the newest driver, things just dont work quite right in my opinion. -
Troubleshooting help needed: My iMac keeps crashing and restarting with a notice: "Spinlock application timed out" What can I do?
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports. -
help needed for writing query
i have the following tables(with data) as mentioned below
FK*-foregin key (SUBJECTS)
FK**-foregin key (COMBINATION)
1)SUBJECTS(table name)
SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
2 02 Computer Science
3 03 Physics
4 04 Chemistry
5 05 Mathematics
7 07 Commerce
8 08 Computer Applications
9 09 Biology
2)COMBINATION
COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
383 S1 9 4 2 3
384 S2 4 2 5 3
---------I actually designed the ABOVE table also like this
3) a)COMBINATION
COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
383 S1
384 S2
b)COMBINATION_DET
COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
1 383 9
2 383 4
3 383 2
4 383 3
5 384 4
6 384 2
7 384 5
8 384 3
Business rule: a combination consists of a maximum of 4 subjects (must contain)
and the user is less relevant to a COMB_NAME(name of combinations) but user need
the subjects contained in combinations
i need the following output
COMB_ID COMB_NAME SUBJECT1 SUBJECT2 SUBJECT3 SUBJECT4
383 S1 Biology Chemistry Computer Science Physics
384 S2 Chemistry Computer Science Mathematics Physics
or even this is enough(what i actually needed)
COMB_ID subjects
383 Biology,Chemistry,Computer Science,Physics
384 Chemistry,Computer Science,Mathematics,Physics
you can use any of the COMBINATION table(either (2) or (3))
and i want to know
1)which design is good in this case
(i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
good method to link with same table but if 4 subjects only(and must) comes
detail table is not neccessary )
now i am achieving the result by program-coding in C# after getting the rows from oracle
i am using oracle 9i (also ODP.NET)
i want to know how can i get the result in the stored procedure itsef.
2)how it could be designed in any other way.
any help/suggestion is welcome
thanks for your time --PradeeshWell I forgot the table-alias, here now with:
SELECT C.COMB_ID
, C.COMB_NAME
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
FROM COMBINATION C;
As you need exactly 4 subjects, the columns-solution is just fine I would say. -
Hi all help needed I have a canon 40D. I am thinking of buying a canon 6D.
But not sure that my lenses will work.
I have a 170mm/ 500mm APO Sigma.
A 10/20 ex Sigma HSM IF.
And a 180 APO Sigma Macro or do I have to scrap them and buy others.
ALL Help will be greatly received. Yours BRODIEIn short, I love it. I was going to buy the 5DMark III. After playing with it for a while at my local Fry's store where they put 5DMII, 5DMIII and 6D next to each other, using the same 24-105L lens, I decided to get the 6D and pocket the different for lens later.
I'm upgrading from the 30D. So I think you'll love it. It's a great camera. I have used 5DMII extensively before (borrowing from a close friend).
Funny thing is at first I don't really care about the GPS and Wifi much. I thought they're just marketing-gimmick. But once you have it, it is actually really fun and helpful. For example, I can place the 6D on a long "monopod", then use the app on the phone to control the camera to get some unique perspective on some scenes. It's fun and great. GPS is also nice for travel guy like me.
Weekend Travelers Blog | Eastern Sierra Fall Color Guide
Maybe you are looking for
-
How much is a replacement for a 5
PPlz
-
Where is the ColdFusion support?
I have been trying to edit existing ColdFusion files now that I am signed up to Creative Cloud. Dreamweaver CC has had all ColdFusion support removed. Even opening a ColdFusion file is annoying. I can only open it by right clicking in Finder. Checkin
-
Real quick question... quick answer
Got title view of pages in the sitemap. But there are a host of external links on every page. I really don't want to see them. I just want the actual local pages. Now, before you suggest "View/Hide Link" --- Remember, there are dozens of these extern
-
I have one Primary Site (2012 R2) with two SUP Servers. They are in two different forest, which are untrusted. Between them is a Firewall and the Clients can't connect to the SUP, MP, DP in the other forest. Now I have growing amount of Clients which
-
Error using "Rotate View Tool" and warning on load Photoshop CS4
on load Photoshop send warning: "Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements. Check the video card manufacturer's website for the latest software. GPU enhancements can be enabled in the P