CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: NewsGroup Date Entered: 10/8/2007 5:44:36 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 21 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
ecofriend
Asp.Net User
Wierd problem updating database.10/8/2007 5:44:36 PM

0/0

I am using VWD 2008 Beta 2 and I have a wierd probelm when trying to update or delete databases. I am new to ASP.NET and VWD so it may be something simple I am missing but I have looked all over the net and cannot find a solution to my problem. I hope some here will be able to help.

So the problem goes like this. I have a database with a table that looks like the following:

database table

I originally used varchar(x) as data type but this appeared to make no difference.  I populated the table with a few dummy enteries. This is what I setup in my design view:

Design View

And this is how it looks in the browser when I run it:

browser view

So here is my problem.

If I Edit an entry and the Notes field is not blank then the edit/update works as expected and I am able to delete the entry as well. However, if the Notes field is empty or gets deleted, then neither the Delete nor the Edit commands work.

I can create new enteries just fine.

I created a screen capture video of this in action but it is kinda blurry due to how youtube compresses the video. Here is the link in case: http://www.youtube.com/watch?v=YQXKy-4Kqgg

I would appreciate it if anyone could help me out with this. If I missed something in my description please let me know.

ecofriend
Asp.Net User
Re: Wierd problem updating database.10/16/2007 5:41:22 PM

0/0

I was looking at the MS Connect site for VWB 2008 Beta 2 and I came across this: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=299233

This is exactly the problem I am having. I tested by turning Optimistic Concurrency off and everything started working. The poster said that he rebuilt the database and everything started working. I am using SQL Server Express and VWD 2008 Beta 2 Express Editions and I am not sure how to rebuild the database. I looked online but the directions I found were unclear. Can someone please help?

naturehermit
Asp.Net User
Re: Wierd problem updating database.10/18/2007 12:23:55 PM

0/0

Rebuilding the db can means anything from re-installing to re-doing your tables...etc..


Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
ecofriend
Asp.Net User
Re: Wierd problem updating database.10/18/2007 5:16:57 PM

0/0

naturehermit:

Rebuilding the db can means anything from re-installing to re-doing your tables...etc..

I tried deleting the database and starting over but that did not help.

 I have tested this on 3 different systems, 2 XP and 1 Vista and problem existed for all of them.

naturehermit
Asp.Net User
Re: Wierd problem updating database.10/19/2007 8:17:51 AM

0/0

Trouble is this is still in beta and hence I am not sure, its going to be even pursued....I hope you have this in VM.


Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
ecofriend
Asp.Net User
Re: Wierd problem updating database.10/19/2007 11:12:25 PM

0/0

Thanks, naturehermit for your help.  What does VM mean?

 I have submitted a bug report available here: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=305579

Just in case some needs some time to kill ;) here are the steps to reproduce the prob.

- Create a new website in VWB EE 2008 Beta 2
- Add a new database to the App_Data folder
- Add a new table to the database with the following table definition
    -- ProjectID (DataType = int, Primay Key, IsIdentity = True, Identity Increment = 1, Identity Seed = 1)
    -- Name (DataType = nvarchar(100), Allow Nulls = false)
    -- Description (DataType = nvarchar(MAX), Allow Nulls = false)
    -- StartDate (DataType = smalldatetime, Allow Nulls = false)
    -- EndDate (DataType = smalldatetime, Allow Nulls = false)
    -- Notes (DataType = nvarchar(MAX), Allow Nulls = true)
- Put in two sets of data in the table, one that has no value for Notes and one that does.
- In design view, add a SqlDataSource, link it to the above database and allow Insert, Delete and Update database with Optimistic Concurrency turned on.
- In design view, add a DetailsView control and pick the above as Data Source. Enable Paging, Inserting, Editing and Deleting
- View in browser.
- Click Edit for the entry that does not have a value for Notes. Make any changes to any field, then click Update.
- Do the same for the entry that does have a value for Notes.
 
Actual Results
The data set for which there is no Notes does not get updated with new information. It just displays the same information as before changes were submitted. It is not possible to delete this data entry either.
Everything works fine for the data set that has a value for Notes except until you delete the value for Notes and then it starts behaving like the above.
If optimistic concurrency is turned off, data editing/deleting behaves normally without the above problems.
ecofriend
Asp.Net User
Re: Wierd problem updating database.10/19/2007 11:17:25 PM

0/0

How important is optimistic concurrency anyway?

naturehermit
Asp.Net User
Re: Wierd problem updating database.10/22/2007 12:21:25 PM

0/0

Sorry weekend....VM means virtual machine..


Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
ecofriend
Asp.Net User
Re: Wierd problem updating database.11/21/2007 7:34:59 PM

0/0

9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming Languages and Systems: 15th European Symposium on Programming, ESOP 2006, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2006, Vienna, Austria, March 27-28, 2006 ; Proceedings Authors: Peter Sestoft, Pages: 343, Published: 2006
Learn to Program Visual Basic Databases: Databases Authors: John Smiley, Pages: 653, Published: 2000
Oracle Database 10g High Availability with RAC, Flashback & Data Guard: High Availability with RAC, Flashback & Data Guard Authors: Matthew Hart, Scott Jesse, Pages: 421, Published: 2004
MySQL Cookbook: Solutions and Examples for MySQL Database Developers. Authors: Paul DuBois, Pages: 992, Published: 2003
Access 2007: The Missing Manual Authors: Matthew MacDonald, Pages: 734, Published: 2006
38th Annual 2004 International Carnahan Conference on Security Technology: 38th Annual : Proceedings : October 11-14, 2004, Albuquerque, New Mexico Authors: Larry D. Sanson, Institute of Electrical and Electronics Engineers, Institute of Electrical and Electronics Engineers, Institute of Electrical and Electronics Engineers Lexington Section, Pages: 363, Published: 2004
C# in a Nutshell: A Desktop Quick Reference Authors: Peter Drayton, Ben Albahari, Ted Neward, Safari Tech Books Online, Pages: 897, Published: 2002
Computer-readable Databases: A Directory and Data Sourcebook Authors: Martha E. Williams, Kathleen Young Marcaccio, Pages: 1646, Published: 1991
Dreamweaver MX 2004: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 836, Published: 2004

Web:
Wierd problem updating database. - ASP.NET Forums Re: Wierd problem updating database. 10-16-2007, 1:41 PM. Contact ... Re: Wierd problem updating database. 10-18-2007, 8:23 AM. Contact ...
vbCity/DevCity.NET Forums :: .NET :: VB.NET :: Weird Problem on ... I found a very weird problem here with my Point-Of-Sales System. I'm using VB. NET 2003 connect MySQL 4.0 database for this system. ...
Weird Problem ... apache? database connection? - vBulletin.org Forum Weird Problem ... apache? database connection? ... Yum update and an aggressive httpd.conf seems to have taken away the high loads. ...
Liferay - Forums - RE: wierd problem with persistence, sometime ... wierd problem with persistence, sometime works, sometime not ... it always works (always update the database with new data(VerifyTime)). ...
MySQL :: Can't update database from C#.NET I am trying to update database table which has a long blob and trying to store an binary image (jpg). I have a weird problem. When I try to do this in my C# ...
MSDN Visual Basic General Re: Wierd OleDbException was unhandled Error However, now another problem has arisen! I finished off the Code Snippet with the following lines of code to Update and Save the Database Table with the new ...
Weird problem inserting image in DB... I'm experiencing quite a weird problem inserting an image in a database. I've designed a small form with some fields and a picturebox. ...
Wierd problem with session ending in ASP.NET 2.0 with VS ASP.NET ... Wierd problem with session ending in ASP.NET 2.0 with VS ASP. ... Go to a page that makes a SQL database update to a row in any table. ...
Weird Update problem I have a weird update problem that I hope somebody can shed some light on... I have a database creation script that was written by SQL ...
WordPress MU › Weird problem, wpmu 1.5.1 « WordPress MU Forums Oct 6, 2008 ... I know files dont change themself, thats why I find it weird because it seems like nothing changed. Can things like cpanel and WHM update ...

Videos:
Moodle Mod Database Inconsistencies in 1.7 DEV cvs Weird behavior with templates and tags. Apparently template data is not updating to display/ updating erratically.
A Googly MySQL Cluster Talk Google TechTalks April 28, 2006 Stewart Smith Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an active memb...
Youtube Code of Conduct " UpDownMostly " Obaid Karki An Outcast Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Urban Talkshow Guru. Unaffili...
Youtube Code of Conduct " for Muslims and others of course " Obaid Karki An Outcast Spinoziste Pantheon Hexalingual Automath Former UAE Under Secretary Independant Street-Knowledge Urban Talkshow Guru. Unaffili...
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an Assistant Prof...
Glimpse Inside a Metaverse: The Virtual World of Second Life Google TechTalks March 1, 2006 Philip Rosedale and Cory Ondrejka ABSTRACT Linden Lab is the producer of Second Life, an online world with a growing...
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...




Search This Site:










flash in 08 express

code behind page not executing

vwd 2008 express bug? cannot display aspx in design mode and split mode

website/asp.net configuration doesn't work in vwd 2008

conflict between internet explorer v7 and visual web developer 2008 beta?

mainmenu component invisible in toolbox

framework error

when i hit absolute in the format menu to move a control it also changes the size of that control

cannot create/load website

where can i find...

reporting add-in for vwd 2008 express ???

ctrl f5 does not navigate to my page

intellisense cssstyle bug?

does dotnetnuke v4.8 work with vwd 2008 express?

unable to get file 'somefile.txt' from the server

how to make vwd 2008 become default html and css editor??

error while browing in iis 6 -64 bit

image map

what happened to my css intellisense in vwd 2008 express?

ajax control tools

lost all project files!!!

layers

multiple tables/components at once in design view, how to link/unlink them

many references not known to beta 2

vwd 08 doesn't display frames

vwd closes when trying to go to design mode

how to disable "save target as"?

use vwd 2008 express to open windows 2008/iis7 site

visual web devl 2008 express to create 2.0 web site

design tabs

  Privacy | Contact Us
All Times Are GMT