Sign in to follow this  
ccdubs

Fail To Start Web Server Issue

Recommended Posts

I have suddenly started to get a "failed to start web server" popup alert when I start my DF application. I'm running two instances of DF on the same network and they both share connections to pass a heartbeat value for communications monitoring. This has been working fine for the past couple of days.

 

One instance now gives the alarm and the other doesn't. The alarm is generated even if I start the application with no sequences running but doesn't come up if I open a blank application. Once the popup is acknowledged the application runs fine.

 

I need to stop this from happening as DF needs to run automatically on system restart.

Share this post


Link to post
Share on other sites

That means that DAQFactory tried to fire up its web server (because the doc had it enabled), but another piece of software is already using that port.  While a multiple clients can connect to a single port on a remote computer, only one server can be managing a port on a computer at a time.

 

To turn off the web server on your doc, go to the command alert and type:

 

system.EditWebSettings()

 

then uncheck the Active box and save and restart DAQFactory.

Share this post


Link to post
Share on other sites

Unfortunately I have another problem with the same system where I have received the following error a couple of times now. The DF application closes and all this is all I see (I have a screenshot but don't know how to upload it to the forum).

 

So far it has only appeared on one of my instances so I have swapped the two instances over and will see if it happens on the other machine too.

 

In the mean time, any ideas?

 

Pop up title: Socket Notification Sink: DAQFactory.exe. - Application Error

Text: The exception unknown software exception (0x40000015) occured in the application at location 0x75d606f4.

Share this post


Link to post
Share on other sites

Which release of DAQFactory?  Are you using any sort of virtual comm port or other such device? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this