Saturday, May 30, 2009

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

http://www.tipsstation.com/article/Timeout-expired-server-is-not-responding-Asp-Dot-Net.aspx
http://www.electrictoolbox.com/unable-modify-table-timeout-expired-sql-server/

Tuesday, May 26, 2009

Deployment of Crystal Report with VS 2005

http://msdn.microsoft.com/en-us/library/ms227380(VS.80).aspx
http://msdn.microsoft.com/en-us/library/ms225386(VS.80).aspx
http://www.codeproject.com/KB/database/CrystalReportViewer.aspx
http://www.vbdotnetheaven.com/UploadFile/joseabie/810242007082431AM/8.aspx

Wednesday, May 20, 2009

Understanding-iis-web-site-and-sharepoint-web-application

http://nishantrana.wordpress.com/2009/04/25/understanding-iis-web-site-and-sharepoint-web-application/

Monday, May 18, 2009

JavaScript with ASP.NET 2.0 Pages

http://dotnetslackers.com/articles/aspnet/JavaScript_with_ASP_NET_2_0_Pages_Part1.aspx
http://dotnetslackers.com/articles/aspnet/JavaScript_with_ASP_NET_2_0_Pages_Part2.aspx

closing script tag issue while document.write js

CS1010: Newline in Constant" Error Message When a String Contains a </script> Tag in the Inline Code

var f=document.open('',.......);
//if you write </script> like this you will get this error message.
f.document.write("<script>hai</script>");
It has to be written like
f.document.write("<script>hai<");
f.document.write("/script>")

so now it will work.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;827420

Saturday, May 16, 2009

Web Flv player for playing flash videos

http://flowplayer.org/documentation/installation/index.html

Generate Script with Data from Database (Sql server 2000)

http://blog.sqlauthority.com/2007/11/16/sql-server-2005-generate-script-with-data-from-database-database-publishing-wizard/

Friday, May 15, 2009

Restore Data from sql server 2000 to Sql server 2005 Management studio express

While restoring data from sql server 2000 to sql server 2005 Management Studio express

1. Created new database named test on sql server 2005 Management studio express
2. Restore database from sql server 2000 by selecting backup file

Then I selected and clicked ok. Then I got error

System.data.sqlclient.sqlerror: the backup set holds a backup of database other than the existing database (Microsoft.Sqlserver.express.smo)

Workaround is "restoring the database with options 'overwrite existing database'"


Now db gets restored.

Thursday, May 14, 2009

Embed Video Files in HTML

http://www.kathymarks.com/archives/2005/09/embedding_windows_media_and_quicktime_video_on_a_web_page.html

classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/ mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>








pluginspage='http://microsoft.com/windows/mediaplayer/ en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='1'
bgcolor='darkblue' showcontrols='1' showtracker='1'
showdisplay='0' showstatusbar='1' videoborder3d='0' width="320" height="240"
src="file.swf" autostart='1' designtimesp='5311' loop='1'>



Files of type swf, mpg, and mpeg are working in IE7 & Firefox whereas flv does not.

Monday, May 11, 2009

Retrieve Xml Node based on two or more attribute condition

xml file:
---------


yyy



To select the node based on two attribute condition

XmlDocument xmlDoc=new XmlDocument();
XmlNode xm=xmlDoc.selectSingleNode("root/level[@id=1 and name='xxx']/level");

Friday, May 8, 2009

An application error occurred on the server - working locally but on remote it fails

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

To find out the error

1.set CustomErrors to Off

and then got error screen showing

2. Natsnet.dll error (actually in ..\inetpub\wwwroot\web.config uses this dll)

3. But I run (..\inetpub\wwwroot\site) I have not used natsnet.dll or reference inside the site application and web.config.

4. problem is its taking from root web.config and coming to inner web.config.

5. At last i copied dll to (..\inetpub\wwwroot\site\bin) then it works on remote server.

Thursday, May 7, 2009

Resolve Issue - FileUpload not working inside Updatepanel

http://www.codeproject.com/KB/ajax/simpleajaxupload.aspx
http://geekswithblogs.net/ranganh/archive/2008/04/01/file-upload-in-updatepanel-asp.net-ajax.aspx

Monday, May 4, 2009

Read/Write/Insert data to Xml file

http://www.dotnetspider.com/resources/21330-How-insert-data-XML-using-dot.aspx
http://www.codeguru.com/csharp/csharp/cs_data/xml/article.php/c9427
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=312&page=2
http://www.maconstateit.net/tutorials/XML/XML07/xml07-03.aspx