Event Log giving Type Mismatch & Incorrect Syntax errors due to Excel Spreadsheet Export in Classic ASP - sql-server

thanks again for being here!
We have been having this issue for a while but never spent the time to address it.
When we print a page as an excel file through:
Response.ContentType="application/vnd.ms-excel"
We get a download window, as we should, in order to receive the resulting file.
If I save the file rather than open it, my server Event Logs show no error.
When the Open option is chosen, a loading bar appears.
This loading bar seems to be re-querying the page/re-running the asp, because the error we receive boils down to a null variable used in a sql query that is requesting a querystring.
http://s13.postimage.org/5mmkubzlj/ss2.jpg
Do I need to change the method of exporting this data to excel? Is there something I'm missing that will allow Excel to see that the file has already completed processing? Very confused as to what to do here.
Thoughts? Experiences? Thanks again!

Related

I am unable to export my redcap data and receiving an error notification. notification says to much data although it is a tiny project. solutions?

The problem I am trying to export my redcap data to a CSV form, and unable to do so. I am receiving an error notification that says there is to much data, although it is a tiny project. help will be much appreciated.
The full error text: " We are sorry, but apparently the data export is not able to complete successfully. It may simply be that there is too much data trying to be exported at once, in which it is causing REDCap to crash. If this error occurs again, it is recommended that you attempt to export a smaller data set (fewer fields and/or perhaps fewer records) so that this error does not occur. Our apologies for this inconvenience."
what I have tried
I have made sure I have the necessary user rights.
I have tried through a colleges redcap user (who has thenecessary user rights) .
have tried exporting only one instrument (no success)
have created a test project with only 2 questions. also in the new test project I receive the same notification.
could not export data both in development mode and in production.
any ideas?
Many Thanks!
The institution had blocked the option for file upload due to security reasons. Apparently REDCap's exporting system uses the uploading mechanism, and therefore landed up being disabled as well.
The local storage folder location was pointing to a folder that was missing on the server. Just created the folder and upload and subsequent problem was fixed

Trying to load local file in stage via Snowflake PUT command but command gets greyed out

I have a simple requirement where I have to put a file in snowflake internal stage.
put file:///Users/priya/Downloads/vistaslagos.csv #canary2022/apartments;
When I try the above, the command is getting greyed out.
I further tried putting single quotes like below but I am getting the error :-->000002 (0A000): Unsupported feature 'unsupported_requested_format:snowflake'.
put 'file:///Users/priya/Downloads/vistaslagos.csv' #canary2022/apartments;
On further checking the error, it says I need to validate the snowflake edition.
Does anyone has context in this?
It seems you are trying to run the command in worksheets(UI). When you do so and give file:///, it considers the further text in the line as comments which is why you see it as greyed out.
Put command cannot be submitted in UI which is why you see the error feature not supported.
Try using snowsql and this should work. It is also mentioned in official documentation as well. Comments and Links for your reference below.
"The command cannot be executed from the Worksheets Worksheet tab page in either Snowflake web interface; instead, use the SnowSQL client to upload data files, or check the documentation for a specific Snowflake client to verify support for this command"
https://docs.snowflake.com/en/sql-reference/sql/put.html#usage-notes
Cheers!!

Loading local CSV into snowflake

After 4 days of trying everything to load data into snowflake, nothing seems to work at all.
Now as my last option I want to load a local CSV file into snowflake in order to be able to follow the tutorial I am watching.
Unfortunately even this step seems to be a hard one in snowflake. I have seen, that I need to create an internal stage for this. Therefore I went to the Stage and created a "Snowflake Managed", which I think should be an internal stage. I called that Stage "MY_CSV_STAGE".
Internal Stage option on snowflake:
Then I went back to the worksheet and tried the following command:
PUT file://C:\Users\User\Downloads\Projekte/csv_dateien_fuer_snowflake.csv #MY_CSV_STAGE AUTO_COMPRESS=TRUE;
Now by trying to run the command I am just receiving a weired error, which I don't understand:
Error Message:
I really would like to understand what exactly I am doing wrong. I have also read on other places, that I should maybe need Snowsql to import data from local to snowflake. But the installation of the Snowsql I did not figure out.
How can I write this command line in snowflake in order to be able to import the CSV file?

Problem opening SSRS Report exported to XLXS on Andoid/IOS

I've got an SSRS report that has multiple grouping levels, that when exported to Excel opens just fine on my PC.
This report is being scheduled and delivered as an email attachment in XLXS format, but when you try and open it on a mobile device, you get the message 'We found a problem with some content in 'spreadsheet_name.xlsx'. Do you want us to try and recover as much as we can?'
I initially thought it was due to some of the underlying data being calculated to many decimal places (even though it was only displayed to 2), so I've fixed all that, but it still won't open without this 'recovery' message first.
How do I find out what the issue is, given that on a PC it's perfectly happy?

Working on a microsoft access project. I get the error "Query must have one destination field" when I try to open a form

I've never worked with access before and I'm trying to make a change in a form. But when I try to open it, a window will appear saying "Query must have at least one destination field". I don't really know what that means or how to fix it

Resources