I am building an admin portal for a helpdesk. On one page I have a dropdown with a LinkButton, and another a dropdown with a Button. Both buttons redirect to the page they are clicked from by firing off a Response.Redirect(), like so:
Response.Redirect(String.Format("article.aspx?action={0}", ActionDropDown.SelectedValue), False)
This...
Okay, I'm aware that the standard dictates that a C++ implementation may choose in which order arguments of a function are evaluated, but are there any implementations that actually 'take advantage' of this in a scenario where it would actually affect the program?
Classic Example:
int i = 0;
foo(i++, i++);
Thanks.
Note: I'm not look...
This is in reference to another question I asked, though it is its own question entirely.
when I compile I get two errors:
1>.\asst4.cpp(73) : error C2065: 'outfile' : undeclared identifier
1>.\asst4.cpp(73) : error C2228: left of '.close' must have class/struct/union
I'm slightly confused as to what I've done incorrectly here? Any r...
Background
I have a project named PersonLibrary which has two files.
Person.h
Person.cpp
This library produces a static library file. Another project is TestProject which uses the PersonLibrary (Added though project dependencies in VS008). Everything worked fine until I added a non-member function to Person.h. Person.h looks like
c...
I'm finding this problem every now and then in my production website, and it has me absolutely stumped...
My app works perfectly in both dev and production, but every now and then, I get an e-mail from my global error handling with this:
MESSAGE: This is an invalid webresource request.
URL: /WebResource.axd
(which means that for some r...
I'm trying to write a simple component that will allow you to embed one or more SDL rendering surfaces on a Delphi window, using the SDL 1.3 APIs. It will compile and install just fine, but when I try to use the component in the form designer, it raises AVs whenever I try to access its properties in the object inspector, save the form, ...
I have a C# application that uses the built-in MSI builder in Visual Studio 2005.
After deploying the application using the MSI (via CD) onto the target computer, I launch the Desktop shortcut (as privileged user) and the program runs as expected. But, if I log out and then back in as an unprivileged user and try to run the application...
When accessing an application I've written FireBug shows that each call to a web service or HTTP handler is attempted three times, and the first two times show as '401 Unauthorized' even though they return the correct result. This consistent. Every call does this same thing.
Any ideas why this happens?
...
Hello,
I am getting this error
error: Access.Core may be used uninitialized in this function
And this is my code:
static int FirstTime = 1;
MyStruct Access;
if (FirstTime) {
FirstTime = 0;
Access = Implementation();
DoSomething(Access);
}
if(Other_Variable) {
Access = Implementation2();
DoSomething(Access);
...
I am hosting a WCF Web Service with IIS 6.0. My application pool is running under a local Administrator account, and I have other local users defined for accessing the Web Service. I've written the following code to validate users:
//Any public static (Shared in Visual Basic) members of this type are thread safe
public static Principal...
Hi guys, could u help me out?
I run this on cygwin as ./test.sh and I get unexpected end of file on line 51.
Any thoughts?
Thx in advance
LAST EDIT: final version 'runnin on CygWin, the problem was with the line break, CrLf instead Lf.
#!/bin/sh
##################################################
## USAGE
##############################...
hi ,
i have a SSRS report.
When i execute this from report manager it run fine for the first time.
but if i change my option and try again report doesnt executes, and i an getting the webpage error saying 'Object required/needed'. Please let me know the reason for it.
Thanks,
San
...
I have the following code:
XAML code for Window1.xaml and the VB.Net code for Window1.xaml.vb.
The error I get is the following:
"Cannot create instance of 'Window1' defined in assembly 'ServiceControl, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in marku...
When I try to generate images from an swf file I sometimes get following error:
*Catastrophic Failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))*
I get this error when the SWFToImageObject is executing the Execute_Begin(),Execute_End() or Execute_GetImage() methods. It all depends.
REMARK:
You get the error for sure when you ...
I have the following code that adds a background worker into a VB.net WPF project:
Imports System
Imports System.ComponentModel
Imports System.ComponentModel.BackgroundWorker
Imports System.IO
Imports System.Threading
Imports System.Net
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Win...
Hello
I am getting the an error on the following code in one of my partial views
<% form_for (@user) |form| %>
SyntaxError in User#edit
Showing user/_user_edit_form.html.erb where line #1 raised:
compile error
../app/views/user/_user_edit_form.html.erb:1: syntax error, unexpected ';'
_erbout = ''; form_for (@user) |form| ; _erbout...
I need a fresh set of eyes on this. I got this code from someone who said it worked.
Here is the error:
PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\Inetpub\wwwroot\2am\employment\send-email-form.php on line 19
Line 19 is the first line of GetUploadedFileInfo(). I get the error for line...
I'm getting compile error in this code
#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
void main(int argc,char *argv[])
{
int i;
for(i = 0;i<10;i++)
fprintf(cout,"%d\n",i);
fprintf(cout,"abc:\n");
string s;
cin>>s;
if(s == "resum...
In SharePoint,
I want to be able to direct to a custom error page if a 404 is reached.
However, after following:
How to point to a custom 404 error Web page in Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007
I'm unable to hit my custom error page when trying for entries such as:
http://localhost/adsdasa...