473,566 Members | 3,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

writing permission on SQL server

17 New Member
Hi,
I connect the SQL server in my application using this code :
ConnectionStrin gSettings settings =
ConfigurationMa nager.Connectio nStrings["StockDB"];
con = new SqlConnection(s ettings.Connect ionString);
but I have no writing permission the database is for read only what should I do in order to add writing permission?
thanks
Eran
Nov 2 '08 #1
7 1764
kenobewan
4,871 Recognized Expert Specialist
Connect through an admin account or upgrade your log in or add user account with appropriate permission or create a SP with the right permissions or impersonate the dbo account??? Bit strange, having read only access to a DB...
Nov 3 '08 #2
eranby
17 New Member
mmm.. I guess there are many solutions , but I'm new to SQL server and the default permission is read only , I have searched a lot for an answer and didn't find any ,may you guide me how to implement one of those solutions ??

Thanks
Eran
Nov 3 '08 #3
Frinavale
9,735 Recognized Expert Moderator Expert
I've moved the question to the MS SQL Server forum.

-Frinny
Nov 3 '08 #4
eranby
17 New Member
I need to connect to the sever and write to it from the c# application can the help me with that??
Nov 3 '08 #5
ck9663
2,878 Recognized Expert Specialist
Call your system administrator to give you the necessary rights.


-- CK
Nov 4 '08 #6
eranby
17 New Member
this application is on my on pc, there are no administrators involved
Nov 4 '08 #7
ck9663
2,878 Recognized Expert Specialist
Where did your database come from and why don't you have the necessary rights on your own db? Login using the sa account, then.


-- CK
Nov 5 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
14090
by: letkok | last post by:
Help! When I run the VB program in test mode while looking at the code, it functions correctly and creates the desired file. When I compile it on the server and try to have it run from the scheduler, I get the error 70 - Permission Denied. I have a report which comes down thru our system. The VB code reads the first few lines of the report...
12
2496
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the...
2
3670
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of...
0
1739
by: Gazelle | last post by:
I have a dilemma, that I am hopping I can find some help with. He is the back story so everyone sort of understands what it is that I am trying to accomplish. My problem: I have multiple users, each user has 2 or more CPU’s, using 3 or more monitors. 1 CPU system is running my web application. (Slick, high performance, and wonderful)
6
1705
by: MattC | last post by:
I have some code that correctly writes to the eventlog on my local machine. I have installed the application on the Live server and all is not well, no event log entries. My development box config is as follows: Windows XP Pro running IIS 5.1 Web app using integrated auth using a local user account Account has admin right over machine....
7
1735
by: Mike L. | last post by:
Hi, I got this 'EXECUTE permission denied on object <mySproc>' error message everytime I try executing my SQL server Sproc. What's this and how to fix this err? many thnaks in advance, mike
2
3207
by: MattB | last post by:
I'm writing some code to log errors in a web app (vb/asp.net). I found a straightforward-looking example here: http://www.c-sharpcorner.com/Code/2002/May/CustomErrorHandlingASPNEt.asp But mine doesn't seem to be working. If I step through the code I put in global.asax.vb it seems to get to the line where it checks for the existence of the...
2
1295
by: =?Utf-8?B?REo=?= | last post by:
I've created a new EventLog for mail services in my web application. Each time a mail is sent, it is recorded in the eventlog for later review. This works fine when I am on my development machine (Windows XP Pro), but when I try to do this on my test server (Windows 2003) I get the security error message that I don't have the permissions to...
0
7673
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...
0
7584
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...
0
7893
Oralloy
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. ...
0
7953
tracyyun
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...
0
6263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5485
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...
0
5213
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
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

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.