Options

Executing Web Service from SQL - Ref: Rashed

zimworxcodezimworxcode Member Posts: 53
edited 2011-11-17 in NAV Three Tier
please help. I have followed instruction to run the NavJobScheduler from:

http://mibuso.com/blogs/ara3n/2009/11/1 ... b-service/

It does run perfeclty on my local machine but when i deploy it on the another mssql database i get an error:
Msg 6522, Level 16, State 1, Procedure NavJobScheduler, Line 0
A .NET Framework error occurred during execution of user-defined routine or aggregate "NavJobScheduler":
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
System.Net.WebException:
at System.Net.HttpWebRequest.GetResponse()
at StoredProcedures.NavJobScheduler(String ObjectType, Int32 ObjectID, String Login, String Password, String Domain, String WebServiceURL)

Differences between my developer environment and the other environment:

Account passed to the procedure -
Local Machine: local administrator (super user in NAV)
Another Machine: domain administrator account (super user in NAV)

Account running MSSQLSever service -
Local Machine: Network Service
Another Machine: domain administrator account

Nothing is being logged on the event viewer. What am i missing here, i need this function to work. I will appreciate ur help
Sign In or Register to comment.