Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create chart activation error #74

Open
abdullah-traboulsi opened this issue Nov 19, 2019 · 11 comments
Open

Create chart activation error #74

abdullah-traboulsi opened this issue Nov 19, 2019 · 11 comments

Comments

@abdullah-traboulsi
Copy link

After installing ATSPM 4.2 downloaded from OSADP website and defining MOEWcFService, I have tried to create a chart such as Split Monitor. But it threw an error asking for service activation.

error statement

The requested service, 'http://localhost/MOEWcfService/MOEWcfServiceLibrary.MetricGenerator.svc' could not be activated. See the server's diagnostic trace logs for more information.

@udotdevelopment
Copy link
Owner

udotdevelopment commented Nov 19, 2019 via email

@abdullah-traboulsi
Copy link
Author

Following Installation manual, step 2.7 "Create Web Services", I have created and installed the MOEWcfService application in IIS.
I am able to browse to these services, but it shows an error:

The Web server is configured to not list the contents of this directory.
http://localhost/MOEWcfService/

Additionally, I have modified the web.config for the ATSPM main website to point to these new services

@udotdevelopment
Copy link
Owner

udotdevelopment commented Nov 19, 2019 via email

@abdullah-traboulsi
Copy link
Author

After checking the service as you said, it showed an error which indicates that the service wasn't set properly. I have modified my web.config "Key" value to point to "http://localhost/ATSPMImages/", and now the service is registered and working correctly.

Now, I have tried to generate a "Split Monitor", but nothing is shown. It is blank (instead of the previous activation error).

@udotdevelopment
Copy link
Owner

udotdevelopment commented Nov 19, 2019 via email

@abdullah-traboulsi
Copy link
Author

I have updated the Image Location under Admin -> General Settings, but still the same not showing any images.

Btw, I have checked the physical folder for ATSPMImages, and there are no images there to view.

@udotdevelopment
Copy link
Owner

udotdevelopment commented Nov 19, 2019 via email

@abdullah-traboulsi
Copy link
Author

I have set both Image Path and Image URL to "http://localhost/ATSPMImages/" with the trailing slash.

As for checking if WCF service has access to the physical folder, I have added the security privileges to read permission to IUSR and IIS_IUSRS.

Unless you mean differently?

@udotdevelopment
Copy link
Owner

udotdevelopment commented Nov 19, 2019 via email

@abdullah-traboulsi
Copy link
Author

I have set the path to the physical folder, but still, no chart is generated.

FYI, right now, my application is not connected with any controller yet to retrieve data from intersections.
How can I check which code is executed to retrieve data from SQL to print in the Split Monitor chart?

Regarding WCFService, when browsing it using IIS, it shows the following:

You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe http://localhost/MOEWcfService/MOEWcfServiceLibrary.LinkPivotService.svc?wsdl
You can also access the service description as a single file:
http://localhost/MOEWcfService/MOEWcfServiceLibrary.LinkPivotService.svc?singleWsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service.

@abdullah-traboulsi
Copy link
Author

If there is no information from controllers yet, would the Split Monitor show an empty image? Or it wouldn't show anything?

How can I test my app with some dummy data to populate the Split Monitor chart?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants