how to read excel(xlsx) file from classic asp [duplicate] - vbscript

I just tried to install imageresizing.net com object. I'm using the following code to create the object.
set c = CreateObject("ImageResizer.Configuration.Config")
c.BuildImage "images\red-eye-wikipedia.jpg","test-image.jpg","width=100"
ERROR
Microsoft VBScript runtime error '800a0046'
Permission denied: 'CreateObject'
/resizer.asp, line 5
I gave the folder that I'm trying to run the code the same permissions that I do for other folders. I don't know where to give the proper permissions.
Your help would be appreciated.

You must give the DLL folder Read+Execute permissions for Everyone (or each of the usernames involved in running w3wp and ASP). Recursively.
C:\Program Files\ImageResizingNet\v3\

Related

"msadox28.tlb File is under windows system file protection" error while attempting to build an installer

I am trying to build an installer for my project. The problem is that i am unable to successfully build the installer with the following error:
ERROR: 'msadox28.tlb' should be excluded because its source file
'C:\Program Files (x86)\Common Files\System\ado\msadox28.tlb' is under
Windows System File Protection.
From what i can gather, this file has to do with ADOX and ADODB that i use to create, read and write data from a local access database. Excluding this file causes the program to not work at all when it has been installed, because it attempts to create a fresh database from scratch at first launch.
The program works fine and there is no errors with it, but i want to build an installer so that i can send the program to a few users to test it and the database component is the most important part of my project.
Can somebody please assist me with solving this problem?

Access Denied message when trying to open hidden folder in windows

Earlier i was using one batch file to lock my file/folder in windows. That time i locked my one folder from D Drive. It was working fine for me. But after some windows update i am not able to unlock my folder using this batch file.
I know this batch file is using cacls command to change the attribute of folder. It changes it's attribute as hidden and system folder. I tried cacls command as well from cmd but still it gives me Access Denied error.
Please suggest me any approach to get access to this folder. It will be appreciated.
Thanks!

.exe in artoolkit bin folder not executing and says applpication failed to start correctly

After building the artoolkit.sln in the visual studio and when examples like simpletest1 is made to run the error pops out saying 'Failed to start the application ' ..
Help regarding is really appreciated
Thanks in advance
Ankith
When you install the ARToolkit (i.e extracting the ZIP distribution), All the files are extracted only with Read and Write permissions, but not with execute permissions.
Hence change the permission to Read,Write & Execute (i.e. 777, 755, etc) and then try to run the file. It might run.

Joomla administrator login error

I have a Joomla 3.1 installation on a ubuntu server and it was working fine.
Today, I have downloaded a template and placed the zip file on templates folder, unziped by ubuntu terminal and that's all. Since then, when I try to login on Administrator side, it gives this error:
An error has occurred.
0 SQL=SHOW FULL COLUMNS FROM `<prefix>_users`
I have deleted the zip files considering it was the only change I've made, but nothing happens. I noticed that if I login incorrectly, it gives another error:
An error has occurred.
0 Cannot open file for writing log
Like it has some problem to write the log file, but hours ago it could. Anyway, knowing this, I changed all folders/files permissions to 777.
Thanks in advance.

VSDBCMD remotely

Can I run the VSDBCMD command remotely? I mean without copying the files to the SQL server? I am trying to create a dbschema file to use it as a reference in a database project.
I tried to run the command on my machine, and I get the following error: "TSD An error was received from SQL Server while attempting to reverse engineer elements of type Microsoft.Data.Schema.Sql.SchemaModel.ISql100DatabaseEncryptionKey: The user does not have permission to perform this action. An unexpected failure occurred: Access to the path 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Pivotal_dev_ed.dbschema' is denied."
Do I need special permission on the SQl server?
I found the answer, it seems you can run it remotely, you just have to specify the path to the folder where you want the schema to be saved. I got the error mentioned above because I didn't had permissions to write on the server, but specifying a path to a folder where I could write solved the problem

Resources