Sql 2000 And Anonymous Login

Feb 15, 2001

How do you set up a SQL server to allow anonymous access from a website? I am using asp for a web site and keep getting this error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITYANONYMOUS LOGON'

I am new to SQL server so any help no matter how obvious would be appreciated

Thanks

View 1 Replies


ADVERTISEMENT

SQL Anonymous Logon

Jun 16, 2004

I was reading though my logs and noticed I had three instances of an anonymous logon last night. The last anonymous logon was at approx midnight. This is prime hacking time.

Can anyone give me direction on issues or concerns with anonymous logons.

Much thanks in advance ....

View 9 Replies View Related

Get Rid Of An Anonymous Subscription

Feb 27, 2007

Hi all

I've got the following situation:

setup up an merge publication (distributor and publisher at the same server)
setup an anonymous subscription
deleted the subscription

In the replication monitor, I still see the deleted subscription.

Why?

And how do I get rid of it?

Thanks a lot for any informations and greetz

Aline

View 7 Replies View Related

Anonymous Logins By SC_MSSQL Application

Apr 9, 2008

We're getting a barrage of Windows Authenticated login attempts that are using the Anonymous login on one of our client's production servers. This smells to me of a service gone awry.

The login attempts originate from a server that is hosting some Quest Software applications, specifically their Performance Analysis tool. This machine has been well behaved until this morning, but it has been issuing around ten failed login attempts an hour.

The problem that it causing me pain at the moment is that the client has not renewed their Quest support yet because of a merger, so their contract recently expired. Does anyone have any insight into what might cause a normally well behaved app/server to go mildly berzerk exactly ten days after the support contract expires?

-PatP

View 3 Replies View Related

Web Sync (Anonymous Subs) Reinitialize ALL?

Oct 24, 2006

Hi

I have a web sync merge publication with multiple anonymous subscribers. Unfortunately two of the subscribers have experienced errors as follows.

###############################################
The Merge Agent failed after detecting that retention-based metadata cleanup has deleted metadata at the Subscriber for changes not yet sent to the Publisher. You must reinitialize the subscription (without upload). (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199401)
###############################################

Now they successfully sync'd within the retention period so I am baffled as to why the cleanup has occured. Unfortunately I can't seem to find a way to reinitialize just a single subscriber. It seems that the only reinitialize option is across all subscribers, which I do not wish to do as they would loose any changes since last sync.

Can anyone shed any light on this.

Cheers
Rab

View 3 Replies View Related

Cannot Use Anonymous Methods Inside SQLCLR...

Sep 15, 2006

Hi all,

The problem is: when you're trying to call in method MyMethod anonymous method that doesn't use local variables, deployment of the assembly will fail referring that MyMethod tries to store smth. in the static variable. Indeed, looking at the compiled CLR code, you can see that anonymous delegate is cached in the private static delegate and the call looks like:

If(ClassName.privateStaticDelegate == null)
ClassName.privateStaticDelegate = new MyDelegate(HiddenMethodName);
CallAnonymousMethod(ClassName.privateStaticDelegate);

Is there any workaround to fix this problem.

P.S. I googled about this problem and found only one article on it:
http://www.ayende.com/Blog/default,date,2005-12-26.aspx

View 4 Replies View Related

Using REPLMERG For Web Synchronization Of Anonymous Pull Subscription

Mar 23, 2007

Hello,

I tried to use REPLMERG utility for Web synchronization and got the following error message in log file:

2007-03-23 14:35:10.484 The subscription to publication 'X' could not be verified. Ensure that all Merge Agent command line parameters are specified correctly and that the subscription is correctly configured. If the Publisher no longer has information about this subscription, drop and recreate the subscription.

The case description is as the following:

REPLMERG utility command line:

"C:Program FilesMicrosoft SQL Server90COMREPLMERG.EXE" -ExchangeType 3 -Publication X -

Publisher B01  -Subscriber  127.0.0.1SQLEXPRESS  -Distributor B01 -PublisherDB DBS -

SubscriberDB DBS -PublisherSecurityMode 1 -Output C:TempDBS.log -OutputVerboseLevel 2  -

SubscriberSecurityMode 0 -SubscriberLogin Operator -SubscriberPassword XXX -

SubscriptionType 2 -DistributorSecurityMode 1 -Validate 3 -InternetURL

https://www.company.com/Synch/replisapi.dll -InternetSecurityMode 0 -InternetLogin USER1 -

InternetPassword PWD1 -SubscriberType 0

The subscription to the publication X has been created with the following T-SQL script:

USE DBS

EXEC sp_addmergepullsubscription

@publisher = N'B01',

@publication = N'X',

@publisher_db = N'DBS',

@subscriber_type = N'anonymous',

@sync_type = N'automatic',

@subscription_priority = 0.0;


I've also tried to check subscription information on the server 127.0.0.1SQLEXPRESS using the following:

sp_helpsubscription_properties N'B01', N'DBS', N'X'

but the result set is empty. When I run sp_helpsubscription_properties

I get the same empty result. But the subcription is anonymous and when I synchronize it using RMO - it works.

Could you please advice what could cause the problem?

Thank you.

 

Alexander.

View 16 Replies View Related

How Do I Provide Anonymous Access To The Report Viewer

May 6, 2008

In remote processing mode, I am receiving the following error when I view a report in the browser: HTTP status 401: Unauthorized.

I have SQL server 2005, Microsoft Internet Information Services (IIS) 6.0 , Windows Server 2003 running on a virtual PC.


I am using Visual Studio 2008 to create a webpage with a reportviewer.

We are using Windows Integrated Security. How do I provide anonymous access to the report viewer?

View 4 Replies View Related

Re-initializing An Anonymous Subscription From The Server - Error

Aug 15, 2007

Hi,

I'm trying to force an anonymous subscription to re-intialize on it's next sync attempt. I can do this from the subscriber no problems, and from the publisher using 'Re-initalize All Subscriptions', but I can't seem to re-intialize only a single subscription from the publisher.

To do this I'm trying to execute sp_reinitmergesubscription using the subscriber details found in the sysmergesubscriptions table. This executes ok and when the subscriber starts to sync it does try to re-initialize starting with generating a new snapshot, but after processing for a while it throws the following error messages:

Error messages:
The merge process could not allocate memory for an operation; your system may be running low on virtual memory. Restart the Merge Agent. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147198720)
Get help: http://help/MSSQL_REPL-2147198720
An error occurred while reading the .bcp data file for the 'CDP_TableDates' article. If the .bcp file is corrupt, you must regenerate the snapshot before initializing the Subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199428)
Get help: http://help/MSSQL_REPL-2147199428
The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history logging and specify an output file to which to write. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)


There doesn't appear to be any shortage of memory on the server. There is no problem regenerating the snapshot from the publisher, and there's no problem with syncing through the web using delta syncs or re-initializing from the subscriber, so I can't see any obvious cause from those error messages.

I'm using SQL Server 2005 SP2 on the publisher, and SQL ServerCE 3.1 on the subscriber.

Any ideas or alternatives?

Cheers

View 10 Replies View Related

Can Sql Server Reports Vieweble By Anonymous Users?

Aug 3, 2007

Hi there,

I created reports and deployed successfully. but one problem i am facing is when i am opening the browser to see reports, it is asking for credentials..

But i want to show these reports for anonymous users

Is there any way to show reports for anonymous users? If yes, what is the process. please refer me any articles.

please help me out.

thanks
praveen.

View 3 Replies View Related

Allow Public/Anonymous Access To Report Folder

Nov 12, 2007

Greetings,

I have a set of reports that should be accessible to any user on our network. Those reports are located in a single folder in SSRS. I would like to configure security to allow anyone to see the reports in that folder. Is there a way to do this?

I do have other folders where I am using security so I do not want to open up system-wide access to all reports.

Thank you for your ideas.

Rob

View 4 Replies View Related

Merge Replication With Anonymous Subscribers And Identity Columns

Dec 21, 2005

Hi,

I read the BOL on how the publisher will had out identity ranges to subscribers, but it was not clear if this was also the case for anonymous subscribers. Will merge replication with identity columns work with anonymous subscribers that sync via HTTPS?

Thanks,
Darrell Young

View 1 Replies View Related

Data Access :: Return String From Oracle Anonymous Block

Oct 30, 2015

I am trying to execute oracle procedure (anonymous block) with input and output parameters from ms sql code and return 2 values back:a number and a string.I am using **EXEC() AT** to execute oracle code and return a string back to ms sql. It works fine when returning numbers, but if I add a string output parameter, I am receiving an error:Msg 0, Level 11, State 0, Line 0...A severe error occurred on the current command.  The results, if any, should be discarded.

The server log has the following entry in exception.txt:

Exception 0xc0000005 EXCEPTION_ACCESS_VIOLATION reading address 00000005031C07E0 at 0x0000000070F9C183
There is also a SQLDump file generated:
* BEGIN STACK DUMP:
*   10/28/15 12:45:38 spid 63
*   Exception Address = 000000005040C183 Module(MSVCR100+000000000003C183)

[code]....

It looks like the problem is in passing varchar2 from oracle into ms sql. I had logging code in oracle block, and it works fine. I have found a few examples of using **exec() at** but there is always only integer output passed back.

View 3 Replies View Related

Changing Merge Agent Profile For HTTPS - MergeSubscriberType = Anonymous

Aug 8, 2006

Hi


We are using HTTPS merge replication

Our setup is as follows:

subscription.CreateSyncAgentByDefault = False -- I wrote a windows service to synchronise
subscription.UseWebSynchronization = True
subscription.InternetSecurityMode = AuthenticationMethod.BasicAuthentication
subscription.SubscriberType = MergeSubscriberType.Anonymous

Some of our subscribers have low-quality internet connections - how do I get the agent at the publisher/distributer use a slower profile - I've read How to: Work with Replication Agent Profiles (Replication Transact-SQL Programming)
but can't see where you specifiy an alternate agent profile

On the distributer / publisher (same machine) I go to replication monitor -> Warnings and Agents - I can only set the profile for the snapshot agent....

thanks
Bruce

View 4 Replies View Related

How To Grant Rights For The Anonymous IIS Web User IUSR_.. To Execute Scalar Function In Assembly

Jul 26, 2006

Dear all,

Basically I want to set chain up the rights so that the anonymous web user IUSR_ .. can execute the new .NET subs, functions etc in the assembly, just as the anonymous web user can execute Stored Procedures when granted. In this way, it should be possible to call the .NET assembly just as classic stored procedures from ASP/ASP.NET.

I have written a .NET function which I can successfully execute if I log on to the database as an administrator by sending this T-SQL query; it returns the result of a given string:

select dbo.CLRHTMLString('abc')

The scenario is now to try to grant access to this assembly for a different role (webuser), which the classic IUSR_MYSERVERNAME is a login of, so that I can call the .NET Assembly when I am authenticated as the anonymous web user (e.g. via ASP, etc.).

To test access, I created a login (webusertest) for a user (webusertest) in the same role (webuser) on the database. But when I use this login, which supposedly has the same rights as the IUSR_, execution right is denied:

EXECUTE permission denied on object 'CLRHTMLString', database 'adt_db', schema 'dbo'.

Note: The 'webuser' database role has Execute permission on the Assembly.

I have also tested this from my actual web page, with the following results:
(1) IUSR_MYSERVER member of db_owner role: Web page has right to call assembly.
(2) IUSR_MYSERVER not member of db_owner role: Web page does not have right to call assembly.

Further test results:
(3) Function can be called when making the user "webusertest" member of the "db_owner" role, which is too much rights to grant for the anonymous web user.

(4) When adding the user 'webusertest' to get 'Execute' permissions on the assembly, it does not get added. After clicking OK, there is no warning message, but when opening the Assembly Properties -> Permission dialog box the same time, the 'webusertest' user does not appear in the list.

Thankful for any advice on this matter.

View 4 Replies View Related

Error: Cannot Open Database Requested In Login 'projectAllocations'. Login Fails. Login Failed For User 'sa'.

Oct 27, 2004

Hi,
Im getting this error when attempting to retrieve data from an sql database.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database requested in login 'projectAllocations'. Login fails. Login failed for user 'sa'.

Source Error:


Line 13: objConn = New SqlConnection( "Server=LAB303-066NETSDK; Database=projectAllocations; User ID=sa;Password=mypassword")
Line 14: objCmd = New SqlCommand("SELECT * FROM project_descriptions", objConn)
Line 15: objConn.Open()
Line 16: objRdr = objCmd.ExecuteReader()
Line 17: While objRdr.Read()

Source File: C:finalyearproject2sample.aspx Line: 15



Please Help!! Im a beginner to this, so if anyone knows the answer, take baby steps when explaining. Thanks

View 3 Replies View Related

Cannot Open Database Requested In Login 'dbName'. Login Fails. Login Failed For User 'machineNameASPNET'

Jul 27, 2005

Been looking through the forums for a solution to this problem.I already tried granting access through statements such as:exec sp_grantloginaccess N1'machineNameASPNET'But they don't seem to work.. i vaguely remember seeing somewhere a DOS command line statement that grants access to the ASPNET_WP and that fixed my problem before on another computer.. but this is a new computer and i forgot to write down the command.Can anyone help explain and propose a solution to my problem. Many thanxs.

View 9 Replies View Related

SQL Server 2000 Login Problem

Oct 20, 2005

Hi.. I am able to create a new login thru sql server enterprise manager..but when i try to connect thru query analyser using the same login and password,i am getting the following error.. Unable to connect to server EI_DT Server:Msg 18452,Level 16,State 1 [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'test'.Reason:Not associated with a trusted SQL Server Connection Can anyone plzz help me to rectify this error.. Thankz in advance..

View 1 Replies View Related

How To Create My Validate Login SP IN Sql 2000 ?

Jan 24, 2006

hi,all:
         I'm new to Sql 2000,now I have a login  asp.net page and I used the sql 2000 database.
my login page included a user id and password need user inputed.  if the user input the correct userid
and password ,IE will transfer to main  page,or there will show eorror message in login page.
my SP like this:
 CREATE  PROCEDURE dbo.Usp_Accounts_ValidateLogin  @userid char(4) , @EncPassword  binary AS      if  (select  count(*)    from  hhmxUserData where Userid=@userid and UserPWD=@EncPassword) >0  
         return  1
     else
       return 0GOmy asp.net code like this:
      dim result As Integer
     dim rowsAffected as integer
            myConnection.Open()            Dim command As SqlCommand = BuildIntCommand(storedProcName, parameters)                rowsAffected = command.ExecuteNonQuery                result = CInt(command.Parameters("ReturnValue").Value)                myConnection.Close()
            Return result
I test it in sql 2000,it's ok.but when I performed it and retrieve the "returnValue", it still return 0 .
so how can I create my correct SP  ?
 
thanks so much.

View 3 Replies View Related

Creating Login In Sql 7 On Windows 2000

Sep 26, 2002

Hi

My platform is mainly windows nt4 server with two windows 2000 member servers. We recently acquired a higher spec machine to replace the old sql 7 server that is on windows NT4 box. The new server is a windows 2000 box and I have installed sql 7 on it.

The problem is when I try to create a new login it does not give me the option to select my domain. When I select new login and go for windows nt4 authentication the drop arrow for Domain only has the server name and not the domain name. If I manually input the domain name it rejects it.

I do not have Active Directory or a local dns server running on my network as we have no intention of migrating to Win2000 until next year. Our internet service provider handles our dns issues.

Is it not possible to install sql7 on win2k box.

Thanks
Eve

View 4 Replies View Related

Microsoft SQL 2000 Login Problem

Jun 18, 2004

Hi,

I'm trying to slove this problem from last few hours. I cannot slove this problem. Getting following error message if i try to login in Microsoft SQL Server 2000. Programming in Visual Studio NET -> MFC...


Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.



CDBVariant value;
CDatabase db;
char sql_statement [2048] = "";

//CDatabase object "db" created to connect database
db.OpenEx(_T("DSN=MQIS"),CDatabase::noOdbcDialog);
.
.
.
.


can someone please help me out, is something wrong with the code ??

View 8 Replies View Related

SQL Server 2000 Audit For Login

Jan 27, 2006

Is there a way to audit the login on SQL Server 2000? I'm looking for away to get a report login/logout events with the name of the database.Thanks in advance.

View 3 Replies View Related

Database Login In Sql Server 2000

Oct 29, 2007



Hi,

I have created a database ABC under an instance <compname est> and have assigned an user name and password for it. Also i have created another database DEF under the same instance with respective login credentials.
The problem is that i can login to ABC using DEF login credentials and vice versa.
Can anyone suggest a solution for this?
Is there any query to create a login for a particular database?

View 3 Replies View Related

Cannot Open Database Requested In Login 'sql'. Login Fails. Login Failed For User 'ASPNET'.

Dec 19, 2003

I am using the MSDE to connect to my ASP.NET application. I get this error after clicking the login button of my login page. Anyone know why this would happen?

Thanks for any help,

Cannot open database requested in login 'DataSQL'. Login fails. Login failed for user 'serverASPNET'.

View 5 Replies View Related

MS SQL Server 2000, And ASP.NET 2.0 Membership Controls (login)

Dec 14, 2007

when my ASP.NET 2.0 web site working against MS SQL Server 2000,I Usually have a connection string to the DB, I create a connection, and start working on the data.
While reading about the MemberShip provider of ASP.NET 2.0 (Login control, Forgot password, etc.),I read that it's possible to save the MDF file of the membership controls, within the APP_DATA folder.
But how can it be ? the MDF file must be at the server folder,How can I access this MDF file ? with which connection string ?How does MS SQL Server 2000 syncronize against this MDF file within my APP_DATA folder ?
And by the way, if my hosting company allow me to use 1 db schema of the MS SQL Server 2000 server,Does this method (saving the MDF file within thr APP_DATA folder) allow me to use multiple schemas ?
Thanks.
 

View 4 Replies View Related

Remote Login To MSDE 2000 (Desktop)

Dec 5, 2004

My question is, is it possible to connect to an SQL database using the MSDE 2000 SP3a edition over the internet? And if so, how do I set it up? Thank you in advance.

View 1 Replies View Related

How To Create BuiltinAdministrator Login In SQL Server 2000?

Jan 22, 2008

Hi,

I am using SQL Server 2000. But i am not able to see the BuiltinAdministrator account in the logins list in Enterprise Manager but by default the owner of the system gets access to all databases and objects in the system. I would like to restrict that by restricting the access of BuiltInAdministrator account but it is not visible. Is there any option to be enabled to make that visible?

Could you please help me in this issue..

Thanks.

View 4 Replies View Related

MSDE SQLSERVER 2000: Login Failed

Feb 12, 2008

Hello

I have a installation of MSDE MSQLSERVER on my machine, in this server i run a local database. The problem began when I uninstalled the msde sqlserver and reinstalled it. The program tha uses the database not are connecting, they prompt: "login failed"

Can you help me?

View 1 Replies View Related

Urgent Login Problem With 2000 Server

Nov 6, 2007



I was using detach & attach method to move few 2000 databases to the instance 2005 on the same server...After moving a couple of databases which worked fine...Now i am not able to log into 2000 database...i guess the default database which i was connected had been moved at so its not letting me in to 2000 server..

TITLE: Connect to Server
------------------------------

Cannot connect to SQL-CENTRAL-DEV.

------------------------------
ADDITIONAL INFORMATION:

Cannot open user default database. Login failed.
Login failed for user 'test est'. (Microsoft SQL Server, Error: 4064)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=4064&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

how do i fix the problem
thanks

View 5 Replies View Related

Membership, Roles And Login Controls With Sql Server 2000

Jul 4, 2007

 hello, I have developed a website using asp.net 2.0 and sql server 2005 express edition. I have used the built-in membership, roles and login controls in my website. now i need to change the database server. i have to use sql server 2000 instead. as asp.net 2.0 uses the ASPNETDB.mdf for member,roles and login controls, so how can i do it? i can easily export the database from 2005 to 2000 but how my application controls will know where to look at for those data. I am clueless. please help me. thanks in advance. 

View 2 Replies View Related

Is Windows Login Name Case Sensitive In SQL Server 2000?

Sep 12, 2006

Is Windows Login Name Case Sensitive in SQL Server 2000?

View 1 Replies View Related

Move / Copy Sql 2000 User Login To Sql 2005

Sep 6, 2007

Good day ,
Does anyone know how to moe / copy database users from sql server 2000 to sql server 2005. I ave been successful will everything except this in my migration. I can copy the database users themselves but not the users under the security section.

Please help

View 4 Replies View Related

Restoring Backup From SQL 2000 To SQL 2005 But Login Name Is Missing

Mar 29, 2007

Hi all,I'm having a problem restoring backup from 2000 to 2005. The actualrestore process went ok. However, the database user of the restoreddatabase is missing a Login Name. I've made sure that the Login Nameis created in 2005. Also tried deleting the user, but couldn't theuser is db owner. Is there any way that I can assign a Login Name forthis database user or maybe drop this user and assign another one?Regards,Gerd

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved