Unix Technical Forum

SQL - Front Page

This is a discussion on SQL - Front Page within the SQL Server forums, part of the Microsoft SQL Server category; --> I have created a Database Editor with FrontPage using the Wizzard. I have a database in SQL 2000 called ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 06:43 PM
Scrappy
 
Posts: n/a
Default SQL - Front Page

I have created a Database Editor with FrontPage using the Wizzard. I have a
database in SQL 2000 called Equipment with one table named Equipment.

When I bring up the editor, it displays a list of all records with a link to
the edit page. When I click on the link for the first record on the page,
The edit page come up correctly. I can edit the page and then submit it.
When I click on the link for the second record ( and all the rest of the
records) in the list I get the following message:

Database Results Error
Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error
converting the nvarchar value 'BF176' to a column of data type int.
Number: -2147217913 (0x80040E07)
Source: Microsoft OLE DB Provider for ODBC Drivers



When I click on the link for record BF176, which is about 20 records down
the page, I get the following message:


Database Results Error
Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
name 'BF176'.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for ODBC Drivers

I have gone in the SQL database and messed arounf with changing the column
type from nvchar to nchar and changing the length, but can not figure this
out. I cannot tell whether this is a Frontpage problem or a SQL problem.
Any help would be appreciated! Thanks!

Darren
MCP


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 06:43 PM
John Bell
 
Posts: n/a
Default Re: SQL - Front Page

Hi

I am not a frontpage expert, but I guess you have used a wizard to produce
this UI?

It seems that it thinks that one of the columns should be an integer and it
contains a value that is not convertable to integer, or that the columns are
somehow being miss-aligned so that a column is being skipped somehow and
therefore a character column is being taken as an integer.

You may want to use profiler to see what statements are being run, when this
error occurs. You can them take the statement from the profile and run it in
query analyser ti see the output.

HTH

John


"Scrappy" <celtics@lan-specialist.com> wrote in message
news:93brb.74356$ZC4.54652@twister.nyroc.rr.com...
> I have created a Database Editor with FrontPage using the Wizzard. I have

a
> database in SQL 2000 called Equipment with one table named Equipment.
>
> When I bring up the editor, it displays a list of all records with a link

to
> the edit page. When I click on the link for the first record on the page,
> The edit page come up correctly. I can edit the page and then submit it.
> When I click on the link for the second record ( and all the rest of the
> records) in the list I get the following message:
>
> Database Results Error
> Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error
> converting the nvarchar value 'BF176' to a column of data type int.
> Number: -2147217913 (0x80040E07)
> Source: Microsoft OLE DB Provider for ODBC Drivers
>
>
>
> When I click on the link for record BF176, which is about 20 records down
> the page, I get the following message:
>
>
> Database Results Error
> Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column
> name 'BF176'.
> Number: -2147217900 (0x80040E14)
> Source: Microsoft OLE DB Provider for ODBC Drivers
>
> I have gone in the SQL database and messed arounf with changing the column
> type from nvchar to nchar and changing the length, but can not figure this
> out. I cannot tell whether this is a Frontpage problem or a SQL problem.
> Any help would be appreciated! Thanks!
>
> Darren
> MCP
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com