VS.net error after upgrading to Jiwa 7.0.144  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Tue Dec 01, 2015 4:29 pm

Hi,

I've just upgraded to .144 from .129 and my VS.Net form designer is giving me the error below.
Code: Select all
at JiwaFinancials.Jiwa.JiwaApplication.ConnectionManager.ConnectionProfile.ReadRecord()
at JiwaFinancials.Jiwa.JiwaApplication.Manager..ctor()
at JiwaFinancials.Jiwa.JiwaApplication.Manager._Closure$__._Lambda$__194-0(Object k)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at JiwaFinancials.Jiwa.JiwaApplication.Manager.get_Instances(Object key)
at JiwaFinancials.Jiwa.JiwaApplication.Maintenance.CustomFormTabCollection..ctor(UserInterface hostForm)
at JiwaFinancials.Jiwa.JiwaApplication.Maintenance.UserInterface..ctor()


form is Inherits Maintenance UI
Code: Select all
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
    Partial Class frmOrder
        Inherits JiwaFinancials.Jiwa.JiwaApplication.Maintenance.UserInterface


I also updated WinSpread Dlls to v8.35.20151.0
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby Scott.Pearce » Tue Dec 01, 2015 4:47 pm

PM me the project and I'll take a look.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Tue Dec 01, 2015 4:53 pm

Hi Scott,

What file extension is allowed??? I tried, zip, rar, txt, jpg and blank...
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby Mike.Sheen » Tue Dec 01, 2015 5:48 pm

perry wrote:Hi Scott,

What file extension is allowed??? I tried, zip, rar, txt, jpg and blank...


I've altered our forums configuration to now allow types of 7z, ace, bz2, gtar, gz, rar, tar, tgz, torrent, zip up to 50MB in size for attachments to PM's.

Let us know if that still doesn't work for you.

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Wed Dec 02, 2015 9:20 am

Sent

I'm able to reproduce the issue with below steps
1. create new winform project (vs 2013)
2. add below references
- farpoint.locaization (v8.20.20151.0)
- farpoint.win (v8.35.20151.0)
- farpoint.win.spread (v8.35.20151.0)
- GrapeCity.win.pluginInputMan (v8.35.20151.0)
- JiwaApplication (v7.0.144)
3. inherit maintenance UI
Code: Select all
Partial Class Form1
    Inherits JiwaFinancials.Jiwa.JiwaApplication.Maintenance.UserInterface

4. go to design view and you see the Object reference error..
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby Scott.Pearce » Wed Dec 02, 2015 9:38 am

Those steps worked OK for me, BUT I'm using VS 2015, and it wanted me to add a bunch of Infragistics references:

Infragistics4.Shared.v13.1
Infragistics4.Win.Misc.v13.1
Infragistics4.Win.UltraWinStatusBar.v13.1
Infragistics4.Win.UltraWinToolbars.v13.1
Infragistics4.Win.v13.1

Try adding those, building, then let me know if you can open the form in design view.

EDIT: Also ensure your project is set to target .Net Framework 4.6 and cpu x86!
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Wed Dec 02, 2015 9:43 am

no luck,

Added those references and build (list of errors)
closed solution and reopen, still getting the same error from the designer


EDIT,
installing 4.6 now.
Last edited by perry on Wed Dec 02, 2015 9:46 am, edited 1 time in total.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby Scott.Pearce » Wed Dec 02, 2015 9:44 am

Project is set to target .Net Framework 4.6 and cpu x86? You may have missed my edit on my previous post.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Wed Dec 02, 2015 11:53 am

This time it lets me build with no error.

Designer is still throwing the same error.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: VS.net error after upgrading to Jiwa 7.0.144

Postby perry » Wed Dec 02, 2015 12:02 pm

Below works
JiwaFinancials.Jiwa.JiwaApplication.MultiListMaintenance.UserInterface
JiwaFinancials.Jiwa.JiwaApplication.OldListMaintenance.UserInterface

Below don't
JiwaFinancials.Jiwa.JiwaApplication.Maintenance.UserInterface
JiwaFinancials.Jiwa.JiwaApplication.ListMaintenance.UserInterface(Of xxx
dont know how to use this...gonna need help from you.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Next

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 0 guests