w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Is a library ,created in .net version 4.0, access with in the lower version from its version
Create a library in .Net 2.0 Framework so there will be no issue with higher versions, you can set the version from project properties (right click the project and select properties in visual studio) Select Application tab from properties window and select Target Framework combobox select .Net Framework 2.0

Categories : C#

Detect version of tomcat when WAR file starts (possibly stop it if it is not on the recommended version)
Straight from Tomcat FAQ: How to I get Tomcat's version number? javax.servlet.ServletContext.getServerInfo(); Starting with Tomcat 5.0.28 - there is now a version.sh (or version.bat) program in the bin directory. It will print the version number of Tomcat to Standard output.

Categories : Tomcat

VSTO Debug version fine, Installed version doesn't read app.config
You need to add app.Config File to your Setup Project but not from the actual project do it from the ReleaseDebug folder of the ExcelAddIn project. When you build you ExcelAddIn project it will leave App.config File to the ReleaseDebug Folder, piCk the file form there and include it into the dependicies folder of the Setup Project.

Categories : Visual Studio 2010

Debug mode on my RubyMine version 4.0.1 stopped working after upgrade ruby version to 2.0.0
Please update to RubyMine 5.4.2, it will install the correct debug gem version. RubyMine versions before 5.x do not support Ruby 2.0 debugging. 5.x versions install the following gem for Ruby 2.0: ruby-debug-ide (0.4.17) Note that linecache and ruby-debug-base gems are not needed and are not installed by RubyMine 5 when using Ruby 2.0. If ruby-debug-ide gem doesn't install from RubyMine for some reason, please try installing it from the terminal: gem install ruby-debug-ide

Categories : Ubuntu

Which Linux platfrom required for Installation of ingres database version 9.2 and openROAD version 4.0
If you want answers don't use Stackoverflow as its ridiculous policies prevent me supplying the four links that would have been helpful to you. Google for the Actian community, which you will find far more helpful with fewer egos struggling to rule the world.

Categories : Misc

Calling https version of TYPO3: content (css, js, ..) is blocked because link to http version
I used config { baseURL = https://domain.com } and adapted all links which had a http in the beginning (otherwise the slider stopped working because Chrome didn't load the other ressources ...). Seems to work now.

Categories : Http

'dependencies.dependency.version' is missing error, but version is managed in parent
In theory, maven does not allow to use a property to set a parent version. In your case, maven can simply not figure out that the 0.0.1-SNAPSHOT version of your parent pom is the one that is currently in your project, and so it tries to find it in your local repo. It probably finds one since it is a snapshot, but it is an old version that probably not contains your Dependency Management section. There is a workaround though : Simply change the parent section in the child pom with this : <parent> <groupId>com.sw.system4</groupId> <artifactId>system4-parent</artifactId> <version>${system4.version}</version> <relativePath>../pom.xml</relativePath> <!-- this must match your parent pom location --> </parent>

Categories : Java

Grails adding version to command object causes id and version from params not to be bound
Seems this is by design per Jeff Brown jira The data binding explicitly avoids binding id or version [if] they both exist and does this by design. This is a shield against potential security problems relevant to data binding as it relates to domain classes. A simple work around for command objects would be to name the properties with something like "idValue" and "versionValue" or anything other than "id" and "version".

Categories : Grails

Attempt to update step execution id=1 with wrong version (2), where current version is 1
I had this same exception. org.springframework.dao.OptimisticLockingFailureException: Attempt to update step execution id=0 with wrong version (2), where current version is 3 In my case, it was caused by a failure the process step, which was being swallowed. Spring Batch activated the writer, even though the processor had failed. Look through your logs to make sure that your process step is completing and returning something.

Categories : Misc

The database cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported
Version 706 is a database file from Sql Server 2012 Version 665 is a database file from Sql Server 2008R2 (post SP1 ?) http://conceptdev.blogspot.com/2009/04/mdf-cannot-be-opened-because-it-is.html

Categories : C#

Exception DATABASE1.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported
Generally you get this when your database has been updated to a newer version of SQL Server than the server you are trying to attach it from. For instance if your database was upgraded from SQL Server 2005 to SQL Server 2008, you would no longer be able to open that database on SQL Server 2005. The "downgrade path is not supported" message implies that you can't open the newer database on an older SQL Server version. Suggestions: Upgrade the version of SQL Server (not visual studio, but your SQL Server version). or Open this database on a server with a newer version of SQL Server, then script out the entire database and reload it into your server. Either of these should get it working for your. I hope this helps!

Categories : C#

Gradle version 1.6 is required. Current version is 1.8-20130730220035+0000
I managed to fix my project through some combination of invalidating Android Studio cache, deleting .idea and .gradle directories and .iml files, restarting Studio, and reimporting the project: on Mac OSX using Homebrew, brew install gradle then pick local gradle distribution and point to /usr/local/Cellar/gradle/1.7/libexec for gradle home:

Categories : Android

How to debug application on newer iOS version from an older version of xcode?
In order to do this you'll need to have multiple versions of xcode installed. Can I have multiple Xcode versions installed? Xcode shares device and symbol information across all versions of xcode. If you open the newer xcode version that supports the newer version of ios, you can add the device there. Once the device is added, close the newer version of xcode, and open your older version (4.6) that you want to deveop on. If everything went smoothly the device should be available in organizer, and you should be able to run and debug normally on it.

Categories : Iphone

Running upgraded version of SQLite (3.8) on Mac when Terminal still defaults to old version 3.6
To figure out exactly which sqlite3 binaries your system can find type which -a sqlite3. This will list the apps in the order that they are found according to your PATH variable, this also shows what order the thes ystem would use when figuring out which to run if you have multiple versions. Homebrew should normally links binaries into your /usr/local/bin, but as sqlite3 is provided by MAC OS, it is only installed into /usr/local/Cellar/sqlite3, and not linked into /usr/local/bin. As the Cellar path is not in your PATH variable, the system doesn't know that the binaries exist to run. Long story short, you can just run the Homebrew binary directly with /usr/local/Cellar/sqlite/3.8.0/bin/sqlite3.

Categories : Python

How to migrate your Twitter's Bootstrap Javascript plugins from version 2.x to version 3
Javascript en CSS Download the plugin's source code Javascript and CSS (or less) and replace old class references with new, see: http://www.bootply.com/bootstrap-3-migration-guide. Beside the class names changes most Javascript code should work. HTML Do the same for your HTML code. Or use a migrator/updater like: http://twitterbootstrapmigrator.w3masters.nl/, http://bootstrap3.kissr.com/, http://code.divshot.com/bootstrap3_upgrader/ or http://upgrade-bootstrap.bootply.com/ Glyphicons When your plugin use Glyphicons: Install Glyphicons from http://glyphicons.getbootstrap.com/: download the files and copy over all the font files to a /fonts directory near your CSS. Include the compiled CSS file from the /css in the repository to your local css folder or download the Less file and compi

Categories : Javascript

How to build a MonoTouch app with SDK version 4.x (not target earlier version with current sdk)
I was able to get this to work by renaming my current version of XCode to something else, downloading and installing XCode 4.4 something from the developer site. Then I downloaded an earlier version yet and used the techniques described in this post: Adding Older iOS SDKs to Xcode 4.1 in Lion To extract the older SDKs. I was then able to copy these SDKs into XCode 4.4 (as described in the post). Now I was able to build using older versions of the SDK.

Categories : IOS

Attempting to re-install Ruby (version 2.0.0) on Rails (version 4.0.0) on Windows 7
I apologize that this doesn't actually answer your question at hand, but I think it's still useful advice to you: Consider downloading Virtualbox and installing some Linux (Fedora, Ubuntu) on it and doing your Rails development on that Linux virtual machine. It won't mess with your Windows system at all, but it will be much easier to develop Rails with. Almost nobody develops Rails on Windows, everyone uses Mac or Linux it seems. And I always read people having problems setting it up on Windows. It just doesn't seem worth the effort to me when you have free tools out there to develop on Linux. Again, sorry this isn't actually the proper answer to the question. Even once you find the answer to your problem, I'd still recommend you consider this advice. You're likely to have more pro

Categories : Ruby On Rails

HBase error: Server IPC version 8 cannot communicate with client version 4
You trying to use an HBase release that was built against Hadoop 1.0.x with hadoop 2.0.x. Either use an HBase release built against Hadoop 2.0.x or rebuild your HBase with hadoop.profile set to 2.0 -Dhadoop.profile=2.0 If you need help on how to build HBase, you can visit this link. HTH

Categories : Hadoop

Redirecting non www version of my site to www version results in a redirect loop
You Must Use This Code In htaccess File To Preferred www Version: RewriteCond %{HTTP_HOST} !^(.).YourDomain.com$ [NC] RewriteRule ^(.)$ http://www.YourDomain.com/$1 [R=301,L] For Better S.E.O : You Could Setting Your Preferred Domain In Google Web Master Tools If Your Website Was Added In Google Webmaster Tools : Open up your webmaster tools and click “Settings” right below “Configuration”. To the right look for the “Preferred Domain” and select which domain you prefer With www Or Not.

Categories : Htaccess

Upgrading EF in pregenerated views: The default target Entity Framework version requires the edmx schema version 2 or lower
I found the solution to my problem... There was a leading help in the following link: http://blog.3d-logic.com/2012/05/28/entity-framework-code-first-and-pre-generated-views/ moozzyk says: August 5, 2012 at 11:51 pm I did see this when using Visual Studio 2012 and EF5. For now the workaround is to edit the >template. Change the line 70 from: var errors = viewGenerator.GenerateViews(mappingItemCollection, writer).ToList(); to: var errors = viewGenerator.GenerateViews(mappingItemCollection, writer, >EntityFrameworkVersions.Version3).ToList(); Sorry for the inconvenience. I had to slighlty modify my code in a similar way, from: IList errors = viewGenerator.GenerateViews(mappingItems, writer); To: IList errors = viewGenerator.GenerateViews(mappingItems, writer

Categories : Entity Framework

Android: "update version 0 is older than installed version"
As far as I know, no, you can't do that. See this Google Groups discussion, and this Stack Overflow question for some ideas for achieving a similar outcome with ant build scripting. If you look at the Android documentation, it specifically calls out that you can use a resource for the versionName, but says no such thing for the versionCode: android:versionCode An internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute. The value must be set as an integer, such as "100". You can define it however you want, as long as each successive version has a higher number. For

Categories : Android

why testflight version not showing updated version on device
Problem: 1.0(1.0) # 31 this basically means that you have uploaded the 31st build of the same 1.0 version of the app. This #31 is only for the developer to differentiate the build from other build of same version 1.0(1.0). Solution: The recommended way to set the versions is shown below in the screenshot. Version 1.0 Build 1.0.3 will show as 1.0 (1.0.3) on Testflight. Everytime you upload a new build, you should increment the Build number. For example: Build 1.0.4 will display as 1.0 (1.0.4) and so on. Hope this helps!

Categories : IOS

.NET 4.5 installion - Environment.Version differs from Product version?
Technically Environment.Version gives you the version of the mscorlib assembly. It's difficult to always update mscorlib simply to keep a version # up to date when code changes occur in other assemblies (like System.dll) so updates to other assemblies that get pushed to your computer mean they will have higher version numbers than mscorlib. I think this makes Environment.Version fundamentally broken; but that's what's happening.

Categories : Dotnet

mod_wsgi is compiled in one version and running in a different version even after following the given steps
Don't load mod_python and mod_wsgi at the same time if you don't need to. They are likely compiled against different Python versions. See the following for an explanation of the mismatch you are seeing. http://code.google.com/p/modwsgi/wiki/InstallationIssues#Python_Version_Mismatch If you do need both, they must both be compiled for the same version. These days there is generally no good reason to be using mod_python for new projects.

Categories : Apache

Check jQuery version and load a newer version
Bad idea to do what you are doing. If you really insist on having different jquery versions, you can always write some sort of a script manager. Basically you specify in your page's "config" what jquery versions are required on this page and the manager will load the appropriate one. Something like: // each page content before everything else Manager.reguire("plugin 1", "1.4.7"); Manager.require("plugin 2", "1.4.4"); // Main layout <head section> Manager.LoadRequiredVersions(); And the manager would just request the files for you, but don't forget that you might have to do some clever no-conflict stuff with jQuery if you want more than one on a single page. http://stackoverflow.com/a/1566644/486780 If it's one version per page then a manager would be the easiest option.

Categories : Javascript

Xamarin Version 4.0.8 Android Version: 4.6.8 LinkAssemblies issue
This propably was because of the new version of Xamarin Studio not supporting your current installed Java version, please consider deleting this question as i don't think is helpful anymore after 2 years.

Categories : Android

GIT pull : replace local version with the remote version
git fetch origin git reset --hard origin/master Here is the good explanation about git pull git pull The git fetch command imports commits from a remote repository into your local repo. The resulting commits are stored as remote branches instead of the normal local branches that we’ve been working with. This gives you a chance to review changes before integrating them into your copy of the project. Command git pull <remote> fetches the specified remote’s copy of the current branch and immediately merge it into the local copy. This is the same as git fetch <remote> followed by git merge origin/<current-branch>. Since it is doing merge your commits were still there. After doing fetch you can reset your working copy with reset command. Hard is to ignore any changes

Categories : GIT

Transparent edit text view is different in 2.3 version and 4.2 version
please check the link android:alpha="0.3" this alpha property is added in API level 14. So in the previous version it map looks different depends on devices. Try to change the backgroud solid color as transparent it may help you out. android:color="#000000" to transparent color range- #FF000000 to #00000000

Categories : Android

git:How can I apply commits from old version on a new version of source-code
git cherry-pick <commit> will apply commit to the current repository. Use git stash before this commang and git stash pop after this command, if you have any unstaged changes.

Categories : GIT

The compatibility issue between NDIS version and Windows version
I'm afraid that NDIS 6.3 does not support XP any more, is this true? If you mean "will a driver that uses NDIS 6.3 work on Windows XP", the answer is "no", and has always been "no"; it's not a case of "any more". A given version of Windows supports a given version of NDIS (not the other way around). "NT 5.x", i.e. Windows 2000, Windows XP, and their server equivalents, support NDIS 5; an NDIS 6 driver (even NDIS 6.0) won't work on those versions of Windows. An NDIS 6 driver requires "NT 6.x", i.e. Windows Vista and later. If you look at Microsoft's MSDN documentation on network drivers, you'll notice that it has a section for "Network Drivers Starting with Windows Vista" and a section for "Network Drivers Prior to Windows Vista"; the first section is for NDIS 6 and the second sect

Categories : C++

re-writing php code version 5.3 and above compatible with version 5.2
function my_arr_map($object) { return $object->name; } function getRequestedTests($labref) { $this->db->select('name'); $this->db->from('tests t'); $this->db->join('request_details rd', 't.id=rd.test_id'); $this->db->where('rd.request_id', $labref); $this->db->order_by('name', 'desc'); $query = $this->db->get(); $result = $query->result(); //problem starts here with the array_map() $output = array_map(array($this, 'my_arr_map'), $result); return $tests = implode(', ', $output); }

Categories : PHP

Unattended install of AutoIt need 32-bit version but can only get 64-bit version
Just use the ZIP Version of AutoIt. You can then just use the AutoIt.exe instead of the AutoIt_x64.exe. If you need to, you can pack it with an unzip utility like 7za.exe as mentioned over here.

Categories : Ruby

How to upgrade codeignater from version 1.0 to current version?
You would have to go through http://ellislab.com/codeigniter/user-guide/installation/upgrading.html and make appropriate changes. Alternatively, you can just battle the errors as they come up until they're all gone. It might be easier to just re-write the thing.

Categories : Codeigniter

How to make the WiX Bundle version the same as my application's version
To answer your first question, there are no hard and fast rules for this. So it is not a must to update your WIX bundle version and match that with your MSI version. As for the second question, am not really sure. But you can try this binder variable: !(bind.packageVersion.PackageID) as mentioned in this POST. Also check the WIX documentation for more binder variables.

Categories : Wix

Does a JDBC driver's version and a DB's version have to match exactly?
Not mandatory. Drivers can support multiple versions of RDBMS, or just only specific one, it depends. Usually every drivers come out with compatibility table to let you choose most recent driver version (usually with bugfixes, improvements, ...) against your RDMBS version or just the latest drivers compatible with your RDBMS for legacy scenario. http://jdbc.postgresql.org/download.html This is the current version of the driver. Unless you have unusual requirements (running old applications or JVMs), this is the driver you should be using. It supports Postgresql 7.2 or newer and requires a 1.5 or newer JVM. It contains support for SSL and the javax.sql package. It comes in two flavours, JDBC3 and JDBC4. If you are using the 1.6 or 1.7 JVM, then you should use the JDBC4 version.

Categories : Postgresql

Matching proxyauth.so version to PHP Zend API version
If the warning is the only problem - meaning your code itself runs fine - then the extension isn't required anymore by your application. Why not out-commenting the extension=proxyauth.so?

Categories : PHP

I need the version of my assembly but I got the version of the engine who run the tests
Instead of Assembly.GetExecutingAssembly(), just check the assembly of some type in your assembly: var assemblyVersion = typeof(MyType).Assembly.GetName().Version.ToString()

Categories : C#

update parent version to next release version
I got the same problem as you, but finally understood it was only accepting a range as input, not a single value, so in your case you should put: mvn versions:update-parent -DparentVersion=[1.0,1.1] This should select 1.1 if it exists in your repository. Got the clue reading tickets in plugin bug tracker

Categories : Maven

How do I check which version of groovy is with which version of grails
You can use the grails shell to launch an interactive Groovy console within Grails and identify the version. $ grails shell Groovy Shell (2.0.8, JVM: 1.7.0_21) Type 'help' or 'h' for help. ----------------------------------- groovy:000>

Categories : Grails

How to ensure latest version of iOS Simulator Version?
Go to XCode -> Preferences -> Downloads and check the box that says "Check for and install updates automatically" There you can also see what other components are available for you to download. Hope this helps!

Categories : IOS

© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.