Posts Tagged ‘General’

Login failed for user Machinename\ASPNET

I faced that problem when i run my application from localhost. Got the solution

Go to command prompt and write these commands. Take care of the spelling database name and tablename.

cd C:Program FilesMicrosoft SQL Server80ToolsBinn

osql -E -S localhost -Q “sp_grantlogin ‘MYCOMPUTERASPNET'”

osql -E -S localhost -d DatabaseName -Q “sp_grantdbaccess ‘MYCOMPUTERASPNET'”

osql -E -S localhost -d DatabaseName -Q “sp_addrolemember ‘db_owner’, ‘MYCOMPUTERASPNET'”

–Don’t forget to change you computer name and database name


Read Full Post »

What is the CLR?

The CLR is the heart and soul of .NET. The CLR is the runtime. In a nutshell, the CLR is a run-time environment in which .NET applications run. The CLR is layered on top of an operating system, and exists to provide services by being a layer between .NET applications and the operating system.  ref:http://samgentile.com/clr.htm

Read Full Post »

This is a possible solution for fixing error 80048820 in MSN messanger

This is often caused due to Incorrect Time/Date Settings in Windows. So the first thing you should do is make sure that you system has got the correct clock settings. To change the system time setting, just double-click on the time display on your Taskbar (usually in the lower right corner of your screen).

Read Full Post »

SqlConnection is the SqlServer implementation, OleDb was everything ‘else’ . That’s been minimized to some degree since the addition of the ODBC and Oracle libraries in the 1.1 framework so OleDbConnection should probably be renamed to PeopleWhoStillUseMSAccessConnection

Read Full Post »

Sometime wee need to print page number, total no of pages, page location ect. in our printing page. There are commands to write such important things.
&w Window Title Print window title &w
&u Page Address http://www.yahoo.com
&d Date in Short Format 7/17/2006
&D Date in Long format Monday. July 17, 2006
&t time 1:14:03 PM
&T Time in 24 hour format 23:14:03 PM
&p Current Page number Page number &p
&P Total Number of Pages Total no of pages &P
Referance: http://www.febooti.com/products/iezoom/ print-web/print-web-page-windows-title.html

Read Full Post »


Read Full Post »