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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Couldnt Login Remotely from Virtual Machine.

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :

VM OS - XP Mode with SP3 Running in Windows 7
Server OS - Server 2003.

Scenario - I am trying to login to Physical Server (which runs the MS SQL 2005 using the Server's IP Address\Instance Name) through the Virtual Machine (XP Mode) using the application Enterprise downloader (Where I can type the "User Name", "Password", Server Address (where I will be typing the Server IP\Instance Name), I am getting following error mentioned below -

Event Type: Error
Event Source: Enterprise 3.0 Application
Event Category: None
Event ID: 0
Date:  3/29/2011
Time:  1:37:47 PM
User:  N/A
System.Data.SqlClient.SqlException Error A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Occured at OnError In System.Data.SqlClient.SqlInternalConnection--->    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnecti

View Complete Post

More Related Resource Links

{ End Bracket }: Microsoft Java Virtual Machine Update


In a settlement agreement reached in January 2001 to resolve a dispute over the Microsoft distribution of its Java implementation, Sun Microsystems and Microsoft agreed to limit the duration of the time Microsoft would use Sun's source code and compatibility test suites to support the Microsoft® Java Virtual Machine (MSJVM).

Brian Keller

MSDN Magazine October 2004

Virtual Server 2005: Program Customized Testing Environments Without Trashing Your Machine


Efficient testing can require many different machine and server configurations but the effort needed to manage these test environments can take a toll. Microsoft Virtual Server 2005 simplifies the provisioning and management of testing environments. This article demonstrates how the extensive Virtual Server COM API can be used to create an automated application testing environment to make your testing chores a whole lot easier.

Ben Waldron

MSDN Magazine August 2004

Resource File: Microsoft Virtual Machine Remediation


Developers who use the Microsoft virtual machine (VM) will need to transition away from its use by January 2004. To comply with a court settlement with Sun Microsystems, Microsoft will not be able to update the Microsoft VM, even to repair critical security vulnerabilities.

MSDN Magazine September 2003

Login Failed for User "XXX" when login from a ETL machine for Sql Server 2005 SP2

Hi Guys, I have a straange issue with Login Failed errors coming intermittently probabaly twice in a week: I have a  production Database on Server A and we have Two ETL servers on Server B and Server C. Sometimes when the ETL's (SSIS) run from SERVER B I do get an error stating login failed for user "XXX" this user is a sql server user. And when I run the same package from Server C it does not give any error and runs smoothly. Both the packages uses the same configuration file to connect to the same database with the same user credentials. Also this error is not a frequent error but comes along once or twice in a weeK. Can anyone shed some light on this and let me know the root cause. Both servers have the same sql client version as well. All servers mentioned above are 64 bit windows 2003 servers. Raju

SQL Error with Login: Login failed for user 'NT AUTHORITY\SYSTEM'. [CLIENT: ]

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 3.0cm 70.85pt 3.0cm; mso-header-m

Add machine name in Sql Server Login


How to give permissions to machine in Sql Server.

I want to give permissions to my dev webserver to access sql box as domain\macineName$


Move WSS 3.0 to a virtual machine

We have WSS 3.0 running on a Windows 2003 R2 server, and the database is on another SQL server.  We will convert the 2003 server into a virtual machine, and also will move the database into the same VM as well.  What do I need to do the migrate the database?  And will I lose anything such as content and configuration?  Thank.  

Can I download 2010 "Information Worker Demonstration and Evaluation Virtual Machine (RTM) " on my l



I want to setup Sharepoint server 2010 on my windows 7 home premium laptopn. Can I download 2010 Information Worker Demonstration and Evaluation Virtual Machine (RTM) on my laptop.



Licensing on Virtual Machine (VM)


Hi all,

i am in kind of a big problem, i have created a Windows application with perfect Licensing in any environments excepts for VMs, people can install a licensed version of my application on VM and then just copy the VM on other multiple machines, the application works just fine with that single license... How can i avoid that...

Pls Help...

P.S. - using centralized server or USB Dongle or not allowing installation on VMs are not feasible solutions for me.



Restrict login access to website from specific machine


Not sure if this is the correct forum section but I need to restrict access to my website by physical PC.  When a user signs up I want to be able to restrict access to one machine for that account so it cannot be shared round, if, for example, somebody else in the same office wanted to access the system on their PC they would need a seperate sign in.

I have done some investigation and I "think" the only way is installing an ActiveX component (which isn't an issue that is restricts to IE only) and then read the users MAC address.  Am I trying to over complicate things or is that the only way?  I realise that MACS can be spoofed but this is not much of an issue.


Downloaded Sharepoint Server on host machine. How do I install it on Virtual Box VM from host machin



My configuration is Windows 7 as host operating system. Created a VM using Virtual Box with Windows Server 2008 R2 as guest operating system. I downloaded Sharpoint Server 2010 on the host machine. I want to install Sharepoint Server 2010 on my VM machine . How do I do that ? Please help.



SharePoint 2007 Windows 2003 virtual machine on 64bit


On my old labtop (windows xp) I was using a SharePoint 2007 + Windows 2003 virtual machine (vhd)

(I was using the free Microsoft Virtual PC to use it) .But my labtop was very slow so I bought a new machine which has Windows 7 professional 64 bit.So how could I use my old vhd? I heard Virtual pc doesn't work on 64 bit windows.

After some search in google I read about VMWare Server which is free.I read v1 is better than v2.But I have no idea about it and didn't use it before is it safe?

I am too late but i will never give up

What and where is the SQL backup on the virtual machine that is created during a Host Windows Schedu


Hi I have an Instance of Sql2008 running on Windows 2008R2. That configuration is a guest machine on a Host Windows 2008 R2 STD.

Twice daily noon and 6PM, I run a baremetal restore backup of the host to it's dedicated internal drive. This includes all the vhds for the VMs.
No Windows backup is configured on the VM's

The SQL VM has scripted backup database and backup log jobs that are scheduled.

The backup database job runs once daily in the evening. The problem is the HOST level backup is causing the backup library of the SQL server to identify the noon VM VSS snapshot as a backup. This "injection" means if I want to recover a full backup then a tlog(1...n) sequence I can do it fine from script but I don't think I can do it from the SQL Management Studio, because the noon backup database command was issued by the host and used the VSS writer to put that on the imaging(hidden) drive.

Unable to login to express 2008 remotely

I am using mssql express 2008 on a remote server.  I can VPN into the server and log on via my local account (Michael) with the appropriate password in either Windows mode or SQL mode.  I cannot log in from my remote client which is VPNed in.  The error is "Password mismatch".  I have set the user password for 'Michael" on the server as well as on the local machine but still no luck.  Where is the password that it is attempting to match?

SSIS package runs very slow on SQL 2008 R2 server, runs very quickly on virtual XP machine


Hi All,

I've been troubleshooting this issue on and off for a few weeks now.  I've scoured these forums and looked through sqlis.com, but I'm just about out of ideas.  Here's what's happening.

I have a *very* simple integration services package I developed on a  virtual Windows XP machine running on my workstation.  The package uses a script task to simulate a one-row source with four columns (int, char(64), varchar(512) and char(2)) and then passes that off to a fuzzy lookup.  The fuzzy lookup is running against a table of only about 6,000 rows.  The package then inserts the results into a table and exits.

When I run this from my virtual XP machine, it completes in 1-2 seconds.

When I execute this on the server (either as a job or through DTExec) it takes 14-18 seconds.  The server stores the package in MSDB and is also the location where the fuzzy lookup happens.

I've tried using the 32-bit runtime, creating 32- and 64-bit aliases to the server, changing the name of the server from the name to the IP address and port, stopping/restarting SQL Agent and SSIS Services... none of this seems to change the execution time.

The one thing I've found is that if I enable package logging on the logging tab of the job, using the SSIS Log Provider for SQL Server and pointing it to the same connection st

Virtual Path Problem


 I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,

Note that the slashes go in different directions

I've tried a number of things but nothing seems to work. Thanks-


Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Web.UI.WebControls

Imports System.Drawing.Imaging.ImageCodecInfo
Partial Class Protected_imageupload
    Inherits System.Web.UI.Page
    Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
        ' Initialize variables
        Dim sSavePath As String
        Dim sThumbExtension As String
        Dim intThumbWidth As Integer
        Dim intThumbHeight As Integer
        Dim sFilename As String = ""
        ' Set constant values
        'sSavePath = "images/"
        sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"

        sThumbExtension = "_thumb"
        intThumbWidth = 160
        intThumbHeight = 120

        ' If file field isn?t empty
        If FilUpload.PostedFile IsNot Nothing Then
            ' Check file size (mustn?t be 0)
            Dim myFile As Http

Difference Btw Website vs Web application and Virtual directory in IIS 7


May i know what is the Differenc that they actually make in IIS7 .

Please tell me at a low level as i am still a novice in Asp.Net


Thanks in Advance.


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