hi i am oracle DB.
i am uploading keywords into the DB. but i am getting the error
java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
at sun.jdbc.odbc.JdbcOdbc.createSQLE...
hi
is there any way to turn off exception message showing during run-time in Delphi application?
i think there must be a directive to turn off exception message but i cant remember it.
...
I'm working on a web app that very rarely returns a Javacript permission denied error when attempting to access document elements. I'm well aware of cross-domain issues and I am actively pursuing them as a possible cause. My question is: are there other possible causes for a permission denied exception? Just want to make sure I'm look...
What i try to accomplish is to register a global handler to catch all uncaught exceptions.
Searching the web i only managed to find people pointing out window.onerror but this doesn't do the trick for me.
Apparently window.onerror only gets called upon errors and not upon exceptions.
Assume the following code:
function windowErro...
In writing Win32 C++ code, I'd appreciate some hints on how to handle errors of Win32 APIs.
In particular, in case of a failure of a Win32 function call (e.g. MapViewOfFile), is it better to:
use AtlThrowLastWin32
define a Win32Exception class derived from std::exception, with an added HRESULT data member to store the HRESULT correspo...
It seems to me that it is rendundant information as the usage of the class will make it apparent that it is an exception. Furthermore, in PHP, the class must extend the Exception class so it will be apparent that it is an exception when looking at the class on its own.
Despite this, developers usually apply the suffix 'Exception'. Why i...
In my android app I set
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN );
Then my touch screen event doesnt’ work any more.
Further Explaining,
I have a button and onClick it changes the contentView by setContentView(R.layout.choose_play...
Can any one please let me know, why this following error has been thrown from PHPExcel classes
Fatal error: Uncaught exception 'Exception' with message 'Could not close zip file
/var/www/mydomain/myexcel.xlsx.' in /var/www/mydomain/Classes/PHPExcel/Writer
/Excel2007.php:400 Stack trace: #0 /var/www/mydomain/myexcel.php(173):
PHPEx...
I have been coding an app in classic ASP that accesses 2 Access databases. I had a page I was working on throw an exception, which is normal during development and causes no lasting problems. This time however, after the exception any attempt to open either of the databases would freeze the session with an infinite script timeout. If ...
In my application i am uploading files to sharepoint 2007. I am using
using (WebClient webClient = new WebClient())
{
webClient.Credentials = new NetworkCredential(userName, password);
webClient.Headers.Add("Content-Type", "application/x-vermeer-urlencoded");
webClient.Headers.Add("X-Vermeer-Content-Type", "application/x-vermeer-url...
Anybody seen this exception before, Google doesn't have a single post regarding the exception.
The code that raises the error is a simple add.
Items.Add(item);
System.TypeLoadException: Bad flags on delegate constructor.
at System.Windows.Forms.ListView.Sort()
at System.Windows.Forms.ListView.InsertItems(Int32 displayIndex, List...
Hi
I have a problem with a WCF Service I've just created. This was working yesterday but for some reason it's just stopped working.
One of my WCF methods returns an array of an Entity Framework entity, like this:
public BranchContactDetail[] GetClosestBranches(string postcode, int howManyBranches)
{
GeoLocation geoLoca...
Hello (this is a long post sorry),
I am writing a application in ASP.NET MVC 2 and I have reached a point where I am receiving this error when I connect remotely to my Server.
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user ...
I'm using IErrorHandler to do exception handling in WCF and now I want to log the exceptions, along with the stack trace and the user that caused the exception.
The only way I can see to get the user that caused the exception is:
OperationContext.Current.IncomingMessageProperties.Security.ServiceSecurityContext.PrimaryIdentity
...But ...
My goal is to have an error bean returned on a 404 with a descriptive message when a object is not found, and return the same MIME type that was requested.
I have a look up resource, which will return the specified object in XML or JSON based on the URI (I have setup the com.sun.jersey.config.property.resourceConfigClass servlet paramet...
I have a setup that looks like this.
class Checker
{ // member data
Results m_results; // see below
public:
bool Check();
private:
bool Check1();
bool Check2();
// .. so on
};
Checker is a class that performs lengthy check computations for engineering analysis. Each type of check has a resultant double that the...
Hey guys,
I have an MS SQL Server 2005 Express running on a VPS.
I'm using pymssql in Python to connect to my server with the following code:
conn = pymssql.connect(host='host:port', user='me', password='pwd', database='db')
and it works perfectly.
When I try to connect to the server from an ASP.NET C# page with the following code:
...
May I ask should the error catching code be placed at the lowest level or at the top as I am not sure what is the best practice? I prefer placing at the bottom, example a, as
Example a
public static void Main(string[] args)
{
string operation = args[0];
int value = Convert.ToInt32(args[1]);
if (operation...
Hi,
Looking at our code coverage of our unit tests we're quite high. But the last few % is tricky because a lot of them are catching things like database exceptions - which in normal circumstances just dont happen. For example the code prevents fields being too long etc, so the only possible database exceptions are if the DB is broken/...
Hello,
I am sending commands over suds. I have errors occuring in the command line but I do not know which exceptions to place in as I am not sure which ones to use for SUDS.
try:
result = self.client.service.GetStreamUri(self.stream, self.token)
print result
assert True
except suds.WebFault, e:
...