Hi there
The scenario I got is this: I have created a Windows application in VS and I
want to deploy it to another machine running Windows Vista. Since I have no
control over this other machine, I've set it up to run SQL Authentication
and I have added a new user called "MyUser" and applied a password. This
user/password is used in my connection string whick looks like this:
Server=.\SQLEXP RESS;Database=M yDB;User ID=MyUser;Passw ord=thissucks
I've created a setup project in which the database is included. On my
machine (Windows XP SP2) the setup runs without problems and I can use my
app and database connection without any errors. On the Vista machine, the
other user gets this error:
"Login failed for user "MyUser". The user is not associated with a thrusted
server connection".
I've read a bunch of suggested solutions on the net, none of which has
provided a solution...yet.
How do you create a deployment/Publish in VS when using SQL Server 2005
Express Edition, when the maching it's supposed to be installed on only has
..NET FrameWork? I can't seem to get it to work...
TIA
PZ 4 2351
"Preben Zacho" <po**@zacho-web.dkwrote in message
news:eM******** ******@TK2MSFTN GP03.phx.gbl...
Hi there
The scenario I got is this: I have created a Windows application in VS and
I want to deploy it to another machine running Windows Vista. Since I have
no control over this other machine, I've set it up to run SQL
Authentication and I have added a new user called "MyUser" and applied a
password. This user/password is used in my connection string whick looks
like this:
Server=.\SQLEXP RESS;Database=M yDB;User ID=MyUser;Passw ord=thissucks
I've created a setup project in which the database is included. On my
machine (Windows XP SP2) the setup runs without problems and I can use my
app and database connection without any errors. On the Vista machine, the
other user gets this error:
Maybe, you're using your user-id and psw and SQL Server is set to Windows
authentication. Your user ID is trusted as part of the machine's logon
user-id.
>
"Login failed for user "MyUser". The user is not associated with a
thrusted server connection".
The user-id is not a trusted Windows User Id.
>
I've read a bunch of suggested solutions on the net, none of which has
provided a solution...yet.
How do you create a deployment/Publish in VS when using SQL Server 2005
Express Edition, when the maching it's supposed to be installed on only
has .NET FrameWork? I can't seem to get it to work... http://support.microsoft.com/kb/889615
You may want to set SQL Server Authentication to Mixed Mode Authentication,
which is Windows or SQL Server User-id and psw authentication, if it's not
set.
Hi Arnold
Maybe, you're using your user-id and psw and SQL Server is set to Windows
authentication. Your user ID is trusted as part of the machine's logon
user-id.
I'm using the user I've created in the database scope which is called
"MyUser" and password "thissucks" . I assume, when SQL Authentication is
used, the user specified in the connection string is matched against the one
in the database and not a Windows user.
The user-id is not a trusted Windows User Id.
That's what I'm looking for. User "MyUser" is NOT a windows user, so I don't
understand why it wants to authenticate it like it is.
You may want to set SQL Server Authentication to Mixed Mode
Authentication, which is Windows or SQL Server User-id and psw
authentication, if it's not set.
In the SQL Server Management Studio Express I have already marked the "SQL
Server and Windows authentication mode" under server/options/security. If
there is anywhere else this should be set, please let me know.
Any other recommendations ?
/PZ
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:OA******** ********@TK2MSF TNGP05.phx.gbl. ..
>
"Preben Zacho" <po**@zacho-web.dkwrote in message
news:eM******** ******@TK2MSFTN GP03.phx.gbl...
>Hi there
The scenario I got is this: I have created a Windows application in VS and I want to deploy it to another machine running Windows Vista. Since I have no control over this other machine, I've set it up to run SQL Authenticati on and I have added a new user called "MyUser" and applied a password. This user/password is used in my connection string whick looks like this:
Server=.\SQLEX PRESS;Database= MyDB;User ID=MyUser;Passw ord=thissucks
I've created a setup project in which the database is included. On my machine (Windows XP SP2) the setup runs without problems and I can use my app and database connection without any errors. On the Vista machine, the other user gets this error:
Maybe, you're using your user-id and psw and SQL Server is set to Windows
authentication. Your user ID is trusted as part of the machine's logon
user-id.
>> "Login failed for user "MyUser". The user is not associated with a thrusted server connection".
The user-id is not a trusted Windows User Id.
>> I've read a bunch of suggested solutions on the net, none of which has provided a solution...yet.
How do you create a deployment/Publish in VS when using SQL Server 2005 Express Edition, when the maching it's supposed to be installed on only has .NET FrameWork? I can't seem to get it to work... http://support.microsoft.com/kb/889615
You may want to set SQL Server Authentication to Mixed Mode
Authentication, which is Windows or SQL Server User-id and psw
authentication, if it's not set.
<snipped>
>
Any other recommendations ?
You might want to post to a MS.public.sqlse rver NG to see if they may know
something about the issue.
Ok thanks Arnold. I'll give it a try.
All I want is to deploy my app and database without having to care about
user authority and stuff. If possible, I would deploy my database without
any login restrictions so it would run no matter who you were, but I assume
that is not possible:
/PZ
"Mr. Arnold" <MR. Ar****@Arnold.c omwrote in message
news:eq******** ******@TK2MSFTN GP06.phx.gbl...
<snipped>
>> Any other recommendations ?
You might want to post to a MS.public.sqlse rver NG to see if they may know
something about the issue. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Zorba.GR |
last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64
bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite
Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express
Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM
Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other
IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
|
by: Jobs |
last post by:
Download the JAVA , .NET and SQL Server interview with answers
Download the JAVA , .NET and SQL Server interview sheet and rate
yourself. This will help you judge yourself are you really worth of
attending interviews. If you own a company best way to judge if the
candidate is worth of it.
http://www.questpond.com/InterviewRatingSheet.zip
|
by: Developer |
last post by:
Hello All,
i have recently installed VS2005 and was trying to install SQL sever
2000.
I have Win XP' SP2. But when I tried installing, it only installed
client tools and not the database.
Can anyone please help me with this as I want to install SQL server and
also wouold be grateful, if you can suggest me any workaround to
dealwith this problem.(Like should I install any new OS etc).
Any help would be appreciated.
|
by: kress1963nov22 |
last post by:
I recently purchased a good MS book ("Build a Web Site Now") by Jim
Buyens. It has the Express Edition of MS-Visual Web Developer 2005 on
CD and also MS SQL Server 2005 Express Edition on the CD. A couple of
questions for this newbie: Can MS SQL Server 2005 Express Edition be
used in place of the older MSDE product for backend database work? I
also have Visual Studio .NET (VB) 2003 (Standard Edition). How
compatible are all these products...
|
by: Gabriel |
last post by:
Hello,
I installed SQL server 2005 SP1 on a Windows XP SP2
From Visual Studio, I'm trygin to create a connection to a database, but I
receive this error but I'm creating the connection (I don't receive the
database list in the dropdown)
"An error has occured while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
| |
by: ianforgroupuse |
last post by:
I'm running Vista Business edition on 2005 Virtual PC.
Installed SQL Server 2005 Express latest download, with instance of
MSSQLSERVER and service accounts running under "NT AUTHORITY\SYSTEM".
Mixed mode authentication specified and sa password specified.
Used server manager to create user login with sysadmin role.
Login using windows authentication.
Run my application and database is created and populated with default
records.
|
by: Steve |
last post by:
Hi All
I downloaded Sql server 2005 express SP2 and attempted to modify the
Bootstrapper package files as I did with SP1
When i try to install SQL server as part of my VS 2005 deployment app I get
an error at the end of the SQL server install phase 'Invalid endpoint'.
(Note SQL server express gets installed OK)
If I run SQL server express SP2 setup directly it I don't get the error
|
by: Lee T. Hawkins |
last post by:
I am having a number of problems over the last two full days trying to get
an ASP.NET 2.0 application to connect to a SQL Server 2005 database...
First off, I built this application w/ Visual Studio 2005 SP1 and had it
working perfectly on my Windows XP machine on SQL Server 2005 Express. I
decided to publish this application to a test development server (with both
the SQL and IIS servers on the same box) running on:
Windows Server...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |