Hello ,
I have a problem with my ecconect v12 with visual studio,
When i do my connection string in my local machine there are no problem, but when some one else try to connect to my machine with ecconect there are a problem
Code:
public void conectar ()
{
GetNextDocNumbers econectinstance = new GetNextDocNumbers();
econectinstance.RequireServiceProxy = false;
try
{
string sConnectionString = "data source=MEXSIST012\\DYNAMICSGP;initial catalog=TWO;integrated security=SSPI;persist security info=False;packet size=4096";
string conectar = econectinstance.GetNextGLJournalEntryNumber(IncrementDecrement.Increment,sConnectionString);
}
When i put the code in my michine there are no problem, but when someone else put the same code in his visual studio the problem is the next :
Error : SQL Exception Thrown in the GetNextNumber method.
The things that i Have done was
1.- The service of my ecconect is started and have the same user and password when i configure my ecconect
2.- In the event Viwer the service indicates thats is correct
eConnect Service Host has started at URI: net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/
The Following Endpoints are now active:
3.- My sql accepts remote conections.
I really do not know what else do..
I hope some one help me.
Thnks