PDA

View Full Version : Dwc & ms sql


Cerulian
05-06-2009, 08:46 PM
I have used DWC successfully with Access databases and MySQL databases. However, when I tried using it with MS SQL, the wizard works fine with the connection and allowing me to choose the specific data as usual. However, when I got to preview the page (I have also published it live on a Web server to view), no chart data shows. Just a gray box with the path link to the dataparser.asp file (screenshot attached). Does DWC not work with MS SQL databases?

Ray Borduin
05-11-2009, 06:12 AM
When it just shows the file name, that usually means the path to that file is incorrect. Are you sure you uploaded the file and it is referenced correctly? This problem shouldn't have anything to do with the database used.

Cerulian
05-11-2009, 07:32 AM
Yes I did, both locally and on the Web. I even went through some of my PHP pages that I used DWC with to see the path locations and all pages and sub pages were identical with the paths that were created by the WebAssist software.

Ray Borduin
05-11-2009, 09:01 AM
Do you have a url where I can view the problem? That might allow me debug a little so I can spot it.

Cerulian
05-12-2009, 05:48 PM
http://flamesofchange.org/test/sparc_flames/untitled.asp

Ray Borduin
05-13-2009, 07:29 AM
OK, I get a 500 error when I try to browse the data: http://flamesofchange.org/test/sparc_flames/DynamicWebCharts/Data/untitled_dataparser2.asp

A 500 error tells you nothing it is basically a general error that indicates debugging is turned off and no general error is returned. Do you have access to an error log so you can find the error line number?

Cerulian
05-13-2009, 09:25 AM
Ok, I had mucked with those files a whole lot over the past coupleof days and do not know why it's showing a page display error.

I've created a fresh new "site" for this. And have the same error. Can you see if you can access the file (and sub-files) from this link and take a look:

http://flamesofchange.org/sparc_flames/chart.asp

I will also see where GoDaddy stores its error logs for a site.

Ray Borduin
05-13-2009, 11:30 AM
Now I get a blank page when I view: http://flamesofchange.org/sparc_flames/DynamicWebCharts/Data/chart_dataparser1.asp

Cerulian
05-13-2009, 01:04 PM
Now I am completely confused; because the dataparser page is always blank (at least it is in all of the sites I've been able to get it to work in - PHP/MySQL sites). Only thing I have ever noticed on that page is source code.

I didn't alter any source code on this one & uploaded it exactly as it was on my computer. After all this, I'm guessing DWC can't work with MS SQL Server.

Ray Borduin
05-13-2009, 01:26 PM
When you view the dataparser page it should show the data for the chart. It is always blank in DW, but it would have code when viewed live.

The problem may be in the data file or the dataparser file. What happens when you try to view the data file directly?

Cerulian
05-13-2009, 01:29 PM
I think I just found the problem. I recently signed up for another Windows hosting account with a different hosting provider; so I setup the SQL Server and entered test data and uploaded the files to that server ... and it worked. So it appears to be an issue on GoDaddy's end.

Sorry for all the back and forth. But thank you very much for all your help!