Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

System.NotImplementedException Problem

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • System.NotImplementedException Problem
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SmartConnector Forum
Solved
Kanber
Commander | EcoXpert Master Kanber Commander | EcoXpert Master
Commander | EcoXpert Master

Posted: ‎2019-09-11 12:54 AM

0 Likes
4
1079
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-11 12:54 AM

System.NotImplementedException Problem

Hi,

 

I made a extension and test extension. but when I tried Execute Test/Debug Selected Test I am getting error:

 

"An exception of type 'System.NotImplementedException' occurred in Hbys.Extension.Test.dll but was not handled in user code"

 

I added to app.config ;

 

<connectionStrings>
<add name="SmartConnectorDb" providerName="System.Data.SqlClient" connectionString="Server=localhost\SQLEXPRESS;Database=SmartConnector.Service;User Id=sa;Password=123456" />
<add name="SmartConnectorUserDb" providerName="System.Data.SqlClient" connectionString="Server=localhost\SQLEXPRESS;Database=SmartConnector.User;User Id=sa;Password=123456" />

</connectionStrings>
<appSettings>
<add key="EncryptionKey" value="xddadadsaasd" />
</appSettings>

 

what is the problem? how can I solve?

Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Kanber
Commander | EcoXpert Master Kanber Commander | EcoXpert Master
Commander | EcoXpert Master

Posted: ‎2019-09-12 04:18 AM

0 Likes
0
1067
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-12 04:18 AM

Hi Jeff,

 

I tried to add test again. when I finish everthing there is error;

 

clipboard_image_0.png

maybe it can help you. then I click add to reference everthing is looking ok when I rebuild.

See Answer In Context

Reply
Replies 4
Kanber
Commander | EcoXpert Master Kanber Commander | EcoXpert Master
Commander | EcoXpert Master

Posted: ‎2019-09-11 12:55 AM

0 Likes
0
1078
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-11 12:55 AM

On another extension and test.extension it is working on same computer. I can debug.

Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2019-09-11 05:25 AM

0 Likes
2
1074
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-11 05:25 AM

Hi Kanber,

 

Can you post your test fixture code here?

 

Best Regards,

 

-Jeff

Reply
Kanber
Commander | EcoXpert Master Kanber Commander | EcoXpert Master
Commander | EcoXpert Master

Posted: ‎2019-09-11 08:07 AM

0 Likes
1
1071
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-11 08:07 AM

Hi Jeff,

 

there is the code;

 

 

using System;
using Mongoose.Common;
using Mongoose.Configuration;
using Mongoose.Process;
using Mongoose.Test.Processors;
using SxL.Common;
using NUnit.Framework;
using SmartConnector = Mongoose.Service.Mongoose;
using Fire.Extension;

namespace Hbys.Extension.Test
{
public class HbysDiscoveryProcessorTestFixture : IProcessorTestFixture<FireDiscoveryProcessor>
{
#region FixtureSetup
[OneTimeSetUp]
public void FixtureSetup()
{
try
{
SmartConnector.InitIoC();
}
catch (Exception ex)
{
Logger.LogError(LogCategory.Testing, ex);
throw;
}
}
#endregion

#region CreateTestableProcessor - IProcessorFixture Member
private FireDiscoveryProcessor _processor;
public FireDiscoveryProcessor CreateTestableProcessor()
{
if (_processor != null) return _processor;
Type processorType;
ActivatorHelper.ActivateObject<Processor>("Fire.Extension.dll", "Fire.Extension.FireDiscoveryProcessor", out processorType);
var config = ProcessConfiguration.ExtractConfiguration(processorType);
_processor = config.InstantiateInstance() as FireDiscoveryProcessor;
Assert.NotNull(_processor, "Could not create a testable processor");
return _processor;
}
#endregion
#region ValidateTest - IProcessorFixture Member
[Test]
public void ValidateTest()
{
throw new NotImplementedException();
}
#endregion
#region CancelTest - IProcessorFixture Member
[Test]
public void CancelTest()
{
this.RunCancelTest();
}
#endregion
#region ExecuteTest - IProcessorFixture Member
[Test]
public void ExecuteTest()
{
this.RunExecuteTest();
}

FireDiscoveryProcessor IProcessorTestFixture<FireDiscoveryProcessor>.CreateTestableProcessor()
{
throw new NotImplementedException();
}
#endregion
}
}

Reply
Kanber
Commander | EcoXpert Master Kanber Commander | EcoXpert Master
Commander | EcoXpert Master

Posted: ‎2019-09-12 04:18 AM

0 Likes
0
1068
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-09-12 04:18 AM

Hi Jeff,

 

I tried to add test again. when I finish everthing there is error;

 

clipboard_image_0.png

maybe it can help you. then I click add to reference everthing is looking ok when I rebuild.

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of