View Single Post
  #4 (permalink)  
Old January 25th, 2009, 04:35 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Psyclist,

On top of what Old Pedant said, a few things. First, the error message. Does it really say this:
Quote:
The conflict occurred in the database "C:\http://localhost:1497/ManagePhotoAlbum.aspx?PhotoAlbumId=6"
It seems strange that the database and URL are mixed....

Secondly, can you post your code for the file ManagePhotoAlbum.aspx.cs / ManagePhotoAlbum.aspx.vb? Maybe you're not getting the right ID from the query string?

Finally, can you define "On the third, I got an exception error". That is, do you get an error when you go to that page the third time, or when you stay on the page when you try to insert a number of pictures in succession?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!