How to run PHP in Webmatrix ?


Do you have tried running PHP application in webmatrix. You can run them as well your ASP.NET application.

Here is two solution for you if you are unable to run your own PHP application on your computer.

1. try  to check C:\Program Files (x86)\IIS Express\PHP/V if you are unable to find this directory then it's means you don't have install PHP for webmatrix. You need to install them through Web plateform installer.


2. If first option is OK for you and you are still not able to run your own application then check that if you are enable PHP or not for your website.

for checking  go to  Site >  Settings > PHP settings. Check the checkbox and it's will run your php application.

Updates:-

Brian's post on creating PHP websites in webmatrix

Thanks

author: Anirudha | Posted On Saturday, April 21, 2012 11:37 PM | Feedback (0)

I am animated virus part 2 ?


In last post  I am animated virus ?  I am discuss about the problem with spell-check in different-2 programs. I clarify that there is hard to be sure about functionality over translation. Now chrome have a solution over this problem.  All people can found this  feature in chrome canary. in chrome 19 You can enable Google for suggestion the word for misspell word you type. Look at the image.

img1

Note that I remove the spellcheck=true attribute for textarea tag to show how it’s work. Now take a look chrome work fine and better then other programs.

Do you know Google translate also support document  translation see translate a document.

thanks for reading my post.

author: Anirudha | Posted On Friday, February 10, 2012 5:54 PM | Feedback (1)

I am animated virus ?


I am writing my last post  Firefox 7 Released when Mozilla release Firefox 7 now they have 9 soon they have 12. Now I am show you a little problem with word processor we use daily. let’s take a look at issue

Suppose my name is Anirudha. what happen if I use some different different software.

Windows Live Writer:- window live writer have no suggestion about it show RED border in bottom of text.

Microsoft Word 2007 :-  Maybe it’s a little bit better because when I type anirudha they make it capitalize and show me Anirudha after a correction.

Firefox Nightly :- When I write anirudha in a textbox I found a correction “Ludhiana”. What is Ludhiana.

Chrome:-  In chrome Web browser when I type anirudha I got some great correction who really not correct. See a list of thing I see for correction

  1. Aniakchak
  2. antivirus
  3. animated
  4. aniseed

 

in HTML5 by default if spellcheck attribute not defined or not have a false value browser try to check their value. The check-spell algorithm designed for checking spelling unable to improve productivity when a user have some non-English words.

Thanks

author: Anirudha | Posted On Wednesday, January 25, 2012 11:51 PM | Feedback (0)

Firefox 7 Released


I found a article on ghacks.net about firefox's next release 7. if you trying to find out on the mozilla's officially site they still show you 6.0.2 that means they still not relased it officially but in next 24hours they can be release it.

if you want to get them early. see here

 

for Windows ftp://releases.mozilla.org/pub/mozilla.org/firefox/releases/7.0/win32/

other release can be found here ftp://releases.mozilla.org/pub/mozilla.org/firefox/releases/7.0/

author: Anirudha | Posted On Monday, September 26, 2011 11:02 PM | Feedback (0)

Migration of MVC project to MVC 4 ?


In this post i show you how you can migrate your existing project to MVC4 and make compitable for vnext.

for visual studio 2010 you can install the MVC4 in your own system through WPI

for migrating the project see the reference 

http://www.asp.net/learn/whitepapers/mvc4-release-notes#_Toc303253806

 

for vnext

visual studio 2011 not working with MVC3 project without installing MVC3 for it (vnext). for getting MVC3 in Vnext get the setup from here. this can provide support for MVC3 in Vnext


http://www.microsoft.com/download/en/details.aspx?id=1491

 

for getting Microsoft web plateform

http://www.microsoft.com/web/downloads/platform.aspx

author: Anirudha | Posted On Wednesday, September 21, 2011 7:06 PM | Feedback (0)

How to uninstall all extensions in Visual Studio 2010 without removing them one by one ?


Visual Studio have a nice integration of Extensions. Sometime when you want a feature you can easily got extensions (plugins) from Visual  Studio gallery. Sometime some user have trouble the performance in VS when they got install too many plugins.

As in 2010 Visual studio not have functionality to remove all plugin component by one click. Like javascript extensions you need to remove every component of plugin one by one.

For removing all extensions in Visual studio manually You need to open Window explorer CTRL + E and type %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions. and press enter. This show you a folder which contain all plugins if you delete them then this will remove all plugins from your visual studio 10 installation.

Note:- This thing work fine on my computer. You need to remember then your Visual studio is sleep or not running when are delete the folder.


author: Anirudha | Posted On Wednesday, July 27, 2011 5:41 PM | Feedback (0)

How to install multiple version of Firefox


How to install the multiple version of Firefox here i show you some great thing who can help you to setup fx multiple version in your own system.

you need to know that when you run the setup he just override the installed Firefox so you need to install the Fx in two different directories by making a custom installation.

plug-in incompatibility is a big trouble user found and a another things is that Firefox every time check for computable version when another version of Firefox you trying to run who not match which version of Firefox you run last time. for troubleshooting both kind of problem you need to setup profile for every version of Firefox.

for setting profile you need to run firefox.exe –P after closing all instance of Firefox. by running this you found the windows who help you to make new profile. in the windows you find a existing profile default who you currently have.

after making a profile you need to attach the profile with Firefox seprately then their is no problem come when two version of Firefox you run in your system. now i show you you how to attach the profile in Firefox

open the firefox shortcut properties and put their

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -P "Firefox 4"

C:\Program Files (x86)\Mozilla Firefox\firefox.exe" is a url of executable and -P "Firefox 4" is argument who run the Firefox in a profile we want to use. in this example i put  "Firefox 4" because profile name is Firefox 4.

using this trick we can use multiple version of Firefox with no problem of plug-in incompatible

author: anirugu | Posted On Wednesday, April 20, 2011 1:45 PM | Feedback (0)

Nuget is not installed or out of date


i installed MVC 3 update whenever they launched and never got chance later to find out the changes shipped in this update. today i got the chance to take a look on what’s new in this update.

for checking i make a sample application and get a error quick that my nuget is not installed or out of date. i am unknown with this issue because i already have the new version of nuget in my visual studio and make sure or confirm that by many things. later i found that the error i got is really not error so i do a simple thing to make it works.

i uninstall the nuget install it again and restart and they are work  fine now.

thanks Arun Mahendrakar to clear the name of nuget. i really not know that i misspelled it.

author: Anirudha | Posted On Wednesday, April 20, 2011 1:44 PM | Feedback (1)

MySql.Data.MySqlClient version mismatched


Sometime we found that Server have MySQL .net connector pre-installed but matter is that they used old version or another version who not matched with our MySQL .connector version. so in this condition you have unable to make them work on Server. here is a solution how to deploy them with no problem like that.

in development system mainly we use .net connector so we need the same version on server to deploy our application. the problem is created because the component on development machine called installed library. if you add them in your project does not means that your project have the library. you code actually code the system library. so when you deploy the project they trying to called the server’system own library that are never matched if version mismatched.

How to solve this issue ?

if your server have less configuration that .net framework 4 then you can used .net 2 framework library from the folder

C:\Program Files (x86)\MySQL\MySQL Connector Net 6.3.6\Assemblies

this directory based upon X64 based system with version 6.3.6 of MySQL .net Connector.

here you can find out 2 directories

  • v2.0
  • v4.0

v2.0 for less configuration then .net 4 framework and v4.0 is equal or greater then .net configuration

[no matter if server have .net framework client profile]

when you open the directories you can find out the library MySql.Data.dll so you need to copy them [not cut paste it’s maybe trouble for future because the system have reference of Mysql library from here so i am not sure that it’s worked if somewhere code trying to call this library and the directories not have them so Exception maybe happened ]

so copy them in your project > bin folder you thing why i write this big matter when Visual studio add reference do that in a few seconds. well when you do this your project not have reference from system library because they have own so that they called dll from  the bin directory of project where code are live. if you add them using Add reference from Visual studio that they have reference and called the system library not have in project  > bin folder you can find them by going their bin folder after adding reference.

so when your project have their own dll in bin folder then they never trying to called the library from system. if you deploy this you find that they work even Server have Mysql connector installed or version of connector not matched with connector version of your project.

so when you do this your project never trying to find the library system have so they work with no exception. well if you have any trouble with this issue tell us by comment.

author: anirugu | Posted On Wednesday, April 20, 2011 1:43 PM | Feedback (0)

1603 installation Error in MVC 3.


When user trying to install MVC 3 using Microsoft Web Platform Installer they got the message that MVC 3 and some other component also installed successfully but whenever in the condition you trying to open WPI again that they show you a option for adding all those component who you installed last time that means that they not installed successfully or error not occurred in WPI but actually occurred.

So How i can install MVC 3 when i got error 1603 or whenever my system unable to run the setup or error occurred during the setup

you need to run WPI again choose the option MVC 3 and click on install you see a new windows and Executable location on the server. get the setup by download them or download the setup through Microsoft official website.

When you trying to run the setup off course they never success but here is a trick to install MVC 3 indirectly.

when you run the setup they give you error that setup did not succeed.  they show you a log open them in browser and found that they show you in bottom about 1603 error code who happened during MVC 3 installation. don’t close the setup just forget them.

Note:- if you close the setup all files located in your system temporary for  install MVC3 gone so don’t stop setup.

when error occurred without closing setup go to C:\temp and you find many executable their. now you need to run those setup to install on your system.

those setup included

ASP.NET MVC 3 : required to working MVC 3 in your system

ASP.NET MVC 3 for Visual studio tool : optional for those who have Visual studio in their system

ASP.NET MVC 3 for VWD tool :- optional for those who have Visual Web Developer in their system

ASP.NET WEB PAGE : required to working ASP.NET WEB PAGE  in your system

ASP.NET WEB PAGE for Visual studio tool : optional for those who have Visual studio in their system

ASP.NET WEB PAGE for VWD tool : optional for those who have Visual Web Developer in their system

Note: their is no problem if you run optional executable perhaps in future when you install VWD you never need to install MVC 3 again.

during the installation never run the Visual studio or VWD tools because they never tell you to close as well as you find message whenever you running MVC3 Executable. remember a little thing more that don’t run a executable who have a word KB in their name because this is a setup who you actually run. if you run them they not running and give you same error who you  got from Executable who we run firstly in this demonstration. if you run the setup they rollback Everything so be careful.

After that before closing the setup you we run firstly you can open Visual studio or VWD and found that’s now work. great now you can close the setup who give you message that “setup did not succeed ”. it’s really not succeed but now work in your system. 

well i show you a method to install MVC 3 alternatively. this is work whenever their is no other option to install them.

author: anirugu | Posted On Wednesday, April 20, 2011 1:43 PM | Feedback (0)