473,770 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows 2003 - SQL Server does not exist or access denied

ssp
G'Day All,

I have a web application sitting on my laptop and a Sql Server 2000
database on our INTRANET server running Windows 2003. Up until recently
I was able to access the database using my application. But recently it
started to give me the error as below:
*************** *
SQL Server does not exist or access denied.

Exception Details: System.Data.Sql Client.SqlExcep tion: SQL Server does
not exist or access denied.

[SqlException: SQL Server does not exist or access denied.]
System.Data.Sql Client.Connecti onPool.GetConne ction(Boolean&
isInTransaction ) +484

System.Data.Sql Client.SqlConne ctionPoolManage r.GetPooledConn ection(SqlConne ctionString
options, Boolean& isInTransaction ) +372
System.Data.Sql Client.SqlConne ction.Open() +384
RingtonesCompon ents.Data.ViewC at1() in C:\dev\xxx\Data .cs:371
RingtonesCMS.Gr ab.AddCat1.Page _Load(Object sender, EventArgs e) in
C:\dev\xxx\cms\ Grab\AddCat1.as cx.cs:33
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.C ontrol.LoadRecu rsive() +98
System.Web.UI.C ontrol.LoadRecu rsive() +98
System.Web.UI.P age.ProcessRequ estMain() +750

*************** *

I have the following connection string in web.config file:

*************** *
<add key="sqlConnect ion1.Connection String" value="workstat ion
id=SUVPR;packet size=4096;user id=sa;data source=INTRANET ;persist
security info=True;initi al catalog=rington es;password=xxx " />
*************** *

I am completely baffled by the situation.

I can access the INTRANET database using the Enterprise Manager on my
machine.

Any clues will be greatly appreciated.

SSP

Nov 19 '05 #1
1 2064
ssp
Found the solution... A very odd one though. Someone from Microsoft
should better explain this. Infact the problem and the solution is not
an ASP.NET one at all.

Well, what I did was change the TCP/IP Port from 1433 to 1096.
Restarted the Sql Server and ran my application. Still had the "Access
Denied" error. So I decided to revert to Port 1433 and restart the Sql
Server. I ran the application and it worked like a charm.

A complete fluke!

SSP.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4455
by: Nathan Sokalski | last post by:
I want to set up SQL Server on Windows XP Pro so that I can use the database capabilities of ASP and IIS. I am probably using some incorrect settings, but I am not sure what they are. Here is what I am currently doing: When I run sqlservr.exe I see the following: 2003-12-19 15:51:28.20 server Microsoft SQL Server 2000 - 8.00.760 (Intel X8 6)
1
3290
by: JBoyce | last post by:
I have been searching the net and haven't found anything that has worked so far for resolving this issue, hopefully someone on here can provide some insight? I did a fresh install of a Windows 2003 Standard Edition server (as part of a workgroup, not a domain..the server is only temporary for testing) and installed MSDE 2000A (the version that contains all current service packs). I can use the MSDE server locally on the server without...
0
1626
by: greg_s_007 | last post by:
Just wanted to share a solution I found to this common problem that I have not yet seen posted. I am in the process of migrating an application from NT/IIS 4.0/SQL 6.5 to Win2003. The SQL server and ASP web application are on separate servers in an NT domain. While migrating the web app to a Windows 2003 server (which is not in the domain), I was unable to connect to the database via ODBC using named pipes.
6
467
by: Bob | last post by:
Having trouble getting started. I created an instance of MSDE called VSDOTNET on a computer with the name of sysdev. Using MS SQL Web Adminstrator I created a database called temp with a table called customer. In Visual Studio .NET I can see and access the data in the table. The dataconnection is called sysdev\vsdotnet\temp.dbo
2
2628
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself is not able to access a specific network resource and I just can't figure out why. First of all, let me say this worked fine with IIS running on Win2000 Server. This has not worked since I upgraded to Windows Server 2003. My Platform: Windows...
3
567
by: Olivogt | last post by:
Hello, I was just puting an application on the web server but it did not work as usual... - I do develop on my notebook and move released applications to the Web server - both have Sql Server 2000 - In this particular application I have a form login based on Username/Password from a database table - the start page of the application has a datagrid, both pages are accessing ONE database but an other table - It seems that the username and...
2
1679
by: Craig Neuwirt | last post by:
Does a user being impersonated within and ASP.NET application (using programatic impersonation) on a Windows 2003 Server machine need any different privileges or policies than the same ASP.NET user and application running under Windows XP. I am using a set of classes that expose the COM Windows TaskScheduler. When I try to instantiate the COM class within an ASP.NET Application on Windows 2003 Server, I get an access denied, but not when...
1
6663
by: Robert Strickland | last post by:
I have a .Net web service (written for 1.1 Framework using C#) running on Windows 2003 with all latest patches. To help monitor the service, the code creates several performance counters. One server (this is a farm) I receive the following exception when trying to create the performance counters. We had an earlier issue where the ASPNET user account did not have the 'Performance Monitor' group. The exception was an access denied when trying...
0
1520
by: 5000wpm | last post by:
"couldn't get process information from remote machine" - Access denied Using VS2003 VB.NET 1.1 under Windows XP Pro x64. Hi, Having recently upgraded to Windows XP Pro x64 a problem has developed in my code. I have boiled this problem down into smaller and smaller apps until I am at this point:
0
9591
marktang
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...
0
10057
jinu1996
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...
1
10002
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,...
1
7415
isladogs
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...
0
6676
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();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.