On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy 5 1391
The Windows user account used by IIS is not added to the SQL Server. Perhaps,
if you do it, the error should disappear. If you are using IIS 6, make sure
the IIS app pool account is added to the SQL Server.
HTH.
"jr****@cre8iveweb.com" wrote:
On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy
I will give that a try. Though, I don't understand why it matters
because I'm using a specific username/password in my connection string
in the code.
On Dec 13, 11:33 pm, Siva M <shiva...@online.excite.comwrote:
The Windows user account used by IIS is not added to the SQL Server. Perhaps,
if you do it, the error should disappear. If you are using IIS 6, make sure
the IIS app pool account is added to the SQL Server.
HTH.
"jrc...@cre8iveweb.com" wrote:
On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy- Hide quoted text -
- Show quoted text -
Oh, I forgot to mention that the SQL database is on a separate
development machine. I don't know if that would matter or not.
On Dec 13, 11:33 pm, Siva M <shiva...@online.excite.comwrote:
The Windows user account used by IIS is not added to the SQL Server. Perhaps,
if you do it, the error should disappear. If you are using IIS 6, make sure
the IIS app pool account is added to the SQL Server.
HTH.
"jrc...@cre8iveweb.com" wrote:
On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy- Hide quoted text -
- Show quoted text -
Ok, i ended up changing "Integrated Security=True" to "Integrated
Security="False" and it worked. But now I'm having issues where the
Web site appears, but the AJAX controls aren't showing up on the site.
I do have the AJAX Extensions installed on the server.
On Dec 13, 11:33 pm, Siva M <shiva...@online.excite.comwrote:
The Windows user account used by IIS is not added to the SQL Server. Perhaps,
if you do it, the error should disappear. If you are using IIS 6, make sure
the IIS app pool account is added to the SQL Server.
HTH.
"jrc...@cre8iveweb.com" wrote:
On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy- Hide quoted text -
- Show quoted text -
Integrated security change has nothing to do with AJAX. I guess the problem
could be with data access/permissioning.
"jr****@cre8iveweb.com" wrote:
Ok, i ended up changing "Integrated Security=True" to "Integrated
Security="False" and it worked. But now I'm having issues where the
Web site appears, but the AJAX controls aren't showing up on the site.
I do have the AJAX Extensions installed on the server.
On Dec 13, 11:33 pm, Siva M <shiva...@online.excite.comwrote:
The Windows user account used by IIS is not added to the SQL Server. Perhaps,
if you do it, the error should disappear. If you are using IIS 6, make sure
the IIS app pool account is added to the SQL Server.
HTH.
"jrc...@cre8iveweb.com" wrote:
On my machine I am developing a .NET site. When I execute it,
everything runs perfectly. When I publish it (to my machine in a
folder so IIS can access it), I get a SQL error:
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I know what the error means, but I don't understand why I'm getting
this on the published site and not when I run/execute the site from
Visual Studio 2005.
Any ideas?
Thanks!
Jeremy- Hide quoted text -
- Show quoted text -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bennett Haselton |
last post by:
When you create a C# Web Application project, you have to specify at
project creation time the URL you want to publish the project to. Is
there any way in the IDE to change the server that the...
|
by: Bendik Engebretsen |
last post by:
Developed this personal WEB site with the new ASP.NET 2.0 Beta:
http://www.techsoft.no/bendik/
It has got this problem: After a while browsing through pictures on the
site, an error occurs:
...
|
by: VB Programmer |
last post by:
I would appreciate your assistance on this ASP.NET 2.0 site....
This is the wierd problem: While accessing the built in .NET functions for
'profiling' or 'membership' an error is generated (see...
|
by: clickon |
last post by:
I am working on a portal web application that is largely modular. I have
been working on it on a "development" website. Some sections have been
tested and are complete. I decided to set up a...
|
by: Rahul |
last post by:
Hi,
Is there a way to get the line numbers to display in the exception when you
have published your web site?
Thanks
Rahul
|
by: John |
last post by:
Hi
When I try to install a published app using a url like
http://www.mydomain.com/publish.htm, it starts the download but then comes
up with the eror given at the end below. I am installing the...
|
by: =?Utf-8?B?SmF5IE1pbGxlcg==?= |
last post by:
I'm having problems with the login control when I publish my site.
Everything works fine when I run the application from Visual Studio and when
I browse directly to the site where it is being...
|
by: JB |
last post by:
I've a site which i have copied over from an old server to a new
server and now it doesnt seem to work.
I've been looking through the source code and i know *where* the
problem is, but i dont know...
|
by: Joe |
last post by:
Hello all!
I added a Global.asax to my application. I'm using the
Application_BeginRequest event. Everything works fine in my development
enviorment but when I publish the web site the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
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...
| |