I have downloaded the Personal Web Site Starter Kit and there seems to be a number of errors in the Handler.ashx module.
All references to 'PhotoSize' and 'PhotoManager' generate errors ie:
Error 5 The name 'PhotoSize' does not exist in the current context C:\Inetpub\wwwroot\PersonalWebSite\Handler.ashx 33 12 C:\...\PersonalWebSite\
Can someone please help me with this issue...
The application will NOT execute from VWD Express - says errors - do you want to run from last successful build - Yes gets me
Server Error in '/PersonalWebSite' Application.
Compilation Error
Description:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'PhotoSize' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 19: context.Response.BufferOutput = false; Line 20: // Setup the Size Parameter Line 21: PhotoSize size; Line 22: switch (context.Request.QueryString["Size"]) { Line 23: case "S":
Are you telling me that the Personal Web Site Starter Kit is NOT functional straight from the download ? That it has to be modified -or- enhanced to make it run. Surely it should run out-of-the-box so to speak ie: straight from the download with no modifications...
My downloaded Personal Web Site Starter Kit with no modifications contains errors and will not execute ?
I don't remember having issues with it back when I downloaded it a couple of years back albeit there were many possibilities to enhance or tweak it if you will.
Have you done some research, do a search on asp.net with the error you are having and see if anyone else has that error as well.
Thanks, but I have looked up the error and it says the definition is missing. I am very new to .Net and I just don't know 'where' or 'how' to declare it... ie: Dim - I know it's not Dim since it's in C# -but- you see what I mean as being very new... :):):)
If someone could give me a clue as to which module should contain the definition and how it should be declared
ie: as somewhere in here public void ProcessRequest (HttpContext context) { -or- up to with something like private int _id;
None
0 Points
50 Posts
Personal Web Site - ERRORS
Jan 05, 2009 05:35 PM|Paul44|LINK
I have downloaded the Personal Web Site Starter Kit and there seems to be a number of errors in the Handler.ashx module.
All references to 'PhotoSize' and 'PhotoManager' generate errors ie:
Error 5 The name 'PhotoSize' does not exist in the current context C:\Inetpub\wwwroot\PersonalWebSite\Handler.ashx 33 12 C:\...\PersonalWebSite\
Can someone please help me with this issue...
The application will NOT execute from VWD Express - says errors - do you want to run from last successful build - Yes gets me
Server Error in '/PersonalWebSite' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0246: The type or namespace name 'PhotoSize' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Can anyone help me out here ?
Thanks,
Paul
Member
100 Points
30 Posts
Re: Personal Web Site - ERRORS
Jan 06, 2009 12:40 AM|forusree2111|LINK
Hi Paul,
Check the link for more details:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/784eeb32-d781-4917-95b3-34f302a81680.mspx?mfr=true
Also check
http://www.infosysblogs.com/microsoft/2007/02/configuring_custom_http_handle.html
~Sree
Hyderabad
http://sreekanth-technocrat.blogspot.com/
http://forusree2111.wordpress.com/
None
0 Points
50 Posts
Re: Personal Web Site - ERRORS
Jan 06, 2009 06:32 PM|Paul44|LINK
Are you telling me that the Personal Web Site Starter Kit is NOT functional straight from the download ? That it has to be modified -or- enhanced to make it run. Surely it should run out-of-the-box so to speak ie: straight from the download with no modifications... My downloaded Personal Web Site Starter Kit with no modifications contains errors and will not execute ?
Participant
794 Points
872 Posts
Re: Personal Web Site - ERRORS
Jan 10, 2009 08:24 AM|aabruzzese|LINK
Paul,
It is a starter kit right?
I don't remember having issues with it back when I downloaded it a couple of years back albeit there were many possibilities to enhance or tweak it if you will.
Have you done some research, do a search on asp.net with the error you are having and see if anyone else has that error as well.
Best of luck to you.
None
0 Points
2 Posts
Re: Personal Web Site - ERRORS
Jan 10, 2009 09:14 AM|SusanReady1|LINK
Thanks, but I have looked up the error and it says the definition is missing. I am very new to .Net and I just don't know 'where' or 'how' to declare it... ie: Dim - I know it's not Dim since it's in C# -but- you see what I mean as being very new... :):):) If someone could give me a clue as to which module should contain the definition and how it should be declared
ie: as somewhere in here public void ProcessRequest (HttpContext context) { -or- up to with something like private int _id;
Thanks for your reply,
Paul