posted by 준치 2010. 1. 28. 16:30
너무 정리를 잘해주신거 같은데 제가 그냥 퍼와서 죄송한 마음이 드는군요...
다른 어떤분이 글을 남기셔서 찾다가 나왔네요..

출처 http://www.sqlleader.com/mboard.asp?exec=view&strBoardID=SS2005QNA&intSeq=1543

여기 좋은 정보가 많을 듯하네여... http://www.sqlleader.com

-----------------------------------------------------------------------
몇 가지 경우가 있을 것 같은데요,
 
쿼리창에서 다음과 같이 명령을 실행시키셔서 백업 파일 셋트의 수를 확인해 보시기 바랍니다.
 
RESTORE LABELONLY FROM DISK='d:\TestDB1.bak'

위의 명령을 수행한 결과 중, FamilyCount가 백업을 할 때의 파일 (or 미디어)의 수를 의미합니다.
 
다음과 같은 예제로 설명드리겠습니다.
 

--데이터베이스 생성

CREATE DATABASE TestDB

ON (name='data1', filename='d:\data1.mdf')

LOG ON (name='log', filename='d:\log.ldf')

GO

 

--백업 수행(D:\Test1.bak, D:\Test2.bak에 나누어서 백업)

BACKUP DATABASE TestDB TO DISK='d:\TestDB1.bak' , DISK='d:\TestDB2.bak' WITH INIT

GO

 

--기존 데이터베이스 삭제

DROP DATABASE TestDB

GO

 
 
즉, TestDB라는 데이터베이스는 TestDB1.bak와 TestDB2.bak 라는 두 개의 파일에 백업이 되었습니다.
 
 
이 백업 파일을 이용해서 복원을 할 경우, 두 개의 파일 모두를 지정해야 제대로 되며, 하나만 지정해서 복원할 경우, 말씀하신 것과 같은 에러가 발생합니다.
 
 
 
 
이는 Management Studio에서도 동일합니다.
 
이 경우, 장치 부분에서 나머지 백업 파일을 지정해야 에러 없이 복원이 가능합니다.
 
 
 
처음에 백업을 받았을 때, 파일 또는 미디어들이 어떻게 설정되어 있는지 확인하시고, 복원시 이를 모두 지정해 주시기 바랍니다.
 
 
 



 
처음전체백업을 받아서 덮어쓰기 옵션으로 다른서버에서 복구를 성공시켰는데
 
이후 다시 이전서버백업으로 신규서버로 복원을 하려고 하니
 
아래와 같은 에러가 발생합니다
 
-----------------------------------------------------
System.Data.SqlClient.SqlError: 미디어 세트에 2개의 미디어 패밀리가 있지만 1개만 제공하고 있습니다.
모든 멤버를 제공해야 합니다. (Microsoft.SqlServer.Smo)
-----------------------------------------------------
 
어떻게 해야할까요..?

posted by 준치 2009. 11. 12. 17:39

try catch 로 잡았을 경우에만 나오죠.

 

msdn에 보면 예외를 발생시킨다고 나옵니다..

 

Response.Redirect(url, false); 이렇게 해보세요


posted by 준치 2009. 8. 28. 12:08
1.파일 이름이 잘못되었습니다.
2.파일에 액세스할 수 없습니다.
3.경로가 너무 깁니다. 경로를 짧게

DDE 오류가 발생했지만 오류 설명이 너무 길어서 표시할 수 없습니다. 파일 이름이나 경로가 길면 파일 이름을 바꾸거나 다른 폴더에 복사하십시오.

찾아보니 이렇게 나오네여...소스 다 까보고 삽질 겁나했네...
posted by ekfn 2009. 8. 13. 10:51

참고 URL : http://blog.naver.com/wjd0412?Redirect=Log&logNo=120058765690

웹프로젝트 생성시 C:\Inetpub\wwwroot 생성을 하는 경우는 처음 프로젝트 생성시 기본 웹서버 미설정시 위의 경로에 생성이 됩니다.

다른 곳에 생성시 우선 IIS에서 가상폴더를 생성 후 웹프로젝트를 생성하면 문제가 없습니다.

또한 기존에 생성된 웹프로젝트를 오픈시 서버 URL 오류가 발생시
프로젝트에 csproj.webinfo 확장자가 있는지 확인하고

<VisualStudioUNCWeb>
    <Web URLPath = "http://localhost/SD.WS/SD.WS.csproj" />
</VisualStudioUNCWeb>

해당 파일의 프로젝트 URL 부분을 변경하여 주면 정상적으로 프로젝트 오픈이 가능합니다.

posted by 준치 2009. 5. 20. 09:41

SharePoint 2007 SP1 failed: Cannot start service SPTimerV3

My lab VM with Win2003 x64, BizTalk 2006 R2, SharePoint 2007 and SQL Server 2005 SP-2 runs very nice, but I forgot to upgrade SharePoint to the new SP-1 version. I would like to mention that this VM was installed with all the default and typical settings selected for all installed products.

The SP-1 for SharePoint 2007 requires WSS 3.0 to be upgraded to SP-1 first. But, this installation failed. The error was:

One or more configurations failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again. System.InvalidOperationException. Cannot start service SPTimerV3.

The upgrade itself was successful, but the wizard failed to start the 'Windows SharePoint Services Timer' NT service. I opened up services.msc and tried to start it manually, but it also fails. The error in the Event Viewer is: The service did not start due to a logon failure.

Maybe this can be caused by the dcpromo-process this lab VM undergone. The server is now a Primary Domain Controller (and wasn't while SharePoint was initially installed).

Changing the 'Log on as' on the 'Log on' tab of the service to a valid account (and password) solved this problem. I started the service manually and pressed the Finish button of the configuration wizard.

Now the SharePoint SP-1 itself...

출처 : http://www.leonmeijer.nl/archive/2008/03/08/81.aspx

2003 서버에 모스를 설치하고 아무 이상이 없다가....언제부터인가 부팅을 하면 서비스나 드라이버에 이상이 있다는 경고 창이 떠서 찾아보니 이 문제 였었다...참....
삽질하고 다시 설치 할뻔했네..ㅎㅎㅎㅎ
해석이 안되서 번역기로...ㅋㅋㅋㅋ 서비스에가서 로그온에서 계정이 맞는지 확인해보니 패스워드가 이상하게 설정되어있었다...그래서 실행이 되지 않았던것이였다....변경....콜..바로 시작...ㅋㅋㅋ

posted by 준치 2008. 9. 12. 20:01

쉐어포인트 검색서버를 사용하다가 KeywordQuery로 값을 받아오는 단계에서
에러가 났다. 한마디로 어떤 클래스를 참조하는지 명시하라는 말이였다...삽질...

Scopes are usually used in search code. One of the very common errors when working with scopes in search code is as following:

"Calling GetScopeID from a non-Office server binary."

This error occurs when you instantiate the query object, for example:

KeywordQuery kwQuery = new KeywordQuery(site);

To resolve this issue, include the correct namespace when defining the kwQuery object, for example:

Microsoft.Office.Server.Search.Query.KeywordQuery kwQuery = new Microsoft.Office.Server.Search.Query.KeywordQuery(site)

When you skip the namespace, SharePoint tries to call the GetScopeID() from an assembly different than the one it should be using. This especially happens when both of the following namespaces are included in your code:

using Microsoft.SharePoint.Search.Query;
using Microsoft.Office.Server;


posted by 준치 2008. 9. 12. 03:16
unreachable code detected - for문 돌리려고 쓰다가 이런게 warnings에 이게 뜨더라구여
신경쓰여서 찾아보니 조건절에 문제가 있었습니다.

검색해서 찾아보니 죽어도 실행되지 않는 부분이 있다고 하더라구여..ㅎㅎ

warnings라도 해결하고 가야져..ㅎㅎ
posted by 준치 2008. 9. 1. 13:11
VMWare에 윈도우 비스타를 깔고 문제가 생겨 컴퓨터를 강제로 종료시킨 적이 있었다. 그런데 그 다음부터 VMWare로 설치 되어 있는 운영체제를 구동시키려고 하니 다음과 같은 에러가 뜨면서 실행이 되질 않았다.

Could not open virtual machine: E:\My Virtual Machinez\Windows Vista\Windows Vista.vmx. This virtual machine appears to be in use.

Configuration file: E:\My Virtual Machinez\Windows Vista\Windows Vista.vmx

가상머신이 현재 사용중이기 때문에 또 다른 가상머신을 띄울 수 없다는 메세지인데 VMWare를 띄운적이 없으므로 당연히 사용중인 가상운영체제는 존재하지 않는다. 혹시나 해서 윈도우를 껐다켜보고 VMware를 재시작 해봐도 역시 같은 메세지가 뜨고..

사용자 삽입 이미지

아무런 가상운영체제를 동작시키고 있지 않는데도 위와 같은 메세지가 뜬다면..?


결국 우리 구글씨에게 물어보니 첫페이지 첫번째 글에 적혀있는 답변을 찾아 주셨다..

해결법은 가상운영체제가 설치되어 있는 폴더로 가서 확장자가 .lck로 끝나는 모든 폴더와 파일을 삭제하면 된다.

그러면 다음과 같이 아무런 이상 없이 정상적으로 구동 될 것이다.

사용자 삽입 이미지
posted by ekfn 2008. 8. 31. 00:26
'type'을(를) 인식할 수 없습니다. 팁n해결

2008/07/18 13:25

복사 http://blog.naver.com/tateru78/120053994725

'/' 응용 프로그램에 서버 오류가 있습니다.
--------------------------------------------------------------------------------

구성 오류
설명: 이 요청을 제공하는 데 필요한 구성 파일을 처리하는 동안 오류가 발생했습니다. 아래의 오류 정보를 확인한 다음 구성 파일을 적절하게 수정하십시오.

파서 오류 메시지: 특성 'type'을(를) 인식할 수 없습니다.

소스 오류:


<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
   <section name="##.###.########.######.Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  </sectionGroup>


--------------------------------------------------------------------------------
버전 정보: Microsoft .NET Framework 버전:1.1.4322.2300; ASP.NET 버전:1.1.4322.2300


->

ASP.NET 버전을 2.0 으로 변경해야함 

posted by 준치 2008. 8. 26. 17:21
사용자 삽입 이미지
ValidateRequest="false"  aspx 페이지 상단에 이것을 선언 안해주면 이런 에러가 나요..
xml 을 사용하면 꼭 쓰세요..ㅎㅎ