System.Diagnostics.Process and windows 10

gbierkens
Member Posts: 49
Hi,
I use a dotnet variable to open a hyperlink in NAV 2009R2 RTC.
But after upgrading a pc to windows 10 the specic functionality returns an error.
I used the following locals
I used the following code:
When calling this function after upgrading, I get the following error

"This message is for C/AL programmers. The call to member Start failed. "
Does anyone have a suggestion to solve this issue?
I use a dotnet variable to open a hyperlink in NAV 2009R2 RTC.
But after upgrading a pc to windows 10 the specic functionality returns an error.
I used the following locals
ReturnUrl Text 250 Pos Integer proc DotNet 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Diagnostics.Process
I used the following code:
//Default DMS url containing a %1 ReturnUrl := "DMS Document Url"; //Replace %1 with searchterm in hyperlink Pos := STRPOS(ReturnUrl,'%1'); ReturnUrl := DELSTR(ReturnUrl,Pos,STRLEN('%1')); ReturnUrl := INSSTR(ReturnUrl,VarText,Pos); proc := proc.Process; proc.StartInfo.FileName := ReturnUrl; proc.Start;
When calling this function after upgrading, I get the following error

"This message is for C/AL programmers. The call to member Start failed. "
Does anyone have a suggestion to solve this issue?
BriteBlue Solutions BV | briteblue.nl
0
Comments
-
There are some other issues that are "dotnet related".
The chart part also gives an error that "not all dependancies for control are found".
I have activated the dotnet 3.5 (including 2.0 and 3.0) in the windows configuration.
But this doesn't have any effect.
Anyone else who has run into these issues?BriteBlue Solutions BV | briteblue.nl0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions