DotNet Friends

September 20, 2008

find not working in visual studio

Filed under: dotnet — Tags: — patriwala @ 6:12 pm

Find option is not working in the visual studio environment. solved this issue follow the below steps.

steps :

1) open the visual studio in safe mode using command devenv/safemode

go to command prompt and type your visual studio path. in my pc is

” C:\Program Files\Microsoft Visual Studio 8\Common7\IDE “

run above code and check.

it work then the problem either the cause should be third-party applications, services or Visual Studio Add-ins.

if find is not working yet then follow the 2nd step.

2) open the command prompt and type your visual studio path. in my pc is

” C:\Program Files\Microsoft Visual Studio 8\Common7\IDE “

type below code : devenv /resetsettings

this command is Restores Visual Studio default settings.

now check in the Visual Studio.

Thnx

The media set has 2 media families but only 1 are provided

Filed under: Database, SqlServer — Tags: — patriwala @ 7:28 am

I got this error when restore database from .bak file.

why this error happen?

when you backup the database at that time you have not delete the existing path means you start a back up behalf of the previous one means your backup is divided in to more parts.

steps :
1)  you select all the related .bak file.

example here mydatabase name is test1. first i backup that at that time mybackup name is test1_17.bak. second backup i take at 18 and backup file name is test1_18.bak. now when you selecte restore database at that time you selected both this file.

rightclick on database –> task –> Restore –> Database

open one dialog box — now select fromdevice and add related files (test1_17.bak and test1_18.bak).

* when you take a backup at that time you remove the previous file.

Thnx.

Blog at WordPress.com.