How to resolve this Query builder error - runtime-error

I am new to CRM 365. I were creating many cases since last 2 days and tried editing the phone to case business process flow. Since then whether I create a new case or else I try to view any case I get a Query builder error. And the downloaded text file specifies this message "'Incident' entity doesn't contain attribute with Name = 'IncidentResolution_LinkControl'."
Context is dynamics CRM 365. Please help anyone?
Text file below:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3BA08A21Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ActivityId>3ce940dd-a4a8-4e61-a4da-051a35f5ab9e</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3BA08A21</Message>
<Timestamp>2016-12-22T06:10:30.7389644Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>3ce940dd-a4a8-4e61-a4da-051a35f5ab9e</ActivityId>
<ErrorCode>-2147217149</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>'Incident' entity doesn't contain attribute with Name = 'IncidentResolution_LinkControl'.</Message>
<Timestamp>2016-12-22T06:10:30.7389644Z</Timestamp>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

I resolved this by removing the last step and replacing it by another step. (not resolve case) . But rather I added CSAT survey step.

Related

Getting BitcoinLib Error = "One or more required parameters, as defined in CoinParameters, were not found in the configuration file!"

I'm using BitcoinLib in my ASP.NET Core (v2) Web Api project. However, whenever I try to instantiate the service:
var bitcoinService = new BitcoinLib.Services.Coins.Bitcoin
.BitcoinService(appSettings.BitcoinSettings.ServerUrl,
appSettings.BitcoinSettings.Username,
appSettings.BitcoinSettings.Password,
appSettings.BitcoinSettings.WalletPassword);
I get the error:
One or more required parameters, as defined in CoinParameters, were not found in the configuration file!
I verified that the values that are being passed in are not null and correct, I've even added the settings to my web.config:
<configuration>
<appSettings>
<add key="RpcRequestTimeoutInSeconds" value="60" />
<add key="Bitcoin_DaemonUrl" value="http://localhost:18332" />
<add key="Bitcoin_DaemonUrl_Testnet" value="http://localhost:18332" />
<add key="Bitcoin_WalletPassword" value="X" />
<add key="Bitcoin_RpcUsername" value="X" />
<add key="Bitcoin_RpcPassword" value="X" />
</appSettings>
...
Nothing works... do I need to fork this thing and remove that IgnoreConfigFiles check or am I doing something wrong here?
The exception showing was a misdirection... the actual problem was with rpcRequestTimeoutInSeconds. The library needs to have an overload like this:
BitcoinService(string daemonUrl, string rpcUsername, string rpcPassword, string walletPassword, short rpcRequestTimeoutInSeconds)
It looks like the NuGet package is missing it? As I can see it in the code...
More info here:
https://github.com/GeorgeKimionis/BitcoinLib/issues/42
I did create a .NET Core compatible one here:
https://github.com/SaganMarketing/BitcoinLib
You can get a package here:
https://www.myget.org/feed/saganmarketing/package/nuget/BitcoinLib

odp.net ora-12154:TNS:Could not resolve the connect identifier specified

I am trying to create entity fm on asp.net MVC 5 with existing oracle database.I installed Oracle.ManageDataAccess & Entity client from nuget pm. But I am still getting this error when try to create entity framwork using ADO.NET.
TNS:Could not resolve the connect identifier specified
Here is I have done in web.config with related Oracle Client and connectionString:
<oracle.manageddataaccess.client>
<version number="*">
<settings>
<setting name="TNS_ADMIN" value="C:\app\tcetin\product\12.1.0\dbhome_1\NETWORK\ADMIN" />
</settings>
<dataSources>
<dataSource alias="SptsDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=******)(PORT=1521))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=*****)))" />
</dataSources>
</version>
</oracle.manageddataaccess.client>
<connectionStrings>
<add name="OracleDbContext" providerName="Oracle.ManagedDataAccess.Client" connectionString="User Id=****;Password=*****;Data Source=SptsDataSource" />
</connectionStrings>
How can I solve this issue?
Thanks
I don't think this is your problem, but you are referencing a TNS_ADMIN, but then specifying your datasource directly. You shouldn't need the TNS_ADMIN part when specifying the datasource directly. My guess is your datasource definition isn't quite right.

CodeSmith.Insight.ClientError CodeSmith 5.2

Can someone help me with this problem?. I have been having with CodeSmith 5.2. Not sure if I messed up something with visual studio..I just right click and manage or Generate output and this error occurs
If I try to open CodeSmithapplication and debug separately through CodeSmith studio, then it generates the .cs and generated.cs files correctly. Only when it is in the application and I right click to generate outputs, this error occurs.
Why is it complaining about Env_DTE?
This the error I am getting
<?xml version="1.0" encoding="utf-16"?>
<CaseReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.codesmithtools.com/insight/v2">
<MessageSignature i:nil="true" />
<ProjectId>24</ProjectId>
<Description i:nil="true" />
<IsDescriptionHtml>false</IsDescriptionHtml>
<MessageDate>2016-02-02T16:47:53.7606242-06:00</MessageDate>
<MessageIdentifier>95e884f0-eb58-42e2-8bcc-e52d23909897</MessageIdentifier>
<Attachments />
<CaseType>CrashReport</CaseType>
<ClientVersion>1.0.0.10642</ClientVersion>
<CustomFields>
<CustomField>
<Key>Platform</Key>
<Value>Microsoft Windows NT 6.2.9200.0, (x64)</Value>
</CustomField>
<CustomField>
<Key>Version</Key>
<Value>1.0.0.10642</Value>
</CustomField>
<CustomField>
<Key>AssemblyFileVersion</Key>
<Value>5.2.1.10970</Value>
</CustomField>
</CustomFields>
<ExceptionDetail>
<Description>System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
at EnvDTE.Document.get_Kind()
at CodeSmith.VisualStudio.Package.Services.ProjectService.SaveAll()
at CodeSmith.VisualStudio.Package.Commands.GenerateOutputsCommand.Invoke(Object inArg, IntPtr outArg)</Description>
<ErrorCode i:nil="true" />
<ExceptionTypeName>System.NotImplementedException</ExceptionTypeName>
<ExceptionXml><?xml version="1.0" encoding="utf-16"?><object name="NotImplementedException" namespace="System" xmlns="http://schemas.codesmithtools.com/insight/objectdata" /></ExceptionXml>
<InnerException i:nil="true" />
<Message>Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</Message>
<MethodName>get_Kind</MethodName>
<ModuleName>EnvDTE</ModuleName>
<ModuleVersion>8.0.0.0</ModuleVersion>
<Source></Source>
<StackTrace> at EnvDTE.Document.get_Kind()
at CodeSmith.VisualStudio.Package.Services.ProjectService.SaveAll()
at CodeSmith.VisualStudio.Package.Commands.GenerateOutputsCommand.Invoke(Object inArg, IntPtr outArg)</StackTrace>
</ExceptionDetail>
<ReportHash>68c99a55f4cd2227874d69af3245f8d575cb31c1</ReportHash>
<Tags>
<string>Package</string>
<string>Package</string>
</Tags>
<Title>Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))</Title>
</CaseReport>
I work for CodeSmith. I believe you are using an old version of 5.x and this was probably fixed in 5.3 of Generator. I'd upgrade to that version free of charge and try it. Also, I'd highly recommend upgrading to 7.x as we've completely rewrote most of the components and fixed a TON of bugs and added many new features while being backward compat.

Error 175: The specified store provider cannot be found in the configuration, or is not valid. SQLlite

I have joined to existed project, and when try to build solution get Error 175: The specified data store provider cannot be found, or is not valid. in few projects. All of that are linked to different edmx files, and in all files all code after <edmx:StorageModels> are marked as error.
Example of edmx file:
<edmx:StorageModels>
<Schema Namespace="AWareDBModel.Store" Alias="Self" Provider="System.Data.SQLite" ProviderManifestToken="ISO8601" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<EntityContainer Name="AWareDBModelStoreContainer">
p.s I am using vs 2012
I am not sure that is correct, but I have pasted this line
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"/>
to C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config and error disappear

ASP.NET Could not load type 'System.String'

Has anyone ever seen an issue with an ASP.NET websuite blows up on initial login, complaining about a system.string type in the profile that is defined in the web.config.
More Info:
Server Error in '/abc' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Attempting to load this property's type resulted in the following error: Could not load type 'System.String'.
Source Error:
Line 222: </providers>
Line 223: <properties>
Line 224: <add name="FirstName" type="System.String"/>
Line 225: <add name="LastName" type="System.String"/>
Line 226: <add name="DriverCode" type="System.String"/>
Source File: d:\Inetpub\wwwroot\abc\web.config Line: 224
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I haven't seen that, but the docs say that System.String is the default, so try just removing the type part.
Have a look at this Q&A: Using a profile property of type List in .NET Membership
Try to add a fully qualified assembly name, like:
<add name="MyString" type="System.string, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
That made it work for me.

Resources