Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Executing a .exe or appref-ms file throug file screen of File Server Resource Manager on Windows Server 2008 R2

$
0
0

Hi All,

          Scenario: An excel file containing some records is uploaded through FTP on the server and is required to be read and saved into database by an .Net windows application, and to generate subsequent alerts including some database insertions.

Propose Solution:

                               I'm trying to build a desktop .Net application in VS 2010 that would have all the business logic/functional requirements. I have created a file screen in File Server Resource Manager . The .exe or or appref-ms file would then will be executed through the file screen that looks for an excel file upload.

Issue:

I have installed the application on the target server. I have put the path of appref-ms file in command tab of the file screen (Which looks like C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft\FTP_Contracts.appref-ms).  When i upload the excel file, got an error that details as  'Createprocess 0x800700c1 is not a valid win 32 application'.

Please tell me if there is any thing wrong in this approach or there is any other way to achieve this. What could be the reason the above error.

I would really appreciate if somebody could reply. Thanks in advance.

Ali


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>