How to solve this issue in Webservice?

Aravindh_Navision
Member Posts: 258
Hi Friends,
After publishing an Page in NAV, I gave the below URL in a browser.
[url=http://]http://[/url]<Server>:7047/DynamicsNAV/WS/Nav_Company/Page/ItemTest
I am getting this error.
Can anyone tell me how to solve this?
Thanks in advance.
After publishing an Page in NAV, I gave the below URL in a browser.
[url=http://]http://[/url]<Server>:7047/DynamicsNAV/WS/Nav_Company/Page/ItemTest
I am getting this error.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <s:Fault> <faultcode xmlns:a="urn:microsoft-dynamics-schemas/error"> a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException </faultcode> <faultstring xml:lang="en-US"> The trace flag 4616 is not set on the database server XXXXX. You must set this flag and restart the server before you can connect to the database. </faultstring> <detail> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> The trace flag 4616 is not set on the database server XXXXX. You must set this flag and restart the server before you can connect to the database. </string> </detail> </s:Fault> </s:Body> </s:Envelope>
Can anyone tell me how to solve this?
Thanks in advance.
0
Comments
-
Hi,
This is a sql server settings. Refer below article.
http://saurav-nav.blogspot.in/2011/05/trace-flag-in-sql-server-for-dynamics.html
let me know if any issues.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Thanks you Saurav.
What version of Microsoft SQL Server should be there? Because in my system I have Microsoft SQL Server 2008 and Microsoft SQL Server 2012. As mentioned, I have given -T4616 in the Setup Parmeters and restarted the services.
Still I am getting the same issue.... ](*,)0 -
Hi,
Try Login into Navision Classic Client using the account that you are using to run web services. Let me know the findings.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Am using Navision Classic Client only...0
-
Hi,
Did you tried login with the account with which services are running.
Suppose my services (Nav service and web service) are running with DomainName\Username.
So trying in login in with DomainName\Username.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Hi Saurav,
Both Nav service and web service are running with same DomainName\Username.
Still issue persists?!?!?0 -
Hi Aravindh,
What i meant is Open Navision Classic or RTC Client with the DomainName\UserName used for running Services.
I think the issue is with the user and the user (used to run Services) is not a part of Navision Database OR user does not have sufficient permission.
TRY Login into Navision client with user and let me know the results.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Hi Saurav,
Yeah the DomainName\UserName which I am using in the services is not there in the Navision database.
Navision SQL database is in a server XXXXX. I am accessing from my local machine. I have published Page Item card. When I tried to access using the URL:
http://<Server>:7047/DynamicsNAV/WS/Nav_Company/Page/ItemTest
.. I am not getting the proper detail in the browser.
But my colleague from other system tried to access using the same URL, but he is getting the correct details.0 -
Hi Aravindh,
Your colleague might be using a different service to connect to the database.
Resolution steps -
1. The User that you are using to run service should be added in Navision Database with Sufficient Rights to execute the pages that web services is using.
2. Create the user in Navision Windows Login and assign rights.
3. Synchronize the login.
3. Restart the service tier once you are done.
Now try to run the page. Hope it helps.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0
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