I have a scripted database SQL file that I need to execute inside Visual Studio to create a new database. I am so far unable to locate any function that allows me to do this.
i'm Unable to run MSTest Tests with code coverage enabled while using NHibernate i get the following error message
Unit Test Adapter threw exception:
Type is not resolved for member
'NHibernate.Cfg.HibernateConfigException,NHibernate,
Version=2.1.2.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4'..
Can someone help me to buffer a mp3 file on a server using the Blackberry buffered pllayback demo app provided with the jde?
I hav loaded it in the simulator. And my mds is started but I m unable to play the audio.
There is no error but it doesnt play/load.
The code looks all fine.
Thanks
Hi,
I followed the windows installation instructions in mongodb's website but I still can't connect to MongoDB through PHP because of this error:
Class 'Mongo' not found
Why isn't the file containing the Mongo Class not being loaded?
I've also found this error:
PHP Warning: PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
I'm using php 5.2.5 and the mongo-php-driver is Windows PHP 5.2 VC6 thread safe
Thanks
Dim db As New SQLDataContext
Try
Dim deleteBoatPics = (From boat In db.Photos
Where boat.boatid = id)
db.Photos.DeleteOnSubmit(deleteBoatPics)
db.SubmitChanges()
Catch ex As Exception
End Try
I'm getting an error that says:
Unable to cast object of type 'System.Data.Linq.DataQuery`1[WhiteWaterPhotos.Photo]' to type 'WhiteWaterPhotos.Photo'.
I have two separate db.SubmitChanges() because when the button is pressed, I have it delete the records from 1 table, and then the next.
I'm lost, can someone help me out?
I have two customized cells in an iphone UITableViewController and would like to capture the data in one cell into another.....
I am currently unable to post images and pls assume the following points.
There are two custom UITableViewcells
1) Notes Textfield in one customcell
2) Submit button in another text field.
Now i want to pass data typed in the notes textfield to be available when I click the Submit button.... Is this possible? Please help....:(
I want to retrieve the text that the user has typed into the currently visible address bar, using Javascript. This is for google chrome only.
Is this possible? I know you can get the document URL via window.location.href, but I am unable to locate any javascript pertaining to current code inside the address bar/omnibar.
Thank you for the help!
I have developed a module using SagePay Form integration method. It works fine until it returns from the Sagepay site and all of my local user session vars are destroyed for some reason.Thus i am unable to use my own created session vars and save information about a user regarding that specific order.
The url's it returns to are success and failure urls.
What might be the possible reason? Please any help is appreciated.
Regards.
HI all,
Firebug is not displaying Complete js file to debug. I m unable to place break points at particular line in js file, half of the file content is display, half of file content is not displaying. please help me what to do to place break points at particular line which can visible line.that js file is gwt compiler generated file.
I am using Firebug 1.5.0 version. Firefox 3.5.
I'm trying to follow the log4j2 configuration tutorials in a SBT 0.12.1 project. Here is my build.sbt:
name := "Logging Test"
version := "0.0"
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"org.apache.logging.log4j" % "log4j-api" % "2.0-beta3",
"org.apache.logging.log4j" % "log4j-core" % "2.0-beta3"
)
When I run the main() defined in src/main/scala/logtest/Foo.scala:
package logtest
import org.apache.logging.log4j.{Logger, LogManager}
object Foo {
private val logger = LogManager.getLogger(getClass())
def main(args: Array[String]) {
logger.trace("Entering application.")
val bar = new Bar()
if (!bar.doIt())
logger.error("Didn't do it.")
logger.trace("Exiting application.")
}
}
I get the output I was expecting given that src/main/resources/log4j2.xml sets the root logging level to trace:
[info] Running logtest.Foo
08:39:55.627 [run-main] TRACE logtest.Foo$ - Entering application.
08:39:55.630 [run-main] TRACE logtest.Bar - entry
08:39:55.630 [run-main] ERROR logtest.Bar - Did it again!
08:39:55.630 [run-main] TRACE logtest.Bar - exit with (false)
08:39:55.630 [run-main] ERROR logtest.Foo$ - Didn't do it.
08:39:55.630 [run-main] TRACE logtest.Foo$ - Exiting application.
However, when I run the main() defined in src/main/java/logtest/LoggerTest.java:
package logtest;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
public class LoggerTest {
private static Logger logger = LogManager.getLogger(LoggerTest.class.getName());
public static void main(String[] args) {
logger.trace("Entering application.");
Bar bar = new Bar();
if (!bar.doIt())
logger.error("Didn't do it.");
logger.trace("Exiting application.");
}
}
I get the output:
[info] Running logtest.LoggerTest
ERROR StatusLogger Unable to locate a logging implementation, using SimpleLogger
ERROR Bar Did it again!
ERROR LoggerTest Didn't do it.
From what I can tell, ERROR StatusLogger Unable to ... is usually a sign that log4j-core is not on my classpath. The lack of TRACE messages seems to indicate that my log4j2.xml settings aren't on the classpath either. Why should there be any difference in classpath if I'm running Foo.main versus LoggerTest.main? Or is there something else causing this behavior?
Update
I used SBT Assembly to build a fat jar of this project and specified logtest.LoggerTest to be the main class. Running it from the command line produced correct results:
Eric-Cartners-iMac:target ecartner$ java -jar "Logging Test-assembly-0.0.jar"
10:52:23.220 [main] TRACE logtest.LoggerTest - Entering application.
10:52:23.221 [main] TRACE logtest.Bar - entry
10:52:23.221 [main] ERROR logtest.Bar - Did it again!
10:52:23.221 [main] TRACE logtest.Bar - exit with (false)
10:52:23.221 [main] ERROR logtest.LoggerTest - Didn't do it.
10:52:23.221 [main] TRACE logtest.LoggerTest - Exiting application.
Hi i am using sybase developer edition, i am being unable to set {sp_configure "net password encryption reqd",1}. Do i need any license for this.
I get error message "Sybase :: How to start server created using sp_addserver"
I am using sybase 15.0.3.
Hi All,
I am unable to understand the purpose of JAF(java activation Framework). Please explain me in simple terms or else where can i find simple material to learn.
In Java Mail API, they are using JAF. I read, it was like finding the supporting data types of an object. But i couldn't understand.
Please teach me!!
I'm just curious as to the possibility of loading and executing elf files on OSX. I know the standard executable format is MACHO, but NASM is unable to generate debug information for MACHO objects (and I am required to use NASM). I imagine its a long shot, but I don't suppose I can use ELF files. I can build them with NASM, but I can't seem to even link them with LD.
I made a mistake uninstalling Aptana PHP as I didn't know PDT would suck as much...It's unable to accept my theme color files for PHP docs.
I know it's not a relevant question for this community, but I didn't know where else to go.
Please Help.
Thanks.
Hi,
I am using a dsl to create business rules (.brl rules). How can I load the .brl rules into my knowledge base? How can I convert from a .brl file to a .dslr file???
I am unable to find any help on this. Or is there a different way to load brl files??
Please help.
Thank you
FMa
I have been unable to edit and continue in a project that targets the 4.0 Client Profile however i can if i am targetting the full 4.0 Framework.
I want to release against the client profile to limit the download required to install.
Is there anyway i can build against the client profile but debug agains the full version?
I'm unable to get a working .htaccess that should accept clean URLs to load images. I mean, for example, if a user type this:
http://mysite.com/image/example
It works perfectly, as my PHP process and parse it. However, if the user type:
.../image/example.jpg
It doesn't work. I mean, if a user writes that, I want to load the module with the example.jpg as a parameter, I don't want to load the image at all!
Thanks in advance.
When I go to our web site through HTTPS mode, Chome is reporting an error saying that the page contains secure and not secure items. However, I used Firebug, Fiddler, and HttpDebuggerPro, all which are telling me that everything is going through HTTPS. Is this a bug in Chrome?
Sorry but I'm unable to give out the actual URL.
Hi,
I am trying to parse one XML file that contains some unicode characters.I tried to parse the file using NSXMLParser but i am unable to parse XML.Parser stops when it encounters any unicode characters.
Is there any other good solution to parse XML file with unicode letters?
Please suggest.
Thanks,
Jim.
I recently encountered with this question: How to reduce this expression: s73?61:60;.
The hint given was that Instead of using conditional operator we could use a simple comparison which will work fine.
I am not sure but I think it is possible with some GCC extension,although I am unable to figure it out myself.
EDIT:The whole expression is this : s-=s73?61:60
I am trying to setup the ssl_requirement plugin. For my users controller I would like to require ssl for new and create. When I open users/new the browser redirects to https but I get an unable to connect error message. The application error log says :
Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected.
I am not sure if I have configured the plugin incorrectly or if I made an error with the nginx configuration.
I have a master and a dev branch, both pushed to github, I've cloned, pulled, fetched, but I remain unable to get anything other than the master branch back.
I'm sure I'm missing something obvious, but I have RTM any I'm getting no joy at all.
Sometimes when I compile my flex app, I got this error
Unable to create source GeneratedAsset31_dataClass. WebCe line 25 1259045578886 1546
But after I cleaned the project, this error disappeared.
It's not a big problem but very annoying and I can not find any clue by search the internet.
Any suggestion?
I am using WatiN for my web tests. In one of my web pages, I have a VBScript function which opens a dialogbox. I am unable to access it using WatiN.
I tried using WatiNTestRecorder; it was unsuccessful.
I tried this also:
http://blogs.dovetailsoftware.com/blogs/kmiller/archive/2008/07/16/scenario-testing-with-watin.aspx, unsuccessful again.
When I kick off a python script from within another python script using the subprocess module, a zombie process is created when the subprocess "completes". I am unable to kill this subprocess unless I kill my parent python process.
Is there a way to kill the subprocess without killing the parent? I know I can do this by using wait(), but I need to run my script with no_wait().