.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

Why SS Browser service run under default NetworkService?

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :Sql Server
 
During SQL Server 2008 setup only SQL Server Browser service had default "NT Authority\NETWORK SERVICE" to run under. The other services  had no defaults  Why does SQL Server Browser service have default "NT Authority\NETWORK SERVICE" to run under? What's for? And why do not  others have default?  


View Complete Post


More Related Resource Links

default.browser from asp.net 3.5 to asp.net 4.0

  

hello, it's me again :-)

a (maybe) stupid question:

in asp.net 3.5 i've this .browser file:

...snip...

<browser refID="safari1plus">

<controlAdapters>

<adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />

</controlAdapters>

</browser>

</browsers>

 

now i suppose that in asp.net 4.0 this is not useful.

So what i've to do? I've simply to delete "App_Browsers" folder in my converted project or i've to put in this folder:

.blackberry.browser

.chrome.browser

.Default.browser

.firefox.browser

.gateway.browser

.generic.browser

.ie.browser

.iemobile.browser

.iphone.browser

.opera.browser

.safari.browser

 

?

What's the best way?

Thank  you very much!


SQL Server 2005 - Installation in Cluster Environment - "Service SQL Server Browser (SQLBrowser) fai

  
Windows Server 2003 R2 Enterprise Edition SP2 32-bit All updates and patches installed Two-node cluster environment configured. Cluster functions perfectly. Trying to install SQL Server 2005 Enterprise Edition (32-bit) as a clustered application. Installation proceeds fine until it begins to install the SQL Server Database Services product. Status window says "Starting Services. Service: SQL Server Browser". Error message is presented: "Service 'SQL Server Browser' (SQLBrowser) failed to start. Verify that you have sufficient privileges to start system services". SQL Server Service Account is in the Administrators group on both local systems, and is a domain account. Account used for the installation is in the Administrators group on both local systems, and is a domain account. Have cancelled out of the install and rebooted both servers numerous times. Exact same error continues to occur. Cluster is active and all resources are owned by node #1 - the node where SQL Server Installation is being run. In the event viewer, I see: Event ID: 10 Description: The SQLBrowser service was unable to establish SQL instance and connectivity discovery". I am also seeing errors like: Source: SQLBrowser. The SQL configuration for SQL is inaccessible or invalid. Source: SQLBrowser. The Configuration of the AdminConnection\TCP protocol in the SQL instance xxxxxx i

calling WCF service Method in HTTP GET by browser or ASP.NET ( like HttpWebRequest for example)

  
Can i call a WCF service Method using HTTP GET by browser or ASP.NET (without WCF Client)? it can be done with asmx web service.... but i can't find a way to call a WCF service Method with HTTP GET through the browser or C# ASP.NET Code... can i do that ?

Inside the "Default Browser Switcher" extension

  
You may have already heard of the recently WoVS extension "Default Browser Switcher" (download from Visual Studio Gallery or from Extension Manager inside VS) that helps in choosing what browser you want to launch from VS while debugging your ASP.NET applications. You can start by reading the original post from Scott Hanselman where he describes some interesting inner workings of VS related to how it handles the launching of the VS default browser. Note this is the default browser to be launched from VS which may or may not be your default system-wide browser. If you're brave enough to survive Scott's post then you're ready to enter some even more obscure details: how to package that into an extension for Visual Studio. We started by defining the set of commands we wanted to support and we ended up with ten commands total. That is a "Set default Browser to X" command multiplied by Internet Explorer, Firefox, Chrome, Safari and Opera and a "View in Browser X" command multiple by the same number of browsers. The first set would go into a VS Toolbar and the second set would go into a sub menu whose parent would be a new "View in Browser" command. To author the UI we used the very handy and friendly VSPackage Builder which allowed us to quickly design our 10 commands and place them where we wanted inside VS:   (Yes, that's a DSL for authoring your own custom UI inside

AD Network Service vs. workgroup NetworkService

  
I am developer using, and therefore in need of understanding and configuring, SQL Server 2008 R2 + ASP.NET/IIS in workgroup.  SQL Server 2008 R2 BOL in Setting Up Windows Service Accounts section states: "Network Service Account The Network Service account is a built-in account that has more access to resources and objects than members of the Users group. Services that run as the Network Service account access network resources by using the credentials of the computer account. The actual name of the account is "NT AUTHORITY\NETWORK SERVICE" While the answer to my question [1] insists: "Configuring a service as "Network Service" or "NT Authority\NetworkService" tells the service to log on to the domain as that machine's domain account, and will have access to Domain resources. The Windows XP Service Configurator does not have the ability to select "Network Service" as a login type. The SQL Setup program might. "Network Service" can do everything "Local System" can, as well as access Domain resources. "Network Service" has no meaning in a Workgroup context" Is this answer correct thatNetworkService has meaning/use only in AD (Active Directory) domain?? And why do I have "NT Authority\Network Service" available for services LogOn on my workgroup Windows XP P

How to view AJAX-enabled WCF service (.svc) file in browser

  
Hi I have created an AJAX-enabled WCF project TestWCFAjax having Default.aspx that uses the Add.svc web service.  When I select Default.aspx and run the app in VS 2008. It works perfectly, calls the webservice to do the desired task. But, I have following questions: 1. When I select the Add.svc.cs and run through VS2008, it throws an error "The type 'TestWCFAjax.Add', provided as the Service attribute value in the ServiceHost directive could not be found.". And the web url on the browser points to http://localhost:4960/Add.svc. I didn't create any virtual directory. I tried creating one that points to my application folder - TestWCFAjax. Still it doesn't work. How can I view Add.svc service on the browser like what we can do with normal WCF service? 2. How can I use Add.svc (AJAX-enabled WCF Service) in another web application? Regards

Request is redirected to default Web-Service page (possible cookie issue)

  
Hi,

I have a strange problem on my web-service application:
 - when I am initating a web-service request from my client app, no matter if I am using IIS or ASP.NET development server, I'm getting the folowing exception:

<code>

System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '

<html>

    <head><link rel="alternate" type="text/xml" href="/TestWebSvc.asmx?disco" />

    <style type="text/css">
   
        BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }
        #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }
....

</code>

 - in my client's app.config file I have pointed to an address like the following one: http://localhost/WebSvc/TestWebSvc.asmx .

 - I have installed SnifferHttpModule (http://geekswithblogs.net/robp/archive/2008/05/13/creating-a-sniffer-for-asp.net.aspx) to see the requests and responses of my web-service,

Opening links from WPF WebBrowser control in default browser instead of IE

  
I am working on a WPF application that uses System.Windows.Controls.WebBrowser to display an embedded HTML page.
The problem I have is that all links from that page that are to open an external browser window (with target="_blank") open Internet Explorer instead of the configured default browser.
How do I tell the WebBrowser control to respect the default browser settings?

Can add web service reference but cannot see it in object browser or use it

  

I have added the following wsdl: http://burstons.nexcess.net/mom/mom.wsdl to a console app.  I see it under web references, when I right click to view in object browser it is not present.  If I right click Update Web Reference I get the error: The custom tool MSDISCOCodeGenerator failed.  Unable to import binding 'BlueAcornWebserviceBinding from namespace urn: WSDLMOM...  I can access this WSDL in Foxpro but not in Visual Studio 2008... Am I missing something...

 


ssas 2008 getting "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is

  

Hi ,

 

I need your help on this.  The SSAS is 2008.  It is a named instance.  there are two named SSAS instances on the server. 

I have one user with excel client getting "A connection cannot be made to redirector. Ensure that 'SQL Browser' service is running." error.  My all other users' excel clients all seems to be working fine.  

I made sure the OLEDB provider is 10.0.  Firewall must be off since all other users have no trouble getting connected. SQL Server Browser Service is running under 'local service' account.

The Excel client is 2007.

this is really a hard one.  I cannot figure out why just this one user cannot connect.   can you please help me?

thanks

 

 


Q: How to print out background color in InfoPath 2007 browser form under MOSS form service?

  

Hi InfoPath experts,

I am trying to print out a custom InfoPath 2007 browser form using "Print View" function offered by MOSS Form Service. It seems like the all background color formats has been stripped out when printed out. Interestingly, only font colors are remain the same in printed-out.
Is there a way to fix this issue? I know you can change the settings: http://office.microsoft.com/en-gb/infopath-help/print-background-colors-and-pictures-HP001095710.aspx , but it only applies for InfoPath Client Form, not browser-based Form!

Any help are appreciated!
-Rick


How to make Excel open in application not browser by default

  

I'm facing a problem here. I tried the to open an excel file (.xls) which was attached in a Calendar Item.

On 1 PC, it opens automatically with the Excel application and thus the user is able to edit and save.
On another PC, it opens in the browser and the user is unable to edit / save the file.

Initially, I tried and thought that it's user rights issue but apparantly, it is not.

How can I make the .xls to open in excel by default? Can someone help me?

Really appreciate the help and answers.

Cheers


default.browser from asp.net 3.5 to asp.net 4.0

  

hello, it's me again :-)

a (maybe) stupid question:

in asp.net 3.5 i've this .browser file:

...snip...

<browser refID="safari1plus">

<controlAdapters>

<adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />

</controlAdapters>

</browser>

</browsers>

 

now i suppose that in asp.net 4.0 this is not useful.

So what i've to do? I've simply to delete "App_Browsers" folder in my converted project or i've to put in this folder:

.blackberry.browser

.chrome.browser

.Default.browser

.firefox.browser

.gateway.browser

.generic.browser

.ie.browser

.iemobile.browser

.iphone.browser

.opera.browser

.safari.browser

 

?

What's the best way?

Thank  you very much!


Not able to open WCF Web Service through browser

  

Hello everybody,

  I am developing a windows mobile application. I am using SQL CE edition 3.5 SP1 on my mobile and SQL server 2008 on my machine. I am using WCF project to sync my server and mobile application. I am using Microsoft Sync Framework for this.

I have added Local Database Cache and generated the web service. I am able to add the web reference to my client project (mobile application). But I am not able to open the web service on any browser.

I am using the URL like "http://<ComputerName>/ServiceName/" . When i type this url on my browser it says web page not found. I am able to host the service using WCFSvcHost. But still not able to open that service using browser. Can someone please let me know what I am missing over here.


Divya

how to call a session variable in Web service Method in Default.cs file

  

Hi,

I have used a web service method in my Application. And as per the requirement using one user. I am searching for a list of schools to a particular area. When one person logged with the credentials , search criteria works fine when another person logs in there the problem like session variable is getting overriden . This is a issue which I am facing and as per its very urgent to solve the problem. Please help me and solve the Issue.

Please repond Immediately, as I am unable to sleep at nights.

I am also sending the code of a sample example 

 

using System;
using System.Configuration;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

public partial class _Default : System.Web.UI.Page
{
    //public string str;
   // SharedPersonalizationStateInfo string str;
    static string str1;
    static string strName;
    static  string strSqlquery;
    protected void Page_Load(object sender, EventArgs e)
    {

        
        if (!IsPostBack)
        {
            strName = Session["ID"].ToString();
            str1 = Session["FriendID"].ToString();
            Ch

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.

WCF Tip: Using Properties in Service Contracts

  
you'll notice all of the Service Contracts are implemented with interfaces containing only methods. For the longest time I thought that's all that was supported, until I thought about it a little more. In C# land, properties are simply wrappers around a get method and set method, so why wouldn't we be able to use properties in a service contract? Well the answer is we can.
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