Archive for the ‘Programming’ Category

Look into the pic

Sometimes an Aspx application may not work. In this case you may have to change a folder into an ‘application’ via IIS.

Before trying this, follow steps 1 and 2 and proceed to step 3 if it doesn’t work:-
1. Change the ASP verison to 2 from 1.
2. Change the shared application pool to dedicated application pool.
————————————————————-

3. If still not working, IIS -> Domain -> On the left hand side of the domain -> Right click the application folder -> Properties -> In the application settings…press create. This will make the folder into an application.

To make MVC apps work, you may need to do the following in the server. This is for IIS 6 [2003 server]

Steps:
1. Login to the Server > IIS [run -> inetmgr] > domain properties > Home directory > configuration > Mappings > Add the “aspnet_isapi.dll”

2. The dll file can be found at the following location:-
c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll

3. wild card
Choose the dll file [which is in the following location: c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll ] and select verify

Follow the URL for more details.
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
—————
If you need to setup virtual directory, view the picture

MS SQL db permissions:-
MS Sql surface area manager. Start -> MS sql server -> Surface area manager
xp_cmdshell, ole performance… enable whatever permissions u need.

1. Place the “.chm file” to the Bin/Debug of your Vb.net application folder.

chm-file

2. Create a menu / button and double click it (to the code area) and type the following:

System.Windows.Forms.Help.ShowHelp(Me, “Help.chm”, HelpNavigator.AssociateIndex)

help.chm – the name of ur chm file. if u named it as myapp.chm then u need to type it as myapp.chm (I know its a bit more childish !!! but some required it…;-))

3. Thats all. Now run the app and press the menu / button. it will work 😉

Note: This code is actually copied from a site. I forgot from where I have copied it. Anyhow, many thanks to the coder for posting it.