Embedding DLL in Web Page and trying to Access Client machine from web Page  
Author Message
Navya Jeevan





PostPosted: .NET Base Class Library, Embedding DLL in Web Page and trying to Access Client machine from web Page Top

I have an DLL(Windows Control Library) for media player developed in C#.net.I embedded this DLL in my web page.I have to create and save an Audio file in the Client machine from my web page.
Using web service later i upload Audio files from my client machine.

This is what i am trying to do !!!

But Problems arises in Scenarios like :
Scenario 1 :

In development System Control appears in Web page but when i try to access from other Client System i am not able to view Control in Web page.I have used I/O functions in my DLL.Since I/O operations in Client machine are Security issues.

Operations which i Performed to Execute but Output is not obtained as mentioned above : -
I Created
Strong Name for DLL and imported DLL in Code Group for Enterprise Level in Server and also set my Client Machines IE Security Settings to Medium.

Scenario 2 :
In Client machine i am trying to register my DLL using regsvr32,I find an error Loaded Library but register server Entry is not found.

Scenario 3:
Some Systems when i deploy (Source) Web application and run my web page i am not able to view my Control itself.


Please help me out of this Situation and what i am trying to do is in Right way to Execute or any other solution


.NET Development2  
 
 
RizwanSharp





PostPosted: .NET Base Class Library, Embedding DLL in Web Page and trying to Access Client machine from web Page Top

I have an DLL(Windows Control Library) for media player developed in C#.net.I embedded this DLL in my web page.I have to create and save an Audio file in the Client machine from my web page.
Using web service later i upload Audio files from my client machine.

This is what i am trying to do !!!

But Problems arises in Scenarios like :
Scenario 1 :

In development System Control appears in Web page but when i try to access from other Client System i am not able to view Control in Web page.I have used I/O functions in my DLL.Since I/O operations in Client machine are Security issues.

Operations which i Performed to Execute but Output is not obtained as mentioned above : -
I Created
Strong Name for DLL and imported DLL in Code Group for Enterprise Level in Server and also set my Client Machines IE Security Settings to Medium.

Try to add URL of your webpage in Trusted Websites through Internet Explorer. (I assume you are able to view control but you cant perform any IO)

Scenario 2 :
In Client machine i am trying to register my DLL using regsvr32,I find an error Loaded Library but register server Entry is not found.

regsvr32 is not for this purpose or registering .Net dlls but for COM/ActiveX technlogy, .Net dll will have to download from the server at run time and typically they dont require any registration on client machine to run.

Scenario 3:
Some Systems when i deploy (Source) Web application and run my web page i am not able to view my Control itself.

Make sure you have Internet Explorer 5 + with .Net runtime installed on the client machine. Also make sure Internet Explorer setting allow it to download and View Add URL to Trusted websites and in Custom Secuirty Setting of IE Enable .NEt Components.... not
signed with Authenticode.

I hope this will help!

Best Regards,