"Problems while trying to establish a connection with the workflow's
engine backend. Please contact your system administrator. Inner
Exception: Could not connect to http://localhost:8089/Sinergia/CaseServices.
TCP error code 10061: No connection could be made because the target
machine actively refused it."
I have check things like firewalls and permission and it all seems to
be ok. No firewall on at all and currently added full permissions for
testing purposes.
I changed the port within SQL manager and then i recieved a different
error.
"Problems while trying to establish a connection with the workflow's
engine backend. Please contact your system administrator. Inner
Exception: The underlying connection was closed: The connection was
closed unexpectedly."
Right now im quite stumped on what the problem could be.
So if anyone could shed any light on the situation that would be
perfect.
Thank You
Dan
The databases look to have been create and are sitting in the
sqlexpress folder.
At the moment i am trying to work on finding out where it is looking
for the database
Im running server 2003
Thanks
1.
Login failed for user 'BSLTSTHD\HDWebsrv'. [CLIENT: <local machine>]
2.
On start exception. Error: Message: Unable to open database connection
Parameter name: connectionString StackTrace: at
System.Workflow.Runtime.Hosting.DbResourceAllocator.Init(String
connectionStr)
at
System.Workflow.Runtime.Hosting.DbResourceAllocator..ctor(WorkflowRuntime
runtime, NameValueCollection parameters, String connectionString)
at
System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService.Start()
at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
at
Sinergia.WWF.Host.WFIndigoExtension.System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Attach(ServiceHostBase
owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32
index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at Sinergia.WWF.Host.SinergiaWWFHost.OnStart(String[] args)
For more information, see Help and Support Center at On start
exception. Error: Message: Unable to open database connection
Parameter name: connectionString StackTrace: at
System.Workflow.Runtime.Hosting.DbResourceAllocator.Init(String
connectionStr)
at
System.Workflow.Runtime.Hosting.DbResourceAllocator..ctor(WorkflowRuntime
runtime, NameValueCollection parameters, String connectionString)
at
System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService.Start()
at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
at
Sinergia.WWF.Host.WFIndigoExtension.System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Attach(ServiceHostBase
owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32
index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at Sinergia.WWF.Host.SinergiaWWFHost.OnStart(String[] args)
For more information, see Help and Support Center at
3.
Service cannot be started. System.ArgumentException: Unable to open
database connection
Parameter name: connectionString --->
System.Data.SqlClient.SqlException: A connection was successfully
established with the server, but then an error occurred during the
login process. (provider: Shared Memory Provider, error: 0 - No
process is on the other end of the pipe.)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj)
at
System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject
stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult
asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32
bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBeh...
For more information, see Help and Support Center at
How is it exactly that i change the admin login for sql. and once iv
done that is it within the sinergia.worklow config file that i change
the details aswell
thanks
Gabouy,
I have given the Sinergia Service admin rights to login. But same
issue. The problem does seem to be from lack of privliges when trying
to access the database as when i check the Event Logs i got 3 msgs.
1.
Login failed for user 'BSLTSTHD\HDWebsrv'. [CLIENT: <local machine>]
2.
On start exception. Error: Message: Unable to open database connection
Parameter name: connectionString StackTrace: at
System.Workflow.Runtime.Hosting.DbResourceAllocator.Init(String
connectionStr)
at
System.Workflow.Runtime.Hosting.DbResourceAllocator..ctor(WorkflowRuntime
runtime, NameValueCollection parameters, String connectionString)
at
System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService.Start()
at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
at
Sinergia.WWF.Host.WFIndigoExtension.System.ServiceModel.IExtension <System.ServiceModel.ServiceHostBase>.Attach(ServiceHostBase
owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32
index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add (T item)
at Sinergia.WWF.Host.SinergiaWWFHost.OnStart(String[] args)
For more information, see Help and Support Center at On start
exception. Error: Message: Unable to open database connection
Parameter name: connectionString StackTrace: at
System.Workflow.Runtime.Hosting.DbResourceAllocator.Init(String
connectionStr)
at
System.Workflow.Runtime.Hosting.DbResourceAllocator..ctor(WorkflowRuntime
runtime, NameValueCollection parameters, String connectionString)
at
System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService.Start()
at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
at
Sinergia.WWF.Host.WFIndigoExtension.System.ServiceModel.IExtension <System.ServiceModel.ServiceHostBase>.Attach(ServiceHostBase
owner)
at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32
index, IExtension`1 item)
at System.Collections.Generic.SynchronizedCollection`1.Add (T item)
For testing purposes i went into the SQL Server management made all
current users db_owner's for both sinergia and sinergia_aspnet
databases tried to start the service again with same errors.
I have also gone in and created a new user on the system given it
db_owner privliages and then set the windows service to login with the
new credentials. this time the errors were only different in the palce
where it had the old username.
the only erro i get when trying to create the case from the client
side is;
Event Type: Information
Event Source: Sinergia
Event Category: None
Event ID: 0
Date: 9/20/2007
Time: 8:33:39 AM
User: N/A
Computer: BSLTSTHD
Description:
Exception Message: Problems while trying to establish a connection
with the workflow's engine backend. Please contact your system
administrator. Inner Exception: Could not connect to
http://localhost:8089/Sinergia/CaseServices . TCP error code 10061: No
2.
On start exception. Error: Message: Unable to open database
connection
As i am quite new to playing with web servers and SQL, and there not
really being any documentation, im not too sure on what the issue is.
Not sure if it a setup issue within Server 2003. I would tdoubt that
as i have really only installed what was need like service pack dot
net 2 and then built on top of that with sqlexpress and then ran your
setup. I have enev removed all of that and tried again.
Is there a way to remove the need to login into the database and just
use it without any credentials.
Saying that i am a little confused on that matter aswell as under ther
setup.aspx it manages to read and write from the database but only
fails on creating a case. which i find odd because it can find the
data base write data too it but not be able to create a case.
Thanks for your help with this matter
On Sep 20, 12:16 pm, gabouy <g...@gabouy.com> wrote:
> Dan,
>
> What happens if you use the Sinergia.Test.Host console app project as the
> workflow host?
>
> I've been googling the error, it never happened to me, but looks like other
> people get it. Unfortunately I've haven't found a fix yet. I will try to
> reproduce it.
>
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1001196&SiteID=1http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2065555&SiteID=1
>
> regards,
> gabo
>
> On 9/19/07, Dan-BSR <daniel.ray...@gmail.com> wrote:
>
>
>
>
>
> > For testing purposes i went into the SQL Server management made all
> > current users db_owner's for both sinergia and sinergia_aspnet
> > databases tried to start the service again with same errors.
> > I have also gone in and created a new user on the system given it
> > db_owner privliages and then set the windows service to login with the
> > new credentials. this time the errors were only different in the palce
> > where it had the old username.
> > the only erro i get when trying to create the case from the client
> > side is;
> > Event Type: Information
> > Event Source: Sinergia
> > Event Category: None
> > Event ID: 0
> > Date: 9/20/2007
> > Time: 8:33:39 AM
> > User: N/A
> > Computer: BSLTSTHD
> > Description:
> > Exception Message: Problems while trying to establish a connection
> > with the workflow's engine backend. Please contact your system
> > administrator. Inner Exception: Could not connect to
> >http://localhost:8089/Sinergia/CaseServices. TCP error code 10061: No
> > connection could be made because the target machine actively refused
> > it. StackTrace: at Sinergia.Logic.CaseManager.OpenNewCase(CaseData
> > newCase, Boolean returnTicketGuid) in D:\Develop\net\Tiger\Sinergia\src
> > \Projects\Logic\CaseManager.cs:line 31
> > at setup.btnWF_Click(Object sender, EventArgs e) in c:\Inetpub
> > \wwwroot\Sinergia\Web\setup.aspx.cs:line 133- Hide quoted text -
>
> - Show quoted text -
> >http://localhost:8089/Sinergia/CaseServices . TCP error code 10061: No