|
ToddHileHoffer wrote: Click Help>Index>
Filter by C#
Look for the IO namespace. Read help files.
Or find this truly mystical and magical tool, that the gurus like to call google.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Help is a mystical and magical tool, unknown to most here.
|
|
|
|
|
Dear All,
Client is accessing Weblogic server.While seeing log on server we have seen that client is accessing a file but the file doesnt resides on server.
The file name is
%C2%A2.gif .
We only want that we palce any gif file with this name so that server dont generate 404 ERROR (FILE NOT FOUND).
But when we place this file %c2%a2.gif in desired directory the server doesnt able to recognize this.
Please suggest me which file name can be used for dauging server and for avoiding error log.
|
|
|
|
|
Don't use stupid filenames.
|
|
|
|
|
ednrgc wrote: Don't use stupid filenames.
Scored a 5. I didn't even want to waste my time replying to the original post. But you are correct.
|
|
|
|
|
You can not use url encoded file names on the server and expect them to match the url encoded url. You have to decode the url to determine the file name.
The file name that the client is trying to access is probably:
¢.gif
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Dear,
try Server.HtmlEncoding(fileName)which in this case car get u c:/A2.gif
Happy Coding
My Blog
Best Regards,
Haissam Abdul Malak
|
|
|
|
|
HI
Guys can any one let me know any other reporting tools other then crystal report for web application, reporting tool should have no limitations and it should be reliable, plz reply ASAP,thankx in advance for ur Replies,
|
|
|
|
|
Microsoft Reporting Services? Pretty decent really.
|
|
|
|
|
Is this tool flexible and reliable? please reply me asap.
thanks for ur previos reply.
|
|
|
|
|
It's reliable (as it's part of SQL server) and flexible up to a point. It really depends what you want to do. You'll find more info on the microsoft site.
|
|
|
|
|
Can u please let me know how to embed it with dot net ide, waiting for ur reply asap.
|
|
|
|
|
Hi.
In my webapplication, i never handle errors by try catch (my code language is c#).
But I handle all errors in PageError and Applicationerror events. But after handling them, I want to show my message in another page. I do that on this way:
Response.Write("window.open('errorpage.aspx')");
But I have a problem. On this way, the first page shows the exception and the code which error was raised. But I want to show the original page, because I show my message in another page.
Please offer my method to do the way which I want to handle my errors.
Thanks
Rastgar
|
|
|
|
|
m.rastgar wrote: i never handle errors by try catch
Nice programming practice
Why not handle the error, create a logging object that handles the exception and pops up a page with the info?
|
|
|
|
|
m.rastgar wrote: Please offer my method to do the way which I want to handle my errors.
Debug and eliminate them, then they won't show up and you won't have to worry about displaying them.
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: Debug and eliminate them
And how exactly do you debug and eliminate Natwork outages, timeouts (except raising the script timeout to an unusually high number) or any number of other exceptions that can happen during the ongoing usage of any application?
|
|
|
|
|
Seriously, if those of you posting here are employed as programmers then I should become a consultant so I can get paid $$$ to clean up all the mess you all are inevitably creating. If your not going to use try catch blocks, at least use an error handling class.
|
|
|
|
|
Hey, me first on the clean up gig, I posted first.
only two letters away from being an asset
|
|
|
|
|
|
could i have a class when any exception raises, my class method raise>
if yes, tell me how?
Thanks
Rastgar
|
|
|
|
|
Hi Friends,
just brief me on method level security in web services.. just two three lines on wat needs to be done.
|
|
|
|
|
Line 1: TRY
Line 2: USING
Line 3: GOOGLE
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
He aims, he shoots, he scores...
Back of the net
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
I am a chinese too,i got a very good open-source project NBear,and there is a "NBear Starter Kit" in it , it's a web project using multi-language(chinese,english and other) write in C# asp.net2.0
NBear website http://nbear.org
|
|
|
|