LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview dll does not accept path from web application (.net mvc 5)

I have labview dll which accepts the path for dsx file and does further processing and retruns csv file. This dll accepts the path if passed from console application and works perfectly but if same path is provided from web application, it throws " Object reference not set " error.

Is there any pre requirement to use labview dll in web application ? The dll works on LabVIEW2015 runtime. 

0 Kudos
Message 1 of 4
(2,980 Views)

PC is a state machine. If input data for the program are the same, then output is the same. Are you sure web application sends file name in the same format?

Can you edit dll and display received string?

Are you sure "object reference not set" is equal to "file not found" error?

0 Kudos
Message 2 of 4
(2,945 Views)

 @Alexander_Sobolev:  I am seding the exact path in both application. i tried even with exact absolute path like "c:\...(path to file)" but the result is same.

0 Kudos
Message 3 of 4
(2,927 Views)

Does your web application have access to the files in your computer?

 

Are you able to access other files that are accessed on the computer from this application?

0 Kudos
Message 4 of 4
(2,919 Views)