EXP-00090:cannot pin type"SYSTEM"."REPCAT$_OBJECT_NULL_VECTOR"
Hi,
Can any one help please? We got this error from our full export script this morning. The script had been running successfully for several months, nothing has changed, the database is 10.1.0.3.0 and the export command which runs in a cronjob is:
exp system/systempwd grants=Y full=Y file=exp.dmp buffer=409600 statistics=none
I've tried to do some research on the error message but did not get anything helpful. The export terminated successfully with warnings.
thank you.
Pl post the complete error message from the export log. See if these MOS Docs can help
797319.1 - EXP-90 EXP-56 OCI-22303 Obtained During User Export When the Type is Invalid
133056.1 - EXP-90 EXP-56 OCI-22303 warning while exporting SYS schema
294543.1 - Export Aborts with EXP-0 and OCI-22303 (type "SYS"."AQ$_EVENT_MESSAGE" not found)
HTH
Srini
Similar Messages
-
Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)
I am getting the above error in c#. Please help me. Thanks in advance
public IDataReader ExecuteReader(CommandBehavior behavior)
string query = "select * from Sales.Store";
SqlConnection readerconn = new SqlConnection("Data Source=localhost;Initial Catalog=AdventureWorks2000;Integrated Security=SSPI");
SqlCommand readercmd = new SqlCommand(query);
try
readerconn.Open();
readercmd = readerconn.CreateCommand();
readercmd.CommandText = query;
readercmd.CommandType = System.Data.CommandType.Text;
SqlDataReader TestReader = readercmd.ExecuteReader();
return TestReader; //Getting error at this line
readerconn.Close();
catch (Exception e)
throw new Exception(e.Message);Hi,
Please firstly take a look at the documentation:
IDbCommand.ExecuteReader
Method
Users do not create an instance of a
DataReader class directly. Instead, they obtain the
DataReader through the
ExecuteReader method of the Command object. Therefore, you should mark
DataReader constructors as internal.
You need to use this method to get the IDataReader object, all the IDbCommand and IDataReader are in the Microsoft.ReportingServices.DataProcessing namespace. There's another IDataReader object which is in System.Data namespace, but they're actually two different
objects, that's why you got the exception.
For how to properly implement this Microsoft.ReportingServices.DataProcessing.IDataReader, please check this documentation:
Implementing a DataReader Class for a Data Processing Extension
It also provides code samples there.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
The error discussed in this post http://scn.sap.com/thread/1890650 seems to have crept back into SP12. The following code:
Using dbConnection As SqlConnection = GetNewSQLConnection()
.AddLoginInfo(dbConnection)
If TypeOf .Report Is IHasParameters Then
DirectCast(.Report, IHasParameters).ApplyParameterValues()
End If
If .Report.Rows.Count > 0 Then
.PrintToPrinter(.PrinterPageSettings.PrinterSettings.Copies, False, _
.PrinterPageSettings.PrinterSettings.FromPage, _
.PrinterPageSettings.PrinterSettings.ToPage)
Gives the error at If .Report.Rows.Count > 0
Type 'System.String' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed.
The report does contain a blob - I tried deleting it and dragging it from the table - again, but the same error appears before and after. The type of the Field object is IFieldBlob. Oddly enough, other reports that also contain this field, currently seem to be working, although we will have to revisit all of them now.
I am using VS2010 and SQL Server 2005.
Any help would be appreciated.Partial work-around:
''' <summary>
''' This function is a workaround of the Crystal Reports bug that causes a report with an image in it
''' to fail when the report is checked if it has data.
''' </summary>
''' <param name="Report">Report to check</param>
''' <returns>Number of rows in the report</returns>
''' <remarks>If the check throws an exception a value of one will be returned.</remarks>
Friend Function GetReportRowsCount(Report As ReportClass) As Integer
Try
Return Report.Rows.Count
Catch ex As Exception
My.Application.Log.WriteException(ex, TraceEventType.Warning, "GetReportRowsCount for " & Report.Name)
Return 1
End Try
End Function
I use this function in place of the check for Report.Rows.Count,
This allows most of my reports to work correctly, but allows the odd blank report with an image on it to print. Oddly enough, some of the older reports with logo's on them seem to work correctly. The newer ones run into this problem.
Neil -
Hello,
I'm having a problem when I try to load the WSDL file for the "Invoke Web Service" activity.
I'm trying to create a connection between Orchestrator 2012 R2 and Cisco Unified CM through a Web Services. When I click the WSDL file and I click the "Format Hint" button appears the following error "Object of type 'System.Int32' can not be
converted to type 'System.UInt64'."
The WSDL file that Cisco Unified CM I exported another work tools, tested and working well. In Orchestrator just gives the error.
Can anyone help with this?
Thank you
RuiHi,
You're going to have to use Get-AzureVM to get your specific VM object and then pipe it into Add-AzureDataDisk. See the examples here:
http://msdn.microsoft.com/en-us/library/windowsazure/dn495298.aspx
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing) -
Help: Windows cannot restore a system image to a computer with different firmware
I want to recover a complete image of a Windows 7 operating system I have backed up to my other server. But I am getting the error "Windows cannot restore a system image to a computer with different firmware. The System Image was created by a computer using BIOS and this computer is using EFI"
The image was definitely taken from this machine - the firmware has not changed!
What do I need to do to restore the image?
Background Story ..
I bought a new HP 255 laptop per-installed with Windows 7 without Operating Systems instal disks (I will NEVER be stupid enough to do that again!).
I took a complete image of the systems, as suggested so that I was well backed up.
However, my machine corrupted its operating systems with a few weeks. The boot recovery CD did not work (would not boot). So in desperation, and because time was short I went out and bought another, legitimate copy of Windows 7 DVD with a license key (So now I have 2, legitimate copies of the operating system!).
I installed the new copy of Windows 7 - but it was dreadful, because many drivers were missing. Mostly the missing drivers were not available on the HP support site for this machine. ALso, boot up was increadibly slow compared to the original OS installation.
So I created a new boot recovery disk from the new version of Windows, and tried to restore using that. New boot disk loads ok, I can find the old image on my network (after loading a few network drivers). But I won't instal the image - giving the above error message.
I tried deleting the EFI partition from the disk (using GPARTED to reformat that partition). That killed the Windows 7 on the machine - but still gives the same error message when I try to re-image the machine.
I have tried going into the BIOS settings .. HP 255 has a "Legacy Mode" - which I have enabled, but this makes no difference at all!
I think that the kind of solutions I am looking for might be:
1. There is a clever way of disabling EFI on my 255 so that it looks like a legacy BIOS machine, or
2. This EFI this is wired into my new boot recovery disk - and there is a way of creating a boot recovery disk that does not use EFI
This has taken me about 2 weeks so far,please help with any suggestions!DonOxley wrote:
Erico,
I suspect that "MSDOS" is what the Gparted tool calls "MBR" for a partition table, as explained here:
http://superuser.com/questions/700770/mbr-equals-msdos-for-gparted
I think that you are suggesting I give up on trying to recover the image I have stored on my server and just to instal Windows 7 from my new copy. There are two problems with this.
1. After having systematically downloaded all of the drivers from the HP 255 notebook support page, I am still seeing missing drivers listed. Install the AMD graphics softpaq driver first. It also contains the chipset drivers.
2. The machine is taking a hugely long time to boot up, and seems much slower with this version. Maybe that is a product of using "EFI" rather than "bios" - I don't know.
My assumption is that HP had some special set-up option with their version of Windows which makes the machine more performant. It does not seem to be a coincidence that the image they deliver the machine with is not quite compatible with a 'normal' Windows 7 instal.
So my original question stands: How do I recover the image that I saved away (as per instructed) when I first bough the machine?
You still have not said what you used to create the system image. What is the "image" file's extension?
You are mistaken in your comparison. MSDOS is an operating sytem MBR is a partitioning scheme. that is comparing apples to oranges.
The article is making an oblique reference in that using GPARTED is more or less equated to using the diskpart utility at the command line. Everything done at the comand line is essentially done by use of MSDOS commands. GPARTED does the same thing with LINUX commands via a graphical interface so you don't have to type in the commands in a Linux console.
Do you mean making a backup? a backup is not a clone which can be reproduced on different hardware. The SSD disk replacement does make the hardware differ from the original configuration.
Follow the instaructions on the following tutorial to make your disk a GPT type before installing.
http://www.disk-partition.com/articles/mbr-partition-table-to-gpt.html
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
Lucreate - Cannot make file systems for boot environment
Hello!
I'm trying to use LiveUpgrade to upgrade one "my" Sparc servers from Solaris 10 U5 to Solaris 10 U6. To do that, I first installed the patches listed on [Infodoc 72099|http://sunsolve.sun.com/search/document.do?assetkey=1-9-72099-1] and then installed SUNWlucfg, SUNWlur and SUNWluufrom the S10U6 sparc DVD iso. I then did:
--($ ~)-- time sudo env LC_ALL=C LANG=C PATH=/usr/bin:/bin:/sbin:/usr/sbin:$PATH lucreate -n S10U6_20081207 -m /:/dev/md/dsk/d200:ufs
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <d100> file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices
Updating system configuration files.
The device </dev/dsk/c1t1d0s0> is not a root device for any boot environment; cannot get BE ID.
Creating configuration for boot environment <S10U6_20081207>.
Source boot environment is <d100>.
Creating boot environment <S10U6_20081207>.
Creating file systems on boot environment <S10U6_20081207>.
Creating <ufs> file system for </> in zone <global> on </dev/md/dsk/d200>.
Mounting file systems for boot environment <S10U6_20081207>.
Calculating required sizes of file systems for boot environment <S10U6_20081207>.
ERROR: Cannot make file systems for boot environment <S10U6_20081207>.So the problem is:
ERROR: Cannot make file systems for boot environment <S10U6_20081207>.
Well - why's that?
I can do a "newfs /dev/md/dsk/d200" just fine.
When I try to remove the incomplete S10U6_20081207 BE, I get yet another error :(
/bin/nawk: can't open file /etc/lu/ICF.2
Quellcodezeilennummer 1
Boot environment <S10U6_20081207> deleted.I get this error consistently (I ran the lucreate many times now).
lucreate used to work fine, "once upon a time", when I brought the system from S10U4 to S10U5.
Would anyone maybe have an idea about what's broken there?
--($ ~)-- LC_ALL=C metastat
d200: Mirror
Submirror 0: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 31458321 blocks (15 GB)
d20: Submirror of d200
State: Okay
Size: 31458321 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s0 0 No Okay Yes
d100: Mirror
Submirror 0: d10
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 31458321 blocks (15 GB)
d10: Submirror of d100
State: Okay
Size: 31458321 blocks (15 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes
d201: Mirror
Submirror 0: d21
State: Okay
Submirror 1: d11
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2097414 blocks (1.0 GB)
d21: Submirror of d201
State: Okay
Size: 2097414 blocks (1.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s1 0 No Okay Yes
d11: Submirror of d201
State: Okay
Size: 2097414 blocks (1.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Okay Yes
hsp001: is empty
Device Relocation Information:
Device Reloc Device ID
c1t1d0 Yes id1,sd@THITACHI_DK32EJ-36NC_____434N5641
c1t0d0 Yes id1,sd@SSEAGATE_ST336607LSUN36G_3JA659W600007412LQFN
--($ ~)-- /bin/df -k | grep md
/dev/md/dsk/d100 15490539 10772770 4562864 71% /Thanks,
MichaelHello.
(sys01)root# devfsadm -Cv
(sys01)root# To be on the safe side, I even rebooted after having run devfsadm.
--($ ~)-- sudo env LC_ALL=C LANG=C lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
d100 yes yes yes no -
--($ ~)-- sudo env LC_ALL=C LANG=C lufslist d100
boot environment name: d100
This boot environment is currently active.
This boot environment will be active on next system boot.
Filesystem fstype device size Mounted on Mount Options
/dev/md/dsk/d100 ufs 16106660352 / logging
/dev/md/dsk/d201 swap 1073875968 - -In the rebooted system, I re-did the original lucreate:
<code>--($ ~)-- time sudo env LC_ALL=C LANG=C PATH=/usr/bin:/bin:/sbin:/usr/sbin:$PATH lucreate -n S10U6_20081207 -m /:/dev/md/dsk/d200:ufs</code>
Copying.
*{color:#ff0000}Excellent! It now works!{color}*
Thanks a lot,
Michael -
I need help in "HOW TO EXTEND THE DATA TYPE SYSTEM"......
Hi All,
I need to add new data type like SDO_GEOMETRY in spatial Oracle.
I don't mean the User-Defined Datatype but new datatype embed in the database.
I read the Data Cartridge Developer's Guide but it has info how to use more efficiently UDT through indexes.
Anybody used the “Type System” under Databases and Extensibility Services?
It might be written in C++ or Java but I do not know how.
Any hints and help will be appreciated.
Thanks,> In Figure 1-1 Oracle Services, there is a "Type System" as Oracle Services.
The "Type System" is merely a compartmentalising the data type handling and implementation code/modules in Oracle.
This covers all types. Oracle native types, user defined types (UDTs), etc.
Saying that you want to create a new type in the "Type System" is basically saying you want to use the CREATE TYPE SQL command in Oracle.
> So, I want new_type1 and new_type2 behave like other built-in types, just the way
SDO_GEOMETRY works in Oracle Spatial Cartridge.
Not familiar with the SDO_GEOMETRY. Why do you mention this type specifically? What do you want to do similar?
> I have already done it with user-defined types. Now I need to do this way so that I can
compare and contrast in terms of speed, space...etc for part of my research.
Hmm.. I'm not sure what you are trying to compare ito of a UDT and Data Cartridge extensions. It is not one or the other. What research is this if I may ask?
Simplistically you extend the Type System with a new UDT/ADT. And there you have a new type data can be used in the SQL Engine and the PL/SQL engine. The OCI (Oracle Call Interface) supports such types via the OCI object API calls - which means this new type can also be used from Oracle clients written in Delphi, C++, Java, etc.
That new type can be a complex type. This type may need specific management code (memory management, context management, internationalisation, etc). To support this you can extend the UDT/ADT further by developing Cartridge Basic Service interfaces for the type - designing and writing management code to, for example, support specific internationalisation requirements when dealing with multibyte character sets.
You can also extend the UDT/ADT to be custom managed ito indexing, determining query optimisation, computing costs of custom methods/functions/operators on this custom data type. These extensions are done by developing Data Cartridge interfaces for the type.
Thus I cannot see what you are trying to compare. It is not one layer/interface versus another. These layers exist for all Oracle types (in the Type System). Oracle not only allows you to add to the top layer by adding/defining a new data type. It also allows you to customise (if needed) the layers below it. -
Hi Concern,
I am using Client Site CSOM coding and getting error
Smart Parts user control detail is required and while converting throws error.
Cannot covert type ‘Microsoft.SharePoint.Client.WebParts.WebPart’ to ‘GenericSmartPart.SmartPart’
Code is associted as problem.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.WebParts;
using Microsoft.SharePoint.Client.Utilities;
using System.Data;
namespace TrainingCsharp
class Class1
public void print()
// Starting with ClientContext, the constructor requires a URL to the
// server running SharePoint.
using (ClientContext context = new ClientContext("Site URL "))
// The SharePoint web at the URL.
Web web = context.Web;
// We want to retrieve the web's properties.
// context.Load(web, w => w.Title, w => w.Description);
context.Load(web, w => w.Title, w => w.Description, w => w.ServerRelativeUrl);
context.ExecuteQuery();
string sUrl= web.ServerRelativeUrl;
File oFile = context.Web.GetFileByServerRelativeUrl(sUrl+"/Pages/default.aspx");
LimitedWebPartManager limitedWebPartManager = oFile.GetLimitedWebPartManager(PersonalizationScope.Shared);
context.Load(limitedWebPartManager.WebParts,
wps => wps.Include(
wp => wp.WebPart.Title, wp => wp.WebPart.ZoneIndex ));
context.ExecuteQuery();
int count = limitedWebPartManager.WebParts.Count;
string[] arr, arr1;
if (count == 0)
Console.WriteLine("No Web Parts on this page.");
else
arr = new string[count];
arr1 = new string[count];
string sControlName = null;
for (int i = 0; i < count; i++)
WebPartDefinition oWebPartDefinition = limitedWebPartManager.WebParts[i];
WebPart oWebPart = oWebPartDefinition.WebPart;
arr[i] = oWebPart.Title;
if (arr[i].ToLower().Contains("generic"))
sControlName = ((GenericSmartPart.SmartPart)(oWebPart)).UserControlPath;
//else if (arr[i].ToLower().Contains("smartpart"))
//sControlName = ((SmartPart.SmartPart)(oWebPart)).UserControl;
//else if (arr[i].EndsWith("ListViewWebPart"))
//sControlName = ((Microsoft.SharePoint.Client.ListItemCollection)(oWebPart)).ListName;
//else if (arr[i].StartsWith("Microsoft.SharePoint.WebPartPages."))
//sControlName = arr[i].Length > 34 ? arr[i].Substring(34) : "";
//else
//sControlName = "";
arr1[i] = Convert.ToString(oWebPart.ZoneIndex);
Console.Write(arr[i] + " ");
Console.WriteLine("Position" + arr1[i]);
// ctx.ExecuteQuery();
List announcementsList = context.Web.Lists.GetByTitle("Announcements");
// This creates a CamlQuery that has a RowLimit of 100, and also specifies Scope="RecursiveAll"
// so that it grabs all list items, regardless of the folder they are in.
CamlQuery query = CamlQuery.CreateAllItemsQuery(1000);
ListItemCollection items = announcementsList.GetItems(query);
// Retrieve all items in the ListItemCollection from List.GetItems(Query).
context.Load(items,
itema => itema.Include(
item => item,
item => item["Title"],
item => item["Expires"],
item => item["Body"],
item => item.FieldValuesAsText["Body"],
item => item["Author"],
item => item["Editor"]
context.ExecuteQuery();
foreach (ListItem listItem in items)
// We have all the list item data. For example, Title.
Console.WriteLine("Title" + listItem["Title"]+ " ");
Console.WriteLine("Body" + listItem["Body"] != null ? Convert.ToString(listItem.FieldValuesAsText["Body"]) : string.Empty + " ");
Console.WriteLine("Expires " + Convert.ToDateTime(listItem["Expires"] + " "));
FieldUserValue oValue = listItem["Author"] as FieldUserValue;
String strAuthorName = oValue.LookupValue;
Console.WriteLine("Created at " + strAuthorName + " ");
FieldUserValue oValue1 = listItem["Editor"] as FieldUserValue;
String strAuthorName1 = oValue1.LookupValue;
Console.WriteLine("Last Modified " + strAuthorName1);
//Console.ReadKey();
DataTable table = new DataTable();
table.Columns.Add("Title");
table.Columns.Add("Body");
table.Columns.Add("Expires");
table.Columns.Add("Author");
table.Columns.Add("Editor");
foreach (ListItem listItem in items)
FieldUserValue oValue = listItem["Author"] as FieldUserValue;
String strAuthorName = oValue.LookupValue;
FieldUserValue oValue1 = listItem["Editor"] as FieldUserValue;
String strAuthorName1 = oValue1.LookupValue;
table.Rows.Add(listItem["Title"],listItem["Body"],Convert.ToDateTime(listItem["Expires"]),strAuthorName,strAuthorName1);
//datagrid.DataSource = table;
//ctx.ExecuteQuery();
List EventsList = context.Web.Lists.GetByTitle("Event Calendar");
// This creates a CamlQuery that has a RowLimit of 100, and also specifies Scope="RecursiveAll"
// so that it grabs all list items, regardless of the folder they are in.
CamlQuery queryEvent = CamlQuery.CreateAllItemsQuery(1000);
ListItemCollection itemsEvent = EventsList.GetItems(queryEvent);
// Retrieve all items in the ListItemCollection from List.GetItems(Query).
context.Load(itemsEvent,
itema => itema.Include(
item => item,
item => item["Title"],
item => item["Location"],
item => item["EventDate"],
item => item["EndDate"],
item => item["Description"],
item => item.FieldValuesAsText["Description"],
item => item["Event_x0020_Contact"],
item => item["Event_x0020_Category"],
item => item["Inhouse_x0020__x002f__x0020_Exte"],
item => item["Expires_x0020_On"],
item => item["Author"],
item => item["Editor"]
context.ExecuteQuery();
foreach (ListItem listItemEvent in itemsEvent)
// We have all the list item data. For example, Title.
Console.WriteLine("Items of Events to be Printed");
Console.WriteLine("Title: " + listItemEvent["Title"] + " ");
Console.WriteLine("Title: " + listItemEvent["Location"] + " ");
Console.WriteLine("Event Date: " + Convert.ToDateTime(listItemEvent["EventDate"] + " "));
Console.WriteLine("End Date: " + Convert.ToDateTime(listItemEvent["EndDate"] + " "));
string sDescription = listItemEvent["Description"] != null ? Convert.ToString(listItemEvent.FieldValuesAsText["Description"]) : "";
Console.WriteLine("Description: " + sDescription);
Console.WriteLine("Event Contact: " + listItemEvent["Event_x0020_Contact"] + " ");
Console.WriteLine("Event Category: " + listItemEvent["Event_x0020_Category"] + " ");
Console.WriteLine("Inhouse / External: " + listItemEvent["Inhouse_x0020__x002f__x0020_Exte"]);
Console.WriteLine("Expires: " + Convert.ToDateTime(listItemEvent["Expires_x0020_On"]));
FieldUserValue oAuthor = listItemEvent["Author"] as FieldUserValue;
String sAuthor = oAuthor.LookupValue;
Console.WriteLine("Author: " + sAuthor);
FieldUserValue oEditor = listItemEvent["Editor"] as FieldUserValue;
String sEditor = oEditor.LookupValue;
Console.WriteLine("Editor: " + sEditor);
//Console.ReadKey();
DataTable tableEvents1 = new DataTable();
tableEvents1.Columns.Add("Title");
tableEvents1.Columns.Add("Location");
tableEvents1.Columns.Add("EventDate");
tableEvents1.Columns.Add("EndDate");
tableEvents1.Columns.Add("Description");
tableEvents1.Columns.Add("Event Category");
tableEvents1.Columns.Add("Event Contact");
tableEvents1.Columns.Add("Inhouse / External");
tableEvents1.Columns.Add("Expires On");
tableEvents1.Columns.Add("Author");
tableEvents1.Columns.Add("Editor");
foreach (ListItem listItemEvent in itemsEvent)
FieldUserValue oValue = listItemEvent["Author"] as FieldUserValue;
String strAuthorName = oValue.LookupValue;
FieldUserValue oValue1 = listItemEvent["Editor"] as FieldUserValue;
String strAuthorName1 = oValue1.LookupValue;
tableEvents1.Rows.Add(listItemEvent["Title"]
, listItemEvent["Location"]
,Convert.ToDateTime(listItemEvent["EventDate"])
, Convert.ToDateTime(listItemEvent["EndDate"]), listItemEvent["Description"],
listItemEvent["Event_x0020_Category"],listItemEvent["Event_x0020_Contact"],listItemEvent["Inhouse_x0020__x002f__x0020_Exte"]
,Convert.ToDateTime(listItemEvent["Expires_x0020_On"])
,strAuthorName,strAuthorName1);
//datagrid.DataSource = table;
// ctx.ExecuteQuery();Hi,
Would you mind providing more details about why you want to perform the type conversion?
According to your code, you might want to retrieve some properties of a web part in a page, please check that whether the built-in properties of
Microsoft.SharePoint.Client.WebParts.WebPart can fulfill your requirement.
WebPart members
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.webparts.webpart_members(v=office.15).ASPX
Feel free to reply if there are still any questions.
Best regards
Patrick Liang
TechNet Community Support -
Cannot see BI system in search
Hi experts,
I have configured BI backend system from CE portal and the connection test is successful. However, after I configured, I logged into VC and cannot find BI system I configured in "Search" drop-down list. I can only see Web service destination and RFC destination. What shall I do to solve it? Did I lose any step? I followed the configuration guide from here "http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm".
Best Regards
TomHi Tom,
I have never made a connection to BI or any SAP System but a JDBC connection from the portal and did all the necessary steps, even though the test connection did not succeed, I could still see the system in VC.
In your steps, I do miss step 6 of the documentation, did you do this as well, may this is something which is required?
6. Maintain the properties in the following categories:
○ BI/Business Intelligence
■ BI Directory Provider: yes
■ BI Master System: yes
One of the connected BI systems has to be the BI master system. If you are only connecting one BI system, choose Yes. If you are connecting more than one BI system, choose Yes for one system and No for the remaining system.
○ Connector
■ Group: Logon group of back-end system
■ Message Server: Message server of back-end system
■ Remote Host Type: 3
■ SAP Client: Client of back-end system
■ SAP System ID (SID): System ID of back-end system
■ System Type: SAP_BW
You can find the values for the logon group, system ID, and message server from the properties in the SAPGUI logon for the BI back-end system.
Best regards,
Dharmi -
Notification rule of type "system" in OEM 11g
Having used OEM 10g I'm now using 11g. When I create a new notification rule one of the options is to use a type of system, as I have a system defined I thought "oh goody that will be useful !" unfortunately not as there is no option to add metrics policies jobs etc and so we get "Availability, Metrics, Policies, Jobs - No availability, metrics, policies, or jobs selected." and cannot create this type of rule.
What is the point of having the option to create a notification rule of type system ?
Ahh I worked it out each notification rule must be of a specific type but can be applied to all targets of that type within a specified system.
Is there a white paper that talks about best proctices for monitoring a huge system so that alerts and notifications are consistent and we dont need a small army of administrators trying to keep everything in step ?.
Edited by: Robin on Mar 31, 2011 3:39 PMHi Krrrishna,
>> And when user clicks back button here, i want to navigate the user to Home page
Per my understanding, you are using the incorrect way to handle the hardware back button click. Try to add the following code snippet to your home page.
In windows phone 8.1 runtime app,
HardwareButtons.BackPressed += HardwareButtons_BackPressed;
void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
e.Handled = true;
Frame.Navigate(typeof(yourhomepage));
In windows phone 8 app, handle OnBackKeyPress event in Message.xaml like the following.
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
e.Cancel = true;
NavigationService.Navigate(new Uri("yourhomepage", UriKind.Relative));
Please try it and let me know the result. If this not help, please post more information about your scenario.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Cannot open mailbox system attendand- randomly
Hello,
our environment have Exchange 2013 with CU7 installed, and lately receive weird problem that is not persistent but it unexplained.
All databases mounted that are in DAG, all arbitration mailboxes good, in ADSIEDIT checked homeMDB, and it is not set, however, i dont know is this relevant because sometimes is failing, sometimes is success.
When we run user creation we randomly get error:
Cannot open mailbox /o=ORGANIZATION/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SERVER/cn=Microsoft System Attendant. CategoryInfo: NotSpecified: (:) [Set-MailboxRegionalConfiguration],
MailboxUnavailableException, FullyQualifiedErrorId: [Server=SERVER,RequestId=ba479b62-bda0-4c55-9347-9279f6121d62,TimeStamp=3/18/2015 7:57:29 PM] [FailureCategory=Cmdlet-MailboxUnavailableException] 45AC6FDA,Microsoft.Exchange.Management.StoreTasks.SetMailboxRegionalConfiguration
Googled many answers, tried many workarounds, and I'm out of ideas now, so any suggestion will be more than welcome!
Thanks,
IvicaWell, i would do that, except that Exchange 2013 don't have System attendant service.
Also, we have 6 databases, how do i know which one to put in homeMDB field?
I did as you instructed anyway for test and still receive error:
<?xml version="1.0"?>
<Objects>
<Object Type="System.Management.Automation.PSCustomObject">
<Property Name="message" Type="System.String">Can't create user</Property>
<Property Name="detailMessage" Type="System.String">Cannot open mailbox /o=secureemail/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SERVER/cn=Microsoft System Attendant. CategoryInfo:
NotSpecified: (:) [Set-MailboxRegionalConfiguration], StorageTransientException, FullyQualifiedErrorId: [Server=SERVER,RequestId=557e3eb8-ddbb-44c9aab1-d18c0682beb5,TimeStamp=3/19/2015 2:45:32 PM] [FailureCategory=Cmdlet-StorageTransientException] 2CC71ED6,Microsoft.Excha
nge.Management.StoreTasks.SetMailboxRegionalConfiguration</Property>
<Property Name="responseCode" Type="System.String">400</Property>
</Object>
</Objects>
Keep in mind that servers are in remote AD sites, replication and AD health is good!
This is script that is failing:
$ErrorActionPreference = "Stop";
try{
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
$OrganizationName = "[email protected]" #User defined mail address
$organizationUnit = "OU=$OrganizationName,OU=users,DC=domain,DC=priv";
$name = "John"
#this should be asked in web interface (firstname)
$lastname = "Dpe"
#this should be asked in web interface (lastname)
$displayName = "John Doe" # this is display name in OWA and in all address books
$logonName = "john" # this will be users choosen logon name (before @externaldomain.com)
$ExternalDomain = "example.com" #this value user will enter as his wanted username and will use it together with his external domain name [email protected]
$UPN = "$LogonName@$ExternalDomain" #this should remain to be done automatically and under assumption domain is provisioned!!
$DomainController = "server" #this value must be specified based on domain controller in AD site where user will be created
$nonadmin = "$OrganizationName All Users"; #This is field for entire tenant management and members are used for calendar sharing
$database = "database"
$retentionPolicy = "DoNotRemove"
$customattribute1 = "$OrganizationName" #Add for possible manipulation of tenants for future need
$customattribute2 = "ServiceID"
$customattribute3 = "ContactID"
$customattribute4 = "ClientID"
$password =ConvertTo-SecureString 'Password123' -AsPlainText -Force
$mailbox = New-Mailbox -DomainController "$DomainController" -RetentionPolicy $retentionPolicy -UserPrincipalName $UPN -Name "$name $lastname" -OrganizationalUnit "$organizationUnit" -Password $password -FirstName "$name"
-LastName "$lastname" -Displayname "$Displayname" -database $database -ResetPasswordOnNextLogon $false #This is part where user is created
Start-Sleep -s 2;
Add-DistributionGroupMember -Identity "$nonadmin" -Member "$UPN" -BypassSecurityGroupManagerCheck -DomainController "$DomainController" #at this line user is placed in distribution group and
that group is used for additional security
Start-Sleep -s 2;
Set-Mailbox -AddressBookPolicy "$OrganizationName ABP" -Identity "$UPN" -DomainController "$DomainController" #from this point user gets his address book and isolation part.
Set-Mailbox -Identity "$UPN" -DomainController "$DomainController" -EmailAddressPolicyEnabled:$False #disables force of address policy
Set-Mailbox -identity "$UPN" -PrimarySmtpAddress $UPN -DomainController "$DomainController" ; #assigns default mail address
Start-Sleep -s 2;
Set-CASMailbox -identity "$UPN" -OwaMailboxPolicy Default -DomainController "$DomainController" #In this policy it is defined that user cant manage his password, as any future change will be managed globally here and automatically
applied to all users
Set-MailboxRegionalConfiguration -Identity "$UPN" -Language en-us -DomainController "$DomainController" -Confirm:$False
Set-MailboxFolderPermission -identity ${UPN}:\calendar -User default -accessrights none -DomainController "$DomainController"
add-MailboxFolderPermission -Identity ${UPN}:\calendar -user "$nonadmin" -AccessRights AvailabilityOnly -DomainController "$DomainController" #only members of classic users can see free/busy
set-mailbox -identity $UPN -customattribute1 $customattribute1 -customattribute2 $customattribute2 -customattribute3 $customattribute3 -customattribute4 $customattribute4 -DomainController "$DomainController"
$mailbox | Set-CasMailbox -DomainController "$DomainController" -ActiveSyncEnabled $true -PopEnabled $true -ImapEnabled $true -OWAEnabled $true -MAPIEnabled $true; #adding script for created user to be returned after creation -
Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
I am using the production release of Jdeveloper11GReproduced and filed bug# 7487124
The workaround is to add a custom converter class to your ViewController project like this
package oow2008.view;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import oracle.jbo.domain.ClobDomain;
import oracle.jbo.domain.DataCreationException;
public class ClobConverter implements Converter {
public Object getAsObject(FacesContext facesContext,
UIComponent uIComponent,
String string) {
try {
return string != null ? new ClobDomain(string) : null;
} catch (DataCreationException dce) {
dce.setAppendCodes(false);
FacesMessage fm =
new FacesMessage(FacesMessage.SEVERITY_ERROR,
"Invalid Clob Value",
dce.getMessage());
throw new ConverterException(fm);
public String getAsString(FacesContext facesContext,
UIComponent uIComponent,
Object object) {
return object != null ?
object.toString() :
null;
}then to register the converter in faces-config.xml like this
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
<application>
<default-render-kit-id>oracle.adf.rich</default-render-kit-id>
</application>
<converter>
<converter-id>clobConverter</converter-id>
<converter-class>oow2008.view.ClobConverter</converter-class>
</converter>
</faces-config>then reference this converter in the field for the ClobDomain value like this
<af:inputText value="#{bindings.Description.inputValue}"
label="#{bindings.Description.hints.label}"
required="#{bindings.Description.hints.mandatory}"
columns="40"
maximumLength="#{bindings.Description.hints.precision}"
shortDesc="#{bindings.Description.hints.tooltip}"
wrap="soft" rows="10">
<f:validator binding="#{bindings.Description.validator}"/>
<f:converter converterId="clobConverter"/>
</af:inputText> -
Need help to trace the place where error occuring in Web UI of type System
Hi All,
Need help to trace the place where error occurring in Web UI of type System error,
this error coming while saving the corporate account creation,
error message description : - System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_SEGMENT
System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_CLASS-CP
thanking you.
Best Regards,
VijHydHi Nagaraj,
See that the mandatory SICF setting are enabled or Active in the SICF Services. Follow the steps as below:-
Enter the TCode SICF
Execute the same for Hierarchy Type SICF.
Check the following SAP Note 1295006.
If every thing is Active then, the IC Agent role will open.
Still if it is not opening Let me know.
regards,
Sarangamath -
Hello experts,
I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
while (allFiles.Contains(tempFileName ))
tempFileName = String.Format("{0} ({1})", fileName, count++);
output = Path.Combine(folderPath, tempFileName );
string fullPath=output + ".xml";
However, it gives the following compilation errors
for the Select and Contain methods respectively.:
'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
(are you missing a using directive or an assembly reference?)
'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
found (are you missing a using directive or an assembly reference?)
I googled on these errors, and people suggested to add using System.Linq;
I did, but the errors persist.
Any help and information is greatly appreciated.
P. S. Here are the using clauses I have:
using System;
using System.Data;
using System.Windows.Forms;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Linq;Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace consAppFileManipulation
class Program
static void Main(string[] args)
string fullPath = @"c:\temp\trace.log";
string folderPath = @"c:\temp\";
string fileName = "trace.log";
string output = "";
string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
string extension = Path.GetExtension(fullPath);
string path = Path.GetDirectoryName(fullPath);
string newFullPath = fullPath;
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
//THIS IS AN INFINITE LOOP
while (allFiles.Contains(fileNameOnly))
tempFileName = String.Format("{0} ({1})", fileName, count++);
//THIS CODE IS NEVER REACHED
output = Path.Combine(folderPath, tempFileName);
fullPath = output + ".xml";
//string fullPath = output + ".xml";
UML, then code -
SharePoint 2010 -
I have created a console utility that further calls the stsadm.exe to Export sites from one site collection in a DB to another site collection in another DB of the same web application.
Export works fine. But during Import, I get the following errors
[ListItem] [Admin] Progress: Importing
[ListItem] [Admin] Verbose: List URL: /pwa1/GTR/7 GTR Programme
[ListItem] [Hol plans.xls] Progress: Importing
[ListItem] [Hol plans.xls] Verbose: List URL: /pwa1/GTR/7 GTR Programme
[ListItem] [Time.doc] Progress: Importing
[ListItem] [Time.doc] Verbose: List URL: /pwa1/GTR/7 GTR Programme
[ListItem] [AP Docs] Progress: Importing
[ListItem] [AP Docs] Verbose: List URL: /pwa1/GTR/7 GTR Programme
[ListItem] [Update - June 27th.pdf] Progress: Importing
[ListItem] [Update - June 27th.pdf] Verbose: List URL: /pwa1/GTR/7 GTR Programme
[ListItem] [Update - June 27th.pdf] Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
[ListItem] [Update - June 27th.pdf] Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
[ListItem] [Update - June 27th.pdf] Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
FatalError: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Progress: Import did not complete.
1. Does the console application treated as a Sandbox Solution?
2. Do I need to configure CAS policy in wss_usercode.config? and what?
3. What else could be configured to make this work?
I have tried adding the following in wss_custom_minimaltrust.config but no avail.
<SecurityClass Name="SqlClientPermission" Description="System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
and
<PermissionSet
class="NamedPermissionSet"
version="1"
Name="SPRestricted">
<IPermission
class="SqlClientPermission"
version="1"
Unrestricted="true"
/>
<!-- Other IPermission -->
</PermissionSet>
UPDATE: It has been observed that the issue is intermittent. That is, sometimes the import works fine (event without any configuration of SqlClientPermission in any config file) but sometimes it gives the above error. I'm stuck!
Regards, Amit GuptaHi,
According to your post, my understanding is that you get Error “Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
Simple solution is to change the trust the trust level to FULL: <trust level="[Full]" originUrl="URL" />
In addition, you can modify the wss_mediumtrust.config and wss_minimaltrust.config file under the path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG”.
For more information, you can refer to:
http://blogs.msdn.com/b/navdeepm/archive/2010/02/19/system-security-securityexception-request-for-the-permission-of-type-system-data-sqlclient-sqlclientpermission-system-data-version-2-0-0-0-culture-neutral-publickeytoken-b77a5c561934e089-failed.aspx
http://www.fewlines4biju.com/2011/01/request-for-permission-of-type_18.html
http://techsolutions-at-desk.blogspot.com/2011/08/request-for-permission-of-type.html
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support
Maybe you are looking for
-
IPhone 5 - Voice Memos won't sync.. Tried EVERYTHING!
I have alot of Voice memo recordings of classes and lectures that I need on my computer. The last time memos successfully synced was in February, and even then, not ALL of the memos synced, only some of them. I have the "sync" memos tab checked but n
-
I have several pics in my iphoto library that have shown up in my folders with the original photo laid underneath it. How do I seperate them?
-
Can I buy laptop with free ipod touch for family member in school?
I bought a macbook pro for my sister-in-law who is in college on the online store using the education discount. We figured she'd take the ipod touch as well. After purchasing, I noticed that only Parents are eligible for the discount. How is this goi
-
Calling Concurrent Manager from VB
Not really sure where to post this, but here goes.. Using VB6/Win2K, I need to : a. Connect to the Oracle OS b. Submit a call to the ORA Concurrent Manager to run a procedure. I'm in unfamiliar territory here. Has anyone ever done anything like this,
-
IBM java1.5 dosen't work on firefox3.6beta5
I have install 2 kind of java, from SUN and IBM,both of them can work through IE. but there seems something happen for firefox and it can't work properly.on IBM java console interface,i have set it to use firefox.and in add-on,i have disable the java