Click here to Skip to main content
15,887,875 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Use of javascript Pin
eyeseetee6-Jul-08 21:43
eyeseetee6-Jul-08 21:43 
GeneralRe: Use of javascript Pin
niki_nilu6-Jul-08 21:54
niki_nilu6-Jul-08 21:54 
GeneralRe: Use of javascript Pin
eyeseetee6-Jul-08 22:07
eyeseetee6-Jul-08 22:07 
AnswerRe: Use of javascript Pin
Sherin Iranimose6-Jul-08 22:24
Sherin Iranimose6-Jul-08 22:24 
AnswerRe: Use of javascript Pin
Ivan.Yan6-Jul-08 23:13
Ivan.Yan6-Jul-08 23:13 
Questiontoggle button extender in panel.........., Pin
Member 38798816-Jul-08 21:27
Member 38798816-Jul-08 21:27 
QuestionError:server.mappath Pin
rockram6-Jul-08 21:03
rockram6-Jul-08 21:03 
AnswerRe: Error:server.mappath Pin
Imran Khan Pathan6-Jul-08 21:13
Imran Khan Pathan6-Jul-08 21:13 
You did not type an error message.


rockram wrote:
string filepath = "C:/Documents and Settings/Owner/My Documents/Visual Studio 2005/sample/dict-large.txt";

// Open our dictionary file
StreamReader srDictionary = new StreamReader(Server.MapPath("dict-large.txt"));--->Error Line


Does dict-large.txt file exist in application folder?
If it exist then why did you get file path from local machine?
If it does not exist then you can not make server.MapPath

try this if it does not exist.

string filepath = "C:/Documents and Settings/Owner/My Documents/Visual Studio 2005/sample/dict-large.txt";

// Open our dictionary file
StreamReader srDictionary = new StreamReader(filepath);


regard
Khan

please don't forget to vote on the post that helped you.

AnswerRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
rockram6-Jul-08 21:32
rockram6-Jul-08 21:32 
GeneralRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
eyeseetee6-Jul-08 21:45
eyeseetee6-Jul-08 21:45 
GeneralRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
N a v a n e e t h6-Jul-08 22:25
N a v a n e e t h6-Jul-08 22:25 
QuestionIE6 vs IE7 and Firefox Pin
TheEagle6-Jul-08 20:56
TheEagle6-Jul-08 20:56 
AnswerRe: IE6 vs IE7 and Firefox Pin
eyeseetee6-Jul-08 21:34
eyeseetee6-Jul-08 21:34 
QuestionExport to Excel sheet from Datagrid Pin
Harini N K6-Jul-08 20:56
Harini N K6-Jul-08 20:56 
Questionquery to find those student names who did not appear in all exams [modified] Pin
Pankaj Garg6-Jul-08 20:35
Pankaj Garg6-Jul-08 20:35 
AnswerRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 21:41
eyeseetee6-Jul-08 21:41 
GeneralRe: query to find those student names who did not appear in all exams Pin
Pankaj Garg6-Jul-08 21:47
Pankaj Garg6-Jul-08 21:47 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 21:53
eyeseetee6-Jul-08 21:53 
GeneralRe: query to find those student names who did not appear in all exams Pin
Pankaj Garg6-Jul-08 21:59
Pankaj Garg6-Jul-08 21:59 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:12
eyeseetee6-Jul-08 22:12 
JokeRe: query to find those student names who did not appear in all exams Pin
hogan.john6-Jul-08 22:11
hogan.john6-Jul-08 22:11 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:14
eyeseetee6-Jul-08 22:14 
GeneralRe: query to find those student names who did not appear in all exams Pin
hogan.john6-Jul-08 22:19
hogan.john6-Jul-08 22:19 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:37
eyeseetee6-Jul-08 22:37 
Questiongrid view insertion Pin
ss20506-Jul-08 20:31
ss20506-Jul-08 20:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.