Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gritsok77  
#1 Posted : Tuesday, March 3, 2015 7:26:19 AM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
I have VS 2015
All samples of your app are working beatiful , without any exmples in JS (mass.js and simple.js)
I have the next error - 0x80040154 - JavaScript runtime error: Class not registered
In this line : var oMail = new EASendMailRT.SmtpMail("TryIt");
ivan  
#2 Posted : Tuesday, March 3, 2015 3:59:48 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,154

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)

Hi, if your application is windows store application, you can refer to easendmail installation path\Samples_Windows81\simple.js and mass.js.

If your application traditional javascript, you should use EASendMail ActiveX Object.
If your application is .NET application, you should use EASendMail .NET Assembly.

What is your application type?

thanks 1 user thanked ivan for this useful post.
gritsok77 on 3/4/2015(UTC)
gritsok77  
#3 Posted : Wednesday, March 4, 2015 4:54:38 AM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
Hi =)
Thanks for very quick answer .
Traditional JS for Windows Store

Edited by user Wednesday, March 4, 2015 4:56:18 AM(UTC)  | Reason: Not specified

ivan  
#4 Posted : Wednesday, March 4, 2015 5:20:56 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,154

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
If your application is for windows store, doesn't simple.js or mass.js in Windows81 work?

Please have a look at this topic:

https://www.emailarchite.../kb/javascript_xaml.aspx

You need to add reference of EASendMailRT to your project just like above topic introduced.

Edited by user Wednesday, March 4, 2015 5:24:29 AM(UTC)  | Reason: Not specified

thanks 1 user thanked ivan for this useful post.
gritsok77 on 3/4/2015(UTC)
gritsok77  
#5 Posted : Wednesday, March 4, 2015 6:09:14 AM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
I add reference from ...//EASendMail/windows81.winmd/EASendMailRT.winmd to project ...//Samples_Windows81/simple.js/simple.js
But it cannt work and have the :
Unhandled exception at line 190, column 9 in ms-appx://885adfa9-6f83-450c-a19b-104224b4957d/js/sendmail.js

0x80040154 - JavaScript runtime error:Клас не зареєстровано
gritsok77  
#6 Posted : Wednesday, March 4, 2015 1:17:39 PM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
I installed VS2013
I am doing all from instruction https://www.emailarchite.../kb/javascript_xaml.aspx
I add EASendMailRT to project ( visible in Solution Explorer in References , but it cant open as a EASendMailRT in VB and C# version )
But , unfortunately , i still getting the same error 0x80040154 - JavaScript runtime error: Class not registered
I dont understand what Im doing is wrong =(
ivan  
#7 Posted : Wednesday, March 4, 2015 3:50:54 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,154

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
could you send your VS2003 project to support@emailarchitect.net so that I can have a check?
gritsok77  
#8 Posted : Wednesday, March 4, 2015 9:57:31 PM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
It is project from your instalation file (EASendMail Installer)- for example project from windows81/simle.js
And my VisualStudio are 2013 and 2015 ( not 2003 , in VS2003 havent JS for Windows 81 =) )
I can send you this project , but why ? I think you have your project from installation app and problem only in my machine . Maybe i need to change computer ...
Thanks for all .
ivan  
#9 Posted : Wednesday, March 4, 2015 10:04:54 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,154

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
I just tested our sample projects with VS 2013, it worked fine.
If it is possible, please try it on another machine.


Please also have a try the sample in Samples_Windows8, i guess you tried Samples_windows81

Edited by user Saturday, March 7, 2015 7:12:20 PM(UTC)  | Reason: Not specified

gritsok77  
#10 Posted : Saturday, March 7, 2015 12:29:36 AM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
Hi . I tried your simple.js app for Windows 8.1 and for Windows 8 on :
2 different machines (hp635 and asusN56D) on 2 different platform (Windows 8.1 Enterprise and Windows 8.1 Single Language ) with 2 different VS 2013 and 2015 ............
And .............
They aren't work in js,html,css project for windows store . Error :

-( for app in windows81 file )- cant registered class when you push button .
-( for app in windows 8 file ) - cant open project in windows8.1
Now i am installing vs 2003 , becouse i want to try your version .
gritsok77  
#11 Posted : Saturday, March 7, 2015 4:48:33 AM(UTC)
gritsok77

Rank: Newbie

Groups: Registered
Joined: 3/3/2015(UTC)
Posts: 0

Thanks: 2 times
Hi again .
You wrote : "I just tested our sample projects with VS 2003, it worked fine."
I installed VS 2003 and as i said it version of Visual Studio cant work with your samples from WINDOWS81/simple.js/simple.js (becouse cant open them).
And how did you test this project in vs 2003 if it version cannt open file for windows store in js ?
I spent many times for your project (for windows store app in JS,HTML,CSS)but it isnt work in any machines,system and version .
PS . : in your https://www.emailarchite.../kb/javascript_xaml.aspx you must change
<link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.1.0/js/base.js"></script>
<script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

to
<link href="//Microsoft.WinJS.2.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.2.0/js/base.js"></script>
<script src="//Microsoft.WinJS.2.0/js/ui.js"></script>
for VS2013 AND VS2015

I hope you can give me at least some explanation .
Thanks .
Please , test your samples (from file ..../Windows 8.1 /simle.js/simle.js) in VS2013 or VS2015 .

Edited by user Saturday, March 7, 2015 5:04:39 AM(UTC)  | Reason: Not specified

ivan  
#12 Posted : Saturday, March 7, 2015 7:17:55 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,154

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: gritsok77 Go to Quoted Post
Hi again .
You wrote : "I just tested our sample projects with VS 2003, it worked fine."
I installed VS 2003 and as i said it version of Visual Studio cant work with your samples from WINDOWS81/simple.js/simple.js (becouse cant open them).
And how did you test this project in vs 2003 if it version cannt open file for windows store in js ?
I spent many times for your project (for windows store app in JS,HTML,CSS)but it isnt work in any machines,system and version .
PS . : in your https://www.emailarchite.../kb/javascript_xaml.aspx you must change
<link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.1.0/js/base.js"></script>
<script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

to
<link href="//Microsoft.WinJS.2.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.2.0/js/base.js"></script>
<script src="//Microsoft.WinJS.2.0/js/ui.js"></script>
for VS2013 AND VS2015

I hope you can give me at least some explanation .
Thanks .
Please , test your samples (from file ..../Windows 8.1 /simle.js/simle.js) in VS2013 or VS2015 .



Sorry, it is my mistake, actually I tested with VS 2013. And I built those sample projects with VS 2012 and 2013.

In EASendMail installation path\Windows_81, the source files used

<link href="//Microsoft.WinJS.2.0/css/ui-dark.css" rel="stylesheet" />
<script src="//Microsoft.WinJS.2.0/js/base.js"></script>
<script src="//Microsoft.WinJS.2.0/js/ui.js"></script>

Could you send email to support@emailarchitect.net so that we can communicate directly, maybe we can have an online chat.
Users browsing this topic
Guest
Similar Topics
class not registered (no administration rights) (EASendMail SMTP Component - .NET Version)
by Thomas Bachmann 8/9/2022 5:00:31 AM(UTC)
Class not Registered (EASendMail SMTP Component - .NET Version)
by Merv Norton 11/8/2014 9:52:31 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.142 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.