473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Insert not working.... :(

Hi there,

I have created an ASPX file that contains two ASP textbox fields and inserts
those into my database.

The fields are Venue Name and Venue Date:

I believe the Venue Name is ok, but when I enter in the Venue Date this may
not be working due to formatting etc. For example I enter in 29/12/04 when
it expects 29/12/2004 00:00:00?????

The error msg I get however is the following:

INSERT permission denied on object 'table', owner 'dbo'

I have a web config file that opens up a connection string using the
administrator account.

Any help would be appreciated

Thanks
Paul
Nov 18 '05 #1
2 1042
Is the connection string using the admin account for sql server??
If so you need to grant insert permission to this user for this table in the
database.
"Paul King" <ki******@hotmail.com> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
Hi there,

I have created an ASPX file that contains two ASP textbox fields and inserts those into my database.

The fields are Venue Name and Venue Date:

I believe the Venue Name is ok, but when I enter in the Venue Date this may not be working due to formatting etc. For example I enter in 29/12/04 when it expects 29/12/2004 00:00:00?????

The error msg I get however is the following:

INSERT permission denied on object 'table', owner 'dbo'

I have a web config file that opens up a connection string using the
administrator account.

Any help would be appreciated

Thanks
Paul

Nov 18 '05 #2
Thank you.

Cheers
Paul.
"Steve Flitcroft" <as*******@hotmail.com> wrote in message
news:OW*************@TK2MSFTNGP11.phx.gbl...
Is the connection string using the admin account for sql server??
If so you need to grant insert permission to this user for this table in the database.
"Paul King" <ki******@hotmail.com> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
Hi there,

I have created an ASPX file that contains two ASP textbox fields and

inserts
those into my database.

The fields are Venue Name and Venue Date:

I believe the Venue Name is ok, but when I enter in the Venue Date this

may
not be working due to formatting etc. For example I enter in 29/12/04

when
it expects 29/12/2004 00:00:00?????

The error msg I get however is the following:

INSERT permission denied on object 'table', owner 'dbo'

I have a web config file that opens up a connection string using the
administrator account.

Any help would be appreciated

Thanks
Paul


Nov 18 '05 #3

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

Similar topics

3
by: xMANIGHTx | last post by:
I'm new to DTS. I read some docs before adventuring into this matter. I still haven't found in all the docs I read if there is some "built-in" DTS task or function or wathever, to do a mixed...
7
by: iqbal | last post by:
Hi all, We have an application through which we are bulk inserting rows into a view. The definition of the view is such that it selects columns from a table on a remote server. I have added the...
6
by: efgh | last post by:
I'm fairly confident in my knowledge of SQL but I'm stumped with regards with an Insert Into statement in Access 2003. I've got a 4 column table that I've simplified about as much as I can, no...
3
by: Shapper | last post by:
Hello, I have created 3 functions to insert, update and delete an Access database record. The Insert and the Delete code are working fine. The update is not. I checked and my database has all...
0
by: nsitnikov | last post by:
Hi, Here is the problem that I'm trying to solve. I have a DetailsView on the page, which is set to work in Edit Mode. On insert it adds a record to SQL Server 2000 database. Everything is working...
3
by: mahajanvit | last post by:
Hi one and all I got this problem during my project. So in order to solve this I made a very small application. I am trying to insert using SP and sqldatasource control. I know that while using...
3
by: Dilruba | last post by:
asp, vbscript, Ms Access I am using vbscript to insert & update ms accees. Insert operation is working , but update operation is not working. I have used the following codes: ...
4
by: LouiseR | last post by:
I just recently tried to use a multi-row insert on a table that contains a timestamp column, but I get SQLCODE -180 even though I'm positive that the value that I'm trying to insert is correct. The...
5
by: =?Utf-8?B?bXBhaW5l?= | last post by:
Hello, I am completely lost as to why I can't update a DropDownList inside a DetailsView after I perform an insert into an object datasource. I tried to simply it down to the core demostration:...
4
by: =?Utf-8?B?RXJpYyBGYWxza2Vu?= | last post by:
We’re storing our main entity in an insert only table which stores the history of past revisions, but we’re facing problems with storing this history as LINQ will only update the entity, and...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
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,...
0
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...
0
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,...
0
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...

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.