What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 22279 |  Welcome, Guest!   Register  Login
 Home > Forums > C# > Getting Services from one server to the another server ...
Varaprasadm.84

Getting Services from one server to the another server

Replies: 2 | Posted by: Varaprasadm.84 on 7/7/2012 | Category: C# Forums | Views: 286 | Status: [Member] | Points: 10  


Hi,

I am using a web application where i need to display the system services. On one server the services are added and displayed. Adding another services of another server getting the error as "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))".


How can i get the services of another server in my application.

Regards,
Prasad

Vara Prasad.M


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Johnbhatt
Johnbhatt  
Posted on: 7/7/2012 6:04:43 AM
Level: Starter | Status: [Member] | Points: 25

Please make your problem some more clear.

This might be Firewall issue.

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Varaprasadm.84, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Varaprasadm.84
Varaprasadm.84  
Posted on: 7/8/2012 11:02:09 PM
Level: Starter | Status: [Member] | Points: 25

Hi,

I have checked the firewall and all are in OFF even in my sytem and as well as in Server.

I have written the code like this.

scope = new ManagementScope(@"\\" + machineName + @"\root\cimv2", options);

scope.Connect();

near scope.Connect(); getting the exception as "Access is Denied"

How can i resolve this issue.

Vara Prasad.M

Varaprasadm.84, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 12:21:09 PM