Error in CDS View
In my program I am fetching a certain type of inbound IDOC which in 53 status and updating my custom table, for which I have written a select query which executes perfectly but gives me an error while executing as a DDL source.
Select Query in Program: -
DDL Source: -
Error:- Preceding INT2 field cannot be a key field.
Even though I haven't declare INT2 field as a key field, the view which is being created (after commenting field sdata) is considering that. Please help me fix this issue.
Hello Christian,
Thanks for you inputs but the issue persists.
It worked for you because it was a single table in the example, but as mentioned in your second response " the key fields of the database view are derived implicitly from the key fields of the basis tables and the join conditions. If this is not possible, all fields of the database view are key fields." This is what exactly happening to my CDS View, all the fields are becoming key fields though I am joining to tables with their key fields.
Key fields in each of the tables: -
EDID4
DOCNUM--->Used to join
COUNTER
SEGNUM
EDIDS
DOCNUM--->Used to join
LOGDAT
LOGTIM
COUNTR(status)
EDIDC
DOCNUM--->Used to join
Thanks
Rajit
Similar Messages
-
Using HANA SQL Functions in select list of CDS Views
Dear Expert,
Kindly please let me know if we can use the HANA SQL Function (Ex: ADD_DAYS, SECONDS_BETWEEN) in the select list of CDS Views?
If I create a CDS like below I get error that timestamp is not supported.
For Example:
@AbapCatalog.sqlViewName: 'ZMR_H_CA'
@EndUserText.label: 'CAG A'
define view viewname
with parameters start_ts:abap.dec( 15, 0 ) , end_ts:abap.dec( 15, 0 )
as select from table {
key resource_key,
TO_TIMESTAMP(begtstmp) as start_tmp,
TO_TIMESTAMP(begtstmp) as end_tmp
where
(begtstmp > $parameters.start_ts or endtstmp > $parameters.start_ts )
and
(begtstmp < $parameters.end_ts or endtstmp < $parameters.end_ts )
Thanks,
GiriHi Giri,
the list of provided features can be found in the ABAP Language Documentation (F1 in the CDS View).
As CDS in ABAP is abstracted from the database layer, the database features are not directly accessible. That means, you cannot use any HANA or MaxDB feature available. So the answer to your question is no. The reason for this is, that ABAP CDS views can be created on all SAP-supported databases, hence, we can only provide those features, supported by all databases.
Having said this, there are some exception, e.g. the CDS views with input parameters, which are not supported by all databases. In these cases, you'd have to additionally use the utility class CL_ABAP_DBFEATURES (see http://scn.sap.com/community/abap/blog/2014/10/10/abap-news-for-740-sp08--abap-core-data-services-cds) for more details.
Best,
Jasmin -
Questions on CDS Views with input parameters
Dear Experts,
1. Can we call a CDS View (or generated database view) with input parameters inside an AMDP? I am looking for something similar to the feature in HANA where we can consume calculation view with filters inside SQL Script?
2. I understand we can next CDS Views, but how we can next (call) a CDS View with input parameters inside another CDS View?
Thanks,
GiriHi Thomas,
I get the below error that the CDS View's generated table function cannot take field from AMDP.
I have a requirement to query the CDS View using 2 timestamps (start & end). So, in AMDP I have used the TIME_STAMP and try to pass it to the CDS View
View code:
define view Z_Ngi_Cag_A
with parameters start_ts:abap.dec( 15, 0 ) , end_ts:abap.dec( 15, 0 )
as select from table {
resource_key
where
(begtstmp > $parameters.start_ts or endtstmp > $parameters.start_ts )
and
(begtstmp < $parameters.end_ts or endtstmp < $parameters.end_ts )
I am calling using the below AMDP:
DECLARE iv_start_date TIMESTAMP;
DECLARE iv_end_date TIMESTAMP;
SELECT CURRENT_TIMESTAMP INTO iv_start_date from dummy;
SELECT ADD_DAYS(CURRENT_TIMESTAMP, 30) INTO iv_end_date from dummy;
et_data = SELECT * FROM ZMR_H_CA ( start_ts => iv_start_date, end_ts => iv_end_date );
What could be wrong ? Is this not supported?
Thanks,
Giri -
CDS View: How to define JOIN in hdbdd file?
Maybe I missed something, but how can I define JOINs for a CDS view in a hdbdd file?
I have the following 2 tables and a view. The view claims that there is a syntax error on "left".
I found no examples on how to JOIN in the documentation (only for ABAP).
@Catalog.tableType : #COLUMN
entity Project {
key ID : Integer64 not null;
Name : hana.VARCHAR(64) not null;
Description : hana.VARCHAR(256);
@Catalog.tableType : #COLUMN
entity Scenario {
key ID : Integer64 not null;
Name : hana.VARCHAR(256) not null;
Description : hana.VARCHAR(256);
ProjectID : Integer64 not null;
view MData as select from Project left join Scenario on Scenario.ProjectID = Project.ID {
Project.Name as Project,
Scenario.Name as ScenarioOK, I made some progress, but now I have the following problem:
[1310081] No association with cardinality > 1 allowed in WHERE Clause
@Catalog.tableType : #COLUMN
entity Project {
key ID : Integer64 not null;
Name : hana.VARCHAR(64) not null;
Description : hana.VARCHAR(256);
Scenarios : association[*] to Scenario on Scenarios.ProjectID = ID;
@Catalog.tableType : #COLUMN
entity Scenario {
key ID : Integer64 not null;
Name : hana.VARCHAR(256) not null;
Description : hana.VARCHAR(256);
ProjectID : Integer64 not null;
Variants : association[*] to Variant on Variants.ScenarioID = ID;
@Catalog.tableType : #COLUMN
entity Variant {
key ID : Integer64 not null;
Name : hana.VARCHAR(64);
Description : hana.VARCHAR(256);
ScenarioID : Integer64 not null;
TestTypes : association[*] to TestType on TestTypes.VariantID = ID;
@Catalog.tableType : #COLUMN
entity TestType {
key ID : Integer64 not null;
Name : hana.VARCHAR(64) not null;
Description : hana.VARCHAR(256);
VariantID : Integer64 not null;
view MData as select from Project {
Project.Name as Project,
Scenarios.Name as Scenario,
Scenarios.Variants.Name as Variant
} where Scenarios.Variants.TestTypes.Name = 'SUT'; -
How to convert a timestamp to date/time in CDS View?
Dear experts,
I would like to convert a timestamp to a date and time within a CDS view.
This is what I tried to do:
Cast (Cast(<timestamp> as abap.dec(8,0)) as abap.dats) as <date>
I also thought about first converting the timestamp into a plain numerical character, then using substring and then casting it to abap.dats. Then its giving me an error that says: "dec can't be converted into numc".
The above written code also throws an error - "function not allowed/ no cast within a cast".
It is quite nasty not being able to write a cast within a cast - how else am i supposed to achieve a date here?
I am looking forward to have your answers!
Thanks and BR
AnjaHi Anja,
what you try to do is currently not possible, a feature not available in CDS views.
Yet it surely is a feature, ABAP developers would like to see on the feature request list .
Cheers,
Jasmin -
Not able to use CONCAT in CDS View
Hello,
My requirement is to prepare a field by concatenating 'PR' in front of the field and use it in a CDS view.
I am getting the below error while doing it.
Is the issue with my HANA version or the code is wrong.Dear Abhishek,
which Version of the ABAP stack do you have?
The CDS function concat is only supported starting with Netweaver 740 SP08.
Best Regards, Thomas -
How to select top one in CDS view ?
I have tried following logic to select top one in CDS view but its giving error -
define view Cds_View_First_Reference as select top one CReferredObject from CDSVIEWCROSSREFHi Ruchi,
since you posted this question in "ABAP in Eclipse" I assume you are asking about CDS in ABAP. This is important because the CDS features sets in ABAP and (native) HANA are different.
Be that as it may,, SELECT TOP 1 is neither supported in the CDS implementation in ABAP nor in HANA.
In ABAP you might consider using the min() or max() function together with the appropriate GROUP BY clause in the CDS view (depending on what you want to achieve), but you can also easily "implement" this in the Open SQL statement which selects from your CDS view.
Using the additions SELECT SINGLE or UP TO 1 ROWS and an appropriate ORDER BY clause in Open SQL, you can achieve the same as SELECT TOP 1.
Unfortunately there is currently no possibility to define a view which delivers the TOP 1 which you can again use in another view ("view on view").
Kind regards
Chris -
Union in CDS View with different columns
Hello,
I have two entities E1 {a: Integer; b: Integer} and E2 {a: Integer; c: Integer} and I want to build a CDS view which does a union on both like:
SELECT a, b, null as c FROM E1
UNION SELECT a, null as b, c FROM E2
I have written the following:
view UnionView as select from E1 {a, b, null as c} union select from E2 {a, null as b, c}
Now I get the error message: Feature is not supported
Has anybody an idea, how to model this with a CDS view? With a graphical calculation view, this is possible, but I want to build it as a CDS view.
Regards,
MichaelWhat revision is your system on? I show that UNION was new syntax in SPS 09.
http://help.sap.com/hana/SAP_HANA_Core_Data_Services_CDS_Reference_en.pdf
I tried the following in my system and it worked just fine:
namespace playground;
@Schema: 'PLAYGROUND'
context unionDemo {
entity E1 {
key a : Integer;
b : String(20);
c : LocalDate;
entity E2 {
key x : String(20);
y : LocalDate;
z : Integer;
view V as
select from E1 { a, b, c}
union
select from E2 { z, x, y}; -
Read ABAP CDS view data in HANA CDS view
Hi experts,
We have created some ABAP CDS views, which we would like to reuse in a HANA CDS view.
When I refer to the ABAP CDS view as "SAP<SYSID>"."Z_ABAP_VIEW_NAME" in the HANA CDS view definition, I get a syntax error: Cannot find artifact...
Is it possible to re-use the ABAP view in my HANA CDS definition?
Is there an alias for the SAP<SYSID> schema? When we apply the developments on a QA or PRD system, the name of the erp content schema will be different...
Kind regards,
LukHi luk,
You can use the ABAP CDS views in HANA CDS. You have to change the schema name while creating the HANA CDS view.
@schema:'$<schema> ' should contain your ABAP CDS view then you can consume it. the artifact cannot be found because you are creating HANA CDS in a different schema.
regards,
Prabuddha -
Error on load: System.IO.IOException: The process cannot access the file
'\\server1\SCANSHARED\.pdf' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at abc.Scan.Layouts.ICC.Scan.View.Page_Load(Object sender, EventArgs e)
I faced this error in event viewer when users want to view documents from this third party deployed scan solution
here I have two WFS servers and they configured with load balancing in F5 .
when I enable both servers in F5 I receive this error messages in 2nd server,
when users want to view documents
adilDo you have antiVirus installed on the sharepoint servers?
These folders may have to be excluded from antivirus scanning when you use file-level antivirus software in SharePoint. If these folders are not excluded, you may see unexpected behavior. For example, you may receive "access denied" error messages when files
are uploaded.
Please follow this KB and exclude the folders from Scanning.
http://support.microsoft.com/kb/952167
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Error message while viewing Purchase order summary
Hi all,
we are in 11.5.10.2 , we are getting error message while viewing purchase order "Currency formatting cannot be performed without a currency code".
is it beacuse of currency not popluated in Purchase order?
Verified metalink note - 960504.1
Thanks
KiranHi Kiran,
Verified metalink and other areas but could not get any appropriate solution.
I tried to reproduce the issue in various available environments...but no luck!
My guess would be the datafix/BUG that you have referred in the MOS note 960504.1
Please check with your DBA for this patch in test instance.
Thanks
-Arif. -
Windows is Scanning and repairing drive... (- Errors in Event Viewer)
Long post, please be patient... :)
I have a fairly new (purchased 8/2013) Lenovo ThinkPad T431s with Windows 8.1 Pro 64-bit (updated from 8.0 -> 8.1). It has a very tricky error coming basically 8 / 10 boots:
Windows is Scanning and repairing drive...
Error details from Windows Event Viewer (a new similar error appears on every boot to event viewer):
A corruption was discovered in the file system structure on volume \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}.
A file on the volume is no longer reachable from its parent directory. The parent file reference number is 0x2000000000002. The name of the parent directory is "". The parent index attribute is ":$I30:$INDEX_ALLOCATION". The file reference
number of the file that needs to be reconnected is 0x400000003db80. There may be additional files on the volume that also need to be reconnected to this parent directory.
What has been done 1st trying to fix that:
SSD disk has been changed (image from previous SSD copied back) ->
no solution, error remains
chkdsk /F /R -> no solution, error remains
SFC /scannow -> no solution, error remains
dism /online /cleanup-image /restorehealth -> no solution, error remains after a few boots
TRIED using Windows 8.1 "Update & Recovery -> Refresh Your PC without affecting your files" -> Inserted the Lenovo "Operating System Recovery Disk Windows 8 Pro (OEM Activation 3.0 Required)" BUT Windows did not accept
that DVD claiming "The media inserted is not valid"... ???
Ended up calling Lenovo Support and they instructed me to order the Recovery DVD from
Lenovorecovery.com -> Unfortunatelly Windows does not recognice the DVD(s)...
mountvol returns:
\\?\Volume{4d337687-0033-42f7-8a8e-b6968b533cb3}\
(This is my C:\ drive where Windows installation resides)
\\?\Volume{e010cf9d-c04d-4c82-b517-3cda1b647fe7}\
*** NO MOUNT POINTS ***
\\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}\
*** NO MOUNT POINTS ***
\\?\Volume{33f0062f-0aff-4fd2-8402-1c7911d86897}\
*** NO MOUNT POINTS ***
Then running fsutil dirty query on each returns:
Volume - \\?\Volume{4d337687-0033-42f7-8a8e-b6968b533cb3} is NOT Dirty
Volume - \\?\Volume{e010cf9d-c04d-4c82-b517-3cda1b647fe7} is NOT Dirty
Volume - \\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} is Dirty
Volume - \\?\Volume{33f0062f-0aff-4fd2-8402-1c7911d86897} is NOT Dirty
The chkdsk on the dirty volume
\\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}\ returned:
The type of the file system is NTFS.
Insufficient storage available to create either the shadow copy storage file or
other shadow copy data.
A snapshot error occured while scanning this drive. Run an offline scan and fix.
Diskpart output on the same volume:
DISKPART> lis par
Partition ### Type Size Offset
Partition 1 Reserved 128 MB 17 KB
Partition 2 Recovery 1000 MB 129 MB
Partition 3 System 260 MB 1129 MB
Partition 4 Primary 146 GB 1389 MB
Partition 5 Recovery 350 MB 147 GB
Partition 6 Recovery 19 GB 148 GB
Questions:
1) Are my Partitions OK, haven't "touched" anything?
2) Excluded the dirty volume from boot checking with chkntfs /x
-> still the Error appears in Event viewer log (but Scanning is skipped/not shown anymore during the boot).
What is causing the error?
3) Why do I have three (3) recovery partitions?What has happened in the past days:
A) Lenovo on-site-Support changed the motherboard -> had no impact on the error (which I expected).
B) I found
instructions how to manually create USB Flash stick with a booting Custom (OEM) Recovery Image.
C) Booted with USB and performed "Refresh your PC without affecting your files."
D) Windows was refreshed but...
-->>
Still the error remains (Windows scanning and repairing drive \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} on each and every boot.
1) Related Error in Event viewer (NTFS):
A corruption was discovered in the file system structure on volume \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}.
A file on the volume is no longer reachable from its parent directory. The parent file reference number is 0x2000000000002. The name of the parent directory is "". The parent index attribute is ":$I30:$INDEX_ALLOCATION". The file reference number of the
file that needs to be reconnected is 0x400000003db80. There may be additional files on the volume that also need to be reconnected to this parent directory.
2) Related Error in Event viewer (NTFS - Microsoft Windows NTFS):
Volume \\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} (\Device\HarddiskVolume5) needs to be taken offline to perform a Full Chkdsk. Please run "CHKDSK /F" locally via the command line, or run "REPAIR-VOLUME <drive:>" locally or remotely via
PowerShell.
-->>
Now Lenovo support is proposing a full re-install (to be performed by myself) of Windows as this is SW issue.
Summary:
- Refreshing my T431s with OEM Image does not help
- The error remains on \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} (\Device\HarddiskVolume5; Lenovo Recovery partition) OR at least Windows thinks so... -
What are the reasons for following Javascript error in Report Viewer
Post Author: dhuka
CA Forum: Crystal Reports
Hello Everybody!
I am using Crystal Reports 10 in my web application. But unfortunately I am surrounded with strange problem related to it because of which I have been unable to deploy is on client-side. In my application the error given below is displayed as javascript error in Report Viewer and report is not displayed. But more frustrating part is that I am getting the same error due to different problem with reporting and I am stuck with it as I am unable to figure out what's causing the error now. Earlier this error appeared due to problem with parameter passing to stored procedure which I resolved it and error vanished but once again it has shown up. Moreover this error now appears less frequently and randomly therefore it is even difficult to trace the cause.
Problem with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
Line: 40Char: 12Error: Expected ')'Code: 0URL: http://myServer/myApp/myForms/myReports/ReportViewer.aspx
So can anybody tell me what factors might be causing this errors as the error text is very vague in nature and gives no idea about the actual error.
Guys, I hope for your kind co-operation.
Regards,Post Author: dhuka
CA Forum: Crystal Reports
Thanks for you reply Krishna.
But this syntax error is the one that is creating problem for me as I cannot trace it. The form ReportViewer.aspx contains only a report viewer object which remains un-binded to any ReportDocument even at runtime.
At code behind ReportViewer.aspx I have code below that associates SQL Stored Procedure Parameter and Report Filter along with report name. Once all above is associated with ReportDocument, I export ReportDocument to PDF file format and display the report. Here I dont' even bind ReportDocument with my ReportViewer. Moreover, as I mentioned previously this error is encountered randomly (with no reasonable explanation so far) on client PC (while browsing through application).
I hope below code give you good idea of the way I am implementing my reporting.
Looking forward to you solution. Please note that I am only passing the ReportFileName and Parameter and Filter Criteria to this form while dataTable by itself using the connection information.
<<<<<<<<<<<<<<<<<CODE BEHIND of REPORTVIEWER.ASPX>>>>>>>>>>>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim strKeys() As String
Dim strReportFilter As String
Dim strReportName As String
Dim strError As structError
Try
ReDim strKeys(0)
If strReportName = "" Then
strReportName = Context.Session("ReportName").ToString()
If Not Session("ReportParameters") = Nothing Then
Dim char_Delimiter() As Char = ";".ToCharArray()
strKeys = Session("ReportParameters").ToString().Split(char_Delimiter)
End If
If Not Session("ReportFilter") = Nothing Then
strReportFilter = Session("ReportFilter").ToString()
End If
Else
Session("DataTable") = Nothing
End If
If Not ViewParameterReport(strReportName, strKeys, strReportFilter, strError) Then
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Exit Sub
End If
Catch ex As Exception
strError.strMsg = Err.Description
ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
Finally
End Try
End Sub
Private Function ViewParameterReport(ByVal str_ReportName As String, ByVal str_ReportParameters() As String, ByVal strReportFilter As String, ByRef strError As structError) As Boolean
Dim str_ReportPath As String = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
Dim crLogInfo As TableLogOnInfo
Dim crConnectionInfo As ConnectionInfo
Try
str_ReportPath = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
o_Rpt = New CrystalDecisions.CrystalReports.Engine.ReportDocument
o_Rpt.Load(str_ReportPath & "\rpts\" & str_ReportName)
If Context.Session("DataTable") = "" Then
crLogInfo = New TableLogOnInfo()
crConnectionInfo = New ConnectionInfo()
crLogInfo = o_Rpt.Database.Tables(0).LogOnInfo
crConnectionInfo = o_Rpt.Database.Tables(0).LogOnInfo.ConnectionInfo
clsDbCnn.SetDBProperties()
crConnectionInfo.ServerName = clsDbCnn.Server
crConnectionInfo.DatabaseName = clsDbCnn.Database
crConnectionInfo.UserID = clsDbCnn.UserID
crConnectionInfo.Password = clsDbCnn.Password
crLogInfo.ConnectionInfo = crConnectionInfo
o_Rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
Else
ds_MISReports = New DataSet()
ds_MISReports = CType(Session("DataTable"), DataSet)
o_Rpt.SetDataSource(ds_MISReports)
End If
If Not IsPostBack Then
Dim param_Fields As CrystalDecisions.Shared.ParameterFields = New ParameterFields()
Dim iCount As Integer
If str_ReportParameters.GetUpperBound(0) <> 0 Then
For iCount = 0 To str_ReportParameters.Length - 1 Step 2
o_Rpt.SetParameterValue(CStr(str_ReportParameters(iCount).ToString()), CStr(str_ReportParameters(iCount + 1).ToString()))
Next
o_Rpt.RecordSelectionFormula = strReportFilter
End If
End If
'crViewer.DisplayGroupTree = False
'crViewer.ReportSource = o_Rpt
SetDBLogonForReport(crConnectionInfo, o_Rpt)
Dim TargetFileName As String
Dim fs As System.IO.FileStream
Dim FileSize As Long
Dim GenDS As DataSet
'Dim oRD As New ReportDocument()
Dim crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject()
Dim oExO As ExportOptions
Dim oExDo As New DiskFileDestinationOptions()
'Build Target Filename
TargetFileName = str_ReportPath & "\Pdfs\" & Session.SessionID & ".pdf"
'Export to PDF
oExDo.DiskFileName = TargetFileName
oExO = o_Rpt.ExportOptions
oExO.ExportDestinationType = ExportDestinationType.DiskFile
oExO.ExportFormatType = ExportFormatType.PortableDocFormat
oExO.DestinationOptions = oExDo
o_Rpt.Export()
o_Rpt.Close()
'Send the file to the user that made the request
Response.Clear()
Response.Buffer = True
Response.AddHeader("Content-Type", "application/pdf")
Response.AddHeader("Content-Disposition", "attachment;filename=MyReport.pdf;")
fs = New System.IO.FileStream(TargetFileName, IO.FileMode.Open)
FileSize = fs.Length
Dim bBuffer(CInt(FileSize)) As Byte
fs.Read(bBuffer, 0, CInt(FileSize))
fs.Close()
Response.BinaryWrite(bBuffer)
Response.Flush()
Response.Close()
o_Rpt = Nothing
Return True
Catch ex As Exception
strError.strMsg = Err.Description
Return False
Finally
crConnectionInfo = Nothing
crLogInfo = Nothing
End Try
End Function
Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, _
ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
Dim count As Integer
For count = 0 To myTables.Count - 1
Dim myTableLogonInfo As TableLogOnInfo = myTables(count).LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTables(count).ApplyLogOnInfo(myTableLogonInfo)
myTables(count).Location = myConnectionInfo.DatabaseName & ".dbo." & myTables(count).Location.Substring(myTables(count).Location.LastIndexOf(".") + 1)
myTables(count).LogOnInfo.ConnectionInfo.ServerName = myConnectionInfo.ServerName()
Next
End Sub -
Hello All,
Seem to be having a problem recently. Whenever I attach any external drive to my Desktop I receive the following error in Even Viewer. I never encrypted any of the drives in question with bitlocker.
Encrypted volume check: Volume information on \\?\Volume{7cc70383-5d6b-11e0-855c-001c25a5a540} cannot be read.
Event ID: 24620
And I cannot access my drive information. At first i thought it may be an issue with one of the drives I have partially encrypted with TrueCrypt but I tried several other unencrypted drives and I receive the same error and I cannot access the
data on my drives.
I tried to access the Bit Locker Recovery tool program (downloaded the VISTA Version since there was no Windows 7 Version that I could find), but it did not allow me to install the recovery tool to attempt some kind of fixing.
The strange thing is that I do not have Windows 7 Ultimate installed (which from what I understand is the only way to have Bitlocker). I have windows 7 professional and I never encrypted my drives with bitlocker, 1 out of the 3 drives is partially
encrypted with TrueCrypt, the other 2 are not encrypted with anything.
The stranger thing is that I can plug the external drives to another laptop and I can access the data fine with no problem or errors. I searched the forum for simliar problems, but did not see any responses with fixes to this issue.
The only thing I can think of is that my Desktop downloaded and installed a bunch of Windows Updates within the last 4-5 days.
heres is the update list
http://farm6.static.flickr.com/5304/5890096650_431b0f3627_b.jpg
Any assistance in attempting to figure this out would be appreciated.Hi,
According to the error message, it should use
BitLocker Repair Tool to fix it, refer:
http://technet.microsoft.com/en-us/library/cc734057(WS.10).aspx
What error message did you receive when you use BitLocker repair Tool?
I notice one drive is encrypted with TrueCrypt, please use that program to unencrypt the drive for test.
If it doesn’t work, since the issue didn’t appear before, you can try to perform a system restore to see the result.
Hope that helps.
Regards,
Leo
Huang
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Hi
I wonder if the Exists condition can be used in the CDS view (WHERE EXISTS (SELECT * FROM .... ) .
I actually never managed to used subqueries in any cds view so I wonder if this is a limitation for CDS view or if I just do not get the syntax right.
Thanks for any feedback and examples!
ChristelleHi, subqueries are not yet supported. In the CDS-editor you may press F1 and browse the documentation to find out what features are supported. You will not find an EXISTS there.
Maybe you are looking for
-
Camera Roll is not the same in Camera app vs Photos app ???
iPhone 4S issue... I just got a new iPhone 4S. Restored from a 3GS backup. I noticed yesterday that some of the photos that I took with the built-in Camera app aren't showing in the Camera Roll. Specifically, the last 3 pictures that I took plus a co
-
Hi, I am trying to figure out if I can "rip" my videos from Google+ and then save and brun them to a dvd can anyone help me please? Thanks
-
Prodcution Scheduling Profile for without material process order
Hello Gurus, I am creating process order without material and assigning Production Scheduling Profile in assignment tab. Production Scheduling Profile has release on creation activated in configure, but when I save process order its not released, it
-
Could you check your CRM system for a business role?
Hi Forum, i have difficulties getting my business partner from IS-U to CRM in an initial load because a business partner role is missing in CRM. The role is 'MKK' Contract Partner It exists in IS-U but not in my CRM. As i cannot create that role in C
-
Hi, This is very basic question. While defining the key-figure, we heve fields, 'Fixed Unit of Meas.' and 'Unit/Currency' in the 'Type/Unit' tab. Could any one can tell me that what is the difference between these two fields and its significance. Gen