I set up a new database on 2 new servers and got this error in my GWT application on both servers:
Fatal Error:
org.orm.PersistentException: org.orm.PersistentException:
org.orm.PersistentException:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [Company.Table#-1]
The same system is already running on 5 other servers without problems (same MS SQL version, same GWT application, sql data is replicated). Therefore, I think it is not a bug in my GWT application.
The same error I used to get. I found that the data is already deleted or not available in database but still data was accessed from eg: from client.
ex. I deleted one row from from my view GRID in GWT App but it was not reloaded and it was showing on screen I again tried to delete the same row I got this error.
Solution : Refresh the page will solve the problem. It worked for me. :)
Related
I have spent 2 days chasing this one round and round, and I have tried several solutions (detailed below).
Problem. When retrieving Geographical data from a Microsft SQL Database I get an error
DBServer routine OpenDataSet has failed with error DataReader.GetFieldType(3) returned null.
From what I have read, this is typically because the project cannot load or access Microsoft.SqlServer.Types, so it can't interpret the returned data effectively
What I have tried;
Removing and readding the reference.
Setting the assembly to copy Local
Removing and reinstalling via Nuget (v14.0)
Referencing said assembly in the web.config
Adding a utility class in Global.asax, then calling that on Application_Start to load in the other dependent files
LoadNativeAssembly(nativeBinaryPath, "msvcr120.dll")
LoadNativeAssembly(nativeBinaryPath, "SqlServerSpatial140.dll")
The error happens whether I am running locally (not such a key issue) or on an Azure vps (SqlServer Web Edition).
The stored procedure I am calling to return the data works fine. (In fact, this code is a lift and shift project. the old vps works fine if we fire it up, so it is most likely a configuration issue and all the above I have done is wasted effort. But the original developer is not contactable, nor are there any notes on how this was made to work.)
I have a Domino App that runs on the web as well as in the lotus notes client. I can open and save my main form in the LN client without issues and i can open it in the browser as well. When i try to save it in the browser, i get the "Error 500 HTTP Web Server: Corrupt Data Exception" page displayed. I made a copy of the form, and started removing all of the fields on the original one field at a time and still got the error page. I copied an identical form from my test database to the production db thinking that would work but i get the error "Error 404 Entry not found in index" error page with that form.
I am at a complete loss as what to do next so i am hoping that someone here can give me a little direction.
Thanks
Corrupt Data Exception is usually displayed if: 1 open the document in web, 2 change the designe of the form 3 try to save.
Did you removed all cache of you browser (ok this is trivially but I can't be sure you checked this)
could you check in the log.nsf what is the precise error written there (Corrupt Data.. which DB which &seq= )
did you try rebooting (or at least tell http restart) the server?
the 2nd part Entry not found in index, check if the form makes a DBlookup or what ever:
- on view in the current DB that is in test
- on another DB which design doesn't contain same design element in prod than in test
if all this doesn't help make a backup of the db and try fixup and so on.
I am completely new to Windows Azure and we don't have many people around the office that knows the technology, and those that do are out of the office and unreachable. so I turn to the community.
I have managed to:
Export my SQL Database to Azure standards and import it in for both sites currently using it.
Publish my sites to azure.
The issue is when I try and view any of the pages that require database information. That is, lets assume I try and view the locations page of my app at somesite.azure.com/locations this is suppose to pull in all my locatons instead I get: sorry error occurred while processing your request So I thought, this is a common database issue.
I was wrong - I think (you be the judge of that).
I made a second site that shares the database of the first site, this second site has a login, which goes to the database and checks your user name and password, well upon loggin in I get the same error, but it logs me in cause I redirect, but no data is displayed due to the error.
Is there a way to log the error? because the logging I have used only saved the error pages, like 500, 404, 503 and so on. but these error pages don't tell me much of any thing.
If it is a database issue, how can I get the specific error? When working in ASP and you throw and error the screen explodes into yellow anger. now I don't exactly want that, but I do want a stack trace.
This sounds like a database issue, but it might not be. Any ideas on how to trouble shoot. I don't find azures UI to be very friendly and the docs for this kind of thing are confusing.
The reason I don't think it is a database issue is because I let the publishing from VS 2010 to Azure create its own connection stirngs in the web.config file. but the fact that I cant display any data from the database points to that being the issue.
So, we have this one project which uses Cloud Storage and BigQuery as services. All has been well.
Then, I wanted to add Cloud SQL to this project to try it out. It asked for a unique Project ID so I gave it one. (The Project ID is different than the Project Number.)
Ever since then, I've been having a difficult time accessing my BigQuery tables. When I go to the BigQuery web interface, the URL contains the Project ID instead of the original Project Number. It shows the list of datasets, but now shows the Project Number before each dataset name and the datasets are greyed out and inaccessible. If I manually change the URL to contain the Project Number instead of the Project ID, it appears to work although it shows the list of datasets in the left nav twice, one set greyed out and inaccessible and the other set seemingly accessible.
At the same time, some code that I've been successfully using in Apps Script that accesses BigQuery is now regularly failing with a generic "We're sorry, a server error occurred. Please wait a bit and try again." I'm not sure if this is related to the Project ID/Project Number confusion, or if it's just a Red Herring.
Since we actively use the Cloud Storage service of this project, I am trying to be cautious with further experimentation with this project. I'm not sure if I should delete the Cloud SQL service in this project to get it back to the way it was, or if this is a known issue with some back-end solution. Please advise.
After setting the project id, there can be a delay where BigQuery picks up the change. It should happen within 15 minutes or so, but sometimes it takes longer.
If you send the project ID I can make sure it has been updated.
My application is keep crashing first or second time with the error "abc.sqlite is corrupted. SQLite error code:11, 'database disk image is malformed', NSSQLiteErrorDomain=11"
I am unable to track it . anyone Plz help
thanks
(Taken from one of the comments above)
The app was crashing because it was loading on a different thread, app tried to retrieve data before the database was even installed.
This is not entirely true, I ran into same issue today on my iphone, hookup to macbook and use xcode to bring db from iphone to macbook. I used SQLite DB browser, ran PRAGMA integrity_check, it shows an error on one of the pages with code 11. Luckily my table only has 10 records. Wierd thing was when I run "select * from tableA", only 3 records come back. I was able to fix the database accidentally by re-number of some record ID, when saving changes, those missing records shows up mysteriously.. while the corrupted record disappeared.