Solved

System.Exception: Unsupported TYPE attribute: Bit  Problem

Posted on 2004-10-05
3
273 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

679 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