cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding access Launch Application

Former Member
0 Kudos

Dear All,

I have one EXE file. I implement this EXE in Launch Application. It is working fine on Server side.

But when i access this Launch Application EXE from Client side it is not working.

Coz whatever path i given on server that path not getting on client side.

Can anybody suggest me for that what should i do ? How to solve this problem ?

Thanks and regards

Harish Patil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thnks

Former Member
0 Kudos

HI,

put your applciation to the B1_SHR folder

Execute the file from the share

This can be reached from every client.

Regards,

J.

Former Member
0 Kudos

Dear Freind,

I tried ur solution. I stored the my EXE file on same path which u told me.

Path : C:\Program Files\SAP\SAP Business One Server\B1_SHR\For EXE

This is an server side path. And on client side same path is showing. But client side it won't get that folder(For EXE).

Can u plz tell me wat to do ?

Thanks and regards

Harish Patil

Former Member
0 Kudos

HI,

I have forgot,

you put your file to :

Path : C:\Program Files\SAP\SAP Business One Server\B1_SHR\For EXE

and use the path
servername\b1_shr\For Exe

This should have to work.

Regards

J.

Former Member
0 Kudos

Dear Freind,

Thnks for the reply. Now it working but it gives the following error,

"Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0,

Culture=neutral,PublicKeyToken=btta5c561934e089 failed.'"

Which EXE i used this is an .Net application EXE. You aware of this error.

Can u plz tell me how to solve ?

Thanks and Regards

Harish Patil

Former Member
0 Kudos

Hi,

Use the following, when you reading / writing the filesystem.


 Imports System.Security.Permissions
 ...

 Dim f As New FileIOPermission(PermissionState.None)
 f.AllLocalFiles = FileIOPermissionAccess.AllAccess

Regards

J.

Former Member
0 Kudos

Dear Freind,

I have created C#.Net application in that on form i have taken Crystal report veiwer. In that i include the one Crystal Report.

And whatever u send me code that code i have putted on form load on this application.

But again it is showing same error. It is ok on form load or otherwise where should i have write this code.

Can u plz tell me wat to do ?

Thanks and Regards

Harish Patil

Former Member
0 Kudos

Hi Harish,

Are the subfolders in the B1 share folder set to be shared aswell? I would right click on the sub folder -> go to properties and check both security and permissions to see who can access it and allow rights to users if they do not have them.

Regards,

Niall

Former Member
0 Kudos

HI You can use this site to concert .NET VB into C#

http://www.developerfusion.com/tools/convert/csharp-to-vb/

Regards,

J.

Former Member
0 Kudos

Dear Freind,

It is already shared. Therefore it is not working.

Can u plz tell me how to solve this problem?

Thanks

Former Member
0 Kudos

Dear Janos,

I am not asking convertion. Your sended code where should i write ?

I wrote on form load. Is it ok ?

Thnks