This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C3F7A4.B9781DE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Now I know this code works on IIS5.0, trying it on a Windows2003 server =
(IIS6) I get this lovely error which I can not trace, I think it's =
something either on IIS6 or the server but any suggestions welcome....

On loading the update page I get the error...

Database Results Wizard Error
The operation failed. If this continues, please contact your server =
administrator.

The SQL code is UPDATE t_deeds_main SET deed_no=3D'::deed_no::' WHERE =
id=3D::id::

As I say, works fine on IIS5, and I can view asp pages OK on IIS6 but =
adding a custom query just throws it.

Any help appreciated.

Setup:- FP2003, IIS6, SQL2000SP2 (SQL and IIS on separate boxes).
------=_NextPart_000_0008_01C3F7A4.B9781DE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>Now I know this code works on IIS5.0, =
trying it on=20
a Windows2003 server (IIS6) I get this lovely error which I can not =
trace, I=20
think it's something either on IIS6 or the server but any suggestions=20
welcome....<BR><BR>On loading the update page I get the=20
error...<BR><BR><STRONG>Database Results Wizard Error<BR>The operation =
failed.=20
If this continues, please contact your server=20
administrator.</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The SQL code is <STRONG>UPDATE =
t_deeds_main SET=20
deed_no=3D'::deed_no::' WHERE id=3D::id::</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As I say, works fine on IIS5, and I can =
view asp=20
pages OK on IIS6 but adding a custom query just throws it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Setup:- FP2003, IIS6, SQL2000SP2 (SQL =
and IIS on=20
separate boxes).</FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01C3F7A4.B9781DE0--

Re: ASP update error by Cliff

Cliff
Fri Feb 20 06:27:38 CST 2004

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C3F7AC.EEB48770
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Found the rather odd answer...

On the page that performs the update FP2003 fails to put in the =
s-columnnames and s-columtype values in the <!--webbot.. region!!!!!!!

You have to manually put these in!!!!!!

Sounds like a bug to me. Here's the very useful note I found on the =
issue...

http://www.frontpagetalk.com/forums/Frustration_with_Database_Interface_W=
izard/m_50766/p_1/tmode_1/smode_1/tm.htm

"Cliff Hooker" <chooker@ff1.co.uk> wrote in message =
news:zamZb.1$bT3.300@news.dircon.co.uk...
Now I know this code works on IIS5.0, trying it on a Windows2003 =
server (IIS6) I get this lovely error which I can not trace, I think =
it's something either on IIS6 or the server but any suggestions =
welcome....

On loading the update page I get the error...

Database Results Wizard Error
The operation failed. If this continues, please contact your server =
administrator.

The SQL code is UPDATE t_deeds_main SET deed_no=3D'::deed_no::' WHERE =
id=3D::id::

As I say, works fine on IIS5, and I can view asp pages OK on IIS6 but =
adding a custom query just throws it.

Any help appreciated.

Setup:- FP2003, IIS6, SQL2000SP2 (SQL and IIS on separate boxes).
------=_NextPart_000_0009_01C3F7AC.EEB48770
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>Found the rather odd =
answer...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>On the page that performs the update =
FP2003 fails=20
to put in the s-columnnames and s-columtype values in the =
&lt;!--webbot..=20
region!!!!!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You have to manually put these=20
in!!!!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sounds like a bug to me. Here's the =
very useful=20
note I found on the issue...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.frontpagetalk.com/forums/Frustration_with_Database_Int=
erface_Wizard/m_50766/p_1/tmode_1/smode_1/tm.htm">http://www.frontpagetal=
k.com/forums/Frustration_with_Database_Interface_Wizard/m_50766/p_1/tmode=
_1/smode_1/tm.htm</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Cliff Hooker" &lt;<A=20
href=3D"mailto:chooker@ff1.co.uk">chooker@ff1.co.uk</A>&gt; wrote in =
message <A=20
=
href=3D"news:zamZb.1$bT3.300@news.dircon.co.uk">news:zamZb.1$bT3.300@news=
.dircon.co.uk</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Now I know this code works on IIS5.0, =
trying it=20
on a Windows2003 server (IIS6) I get this lovely error which I can not =
trace,=20
I think it's something either on IIS6 or the server but any =
suggestions=20
welcome....<BR><BR>On loading the update page I get the=20
error...<BR><BR><STRONG>Database Results Wizard Error<BR>The operation =
failed.=20
If this continues, please contact your server=20
administrator.</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The SQL code is <STRONG>UPDATE =
t_deeds_main SET=20
deed_no=3D'::deed_no::' WHERE id=3D::id::</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As I say, works fine on IIS5, and I =
can view asp=20
pages OK on IIS6 but adding a custom query just throws =
it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Setup:- FP2003, IIS6, SQL2000SP2 (SQL =
and IIS on=20
separate boxes).</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0009_01C3F7AC.EEB48770--


RE: ASP update error by harikumh

harikumh
Fri Feb 20 07:25:33 CST 2004

Hi Cliff,

Please turn on the ASP.net debug messages flag. You can do that by using
the following steps.

Turn on the "Show Hidden files and folders option under Tools-> Site
settings->Advanced tab.
Open the files fpdbnet.cs in the _fpclass folder
Search for the line Private bool Debugon = False;
replace it with private bool DebugOn = true;

When you do the above steps, the error message will change to the following.

Debug message : Dynamic SQL generation for the UpdateCommand is not
supported against a SelectCommand that does not return any key column
information.

If you are getting the same behaviour as explained above, then the reason
for your error might be related to the absence of primary field in the
table.


Hope this helps


regards

Hari
MSFT

This posting is provided "as is" with no warranties and confers no rights