I've had a page up and running (ASP with SQL db) that simply lists the music from a television show, with the name of the song, artist and where in the tv show it played. The page has been running with no problems, but I checked it last night and was receiving the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type nvarchar to numeric.
I removed bits of code until I found the offending chunk, which I promptly removed. I am absolutely stumped as to what to do. I haven't changed this page in 6 months and my webhost blamed it on a programming error rather than anything they did to my db or tables. Also, I have the exact same code running on other pages (pointing to different tables in the same db) and it works fine....
<% Connection stuff here
WHILE NOT rsMusic.EOF %>
<b><%=rsMusic("SongName")%></b><br>
By: <%=rsMusic("Artist")%><br>
<b>Played while:</b> <%=rsMusic("Played")%>
<p>
<%
rsMusic.MoveNext
WEND
rsMusic.Close
%>
The error keeps pointing to the "rs.Music.MoveNext" line. I have no idea what to do and I'm not a SQL or ASP wiz, so any advice at all would be greatly appreciated.
Thank you all.