NAV and CRM Authorization Error
zaidtariq
Member Posts: 52
Hi,
I was working with NAV and CRM Integration, for this purpose i had develop a dll that is called by the NAV application to fetch the data from the CRM. This method is working perfectly great as i required. The NAV and CRM are installed on Sandbox.
Now i have also Install the NAV RTC in my local computer and configured it. Now the problem is when i run the Integration job it does not work and break with the error:
failed with the following message: The request for authorization of type System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

I was working with NAV and CRM Integration, for this purpose i had develop a dll that is called by the NAV application to fetch the data from the CRM. This method is working perfectly great as i required. The NAV and CRM are installed on Sandbox.
Now i have also Install the NAV RTC in my local computer and configured it. Now the problem is when i run the Integration job it does not work and break with the error:
failed with the following message: The request for authorization of type System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Best Regards:
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.
0
Best Answer
-
I have created the serializable class and then place the dll in Service\Add-ins folder. It Worked.Best Regards:
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.5
Answers
-
I don't know danish (which is the language I assume). Are you sure your new DLL is is run on the server? If not make sure the client actually has the DLL available in it's Add-In Folder.Austrian NAV/BC Dev0
-
Yes all the required dlls are in Add-in folder of RTC.Best Regards:
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.0 -
I have created the serializable class and then place the dll in Service\Add-ins folder. It Worked.Best Regards:
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.5
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions