Solved

System.Exception: Unsupported TYPE attribute: Bit  Problem

Posted on 2004-10-05
3
264 Views
Last Modified: 2010-04-25
i keep getting these errors when i upload the pages to the server , while they work perfect on my local server

System.Exception: Unsupported TYPE attribute: Bit
at DreamweaverCtrls.DataSet.GetDbTypeFromString(String str)
at DreamweaverCtrls.DataSet.AddParameters(IDbCommand myCommand)
at DreamweaverCtrls.DataSet.DoInit()

please i need your help


for example see www.palpeople.org/english

0
Comment
Question by:daouddajani
3 Comments
 
LVL 9

Accepted Solution

by:
prifre earned 250 total points
ID: 12241781
I have not really a solution, but on
http://www.charon.co.uk/aspnetforums/ShowPost.aspx?PostID=2040

they write:
"This is probably because I'm moving from asp (recordsets) to asp.net (datasets) and I'm not fully aware of the differences in queries! When developing for asp I always used the advanced query option and hand typed my queries, but in asp.net they don't work the same.

In my SQL query I had the following which didn't work:

SELECT *
FROM dbo.orderinfo
WHERE orderid = @orderid

with the following params
Name: @orderid
Type: Integer
Value: IIf((Not Session("orderid") Is Nothing), Session("orderid"), "")

I flipped from 'Advanced' to 'Simple' in the DataSet window and let it generate the following

SELECT *
FROM dbo.orderinfo
WHERE orderid = ?

............ with the following params
Name: @orderid
Type: Integer
Value: IIf((Not Session("orderid") Is Nothing), Session("orderid"), "")

This now works .............. I guess it's all part of the learning and transition to .net. I'm now treading very carefully!"

might that help?

with a smile
/prifre
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now