Posts

sql server 2008 - SQL Agent job fails to execute -

this question has answer here: running ssis package using dtexec 2 answers i run package in server, worked fine when used run in sql agent job, failed execute. microsoft (r) sql server execute package utility version 10.50.4000.0 64-bit copyright (c) microsoft corporation 2010. rights reserved. started: 2:05:54 pm error: 2014-02-05 14:06:00.54 code: 0xc0047062 source: data flow task ado net source [1] description: system.data.odbc.odbcexception: error [im002] [microsoft][odbc driver manager] data source name not found , no default driver specified @ system.data.odbc.odbcconnection.handleerror(odbchandle hrhandle, retcode retcode) @ system.data.odbc.odbcconnectionhandle..ctor(odbcconnection connection, odbcconnectionstring constr, odbcenvironmenthandle environmenthandle) @ system.data.odbc.odbcconnectionopen..ctor(odbcconnection outer...

asset pipeline - heroku explain environments/production.rb -

i have staging environment application. wanted enable assets precompilation, there no clear way me this. ended copying on many lines in environments/production.rb file environments/staging.rb current staging.rb dezzmo0003::application.configure # settings specified here take precedence on in config/application.rb. # in development environment application's code reloaded on # every request. slows down response time perfect development # since don't have restart web server when make code changes. config.cache_classes = false # not eager load code on boot. config.eager_load = false # show full error reports , disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false # don't care if mailer can't send. config.action_mailer.raise_delivery_errors = false # settings assets compiled on staging config.serve_static_assets = false config.assets.js_compressor = :uglifier config.asse...

java - AndEngine: Getting a NullPointerException on UpdateThread when adding a Sprite -

getting nullpointerexception on updatethread when adding sprite i'm creating first game in andengine , trying add sprite gamescene class. i've been tinkering hours application kept crashing after splash screen, supposed load gamescene afterwards. i've narrowed down these of code in drawpanel() method: selectpanel[0] = new sprite(0, 0, resourcemanager.balltextureregionarray[0], vbom) { @override protected void predraw(glstate pglstate, camera pcamera) { super.predraw(pglstate, pcamera); pglstate.enabledither(); } }; selectpanel[0].setposition(240, 400); attachchild(selectpanel[0]); here resourcemanager class loaded ball texture: balltexture = new bitmaptextureatlas(act.gettexturemanager(), 64, 576); balltextureregionarray[0] = bitmaptextureatlastextureregionfactory .createfromasset(balltexture, act, "red_ball.png", 0, 0); balltextureregionarray[1] = bitmaptextureatlastextureregionfactory ....

python - NoReverseMatch after upgrading to Django 1.6 from 1.4 -

finally upgraded project 1.6 , i'm having trouble urls , class based views. i have form starts this: <form action="{{ project.get_absolute_url }}" method="post" id="editproject" > and project model includes this: @permalink def get_absolute_url(self): return ('project_url', (), {'slug': self.slug}) on trying load page i'll error: noreversematch @ /teamslug1/projectslug1/teamid1/projectid1/ reverse 'project_url' arguments '()' , keyword arguments '{'slug': u'projectslug1'}' not found. 1 pattern(s) tried: ['(?p<teamslug>[^\\.]+)/(?p<projectslug>[^\\.]+)/(?p<teamid>[^\\.]+)/(?p<projectid>[^\\.]+)/$'] if wrap form variable in quotes: <form action="{{ "project.get_absolute_url" }}" method="post" id="editproject" > it won't error out on loading when post form it'll result in url thi...

markers - Attaching rigid bodies in Motionbuilder 2014 -

i have optimal marker data imported c3d file in motionbuilder. marker data represents animation of 2 feet of character. there way attach rigid bodies these markers , export animation of rigid body out fbx file ? just clarify, have marker data feet , not entire character. many ! cheers, darkz to answer own question : 1) create primitive asset browser in resources pane expaning elements subsection under templates section. drag cube scene. 2) go constraints under templates section , drag rigid body constraint scene. 3) specify constrained object constraint newly created cube. , keep adding desired markers want drive cube sources in constraint settings. 4) repeat required rigid bodies. 5) send scene maya etc. , export/edit rigid body animation desired.

javascript - Comparing array elements to character -

i'm trying write simple javascript program check if letter vowel. problem output incorrect , should " vowel." javascript: function findvowel(letter1, vowels) { var count = vowels.length; (var = 0; < count; i++) { if (vowels[i] === letter1) { var message1 = " vowel"; document.getelementbyid('exercise3').innerhtml = letter1 + message1; } else { var message2 = " consonant"; document.getelementbyid('exercise3').innerhtml = letter1 + message2; } } } html: <script> $(document).ready(function() { findvowel("a",["a","e","i","o","u"]); }); </script> output: a consonant add break loop doesn't keep going. function findvowel(letter1, vowels) { var count = vowels.length; (var = 0; < count; i++) { if (vowels[i] === letter1) { ...

correct way to add js in sencha architect (ExtJS)? -

Image
this thread works well in mobile app in desktop app seem cant add reference external js in extjs desktop app. the instructions sencha somehow don't correspond or doesn't work me when try , follow them. so, selecting resources->library , can see attribute include javascript (ticked) , library base path:/ext. the js file using use in phone app , fine - added app.json in , compiling app copies file on target , defers loading. in case sa not seeing file copied target - nor can follow instructions sa 3 documented. way can add external js dropping onto filesystem ext folder manually. again, doesn't appear in target , errors when run app with uncaught referenceerror: hex_sha512 not defined this js has been used in other apps, proved , tested relates sa or wrong use of sa. the proper way add resource in sencha architect, regardless of framework, add js resource. this done hitting ctrl-t (or cmd-t on mac) , typing "js resource" (or shortened ...