To test out the functionality you have so far, save all your changes, close all open files, and
then request NewPhotoAlbum.aspx in your browser. Make sure you donât accidentally open
ManagePhotoAlbum.aspx, because it requires a query string that is sent by NewPhotoAlbum.aspx.
Enter a new name for the photo album and click Insert. Youâre taken to ManagePhotoAlbum.aspx,
where you can enter new pictures. For now, all you can do is enter the description of the picture,
So i have followed the book word by word but when i enter a new album name in NewPhotoAlbum.aspx .. i get this error message...
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Most likely causes:
â¢The directory or file specified does not exist on the Web server.
â¢The URL contains a typographical error.
â¢A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
â¢Create the content on the Web server.
â¢Review the browser URL.
â¢Check the failed request tracing log and see which module is calling SetStatus. For more information, click here.
Detailed Error Information:
Module
IIS Web Core
Notification
MapRequestHandler
Handler
StaticFile
Error Code
0x80070002
Requested URL
http://localhost:2210/ManagePhotoAlb...toAlbumId=2017
Physical Path
C:\BegASPNET\Site\ManagePhotoAlbum
Logon Method
Anonymous
Logon User
Anonymous
Request Tracing Directory
C:\Users\gb7bold1\Documents\IISExpress\TraceLogFil es\SITE
The record gets added to the database but the page doesnt re-direct to the Response.Redirect(string.Format("ManagePhotoAlbum? PhotoAlbumId={0}", photoAlbum.Id.ToString()));
I have checked for typo's etc, i just cant get my head around this one. please help.