.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani
Post New Web Links

WCF Service using dll's on x64 bit machine.

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :WCF
 

Hello All,

Im currently trying to run my WCF Service on my x64 machine. I want to use the dll's found here


http://www.streamcoders.com/products/msnet.html


either the x86 dll or x64 dll. It really doesn't matter. The problem occurs when i try to initialize the CamCapture class when its a [DataMember]
ifs its not a [DataMember] is works fine, but i need this variable for everyone running the service.

 

I tried using the x64 dll on x64 configuration and i get this error:
Error: Cannot obtain Metadata from http://192.168.X.XXX:XXXXX/VTService/mex

 

but like i said it works on using the x64 dll on x64 configuration if that variable is not a [DataMember].




View Complete Post


More Related Resource Links

Getting Local Machine Info from Web Service

  
Hi there, im pretty new to using web services and i have an application which connects to a webservice, the problem is however is that i need to be able to get the local machine info e.g machine name, drives etc...from the webservice and i have no idea how to do this! Any help would be much appreciated!Phil

Search service is not able to connect to the machine that hosts the administration component

  
I encounter the error above when trying to set up Sharepoint Server Search. I have tried both setting up search manually through Central admin (just selecting default for everything) as well as through Powershell (using this: http://stsadm.blogspot.com/2009/12/creating-sharepoint-2010-enterprise.html). I'm using the farm admin as Search account as well as account for Application pools, so I guess permissions should not be the issue.Creating new Search service application seems to be successful, but when going to Searchadministration after creation, then System status displays the error above. Event log does add any info and just displays same error message ("SearchApi.cs throws exception:The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'db397ab0-d9b0-46c4-9077-dc8be62bf586' in search application 'TNS Enterprise Search Service Application' is in a good state and try again."). I have found this http://blog.fpweb.net/sharepoint-2010-server-search-troubleshooting/ stating that the solution is not to use MSDN version of Windows 2008, but does give any explanation why.Any ideas would be appriciated.Best regardsThomas

SQLCLI service not registered on the local machine error

  
Hi, With reference to the above title, I am trying to connect an SQL Server 2008 Express instance which came along with Visual Studio 2010 Ultimate from my C# app. My connection string is: Provider= SQLNCLI;Server=host\SQLEXPRESS;Database=database; When I try connecting with the above connection string, it says: SQLNCLI provider not registered on the local machine followed by my connection string. What am I supposed to do to solve this issue? Thank You in advance for your reply. Regards, Clifford

I have dual core machine i have hosted wcf service . At a time how many requests my server will exec

  
I have dual core machine i have hosted wcf service . At a time how many requests my server will execute how to find that count.

Accounts used by application pools or service identities are in the local machine Administrators gro

  
ERROR: Using highly-privileged accounts as application pool or as service identities poses a security risk to the farm, and could allow malicious code to execute.  The following services are currently running as accounts in the machine Administrators group: SharePoint Central Administration v4 (Application Pool) SPTimerV4(Windows Service) there are 2 accounts associated with this install. 1. SQL ACCOUNT 2. SP Admin account(farm) the admin account has the following listed components    Farm components using this account      Microsoft SharePoint Foundation Application Pool: SharePoint - 80 SharePoint Server Search Web Analytics Data Processing Service Farm Account User Profile Synchronization Service Microsoft SharePoint Foundation Sandboxed Code Service Access Services Secure Store Service PowerPoint Service Application Word Viewing Service PerformancePoint Service Application Visio Graphics Service Managed Metadata Service Web Analytics Service Application Word Automation Services Excel Services Application Business Data Connectivity Service Search Administration Web Service for Search Service Application User Profile Service Application Search Service Application Application Discovery and Load Balancer Service Application Security Token Service Application   The farm account is not listed in the local machines admi

The search service is not able to connect to the machine that hosts the administration component

  
I'm expierencing this error message and am not sure what to do to fix this.  I don't want to break anything else on our farm.   The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '9139bef7-69a3-4125-9d0e-e09484cc24ee' in search application 'Search Service Application' is in a good state and try again. Nothing appears under topology.  It just continues to load.  Any suggestions would be appreciated.

Execute process on remote machine from windows service

  

Hi,

I am using Windows Management Instrumentation (WMI) to connect to a remote system. I am connecting to a remote system and executing an exe on the remote system. This works if it is a normal exe. I am passing the user name and the password as well.

But when I use the same code in a Windows Service, I get an error which says "Access is Denied." My requirement is to invoke the exe (every 2 hours) on client system from a windows service on the server.

My code looks like this:

Dim

 

processHandle As Integer
Dim connection

Execute process on remote machine from windows service

  

Hi,

I am using Windows Management Instrumentation (WMI) to connect to a remote system. I am connecting to a remote system and executing an exe on the remote system. This works if it is a normal exe. I am passing the user name and the password as well.

But when I use the same code in a Windows Service, I get an error which says "Access is Denied." My requirement is to invoke the exe (every 2 hours) on client system from a windows service on the server.

My code looks like this:

Dim

 

processHandle As Integer
Dim connection

The search service is not able to connect to the machine that hosts the administration component.

  
I just installed the FAST Content Search Service Application.  However, when going to Application Management -> Manage Service Application -> FAST Content SSA, I see the following error:

Crawl status The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'e5ece22e-b215-4c8e-a661-5f20d526de78' in search application 'FAST Search Content SSA' is in a good state and try again. 
Clicking on Content sources brings me to

 Error 
System.InvalidOperationException: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'e5ece22e-b215-4c8e-a661-5f20d526de78' in search application 'FAST Search Content SSA' is in a good state and try again. 
   at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(SearchServiceApplication application) 
   at Microsoft.Office.Server.Search.Administration.SearchApi.CreateSearchApi(SearchServiceApplication application) 
   at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.get_SearchApi() 
   at Microsoft.Office.Server.Search.Administration.ContentSourceCollection..ctor(Content parent) 
   at Microsoft.Office.Server.Search.Administration.Content.get_ContentSources() 
   at M

search service is not able to connect to the machine that hosts the administration component.

  

I was able to create search service , Now i am getting the below error, I ran deleted all the databases, ran psconfig. SSA will be created, but i have the below error

Alos tried recreating service with powershell same error

 System Status    
 
Crawl status The search service is not able to connect to the machine that hosts the
administration component.
Verify that the administration component 'f26229c3-41f4-4520-865a-2857a0125503' in search
application 'Search Service Application' is in a good state and try again.
 

but When I check the service, hrere are the results

Name                  : Search Service Application
Id                    : 98c098d0-e92a-47c7-9661-9c81d73a6cd9
ServiceName           : SearchQueryAndSiteSettingsService
QueryTopologies       : {711933b2-7325-43f9-b081-8e6760ec8f1e}
PropertyStores        : {Search_Service_Application_PropertyStoreDB_3e2df6fc77e
              &nb

Deploying an .asmx Web Service on a Windows Server 2003 machine

  
Hi, I have created a WEb Service using Visual Studio 2008 on an XP PC. I have sucessfully deployed the web service and tested it correctly on my local machince. It is located at http://localhost/MAC/Service.asmx.

Now, what I want to do is deploy this Web Service on a server. The server is running Windows Server 2003 Web Edition. I thought it was only a matter of copying the "UMACS" folder on my XP PC, which includes the Service.asmx, web.cong and service.cs files etc, and then copy this to the server and try to deploy it through IIS.

I have tried this but everytime I try to access http://localhost/MAC/Service.asmx like before, I get "Error 404: Web site cannot be found". I have done a lot of searching on this. I have enabled IIS apping use the command "c:WINDOWS\Microsoft.NET\Framework\1.1.4322\aspnet_regiis.exe -i" but still this doesn't work.

Is there something else I need to do to deploy this web service?

In the IIS on the server, there is a "Web Service Extensions" section. Do I have to do something in here first to make it work?

WCF Data Service to Sharepoint returns items on my machine but not on server

  

In my ASP.NET 4.0 webapplication I have added a reference to our Sharepoint server. 

I then present some items using

      Dim Context As New Data.SharePoint.DataITDataContext(New Uri("http://sp01/data/_vti_bin/listdata.svc"))
        Context.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
        ASPxGridView1.DataSource = Context.Dokumentation.Where(Function(Item) Item.KundNr = customer.CustomerID).ToList
        ASPxGridView1.DataBind()


While running it locally on my development machine (Using Visual Studio 2010) everything works. But as soon as I publish it to the IIS, which happens to be the SharePoint server, I no longer see any records. No exception is thrown or anything, I just do'nt get any data.

Any ideas on why?

      Dim Context As New Data.SharePoint.DataITDataContext(New Uri("http://sp01/data/_vti_bin/listdata.svc"))
        Context.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials

Debugging WCF service with x86 dependencies on a x64 bit machine

  
Hi,
  I've got a WCF service that makes use of SQL compact edition -- which is only availible in 32 bit. The result is when I'm building and running on my x64 bit machine I have to tell the build system to build as x86 rather than "Any CPU". In the IDE, however, it seems like I loose a lot of functionality when I do this.

  For example, I have tests for all my WCF services using the IDE's built in testing framework. On my x86 machine it was great - I'd hit debug, the IDE would automatically start the WCF service in a local service host, and then if I'd set a breakpoint it would automatically stop. How sweet is that?

  But because of this x86 requirement, the IDE starts the WCF host process that is 64 bit, and that fails to load the x86 project... so it would seem that I've lost the ability to debug and step into my service automatically. This is too bad - this is a real productivity loss.

  Have others figure out a way around this? Thanks in advance for any advice!

    Cheers,
        Gordon.
Gordon

[SOLVED] .Net 2 Service unable to access Connection String in Machine.config

  
I have a Windows Service I have developed in Visual Studio 2005 (C#).

It accesses a database using a connection string in machine.config.

On my Windows XP Pro 32bit (SP3) machine, it works correctly.

On my new Windows 7 Pro 64bit machine, it throws "object not set to an instance of an object" when it gets to the line where it's trying use the connection string.
This is the 'object' which is not set in Windows 7:
ConfigurationManager.ConnectionStrings["MyDatabase"].ConnectionString

 

The machine.config has the same connection string set up on both machines.

A .Net 2 website transferred to the Windows 7 machine has no problem accessing the same connection string.

I have tried a bunch of different permissions on the machine.config and its containing folders, and setting the service to log in as Admin, but I don't know exactly what permissions are required.

Does anyone know what's going on here? Many thanks.


cannot access sharepoint site through Internet Explorer 8 on a machine running Win XP Service Pack 3

  

The Sharepoint portal can be accessed fine through Firefox. Opera allows me to access it, but I cannot sign out, check out a shared document or do anything which opens a small window on clicking an option.

I can stay with Firefox, but when I try to edit a shared Word document in Word I get the message "Edit document requires a Windows Sharepoint Services compatible application and Microsoft Internet Explorer 6.0 or greater" We need to edit a shared document/calendar which is uploaded. All I know is we are using Sharepoint 2007 and the version of our site is 12.0.0.6421. Does that mean we have Windows Sharepoint Services SP2 on our Sharepoint server?

When I try Internet Explorer, I cannot log on at all. I get a window which asks for my credentials which I enter, it fails to authenticate me, then shows me the You are not authorized to view this page message. I tried with different computers, but cannot get in using Internet explorer.

What could be the issue?

Our Sharepoint admin does not have time to look into such matters so I am on my own.

Any suggestions would be appreciated.

Server call client machine and pick data from client service.

  

HI All,

Does anyone have any opinions over the best ways to connect a server to client service over internet to get data on server website.

If you have any idea and solution then please feedback me . Thanks 

Regards,

SAS

 


Windows Service Applications Tutorials

  
You can easily create services by creating an application that is installed as a service. For example, suppose you want to monitor performance counter data and react to threshold values. You could write a Windows Service application that listens to the performance counter data, deploy the application, and begin collecting and analyzing data.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend