Vote count: 0One of the pages in the asp application is throwing this error : Uncaught ReferenceError: Ext is not defined. The content of the page is fairly simpleAccess deniedWhole applications works ok, except for this page. And this page works ok when i run it locally with IIS. This...
ادامه مطلبVote count: 0I am actually trying to fetch result from the SP. When I call the SP from the database, it is working fine and retus the result. However, when I call the SP from my WCF API, it is retuing me the type of OracleDbType.RefCursor. I really don't know what exactly is the pro...
ادامه مطلبVote count: 0I would like to get SQL Server event alerts via e-mail. I have set up database mail and operators, along with several severity alerts and a few alerts for specific error numbers. To test the alerts I have run a query in SSMS that is missing the '*/' on a comment (error 113...
ادامه مطلبVote count: 0The css files are loading but the issue is that they're not applying, but here's the strange part. If I edit it in chrome in any way (typing a character and deleting it), the style sheet applies. I'm fairly certain the issue is with nginx because when I run a local server (...
ادامه مطلبVote count: 0There are lot of posts on how to reload properties files using apache commons configuration, tried them but not working for me, below is the code snippet. The updated property value does not get picked@Component public class ApplicationProperties { private PropertiesConfig...
ادامه مطلبVote count: 0I have a legacy class that should be retued from rest webservice (jersey, consumes/produces XML) which is aotated only with @XmlType and not @XmlRootElementtherefore getting an exception: com.sun.jersey.api.MessageException: A message body writer for Java class org.typ...
ادامه مطلبVote count: 0I want to draw lines in the column header of a datagrid, using the following code. There are two ItemsControlwhich are both bound to a collection containing 18 Dates (first of every month). A converter calculates the position in the columnheader by the date, in order to pla...
ادامه مطلبVote count: 0Hello I created a script python which allows to draw a polygon. Actually I have some points and what I want is this : I draw a polygon and the points which are inside are removed and the others are kept. But I created a Radiobutton to do the reverse that is to say the point...
ادامه مطلبVote count: 0I'm trying to make a script that when I press a button itterates over a table, grabs the first value from the table, sets that value in a cell. Takes another value that is automatically changed (a total) after the previous value was changed and then print that value to a new array in a new worksheet. So the flow I was thinking about is like this.Get the percentageSet the right cell to that percentageRetrieve the totalSave that total to a new tableAnd just itterate through that for the entirety of the table.The code I have right now is the following:Dim listObj As ListObject, r%, c% Dim answerList As ListObject Dim thePercent As ListObject Dim theTot As ListObject Dim percen...
ادامه مطلبVote count: 0 I schedule UILocalNotification with repeatInterval = every day, but i waa cancel specific notification, for example notification on the day after tomorrow. Can i do that? asked 1 min agoGikas Let's block ads!...
ادامه مطلبVote count: 0 I am now compiling a algorithm code in redhat Linux with g++4.7, but encounter some problems. The header files that one C++ file uses are bellow: But when compiling, it occurs that some errors, such as error: '_mm_prefetch' was not declared in this scope error: '_MM_HINT_T0' was not declared in this scope How could I solve this problem? Thank you very much!! #include #include #include #include #include "space.h" #include "kquery.h" #include "rangequery.h" #include "ported_boost_progress.h" #include "method/small_world_rand.h" #include "sort_arr_bi.h" #include #include #include #include #include //#define START_WITH_E0 #define START_WITH_E0_AT_QUERY_TIME #define USE_BITSET_FOR_I...
ادامه مطلبVote count: 0 I have 3 pages(adopt, adopt-design, adopt-invite) which I am using navCtrl.push() to go forward and to pop back to previous page. It works well on browser. but when I want to build for iOS, I get this error: [10:22:20] Error: Error at /Users/xuanxi/Desktop/bitbuckets/meta/metatest/.tmp/pages/adopt-design/adopt-design.ngfactory.ts:402:29 [10:22:20] Supplied parameters do not match any signature of call target.[10:22:20] Error at /Users/xuanxi/Desktop/bitbuckets/meta/metatest/.tmp/pages/adopt-invite/adopt-invite.ngfactory.ts:253:29 [10:22:20] Supplied parameters do not match any signature of call target.[10:22:20] ngc failed I am using sidemenu template, so I suspect it has somet...
ادامه مطلبVote count: 0 I moved my blog over to my own VM hosted in Azure. While I was doing this I upgraded for 3.0 to 3.3.5 by doing a fresh install. My site is now hosted and I can write new posts and publish them just fine. However old posts that exist already don't seem update. I go to any of my old posts and just write some random text and hit save and nothing happens. I looked in developer console and I see this error angular.js:11358 TypeError: Caot read property 'OptionValue' of undefined at h.$scope.save (posteditorController.js:99) at angular.js:12133 at f (angular.js:22518) at h.$eval (angular.js:14123) at h.$apply (angular.js:14221) at HTMLAnchorElement. (angular.js:22523) at HTMLAnchorEl...
ادامه مطلبVote count: 0 I have an issue while debug my app which is build by react native. Whenever i started to build, it gives me error that could not coect to development server. I have tried several advice from https://facebook.github.io/react-native/docs/ruing-on-device-android.html, React Native 'hello world' quick start: "could not coect to development server", why my device (mi4i lollipop 5.02) always gives me an error that 'could not coect to development server' ? any answer would be helpful and appreciated asked 37 secs agoJais Anasrulloh Ja'fari Let's block ads!...
ادامه مطلبVote count: 0 I'm trying to process a byte array retrieving from a sensor. In the retrieved byte array, there will be a byte-mask, xx-xx-xx-xx, that tells me which data will be in the array. The sensor mask: DATA_1 0x00000001 DATA_2 0x00000002 DATA_3 0x00000004 DATA_4 0x00000008 DATA_5 0x00000010 DATA_6 0x00000020 DATA_7 0x00000040 DATA_8 0x00000080 DATA_9 0x00000100 DATA_10 0x00000200 DATA_11 0x00000400 This byte-mask 43-05-00-00, for example, tells me that data_1, data_2, data_7, data_9, data_11 will be in response array. I know this by using bitwise-and in Calculator app of Windows: in hex mode, type 543, click "And" button, then type the sensor mask (1, 2, 4, 8, 10,...). If the result is...
ادامه مطلبVote count: 0 I have some Web API server methods that include the following POST action. Without specifying the [Route()] directive, the response completes fine with CreatedAtRoute(). When setting the directive (with and without the tilde), then that method fails. Changing it to Created() makes it succeed. [HttpPost] [Route("~/api/ExamTaken")] [Authorize] [ResponseType(typeof(ExamTaken))] public async Task PostExamTaken(ExamTaken ExamTaken) { // ... db.ExamsTaken.Add(ExamTaken); await db.SaveChangesAsync(); // This line fails //retu CreatedAtRoute("DefaultApi", new { id = ExamTaken.Id }, ExamTaken); // This line succeeds retu Created(ExamTaken.Id.ToString(), ExamTaken); // ... } In all cases...
ادامه مطلبVote count: 0 I am using remote desktop, logging directly onto the box that houses the sql instance, and trying to use debugging, however getting the dreaded unable to start t-sql debugging... error message. My colleague can take the same steps, same box, and using the same sql account and has no issue, the only difference is we are using our own windows accounts, which when checked both of us are part of the local admin group. we are both logging on as the instance name also. SSMS 2014. Any ideas? asked 42 secs agouser2808765 Let's block ads!...
ادامه مطلبVote count: 0 I made a RestAPI and I have the following in my node.js... router.route('/accounts') .get(function(req, res) { console.log("getted"); }); It is prefixed with api... app.use('/api', router); I tested it on PostMan to see if I can make a GET request and it worked using the following... http://localhost:3000/api/accounts Now I am trying to do the same thing from my services.js using $resource... app.factory('Profile', function ($resource) { var getToken = function(){ var get_account = $resource('http://XXX.XXX.X.XX:3000/api/accounts/:id', {id:'@id'}); get_account.get(); } retu { getToken: getToken } }); But now when I call Profile.getToken() I get the following error... ionic.bund...
ادامه مطلبVote count: 0 My professor gave me the java.util.Arrays.sort static method and it shows an error that the import caot be resolved. This does not happen to any of my other methods. Is this written right? import java.util.Arrays.sort; Edit: Does the .sort need to have something? I changed it to import java.util.Arrays; and it worked just fine. asked 2 mins agodj5 Let's block ads!...
ادامه مطلبVote count: 0 DISCLAIMER: Maybe a long explanation for a short conclusion but it's a weird situation and there are a lot of factors to reach it and I don't know if any of them has no effect on the final result, so I'm going to give all the context I can. I'm working on a library with some misc utilities, adding some extension methods, etc... One of the methods is defined this way: public static class EventInfoExtensions { public static void EventInfoExtensionMethod(this EventInfo ev) { //my code here } } I can use it without problems but I've came to a weird situation. First of all some context: I have defined a DynamicObject class like this: public class DynamicObjectBase : DynamicObject { ...
ادامه مطلب