Console Apps Work For SA But No Other User

May 31, 2006

Hi

My console applications work for SA and no other user. I can  run the Stored procedures used in the console application from Query analyser when logged in with username/password that I am attempting to use for console applications. I am using SQL server authenication. User access permissions look ok in Enterprise Manager. Access is permit for my user.

Any suggestions?

 

Thanks

View 1 Replies


ADVERTISEMENT

User Pc Running Apps For Both 6.5 And 7.0

Sep 8, 1999

If a user's pc needs to run 2 different applications (sold by 2 different vendors) and one must be 6.5 and the other must be 7.0, are there any problems with the client machine?

My understanding is that each of the apps comes with the pieces it needs to connect. I'm trying now to reach the tech types at the vendors and ask what kind of custom setup (if any) is needed on a user workstation or if the install does everything. If they come with their own dlls and odbc data sources, might all be well?

Does anyone have apps loaded on a desktop that connects to both a 6.5 and a 7.0?

Thanx,

Dick Scherrer

View 1 Replies View Related

ADDUSERASADMIN Doesn't Work If Not In Normal User

Apr 12, 2007

As pointed out in the SQL Express blog recently http://blogs.msdn.com/sqlexpress/archive/2006/11/15/sql-express-sp2-and-windows-vista-uac.aspx (look for the section that starts "Watch out!"), the SQL Express SP2 argument ADDUSERASADMIN will not work correctly if the user is a normal user. If the user is a member of the BUILTINAdministrators group then Vista will prompt to elevate them to allow the Admin rights to be effective.



However, my reading of the blog post is that if they are normal users, Vista will prompt for the Administrator credentials. This effectively runs the install as the Administrator user. So the ADDUSERASADMIN argument works, but adds the Administrator rather than the normal user.



This is not what I need to happen. Is there any way around this? I have a ClickOnce application. Is there any way to restrict the ClickOnce install to require the user to be a member of the BUILTINAdministrator group?



Thanks.

View 4 Replies View Related

Query Notification Does Not Work Due To Failure To Authenticate The User ?

Sep 1, 2006

I tried using Query Notification on my computer at home:
* Win XP Pro with all the SPs and hotfixes
* SQL 2005 with SP1 qand hotfix

Query Notification worked fine.

Then I tried using it at work:

* Win XP Pro with all the SPs and hotfixes

* SQL 2005 with SP1 qand hotfix

and I see the following error in the SQL server log file and notification does not get to the client app:

----------------------------------------------------------
Date 9/1/2006 10:18:30 AM
Log SQL Server (Current - 9/1/2006 10:18:00 AM)

Source spid17s

Message
An
exception occurred while enqueueing a message in the target queue.
Error: 15404, State: 19. Could not obtain information about Windows NT
group/user 'domainmyuser', error code 0x6e.
----------------------------------------------------------

A similar error shows up in the machine's Event Log.

I am
sysadmin and full OS admin on both boxes. The difference is that the
computer at home is standalone while the one at work is part of a
domain.

What could be wrong?

View 7 Replies View Related

Email User That New Work Item Added To Team Programatically.

Apr 23, 2008


Hi Team Expert,

I am working on an ASP.NET and c# project. I am creating a page that allow user to add new Workitem to TFS and successfully do so. Now I would like to implement the way to email to notify the user that the new WI is added €¦. Does anyone know how to do this or have an example of how to implement that.
Any help would be greatly appreciated.

Thanks so much

Ddee

View 1 Replies View Related

Package With File System Task Doesn't Work Without Sensitive Data With User Keys

Dec 14, 2006

This problem is a bit weird but I'm just wondering if anybody else experienced this.

I have a package that has file system tasks (copying dtsx files actually). Basically the package copies other packages to a pre-defined destination. Thing is, it only works if one of the packages it is configured to copy has some sort of sensitive data (e.g., a connectionstring with a password), otherwise it reports a success message on execution but doesn't actually do anything. I've checked the forcedexecutionresult and it is set to None for that matter.

Just wondering if anybody else experienced this problem and of course if there's a way to solve it.

Thanks.

View 2 Replies View Related

C# Console Access Sql

Feb 22, 2008

hi, all, i am using VS 2005. the c# program and sql data(Database1.mdf) including Table1 are within the same project.how can i use the C# program to access the data within Database1.mdf?such as what is the ConncetionString of that?any simple sample codes? btw. i have tried: String connStr =@"server = (local)etsdk;database = Database1;integrated security = sspi;";  

View 2 Replies View Related

How Many Apps Supported?

Sep 9, 1999

How many "applications" can be loaded onto Microsoft SQL Server 6.5?

Additional Information:

The OS platform is Windows NT Server 4.0 (SP5) on a Compaq ProLiant 1600 (PII 450) with 256Mb RAM
Proposed applications, although this probably will mean little, are Dataview (club membership) Peterborough (payroll) and Positive (HR).

Any assistance would be appreciated.

Thanks

Robert
robert@whiteley.com

View 1 Replies View Related

Tricking Db Apps

Oct 21, 2006

Hey guys, my first post so here goes...

I'm wondering if anyone here knows how to write a program (or download a program) that pretends its a sql server and listens for connections, so that when an app thinks its sending its connection string to a server, its sending it to the locally installed program, so that you can get the UID and password from the connection string.

I'm working at a company where we need to write an extension to the software we use but we don't know the login to use for it. These programs are horribly designed. If you run it with the net card disabled it dumps the connection string to the screen but of course it has the UID and pass starred out. Any thoughts?

View 1 Replies View Related

Connect To SQL From .net Apps

Jun 21, 2007

I'm struggling to connect to my SQL server whilst running a dot net application which is located on a network drive.
the program will run perfectly from my c drive, but as soon as i move the program file on to the network, it no longer recognises my windows permissions, and does not connect to the database.
can someone help?
is there some code that i need to add to my dot net code?

View 2 Replies View Related

SQL Server And Net Apps

Jun 7, 2007

I have SQL Server 2000 with databases on the NetApps filer CIFS share.For example, the datafiles are located at \network shareserversharemicrosoftsqlservermssqldata...Whenever there is a filer failover, some of the databases go in suspectmode. Is there a setting on SQL Server like a time out setting from thenet apps that can be modified so that the databases will wait for awhile before going into the suspect mode?Raziq.*** Sent via Developersdex http://www.developersdex.com ***

View 1 Replies View Related

APPS For SSIS

Jan 4, 2007

Help!
Does anyone know where can i find some windows or web applications using ssis for manipulations?

View 4 Replies View Related

Isqlw.exe From A Console App

Aug 10, 2006

Can someone who knows a lot more about this than me please tell why, when the following code executes, I get a pop-up window telling me the usage of isqlw.exe?

<code>

strQueryCommandPath = "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\";

strArguments = "-S(local)\SQLEXPRESS ";

strArguments += "-Usa ";

strArguments += "-Padminmlc ";

strArguments += "-i" + strCurrentDir + strFileName + " ";

myProcess.StartInfo.WorkingDirectory = strQueryCommandPath;

myProcess.StartInfo.FileName = "ISQLW.EXE";

myProcess.StartInfo.Arguments = strArguments;

myProcess.StartInfo.UseShellExecute = false;

return myProcess.Start();

</code>



I've also tried it with a space in between the - switch and also with quotes around the switch arguments. I've put the entire path in just the StartInfo.FileName instead of switching the working directory as well. I can't for the life of me get it to actually fire off this command for some reason.

p.s. I've also tried using "/"s instead of "-"s as well.

View 3 Replies View Related

SQL Express And Console Application

Dec 21, 2005

I have created a Web application that uses a SQL Express file Database (mdf). I have also created a console application that looks to the (mdf) in the Web Directory to process some server-side tasks, (Email, process data, etc). Everything works well on my Development Machine, however when I Publish my Web App and Console application to a server, the Web App works fine, the Console App is buggy. The main error I get is ;that the user logged into the server cannot access the Database. (User domcholman cannot access). However this is not always the case, sometimes it works.
Question is, how does SQL Express authenticate credentials when in Windows Auth mode? Shouldn't it allow the Service account to access the database? Are there any best practices? Should I use an account and password instead? thanks...

View 1 Replies View Related

Different Login && SQL Console Root .....

May 28, 2003

Logged on local Administrator on one of my sqlserver 2000 "ABC" and registered 5 sql groups and linked 50 sql2k servers from MSDE to Standare (all sp3).
Now, I need a different login on this machine "ABC", how could I get back all the SQL Enterprise Manager Console Root Setting and connections like before?

thanks
David

View 11 Replies View Related

SQl Mobile For Standalone Apps?

Dec 8, 2006

Hello,

i am planning to build Pocket Pc App and i would like to know if i can use Sql Mobile as my data store. The data base design is quite complex.
I wont be using any recplication/synchronization in my app since its a standalone app.
pls suggest.


Thanks
Karthik






View 3 Replies View Related

Server Management Console Only??

Jul 13, 2006

Can the Server Management Studio Express be installed on a machine without SQL Server Express?

I have a machine that I use daily that I need to access a remote instance but there is not a need (or space) to fully install SQL Server onto the local machine - all I need is the management tool.

I tried installing it but the process errors out, saying a pre-requisite (MSXML6) isn't found. It refers me to a site with all the different SQL Server downloads.

All I need is the management tool on this machine. Is there a way to do it?

Tried loading "MOM" but it doesn't show up either

Thanks

Paul P

View 3 Replies View Related

How To Run A Console Program In Ssis?

Aug 3, 2007

I need to execute a console program and capture its output.

What's the best way to do it?

(no xp_cmdshell approach)

Thanks,

View 1 Replies View Related

Apps Being Mirror Aware

Nov 9, 2007

most articles I read suggest that apps need to retry upon failure in a mirrored environment, using a different connection string, not worrying a whole lot about waiting for the retry. But I heard somewhere that the original connection string can also contain info about the mirrored db, thus eliminating the need to use two different connection strings, and perhaps not even needing to retry programatically. Which is correct? I also heard that programatic retry could be required anyway because of some bug involving the "first" failure and disappearance of a connection pool. Can someone just provide the 50,000 foot view of what it takes to make an app "mirror aware"?

View 1 Replies View Related

Sharing ASPNET.MDF Between Multiple Apps

Sep 27, 2006

Hi guys,I've got two apps that are going to have pretty much the same users and i wanted them to have the same ASPNET.MDF user database. Is it possible to store the ASPNET.MDF in a different location and then have the two apps access it from there or alternatively have it in the App_Data folder of one of the apps and then have the second app access it from there?Thanx

View 2 Replies View Related

MS SQL Server Express - Is Console Window Available?

Mar 24, 2008

Hello everybody,
MySQL has a WebServer console, that lets to create tables via easy to handle SQL queries. Since I am used to SQL Server console, I would like to have such window in Micosoft SQL Server Express coming with Visual Studio 2008. Despite I searched for it, I did not find a database console window.


Does MS SQL Server Express offer a Server Console that lets the database to be accessed via SQL queries, please?

View 2 Replies View Related

SQL Express And Management Console Ctp Issue

Apr 8, 2006

So i installed sql express and the management console and have the sql service and browser running.  I try to connect to my instance of sql express with the management console and it says it doenst allow remote connections.
error:  http://img95.imageshack.us/my.php?image=error28to.jpg
What do i need to do to be able to use the management console?
I was able to connect before but due to some bad advice think i stuffed up the whole thing and had to uninstall sql express and the management console.   I re-installed them both but am now getting this error.  what the heck is the deal with this?  It shouldnt be this hard!
This is in relation to an earlier issue i had trying to get to connect to a database from within visual web developer express and now i can connect to my sql express instance but cant get into the managment studio.  :(

View 1 Replies View Related

Multiple Apps On System DSN On Server From One PC

Dec 17, 2005

A few years ago I wrote an active-X server to maintain a singleconnection to a file .mdb from multiple apps on same PC because I washaving to many database curptions.Should I use the same Active-X server for the same in a MS SQL ServerDSN connection or is it ok to have multiple apps from the same pc usingthe DSN?

View 1 Replies View Related

Can Multiple Apps Connect To The Same Database?

Aug 31, 2006

I have an application that was developed under Visual Basic .NET 2005 Standard that I keep continuously running to monitor and gather data and store that data in a SQL Server Express database. This is all done on a single computer that's not networked to anything. The trouble is, I'd like to look at the data in the database from time to time without shutting down the application, but I'm not able to do so. If I try to copy the database files, named lamination.mdf and lamination.ldf, to another location, I get the following error message;

"Cannot copy lamination: There has been a sharing violation. The source or destination file may be in use."

I would like to be able to copy the file to my office computer where it would be convenient to use Management Studio Express to look at the database tables. I can't even use Management Studio Express on the computer where the application is running, as I get the following message when I try to attach the database:

"CREATE FILE encountered operating system error 32(The process cannot access the file because it is being used by another process.) while attempting to open or create the physical file 'C:Documents and Settings barnardMy DocumentsVisual Studio 2005ProjectsLamination Phase ILamDataBaseLamination.mdf'. (Microsoft SQL Server, Error: 5123)"

Here is the connection string in the VB application:

"Data Source=.SQLEXPRESS;AttachDbFilename="C:Documents and Settings barnardMy DocumentsVisual Studio 2005ProjectsLamination Phase ILamDataBaseLamination.mdf";Integrated Security=True;User Instance=True"

In the VB app, connections to the database are made only every few minutes, and the connections are immediately closed.

Is there anyway I can either copy the database files, or at least look at the database tables with Management Studio Express without stopping the VB application?

Thanks,

Tim

View 7 Replies View Related

Connection Issue With Management Console

Aug 16, 2007

When i try to connect to Integration Services on a SQL 2005 Machine, it Gives me a Class not registeed.
But i can connect to SQL 2008 Integration Services without a issue.
I tried Restarting the 2008 machine and Also Reinstalling the SSIS Piece and also Reinstalled SQL 2008, but nothing seems to Help.

View 6 Replies View Related

Writing Variable Values In Console

Feb 21, 2008

is there a possibility to print the value of a variable in the debug console? it seems that Console.WriteLine in a script task doesn't work. or is there a better way in order to debug the value of a variable at a certain point?

View 7 Replies View Related

Use NoRows In VB .Net 2005 Console Application

Dec 15, 2006

I have a VB .Net console application that invokes a report via a web service call. It then renders the report into Excel and emails it to the appropriate party.

I would like to suppress the email event if the dataset is empty. So the question is, can one access the NoRows property or equivalent in this environment?

I am able to get some information from the following code:

rs.ExecutionHeaderValue = execHeader
execInfo = rs.LoadReport(reportPath, historyID)
result = rs.Render(format, devInfo, extension, _
encoding, mimeType, warnings, streamIDs)
execInfo = rs.GetExecutionInfo()


The result and execInfo do not seem to deliver back the row count. Is this information available at all? If not, I may have to do an ADO call to the query to get it. Running the query twice is a pretty inefficient solution.









View 2 Replies View Related

Deploy Apps Using Sql 2005 Express

Jun 17, 2006

i'm building apps using sql server express and I want to deploy to servers that have the 2.0 .net framework but have sql server 2000 database.

Can this be done, and if so, how?
Observing God€™s Holy Spirit, I see God saying that The Lord Jesus influences every natural occurrence of kindness, righteousness, and judgment (Jeremiah 9:23-24). I believe God, so I thank The Lord Jesus for your grace in these matters.

View 4 Replies View Related

SQL Server 2005 Management Console

Apr 5, 2007

We installed SQL Server 2005 x64 on a server for our client here at our office. We can't connect to it using Enterprise Manager. I'm assuming we need to install the management console because of the differences in 2000 and 2005. The install is for a x64 and our workstations are x32. Do I need to get a media kit for a x32 because the x64 install won't work. Where can I get the install for the x32 Management console and will this work?

View 3 Replies View Related

Console.WriteLine Generates HostProtectionException

Aug 25, 2006

Gotcha!

It took a few minutes of staring at my CLR method (it's actually a ServiceBroker service), trying to figure out why I was getting an exception on something that looked pretty innocuous.

It turned out to be the Console.WriteLine(...) statement. In hindsight, not really much of a surprise . However, for debugging purposes, I'd still like to use Console.WriteLine. Is there a HostProtectionAttribute I can apply that will allow it?

Josh

View 1 Replies View Related

Executing ETL Packages Programatically From .NET Apps

May 3, 2006

Is there a way to execute ETL packages programatically? Specifically, is it possible to
manually invoke the ETL package to execute from, say, an ASP.NET
application?


If so, how do you do that?

I've been searching MSDN regarding this but all I see are examples on programatically building packages.

View 3 Replies View Related

Web Apps Problem After Uncheking Windows Authentication

Jul 12, 2004

Hi
I installed Sql Server 2000 in my server with windows authentication.
IIS side under security tab checked Windows authentication option.
When i try to my asp.net web application everything is working fine.

But now as per user wish i dont want to use windows authentication.So sql side i create one user called 'global' and giving full permissions .In IIS side unchecked the windows option and checked
Anonymous access and given 'global' user id at anonymous user account place.

Now when i try to run my Web application i can connect to sql servel and fetch the data but no events are running in my .aspx page.means when i click any button or select list or combo box nothing is happening.All events are not firing and also not giving any error message.Its simple showing the page as it is.

When i un checked Anonymous access and checked windows authentication everyting working fine.

Really not getting why its doing like this .
Pl help me in this.

thanks

View 1 Replies View Related

Multiple Database Apps On A Single SQL Server

Nov 18, 1999

New to MSSQL

Management is getting frustrated with the increase in number of NT servers for MSSQL and Vendor packages. Currently we purchase a box for each app. We would like to go to one or two MSSQL servers running multiple application database's (based on size etc) . How are you handling this? Do you do this for test only or both test and production? Any gotcha's. Any help will be appreciated.
Thanks
john

View 1 Replies View Related







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