|
Good you've got that off your chest. Now excuse me, but I'm going to bed
|
|
|
|
|
You know, regarding the Early bird, always keep in mind what happens to the early worm.
|
|
|
|
|
1. trickle ice-cold water down the back of your neck.
2. hyperventilate for one-minute (look up kapalabhati on the web)
3. caffeine, lots of it
Or, consider living several time-zones east from where you live now.
cheers, Bill (night-owl, genetically)
p.s. in Thai, a "night owl" is "manoot kankhaew," literally: "bat-man/"
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
THIS [^] is for you!
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hi Friends,
I am getting the following problem while clicking on the download button of my ASP.Net (C#) application. Please help me.
Access is denied
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: Access is denied
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +625
System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +60
SMARTERPSYSTEM.PL.eDMS.WorkFlow.eDMSReview.lnkDoc_Click(Object sender, EventArgs e) +166
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +143
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +148
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3619
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.81.0
|
|
|
|
|
Read the bit in red at the top of the page - this is not the place to post programming questions.
Try here: Ask a Question[^]
But that is a useless question: it gives us nothing to work from.
Look at the stack trace, and it tells you where in your code the problem came from - look at that code and give us a clue as to what you are doing that might cause it: we can't see your screen, access your HDD, or read your mind!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
System.Diagnostics.Process.Start(filepath);
I have written the above code onclick event of the button, and also given all privilege to the folder to everyone. Still I am getting the error.
It is working when i run the code but when I deploy the published file on server the same error shows.
|
|
|
|
|
This is not the right place: post this in QA and include the code - along with what is in the filepath Ask a Question[^]
I'm sure you will get help there, but you won't here.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
You're welcome!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Aw, shucks! Now we will never find out what the answer was.
Sin tack ear lol
Pressing the any key may be continuate
|
|
|
|
|
|
Hi Srikanta. First of all, thanks for your first posting in Code Project. It's when we have people that come ask questions, give feedback, write articles and generally get involved that this becomes a really vibrant community. Unfortunately, there are some rules about posting on this site that you seem to be unaware of - by learning these rules and conventions, your experience on this site will hopefully be a positive one; one that you'll want to repeat.
When posting, it's worth checking to see if the forum you are posting in is the most appropriate one. By picking the right forum, you stand much more chance of getting a suitable response. If you are unsure if you should be posting in that forum, take a look at the sticky message that's at the top of the forum (it should be the first one, from Chris Maunder). That note should give you guidelines on how to ask questions, and whether or not that forum is suitable for programming questions. If you look at the post at the top of this forum, you will find a message stating that programming questions should not be asked in the lounge. Violating this rule can lead to some of our more vocal members being hard on the question.
So, where should you ask your question? If you look at the forum list[^] you will see there's an ASP.NET forum. That's the place you should ask this question. Remember though - when asking your question, make it as full of detail as possible. Tell us what the relevant code is. Before you ask your question, you might want to read this article[^] which acts as a guide for asking questions here, and which should help you get the best answering experience possible.
This space for rent
|
|
|
|
|
I so wanted to reply with "Access Denied" to the OP but you always manage to bring me to the moral high ground, albeit with a bit of kicking and screaming.
Marc
|
|
|
|
|
Too bad! Good luck solving it!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
srikanta mohanty wrote: I am getting the following problem while clicking on the download button of my ASP.Net (C#) application
<Tommy Cooper voice>Then don't click it!</Tommy Cooper voice>
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: srikanta mohanty wrote: I am getting the following problem while clicking on the download button of my ASP.Net (C#) application <Tommy Cooper voice>Then don't click it!</Tommy Cooper voice>
Couldn't agree more. Clicking things is highly overrated and should be avoided when possible.
You can't win.
You can't break even.
You can't quit.
You're welcome.
|
|
|
|
|
Debugging a bitch of a binding problem in MVC and I get the following;
Synchronous XMLHTTPrequest on the main blah blah thread is deprecated because of it's detrimental effects on the end user's experience.
uSoft always looking for ways to make your life easier.
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
It has nothing to do with MVC or Microsoft...
Synchronous and asynchronous requests - Web APIs | MDN[^] (It's about Mozilla, but Chrome does the same)...
From my experience it still works, but at you have to stop using synchronous calls...
Synchronous XMLHttpRequest outside of workers is in the process of being removed from the web platform as it has detrimental effects to the end user’s experience. (This is a long process that takes many years.) Developers must not pass false for the async argument when current global object is a Window object. User agents are strongly encouraged to warn about such usage in developer tools and may experiment with throwing an InvalidAccessError exception when it occurs.
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Thanks for the feedback, useful info.
Didn't really dive into it much got a crushing headache and nothings been going right.
Well except I did find my binding problem but after 2 hours of hunting it down it was a duh moment.
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
Do you work for CodeProject? That was exactly the same problem that was causing the painfully slow typing[^] last December.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Binding problems remind me of pointer problems back in he day. Solving them could take minutes or hours depending on subtlety and coffee intake.
[update]
Did you ever reply to a message and then realize it was totally out of content? Pre-coffee error
[/update]
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
modified 15-Feb-17 9:47am.
|
|
|
|
|
I've been using SignalR on a couple of projects and I'm very impressed with it. Basically it allows servers to communicate with connected clients in real time or near real time. We're using it on a project to have a collection of instruments notify a server when a process is complete on each instrument. That notification to the server then results in a web app being updated. This allows users to know that status of any instrument from anywhere.
So in working on it I thought of another potential use case for SignalR - record lock/unlock notification:
Consider the scenerio where a data entry form is going to be used by multiple users. You can't just let the user start editing data without knowing if another user is editing that record already. There are many ways to handle locking the UI until no one else is using it, but here's an idea....
The SignalR hub running on the server could maintain a list of views/user id's/states (NotInUse/InUse) and provide real time notification to all other clients when that state changes. Then, the views would update their "Edit" button enabled state in real time when a record becomes available or locked. The server would need functions to release all locks and other stuff, but this is the basic idea. And, it could probably be written generically enough that you could use it right out of the box on any app with little to no modifications.
Without getting into the detail here in the Lounge, do you guys think this is an idea worth of writing up? Any reason you wouldn't use this approach?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: Any reason you wouldn't use this approach?
Yes - I haven't learned SignalR ...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hence my point that I would make it generic... All you would have to do is include my assembly and subscribe to an event.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|